Statistics
| Branch: | Tag: | Revision:

root / Changelog @ b0c95903

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

    
177
Cyclades helpdesk
178
-----------------
179

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

    
184
Pithos
185
------
186

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

    
194
Tools
195
-----
196

    
197

    
198
.. _Changelog-0.13:
199

    
200
v0.13
201
=====
202

    
203
Released: Wed Apr 10 18:52:50 EEST 2013
204

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

    
211
Synnefo-wide
212
------------
213

    
214
* Support for pooling throughout Synnefo
215

    
216
  * Pooled Django DB connections, Pithos backend connections, HTTP
217
    connections using single `objpool` package
218

    
219
* Improved management commands
220

    
221
  * Unified codebase for output of tables in JSON, CSV
222

    
223
* Bring most of Synnefo code inside a single, unified repository
224

    
225
  * support automatic Python and Debian package builds for individual commits
226
  * with automatic version generation
227

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

    
235
Astakos
236
-------
237

    
238
* Support multiple authentication methods
239

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

    
244
* Introduce a UUID as a global identifier for users, throughout Synnefo
245

    
246
  * The UUID remains constant as the user enables/disables login methods
247

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

    
253
  * Projects grant extra resources to their members
254

    
255
* UI Enhancements for quotas and projects
256

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

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

    
269

    
270
Cyclades
271
--------
272

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

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

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

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

    
300
Pithos
301
------
302

    
303
* Support storage of blocks on a RADOS backend, for Archipelago
304

    
305
  * new settings:
306
    PITHOS_RADOS_STORAGE, PITHOS_RADOS_POOL_BLOCKS, PITHOS_RADOS_POOL_MAPS
307

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

    
311
* Rewritten support for public URLs, with admin-selectable length
312

    
313
  * new settings:
314
    PITHOS_PUBLIC_URL_SECURITY, PITHOS_PUBLIC_URL_ALPHABET
315

    
316
* Enable pithos backend to use external quotaholder component
317

    
318
  * new settings:
319
    PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL, PITHOS_QUOTAHOLDER_TOKEN,
320
    PITHOS_QUOTAHOLDER_POOLSIZE
321

    
322
* Moderated version debiting mechanism
323

    
324
  * new setting:
325
    PITHOS_BACKEND_FREE_VERSIONING
326

    
327
* Proxy Astakos user-visible services
328

    
329
  * new settings:
330
    PITHOS_PROXY_USER_SERVICES, PITHOS_USER_CATALOG_URL,
331
    PITHOS_USER_FEEDBACK_URL, PITHOS_USER_LOGIN_URL
332

    
333
Tools
334
-----
335

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