Statistics
| Branch: | Tag: | Revision:

root / Changelog @ eeddeacf

History | View | Annotate | Download (12.1 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
* 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
* Management commands:
138

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

    
161
Cyclades
162
--------
163

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

    
186
Cyclades helpdesk
187
-----------------
188

    
189
* Additional start/stop vm action
190
* Display extend backend info in vm's view
191
* Fixed IP lookup
192

    
193
Pithos
194
------
195

    
196
* Remove PITHOS_AUTHENTICATION_USERS setting, which was used to override
197
  astakos users.
198
* Remove 'PITHOS_USER_CATALOG_URL', 'PITHOS_USER_FEEDBACK_URL' and
199
  'PITHOS_USER_LOGIN_URL' settings.
200
* Remove PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL,
201
  PITHOS_QUOTAHOLDER_TOKEN and PITHOS_ASTAKOSCLIENT_POOLSIZE
202

    
203
Tools
204
-----
205

    
206

    
207
.. _Changelog-0.13:
208

    
209
v0.13
210
=====
211

    
212
Released: Wed Apr 10 18:52:50 EEST 2013
213

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

    
220
Synnefo-wide
221
------------
222

    
223
* Support for pooling throughout Synnefo
224

    
225
  * Pooled Django DB connections, Pithos backend connections, HTTP
226
    connections using single `objpool` package
227

    
228
* Improved management commands
229

    
230
  * Unified codebase for output of tables in JSON, CSV
231

    
232
* Bring most of Synnefo code inside a single, unified repository
233

    
234
  * support automatic Python and Debian package builds for individual commits
235
  * with automatic version generation
236

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

    
244
Astakos
245
-------
246

    
247
* Support multiple authentication methods
248

    
249
  * Classic (username/password), Shibboleth, LDAP/Active Directory,
250
    Google, Twitter, LinkedIn
251
  * Users can enable/disable auth methods, and switch between them
252

    
253
* Introduce a UUID as a global identifier for users, throughout Synnefo
254

    
255
  * The UUID remains constant as the user enables/disables login methods
256

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

    
262
  * Projects grant extra resources to their members
263

    
264
* UI Enhancements for quotas and projects
265

    
266
  * distinct Usage tab, showing usage of individual resources
267
  * Project management UI
268
  * New Overview page
269

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

    
278

    
279
Cyclades
280
--------
281

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

    
288
  * Do not pass sensitive data as Ganeti OS parameters
289
  * Keep sensitive data in memory caches (memcached) and
290
    never allow them to hit the disk
291

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

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

    
309
Pithos
310
------
311

    
312
* Support storage of blocks on a RADOS backend, for Archipelago
313

    
314
  * new settings:
315
    PITHOS_RADOS_STORAGE, PITHOS_RADOS_POOL_BLOCKS, PITHOS_RADOS_POOL_MAPS
316

    
317
* X-Object-Public now contains full url (domain + proper component prefix + 
318
  file path)
319

    
320
* Rewritten support for public URLs, with admin-selectable length
321

    
322
  * new settings:
323
    PITHOS_PUBLIC_URL_SECURITY, PITHOS_PUBLIC_URL_ALPHABET
324

    
325
* Enable pithos backend to use external quotaholder component
326

    
327
  * new settings:
328
    PITHOS_USE_QUOTAHOLDER, PITHOS_QUOTAHOLDER_URL, PITHOS_QUOTAHOLDER_TOKEN,
329
    PITHOS_QUOTAHOLDER_POOLSIZE
330

    
331
* Moderated version debiting mechanism
332

    
333
  * new setting:
334
    PITHOS_BACKEND_FREE_VERSIONING
335

    
336
* Proxy Astakos user-visible services
337

    
338
  * new settings:
339
    PITHOS_PROXY_USER_SERVICES, PITHOS_USER_CATALOG_URL,
340
    PITHOS_USER_FEEDBACK_URL, PITHOS_USER_LOGIN_URL
341

    
342
Tools
343
-----
344

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