Statistics
| Branch: | Tag: | Revision:

root / Changelog @ 2d6acde1

History | View | Annotate | Download (12.3 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

    
10
.. _Changelog-0.14:
11

    
12
v0.14
13
=====
14

    
15
Released: Tue Jun 25 14:01:19 EEST 2013
16

    
17
Synnefo-wide
18
------------
19

    
20
* Create 'snf_django' Python package to hold common code for all Synnefo
21
  components.
22

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

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

    
32
* Deprecate CLOUDBAR_ACTIVE_SERVICE setting from all apps. 
33

    
34
* Common synnefo 404/500 templates (located in snf-webproject)
35

    
36
Astakos
37
-------
38

    
39
* Redesign of the accounting system (quotaholder) and integration into
40
  Astakos.
41

    
42
  * Simplified the quotaholder model; removed tables Entity and Policy; now
43
    table Holding contains limit and usage for every holding.
44
  * Extended table Holding, so that we can keep track of quota for every
45
    valid combination of holder (e.g. user), resource, and source (e.g. the
46
    default system or some specific project).
47
  * Refactored code for issuing and resolving commissions for robustness;
48
    added a 'force' option to bypass the upper limit check when issuing a
49
    commission.
50
  * Simplified syncing to the quotaholder; removed fields from models
51
    Project and ProjectMembership, previously needed for syncing; removed
52
    state PROJECT_DEACTIVATED from ProjectMembership.
53
  * Removed settings ASTAKOS_QUOTAHOLDER_URL, ASTAKOS_QUOTAHOLDER_TOKEN,
54
    and ASTAKOS_QUOTAHOLDER_POOLSIZE.
55

    
56
* API-related changes:
57

    
58
  * Implemented API calls for quota, resources, and commissions.
59
  * Moved all API calls under '/account/v1.0'.
60
  * Implemented the keystone API call POST /tokens under '/identity/v2.0'.
61

    
62
* Service and resource specification and handling:
63

    
64
  * Specified a format for defining services along with the API endpoints
65
    and the resources they expose. Migrated internal resource name by
66
    prefixing it with service name (e.g. 'vm' becomes 'cyclades.vm');
67
    renamed registered service 'pithos+' to 'pithos'.
68
  * Specified a procedure to register a Synnefo component, its services and
69
    their resources in astakos and set the resources' default base quota
70
    limit. Removed resource definitions from settings.
71
  * Moved service and resource presentation data out of the respective db
72
    models into a separate file of UI constants.
73

    
74
* Converted the limit on pending applications from a setting to a quotable
75
  resource. Converted the related user setting to a user-specific base quota
76
  limit. Deprecated model UserSetting; removed setting
77
  ASTAKOS_PENDING_APPLICATION_LIMIT.
78

    
79
* Changes in locking strategy:
80

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

    
86
* Changes in views:
87

    
88
  * Replaced custom transaction context with a simple decorator for managing
89
    transactions and a context 'ExceptionHandler', which logs and suppresses
90
    exceptions
91

    
92
* Added fine grain user auth provider's policies.
93

    
94
  * Administrator can override default auth provider policies to a specific 
95
    user or group of users.
96
  * Optionally a user can be assigned to a list of groups, based on the
97
    authentication method he choosed to signup.
98

    
99
* Removed explicit handling of SMTP errors on each email delivery. Exceptions 
100
  are now propagated to base django exception handler.
101

    
102
* Email used in html/email tempaltes which prompt user to contact for service 
103
  support prompts is now defined in ``CONTACT_EMAIL`` setting introduced in 
104
  snf-common settings.
105

    
106
* Improvements in user activation flow
107

    
108
  * User moderation now takes place after the user has verified his email
109
    address.
110
  * User model enriched with additional user state fields
111
  * Split activation email from moderation process. Administrator is required 
112
    to moderate user explicitly using the `user-modify --accept` or
113
    `user-modify --reject` commands.
114
  * Improved logging throught out user activation procedures.
115

    
116
* Remove deprecated AstakosUser model fields: `provider`,
117
  `third_party_identifier`
118

    
119
* Allow override of authentication provider messages using the following 
120
  format in setting names: ``ASTAKOS_<PROVIDER_MODULE>_<MSGID>_MSG``
121

    
122
* Cloudbar automatically tries to identify the active service based on window 
123
  location.
124

    
125
* Removing authentication provider view is now CSRF protected.
126

    
127
* New `API access` view, containing useful information to users on how to 
128
  access available Synnefo services API's.
129

    
130
* Remove of ASTAKOS_*_EMAIL_SUBJECT settings. All email subjects are now 
131
  defined in astakos.im.messages module. Overriding default values can be 
132
  achieved using custom gettext files or using astakos messages settings::
133
	
134
	#change of greeting email subject
135
  	ASTAKOS_GREETING_EMAIL_SUBJECT_MESSAGE = 'Welcome to my cloud'
136

    
137
* Remove ``ASTAKOS_ACTIVATION_REDIRECT_URL`` and ``ASTAKOS_LOGIN_SUCCESS_URL`` 
138
  from astakos .conf file. Settings are dynamically computed based on 
139
  ``ASTAKOS_BASE_URL``.
140

    
141
* Management commands:
142

    
143
  * Introduced new commands:
144
     * authpolicy-{add, list, remove, set, show}
145
     * group-{add, list}
146
     * component-{add, list, modify, remove}
147
     * reconcile-resources-astakos
148
     * resource-{export-astakos, import, modify}
149
     * service-{export-astakos, import, show}
150
  * Renamed commands:
151
     * astakos-quota to quota
152
     * user-update to user-modify
153
     * full-cleanup to cleanup-full
154
  * Removed commands:
155
     * astakos-init
156
     * invitation-{details, list}
157
     * project-sync
158
     * resource-{add, remove}
159
     * service-{add, remove, token-renew, update}
160
     * user-invite
161
     * user-set-initial-quota (integrated its functionality in user-modify and quota)
162
  * Added quota and project-related information in user-show command; added
163
    membership information in project-show.
164

    
165
Cyclades
166
--------
167

    
168
* Make 'type' attribute required for network create API request.
169
* Networks not created to all Ganeti backends upon creation, they are instead
170
  created to a backend only when a VM connects to the network.
171
* Add 'CYCLADES_ASTAKOSCLIENT_POOLSIZE' setting which tunes the size of the
172
  http connection pool to astakos.
173
* Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL' settings
174
* Remove CYCLADES_USE_QUOTAHOLDER, CYCLADES_QUOTAHOLDER_TOKEN,
175
  CYCLADES_QUOTAHOLDER_URL, CYCLADES_QUOTAHOLDER_POOLSIZE settings
176
* Rename 'cyclades-usage-verify' management command to
177
  'reconcile-resources-cyclades'. Also, remove 'cyclades-usage-reset' command,
178
  which is equivalent to 'reconcile-resources-cyclades --fix'.
179
* Rename 'cyclades-reconcile-commissions' management command to
180
  'reconcile-commissions-cyclades'.
181
* Remove obsolete 'MAX_VMS_PER_USER', 'MAX_NETWORKS_PER_USER',
182
  "VMS_USER_QUOTA" and "NETWORKS_USER_QUOTA" settings, since their usage
183
  is covered by Quotaholder.
184
* Remove obsolete setting 'API_ROOT_URL', since it is being covered by
185
  the use of CYCLADES_BASE_URL* Remove obsolete setting 'API_ROOT_URL', since
186
  it is being covered by 'CYCLADES_BASE_URL'.
187
* Remove obsolete settings GANETI_DISK_TEMPLATES and
188
  DEFAULT_GANETI_DISK_TEMPLATE
189

    
190
Cyclades helpdesk
191
-----------------
192

    
193
* Additional start/stop vm action
194
* Display extend backend info in vm's view
195
* Fixed IP lookup
196

    
197
Pithos
198
------
199

    
200
* Remove PITHOS_AUTHENTICATION_USERS setting, which was used to override
201
  astakos users.
202
* Remove 'PITHOS_USER_CATALOG_URL', 'PITHOS_USER_FEEDBACK_URL' and
203
  'PITHOS_USER_LOGIN_URL' settings.
204
* Remove PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL,
205
  PITHOS_QUOTAHOLDER_TOKEN and PITHOS_ASTAKOSCLIENT_POOLSIZE
206

    
207
Tools
208
-----
209

    
210

    
211
.. _Changelog-0.13:
212

    
213
v0.13
214
=====
215

    
216
Released: Wed Apr 10 18:52:50 EEST 2013
217

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

    
224
Synnefo-wide
225
------------
226

    
227
* Support for pooling throughout Synnefo
228

    
229
  * Pooled Django DB connections, Pithos backend connections, HTTP
230
    connections using single `objpool` package
231

    
232
* Improved management commands
233

    
234
  * Unified codebase for output of tables in JSON, CSV
235

    
236
* Bring most of Synnefo code inside a single, unified repository
237

    
238
  * support automatic Python and Debian package builds for individual commits
239
  * with automatic version generation
240

    
241
* Overhauling of Synnefo settings: renames and refactoring, for increased
242
  uniformity (in progress)
243
* Deployment: Standardize on gunicorn, with gevent-based workers
244
  and use of Green threads throughout Synnefo
245
* Documentation: New scale-out guide, with distinct node roles,
246
  for mass Synnefo deployments
247

    
248
Astakos
249
-------
250

    
251
* Support multiple authentication methods
252

    
253
  * Classic (username/password), Shibboleth, LDAP/Active Directory,
254
    Google, Twitter, LinkedIn
255
  * Users can enable/disable auth methods, and switch between them
256

    
257
* Introduce a UUID as a global identifier for users, throughout Synnefo
258

    
259
  * The UUID remains constant as the user enables/disables login methods
260

    
261
* Allow users to modify their email address freely
262
* Per-user, per-resource accounting mechanism (quotaholder)
263
* Full quota support, with per-user, per-resource quotas, based on quotaholder
264
* Projects: Users can create and join Projects
265

    
266
  * Projects grant extra resources to their members
267

    
268
* UI Enhancements for quotas and projects
269

    
270
  * distinct Usage tab, showing usage of individual resources
271
  * Project management UI
272
  * New Overview page
273

    
274
* refactored/improved /login endpoint used by desktop/mobile clients.
275
  * endpoint url is now exposed by `weblogin` service
276
  * clients should use unauthenticated identity/tokens api to resolve the 
277
    endpoint url
278
  * view only allows redirects to `pithos://` scheme urls
279
  * removed uuid from redirect parameters. Client should use authenticated 
280
    request to identity/tokens to retrieve user uuid.
281

    
282

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

    
286
* Commission resources on quotaholder/Astakos
287
* Support mass creation of flavors
288
* Support for the ExtStorage disk template in Ganeti
289
* Query and report quotas in the UI
290
* Pass VM configuration parameters over a VM-side API (`vmapi`)
291

    
292
  * Do not pass sensitive data as Ganeti OS parameters
293
  * Keep sensitive data in memory caches (memcached) and
294
    never allow them to hit the disk
295

    
296
* Display additional backend information in helpdesk machines list
297
* Allow helpdesk users to search for an account using a known machine id
298
* Helpdesk actions are now logged using the synnefo's common login
299
  infrastructure
300

    
301
UI
302
^^
303
* Removed feedback endpoint. Feedback requests delegate to astakos feedback
304
  service. ``FEEDBACK_CONTACTS``, ``FEEDBACK_EMAIL_FROM`` settings removed, 
305
  and no longer used.
306
* ``UI_LOGIN_URL``, ``UI_GLANCE_URL``, ``COMPUTE_URL`` settings no longer 
307
  required to be set and are dynamically computed based on ``ASTAKOS_BASE_URL``
308
  and ``CYCLADES_BASE_URL`` settings.
309
* File group is no longer included in ssh keys personality metadata sent in 
310
  create vm calls.
311
  
312

    
313
Pithos
314
------
315

    
316
* Support storage of blocks on a RADOS backend, for Archipelago
317

    
318
  * new settings:
319
    PITHOS_RADOS_STORAGE, PITHOS_RADOS_POOL_BLOCKS, PITHOS_RADOS_POOL_MAPS
320

    
321
* X-Object-Public now contains full url (domain + proper component prefix + 
322
  file path)
323

    
324
* Rewritten support for public URLs, with admin-selectable length
325

    
326
  * new settings:
327
    PITHOS_PUBLIC_URL_SECURITY, PITHOS_PUBLIC_URL_ALPHABET
328

    
329
* Enable pithos backend to use external quotaholder component
330

    
331
  * new settings:
332
    PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL, PITHOS_QUOTAHOLDER_TOKEN,
333
    PITHOS_QUOTAHOLDER_POOLSIZE
334

    
335
* Moderated version debiting mechanism
336

    
337
  * new setting:
338
    PITHOS_BACKEND_FREE_VERSIONING
339

    
340
* Proxy Astakos user-visible services
341

    
342
  * new settings:
343
    PITHOS_PROXY_USER_SERVICES, PITHOS_USER_CATALOG_URL,
344
    PITHOS_USER_FEEDBACK_URL, PITHOS_USER_LOGIN_URL
345

    
346
Tools
347
-----
348

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