Statistics
| Branch: | Tag: | Revision:

root / Changelog @ 2556cf45

History | View | Annotate | Download (15.2 kB)

1
.. _Changelog:
2

    
3
Unified Changelog file for Synnefo versions >= 0.13
4
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5

    
6
Since v0.13 most of the Synnefo components have been merged into a single
7
repository and have aligned versions.
8

    
9
v0.14next
10
=========
11

    
12
Released: UNRELEASED
13

    
14
Synnefo-wide
15
------------
16

    
17
* Integrate Pithos tests in continuous integration.
18

    
19
Astakos
20
-------
21

    
22
* Changes in project schema:
23

    
24
  * A Project entry is created when submitting an application for a new
25
    project, rather than on approval. Its state is dependent on the state
26
    of its `reference' application (current definition). Lock Project rather
27
    than Chain (the latter is semantically obsolete).
28

    
29
  * Improve recording of project, application, and membership actions.
30

    
31
* Implement API calls for projects.
32

    
33
Cyclades
34
--------
35

    
36
* Implement Floating IP addresses, which are addresses that can be dynamically
37
  added and removed to a running server.
38

    
39
  * Implement the 'os-floating-ips' and 'os-floating-ip-pools' API extensions.
40
  * Implement 'snf-manage floating-ip-list' management command.
41
  * Add 'floating_ip_pool' attribute to networks. Such networks must exist to
42
    all Ganeti backends.
43

    
44
* Speed up server reconciliation, by performing parallel reconciliation for
45
  each backend.
46
* Implement IPv6 only networks.
47
* Implement 'resize' server action.
48

    
49
  * Implement the 'resize' server action, to change the flavor of a server.
50
  Only 'cpu' and 'memory' resizing is supported.
51

    
52
* Compute quotas for CPU and memory of running vms.
53
* Obsolete PUBLIC_USE_POOL setting, since Cyclades manages IP pool for all
54
  type of networks.
55
* Extend servers info API response with 'SNF:fqdn' attribute, and introduce
56
  CYCLADES_SERVERS_FQDN to set the template for servers FDQN.
57
* Extend servers info API response with 'SNF:port_forwarding' attribute,
58
  describing port fowarding rules (DNAT) that are applied to vms. The
59
  description of such rules is done via the new CYCLADES_PORT_FORWARDING
60
  setting.
61

    
62
Pithos
63
------
64

    
65
* Refactor metadata schema (table attributes) in Pithos DB to speedup current
66
objects by domain attribute. This is used by Plankton for listing VM images.
67

    
68
* Enforce container-level atomicity in (most) Pithos API calls.
69

    
70

    
71
.. _Changelog-0.14.5:
72

    
73
v0.14.5
74
=======
75

    
76
Released: Wed Aug  7 11:19:49 EEST 2013
77

    
78
Pithos
79
------
80

    
81
* Fix security issue with handling Pithos versions.
82

    
83

    
84
.. _Changelog-0.14.4:
85

    
86
v0.14.4
87
=======
88

    
89
Released: Mon Jul 29 12:24:22 EEST 2013
90

    
91
Pithos
92
------
93

    
94
* Fix bug in reconcile resources management command.
95

    
96

    
97
.. _Changelog-0.14.3:
98

    
99
v0.14.3
100
=======
101

    
102
Released: Thu Jul 25 12:22:47 EEST 2013
103

    
104
Synnefo-wide
105
------------
106

    
107
* Use the SYNNEFO_TRACE environmental variable to control whether the greenlet
108
  tracing code will get loaded or not.
109
* Split the HIDDEN_COOKIES setting in HIDDEN_HEADERS and HIDDEN_COOKIES, and
110
  add the MAIL_MAX_LEN setting, to limit the mail size for unhandled
111
  exceptions.
112

    
113

    
114
.. _Changelog-0.14.2:
115

    
116
Released: Fri Jul 12 13:13:32 EEST 2013
117

    
118
v0.14.2
119
=======
120

    
121
Cyclades
122
--------
123

    
124
* Add new setting PITHOS_BACKEND_POOL_SIZE, which configures the size
125
  of the pool of Pithos backends that are used by plankton.
126

    
127

    
128
.. _Changelog-0.14:
129

    
130
v0.14
131
=====
132

    
133
Released: Tue Jun 25 14:01:19 EEST 2013
134

    
135
Synnefo-wide
136
------------
137

    
138
* Create 'snf_django' Python package to hold common code for all Synnefo
139
  components.
140

    
141
* Create a JSON-exportable definition document for each Synnefo Components
142
  (Astakos, Cyclades, Pithos, etc.) that consolidates APIs (services),
143
  resources, and other standardized properties (e.g. default URL prefixes).
144

    
145
* Standardize URLs for Synnefo Components, impose structure and naming
146
  conventions to related settings. Make each component deployable under
147
  a user-configurable <COMPONENT>_BASE_URL. Each API (compute, image, etc.)
148
  is deployable under a developer-configurable prefix beneath BASE_URL.
149

    
150
* Deprecate CLOUDBAR_ACTIVE_SERVICE setting from all apps. 
151

    
152
* Common synnefo 404/500 templates (located in snf-webproject)
153

    
154
Astakos
155
-------
156

    
157
* Redesign of the accounting system (quotaholder) and integration into
158
  Astakos.
159

    
160
  * Simplified the quotaholder model; removed tables Entity and Policy; now
161
    table Holding contains limit and usage for every holding.
162
  * Extended table Holding, so that we can keep track of quota for every
163
    valid combination of holder (e.g. user), resource, and source (e.g. the
164
    default system or some specific project).
165
  * Refactored code for issuing and resolving commissions for robustness;
166
    added a 'force' option to bypass the upper limit check when issuing a
167
    commission.
168
  * Simplified syncing to the quotaholder; removed fields from models
169
    Project and ProjectMembership, previously needed for syncing; removed
170
    state PROJECT_DEACTIVATED from ProjectMembership.
171
  * Removed settings ASTAKOS_QUOTAHOLDER_URL, ASTAKOS_QUOTAHOLDER_TOKEN,
172
    and ASTAKOS_QUOTAHOLDER_POOLSIZE.
173

    
174
* API-related changes:
175

    
176
  * Implemented API calls for quota, resources, and commissions.
177
  * Moved all API calls under '/account/v1.0'.
178
  * Implemented the keystone API call POST /tokens under '/identity/v2.0'.
179

    
180
* Service and resource specification and handling:
181

    
182
  * Specified a format for defining services along with the API endpoints
183
    and the resources they expose. Migrated internal resource name by
184
    prefixing it with service name (e.g. 'vm' becomes 'cyclades.vm');
185
    renamed registered service 'pithos+' to 'pithos'.
186
  * Specified a procedure to register a Synnefo component, its services and
187
    their resources in astakos and set the resources' default base quota
188
    limit. Removed resource definitions from settings.
189
  * Moved service and resource presentation data out of the respective db
190
    models into a separate file of UI constants.
191

    
192
* Converted the limit on pending applications from a setting to a quotable
193
  resource. Converted the related user setting to a user-specific base quota
194
  limit. Deprecated model UserSetting; removed setting
195
  ASTAKOS_PENDING_APPLICATION_LIMIT.
196

    
197
* Changes in locking strategy:
198

    
199
  * Lock only project's chain for all project operations; lock user before
200
    syncing to quotaholder.
201
  * When locking multiple rows (e.g. users or holdings) include an ORDER BY
202
    clause in the query to impose ordering on locking.
203

    
204
* Changes in views:
205

    
206
  * Replaced custom transaction context with a simple decorator for managing
207
    transactions and a context 'ExceptionHandler', which logs and suppresses
208
    exceptions
209

    
210
* Added fine grain user auth provider's policies.
211

    
212
  * Administrator can override default auth provider policies to a specific 
213
    user or group of users.
214
  * Optionally a user can be assigned to a list of groups, based on the
215
    authentication method he choosed to signup.
216

    
217
* Removed explicit handling of SMTP errors on each email delivery. Exceptions 
218
  are now propagated to base django exception handler.
219

    
220
* Email used in html/email tempaltes which prompt user to contact for service 
221
  support prompts is now defined in ``CONTACT_EMAIL`` setting introduced in 
222
  snf-common settings.
223

    
224
* Improvements in user activation flow
225

    
226
  * User moderation now takes place after the user has verified his email
227
    address.
228
  * User model enriched with additional user state fields
229
  * Split activation email from moderation process. Administrator is required 
230
    to moderate user explicitly using the `user-modify --accept` or
231
    `user-modify --reject` commands.
232
  * Improved logging throught out user activation procedures.
233

    
234
* Remove deprecated AstakosUser model fields: `provider`,
235
  `third_party_identifier`
236

    
237
* Allow override of authentication provider messages using the following 
238
  format in setting names: ``ASTAKOS_<PROVIDER_MODULE>_<MSGID>_MSG``
239

    
240
* Cloudbar automatically tries to identify the active service based on window 
241
  location.
242

    
243
* Removing authentication provider view is now CSRF protected.
244

    
245
* New `API access` view, containing useful information to users on how to 
246
  access available Synnefo services API's.
247

    
248
* Remove of ASTAKOS_*_EMAIL_SUBJECT settings. All email subjects are now 
249
  defined in astakos.im.messages module. Overriding default values can be 
250
  achieved using custom gettext files or using astakos messages settings::
251
	
252
	#change of greeting email subject
253
  	ASTAKOS_GREETING_EMAIL_SUBJECT_MESSAGE = 'Welcome to my cloud'
254

    
255
* Remove ``ASTAKOS_ACTIVATION_REDIRECT_URL`` and ``ASTAKOS_LOGIN_SUCCESS_URL`` 
256
  from astakos .conf file. Settings are dynamically computed based on 
257
  ``ASTAKOS_BASE_URL``.
258

    
259
* Management commands:
260

    
261
  * Introduced new commands:
262
     * authpolicy-{add, list, remove, set, show}
263
     * group-{add, list}
264
     * component-{add, list, modify, remove}
265
     * reconcile-resources-astakos
266
     * resource-{export-astakos, import, modify}
267
     * service-{export-astakos, import, show}
268
  * Renamed commands:
269
     * astakos-quota to quota
270
     * user-update to user-modify
271
     * full-cleanup to cleanup-full
272
  * Removed commands:
273
     * astakos-init
274
     * invitation-{details, list}
275
     * project-sync
276
     * resource-{add, remove}
277
     * service-{add, remove, token-renew, update}
278
     * user-invite
279
     * user-set-initial-quota (integrated its functionality in user-modify and quota)
280
  * Added quota and project-related information in user-show command; added
281
    membership information in project-show.
282

    
283
Cyclades
284
--------
285

    
286
* Make 'type' attribute required for network create API request.
287
* Networks not created to all Ganeti backends upon creation, they are instead
288
  created to a backend only when a VM connects to the network.
289
* Add 'CYCLADES_ASTAKOSCLIENT_POOLSIZE' setting which tunes the size of the
290
  http connection pool to astakos.
291
* Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL' settings
292
* Remove CYCLADES_USE_QUOTAHOLDER, CYCLADES_QUOTAHOLDER_TOKEN,
293
  CYCLADES_QUOTAHOLDER_URL, CYCLADES_QUOTAHOLDER_POOLSIZE settings
294
* Rename 'cyclades-usage-verify' management command to
295
  'reconcile-resources-cyclades'. Also, remove 'cyclades-usage-reset' command,
296
  which is equivalent to 'reconcile-resources-cyclades --fix'.
297
* Rename 'cyclades-reconcile-commissions' management command to
298
  'reconcile-commissions-cyclades'.
299
* Remove obsolete 'MAX_VMS_PER_USER', 'MAX_NETWORKS_PER_USER',
300
  "VMS_USER_QUOTA" and "NETWORKS_USER_QUOTA" settings, since their usage
301
  is covered by Quotaholder.
302
* Remove obsolete setting 'API_ROOT_URL', since it is being covered by
303
  the use of CYCLADES_BASE_URL* Remove obsolete setting 'API_ROOT_URL', since
304
  it is being covered by 'CYCLADES_BASE_URL'.
305
* Remove obsolete settings GANETI_DISK_TEMPLATES and
306
  DEFAULT_GANETI_DISK_TEMPLATE
307

    
308
Cyclades helpdesk
309
-----------------
310

    
311
* Additional start/stop vm action
312
* Display extend backend info in vm's view
313
* Fixed IP lookup
314

    
315
Pithos
316
------
317

    
318
* Remove PITHOS_AUTHENTICATION_USERS setting, which was used to override
319
  astakos users.
320
* Remove 'PITHOS_USER_CATALOG_URL', 'PITHOS_USER_FEEDBACK_URL' and
321
  'PITHOS_USER_LOGIN_URL' settings.
322
* Remove PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL,
323
  PITHOS_QUOTAHOLDER_TOKEN and PITHOS_ASTAKOSCLIENT_POOLSIZE
324

    
325
Tools
326
-----
327

    
328

    
329
.. _Changelog-0.13:
330

    
331
v0.13
332
=====
333

    
334
Released: Wed Apr 10 18:52:50 EEST 2013
335

    
336
In v0.13 the code was very heavily refactored for increased uniformity since
337
most of the Synnefo components have been merged into a single repository. Thus,
338
**just for this version** we will not document a complete Changelog (features,
339
fixes, improvements, issues, setting changes), but rather just copy from the
340
`NEWS` file with minor additions wherever needed.
341

    
342
Synnefo-wide
343
------------
344

    
345
* Support for pooling throughout Synnefo
346

    
347
  * Pooled Django DB connections, Pithos backend connections, HTTP
348
    connections using single `objpool` package
349

    
350
* Improved management commands
351

    
352
  * Unified codebase for output of tables in JSON, CSV
353

    
354
* Bring most of Synnefo code inside a single, unified repository
355

    
356
  * support automatic Python and Debian package builds for individual commits
357
  * with automatic version generation
358

    
359
* Overhauling of Synnefo settings: renames and refactoring, for increased
360
  uniformity (in progress)
361
* Deployment: Standardize on gunicorn, with gevent-based workers
362
  and use of Green threads throughout Synnefo
363
* Documentation: New scale-out guide, with distinct node roles,
364
  for mass Synnefo deployments
365

    
366
Astakos
367
-------
368

    
369
* Support multiple authentication methods
370

    
371
  * Classic (username/password), Shibboleth, LDAP/Active Directory,
372
    Google, Twitter, LinkedIn
373
  * Users can enable/disable auth methods, and switch between them
374

    
375
* Introduce a UUID as a global identifier for users, throughout Synnefo
376

    
377
  * The UUID remains constant as the user enables/disables login methods
378

    
379
* Allow users to modify their email address freely
380
* Per-user, per-resource accounting mechanism (quotaholder)
381
* Full quota support, with per-user, per-resource quotas, based on quotaholder
382
* Projects: Users can create and join Projects
383

    
384
  * Projects grant extra resources to their members
385

    
386
* UI Enhancements for quotas and projects
387

    
388
  * distinct Usage tab, showing usage of individual resources
389
  * Project management UI
390
  * New Overview page
391

    
392
* refactored/improved /login endpoint used by desktop/mobile clients.
393
  * endpoint url is now exposed by `weblogin` service
394
  * clients should use unauthenticated identity/tokens api to resolve the 
395
    endpoint url
396
  * view only allows redirects to `pithos://` scheme urls
397
  * removed uuid from redirect parameters. Client should use authenticated 
398
    request to identity/tokens to retrieve user uuid.
399

    
400

    
401
Cyclades
402
--------
403

    
404
* Commission resources on quotaholder/Astakos
405
* Support mass creation of flavors
406
* Support for the ExtStorage disk template in Ganeti
407
* Query and report quotas in the UI
408
* Pass VM configuration parameters over a VM-side API (`vmapi`)
409

    
410
  * Do not pass sensitive data as Ganeti OS parameters
411
  * Keep sensitive data in memory caches (memcached) and
412
    never allow them to hit the disk
413

    
414
* Display additional backend information in helpdesk machines list
415
* Allow helpdesk users to search for an account using a known machine id
416
* Helpdesk actions are now logged using the synnefo's common login
417
  infrastructure
418

    
419
UI
420
^^
421
* Removed feedback endpoint. Feedback requests delegate to astakos feedback
422
  service. ``FEEDBACK_CONTACTS``, ``FEEDBACK_EMAIL_FROM`` settings removed, 
423
  and no longer used.
424
* ``UI_LOGIN_URL``, ``UI_GLANCE_URL``, ``COMPUTE_URL`` settings no longer 
425
  required to be set and are dynamically computed based on ``ASTAKOS_BASE_URL``
426
  and ``CYCLADES_BASE_URL`` settings.
427
* File group is no longer included in ssh keys personality metadata sent in 
428
  create vm calls.
429
  
430

    
431
Pithos
432
------
433

    
434
* Support storage of blocks on a RADOS backend, for Archipelago
435

    
436
  * new settings:
437
    PITHOS_RADOS_STORAGE, PITHOS_RADOS_POOL_BLOCKS, PITHOS_RADOS_POOL_MAPS
438

    
439
* X-Object-Public now contains full url (domain + proper component prefix + 
440
  file path)
441

    
442
* Rewritten support for public URLs, with admin-selectable length
443

    
444
  * new settings:
445
    PITHOS_PUBLIC_URL_SECURITY, PITHOS_PUBLIC_URL_ALPHABET
446

    
447
* Enable pithos backend to use external quotaholder component
448

    
449
  * new settings:
450
    PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL, PITHOS_QUOTAHOLDER_TOKEN,
451
    PITHOS_QUOTAHOLDER_POOLSIZE
452

    
453
* Moderated version debiting mechanism
454

    
455
  * new setting:
456
    PITHOS_BACKEND_FREE_VERSIONING
457

    
458
* Proxy Astakos user-visible services
459

    
460
  * new settings:
461
    PITHOS_PROXY_USER_SERVICES, PITHOS_USER_CATALOG_URL,
462
    PITHOS_USER_FEEDBACK_URL, PITHOS_USER_LOGIN_URL
463

    
464
Tools
465
-----
466

    
467
* Extend snf-burnin to include testing of Pithos functionality