Statistics
| Branch: | Tag: | Revision:

root / Changelog @ c802789d

History | View | Annotate | Download (11.8 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.13next:
11

    
12
v0.13next
13
=========
14

    
15
Released: UNRELEASED
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
* Management commands:
131

    
132
  * Introduced new commands:
133
     * authpolicy-{add, list, remove, set, show}
134
     * group-{add, list}
135
     * component-{add, list, modify, remove}
136
     * reconcile-resources-astakos
137
     * resource-{export-astakos, import, modify}
138
     * service-{export-astakos, import, show}
139
  * Renamed commands:
140
     * astakos-quota to quota
141
     * user-update to user-modify
142
     * full-cleanup to cleanup-full
143
  * Removed commands:
144
     * astakos-init
145
     * invitation-{details, list}
146
     * project-sync
147
     * resource-{add, remove}
148
     * service-{add, remove, token-renew, update}
149
     * user-invite
150
     * user-set-initial-quota (integrated its functionality in user-modify and quota)
151
  * Added quota and project-related information in user-show command; added
152
    membership information in project-show.
153

    
154
Cyclades
155
--------
156

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

    
179
Cyclades helpdesk
180
-----------------
181

    
182
* Additional start/stop vm action
183
* Display extend backend info in vm's view
184
* Fixed IP lookup
185

    
186
Pithos
187
------
188

    
189
* Remove PITHOS_AUTHENTICATION_USERS setting, which was used to override
190
  astakos users.
191
* Remove 'PITHOS_USER_CATALOG_URL', 'PITHOS_USER_FEEDBACK_URL' and
192
  'PITHOS_USER_LOGIN_URL' settings.
193
* Remove PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL,
194
  PITHOS_QUOTAHOLDER_TOKEN and PITHOS_ASTAKOSCLIENT_POOLSIZE
195

    
196
Tools
197
-----
198

    
199

    
200
.. _Changelog-0.13:
201

    
202
v0.13
203
=====
204

    
205
Released: Wed Apr 10 18:52:50 EEST 2013
206

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

    
213
Synnefo-wide
214
------------
215

    
216
* Support for pooling throughout Synnefo
217

    
218
  * Pooled Django DB connections, Pithos backend connections, HTTP
219
    connections using single `objpool` package
220

    
221
* Improved management commands
222

    
223
  * Unified codebase for output of tables in JSON, CSV
224

    
225
* Bring most of Synnefo code inside a single, unified repository
226

    
227
  * support automatic Python and Debian package builds for individual commits
228
  * with automatic version generation
229

    
230
* Overhauling of Synnefo settings: renames and refactoring, for increased
231
  uniformity (in progress)
232
* Deployment: Standardize on gunicorn, with gevent-based workers
233
  and use of Green threads throughout Synnefo
234
* Documentation: New scale-out guide, with distinct node roles,
235
  for mass Synnefo deployments
236

    
237
Astakos
238
-------
239

    
240
* Support multiple authentication methods
241

    
242
  * Classic (username/password), Shibboleth, LDAP/Active Directory,
243
    Google, Twitter, LinkedIn
244
  * Users can enable/disable auth methods, and switch between them
245

    
246
* Introduce a UUID as a global identifier for users, throughout Synnefo
247

    
248
  * The UUID remains constant as the user enables/disables login methods
249

    
250
* Allow users to modify their email address freely
251
* Per-user, per-resource accounting mechanism (quotaholder)
252
* Full quota support, with per-user, per-resource quotas, based on quotaholder
253
* Projects: Users can create and join Projects
254

    
255
  * Projects grant extra resources to their members
256

    
257
* UI Enhancements for quotas and projects
258

    
259
  * distinct Usage tab, showing usage of individual resources
260
  * Project management UI
261
  * New Overview page
262

    
263
* refactored/improved /login endpoint used by desktop/mobile clients.
264
  * endpoint url is now exposed by `weblogin` service
265
  * clients should use unauthenticated identity/tokens api to resolve the 
266
    endpoint url
267
  * view only allows redirects to `pithos://` scheme urls
268
  * removed uuid from redirect parameters. Client should use authenticated 
269
    request to identity/tokens to retrieve user uuid.
270

    
271

    
272
Cyclades
273
--------
274

    
275
* Commission resources on quotaholder/Astakos
276
* Support mass creation of flavors
277
* Support for the ExtStorage disk template in Ganeti
278
* Query and report quotas in the UI
279
* Pass VM configuration parameters over a VM-side API (`vmapi`)
280

    
281
  * Do not pass sensitive data as Ganeti OS parameters
282
  * Keep sensitive data in memory caches (memcached) and
283
    never allow them to hit the disk
284

    
285
* Display additional backend information in helpdesk machines list
286
* Allow helpdesk users to search for an account using a known machine id
287
* Helpdesk actions are now logged using the synnefo's common login
288
  infrastructure
289

    
290
UI
291
^^
292
* Removed feedback endpoint. Feedback requests delegate to astakos feedback
293
  service. ``FEEDBACK_CONTACTS``, ``FEEDBACK_EMAIL_FROM`` settings removed, 
294
  and no longer used.
295
* ``UI_LOGIN_URL``, ``UI_GLANCE_URL``, ``COMPUTE_URL`` settings no longer 
296
  required to be set and are dynamically computed based on ``ASTAKOS_BASE_URL``
297
  and ``CYCLADES_BASE_URL`` settings.
298
* File group is no longer included in ssh keys personality metadata sent in 
299
  create vm calls.
300
  
301

    
302
Pithos
303
------
304

    
305
* Support storage of blocks on a RADOS backend, for Archipelago
306

    
307
  * new settings:
308
    PITHOS_RADOS_STORAGE, PITHOS_RADOS_POOL_BLOCKS, PITHOS_RADOS_POOL_MAPS
309

    
310
* X-Object-Public now contains full url (domain + proper component prefix + 
311
  file path)
312

    
313
* Rewritten support for public URLs, with admin-selectable length
314

    
315
  * new settings:
316
    PITHOS_PUBLIC_URL_SECURITY, PITHOS_PUBLIC_URL_ALPHABET
317

    
318
* Enable pithos backend to use external quotaholder component
319

    
320
  * new settings:
321
    PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL, PITHOS_QUOTAHOLDER_TOKEN,
322
    PITHOS_QUOTAHOLDER_POOLSIZE
323

    
324
* Moderated version debiting mechanism
325

    
326
  * new setting:
327
    PITHOS_BACKEND_FREE_VERSIONING
328

    
329
* Proxy Astakos user-visible services
330

    
331
  * new settings:
332
    PITHOS_PROXY_USER_SERVICES, PITHOS_USER_CATALOG_URL,
333
    PITHOS_USER_FEEDBACK_URL, PITHOS_USER_LOGIN_URL
334

    
335
Tools
336
-----
337

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