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