root / README.upgrade @ 509773b0
History | View | Annotate | Download (3.7 kB)
1 |
README.Upgrade |
---|---|
2 |
=============== |
3 |
|
4 |
This file documents the upgrade to newer versions of the Synnefo software. |
5 |
For more information, please see README.deploy. |
6 |
|
7 |
v0.5.5 -> v0.6 |
8 |
ADMIN INTERFACE |
9 |
* A new Web-based admin interface is available under /admin. |
10 |
It is accessible by users of type 'ADMIN' in the DB, with |
11 |
their authentication token. "snf-admin user modify" may be used |
12 |
to change the type of a specific user. |
13 |
|
14 |
RECONCILIATION |
15 |
* Implemented new reconciliation management command, please see |
16 |
./manage.py reconcile --help and README.admin for more info. |
17 |
Recommended to run ./manage.py reconcile --detect-all periodically, |
18 |
via cron. |
19 |
|
20 |
GANETI-INSTANCE-IMAGE |
21 |
* A new version of ganeti-instance-image is required (v0.5.1-1-snf1). |
22 |
The new version is available for download as a debian package: |
23 |
https://code.grnet.gr/projects/gnt-instance-image/files |
24 |
|
25 |
NEW SETTINGS |
26 |
* 30-ui.conf:SUGGESTED_FLAVORS |
27 |
* 30-ui.conf:VM_IMAGE_COMMON_METADATA |
28 |
|
29 |
|
30 |
v0.5.4 -> v0.5.5 |
31 |
LOGGING |
32 |
* Changed the default logging settings for the dispatcher to also log |
33 |
to /var/log/synnefo/dispatcher.log, redirecting stderr and stdout there |
34 |
|
35 |
QUEUES |
36 |
* Changed default routing key naming for queues. Queues must be redeclared. |
37 |
The suggested upgrade path is to delete ALL (even obsolete) existing |
38 |
queues and restart the dispatcher. To do so, download amqp-utils from |
39 |
|
40 |
https://github.com/dougbarth/amqp-utils |
41 |
|
42 |
and run the amqp-deleteq tool for each declared queue. Alternatively, |
43 |
amqp-utils can be installed with: sudo gem install amqp-utils. |
44 |
|
45 |
UI |
46 |
* Feedback form now uses django native send_mail for sending emails. |
47 |
Proper django settings should be set for feedback mails to work |
48 |
(https://docs.djangoproject.com/en/dev/topics/email/) |
49 |
|
50 |
COMPONENTS |
51 |
* snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/ |
52 |
for Debian packaging. |
53 |
|
54 |
|
55 |
v0.5.3 -> v0.5.4 |
56 |
REPOSITORY |
57 |
* Split Synnefo Ganeti tools to snf-ganeti-tools, with Debian packaging |
58 |
|
59 |
REMOVED APPS |
60 |
* The ganeti/ app has been removed from the Django project completely. |
61 |
Any explicit references to it in Django settings must be removed. |
62 |
|
63 |
DJANGO SETTINGS |
64 |
* snf-ganeti-tools is configured independently from Django, |
65 |
need to add proper /etc/synnefo/settings.conf |
66 |
* Removed 15-queues.conf: fix_amqp_settings (no need to call it anywhere) |
67 |
* Removed settings.d/98-ganeti-* due to split of snf-ganeti-tools |
68 |
* ~okeanos intro: OKEANOS_VIDEO_URL: Changed from string to dict |
69 |
* ~okeanos intro: OKEANOS_VIDEO_POSTER_IMAGE_URL: New setting |
70 |
* ~okeanos intro: OKEANOS_VIDEO_FLOWPLAYER_URL: New setting |
71 |
|
72 |
DB MIGRATIONS |
73 |
* 0018_auto__add_field_virtualmachine_buildpercentage |
74 |
|
75 |
PACKAGING |
76 |
* Split Synnefo Ganeti tools to separate snf-ganeti-tools Debian package |
77 |
|
78 |
NEW DEPENDENCIES |
79 |
* python-prctl: Needed by the snf-progress-monitor, |
80 |
specified as a dependency of the snf-ganeti-tools Debian package. |
81 |
|
82 |
EXTERNAL COMPONENTS |
83 |
* Ganeti Instance Image must be upgraded to support progress monitoring, |
84 |
please see README.deploy. |
85 |
|
86 |
|
87 |
v0.5.2 -> v0.5.3 |
88 |
NEW SETTINGS |
89 |
* 30-ui.conf:LOGOUT_URL |
90 |
* 00-admins.conf:DEFAULT_FROM_EMAIL |
91 |
* 90-okeanos.conf.sample:LOGOUT_URL |
92 |
|
93 |
REMOVED SETTINGS |
94 |
* 00-admins.conf:SYSTEM_EMAIL_ADDR |
95 |
* 90-okeanos.conf.sample:APP_INSTALL_URL |
96 |
|
97 |
|
98 |
v0.5.1 -> v0.5.2 |
99 |
NEW SETTINGS |
100 |
* 10-backend.py:GANETI_CREATEINSTANCE_KWARGS |
101 |
|
102 |
REMOVED SETTINGS |
103 |
* 10-backend.conf:GANETI_OS_PROVIDER |
104 |
* 20-api.conf:GANETI_DISK_TEMPLATE |
105 |
|
106 |
BACKEND CHANGES |
107 |
* Need to patch Ganeti, file: |
108 |
lib/python2.6/site-packages/ganeti/rapi/rlib2.py |
109 |
to honor the wait_for_sync flag, see Synnefo #835. |
110 |
Patch provided under contrib/patches/ganeti-rlib2.py-v0.5.2 |