Statistics
| Branch: | Tag: | Revision:

root / README.upgrade @ 480051fe

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

    
8
v0.6.2 -> TBD
9
NEW DEPENDENCIES
10
    * python-unittest2, python-paramiko needed by the new integration
11
      test suite snf-tools/snf-test. Paramiko shipped with Squeeze uses
12
      broken RandomPool, produces warnings, see #576697.
13

    
14
NEW SETTINGS
15
    * EMAIL_SUBJECT_PREFIX:
16
      Prepended to automated emails, set to someting that uniquely identifies
17
      the deployment.
18
    * MAX_PERSONALITY and MAX_PERSONALITY_SIZE in 20-api.conf:
19
      Maximum number of files to be injected in newly created servers,
20
      maximum total size of encoded file contents.
21

    
22
DB MIGRATION
23
    * Uniqueness constraints have been added to the metadata models.
24
      A database migration is needed.
25

    
26

    
27
v0.6.1 -> v0.6.2
28
ADMIN INTERFACE
29
    * The models were changed so that Flavors and SynnefoUsers now have
30
      a deleted state. The admin tools were updated so that models are
31
      now marked as deleted instead of actually being deleted from the DB.
32
      A database migration is needed.
33

    
34
COMPONENTS
35
    * Only the Django webapp is affected, must restart the logic dispatcher
36
      due to DB migration taking place.
37

    
38

    
39
v0.5.5 -> v0.6
40
ADMIN INTERFACE
41
    * A new Web-based admin interface is available under /admin.
42
      It is accessible by users of type 'ADMIN' in the DB, with
43
      their authentication token. "snf-admin user modify" may be used
44
      to change the type of a specific user.
45

    
46
RECONCILIATION
47
    * Implemented new reconciliation management command, please see
48
      ./manage.py reconcile --help and README.admin for more info.
49
      Recommended to run ./manage.py reconcile --detect-all periodically,
50
      via cron.
51

    
52
GANETI-INSTANCE-IMAGE
53
    * A new version of ganeti-instance-image is required (v0.5.1-1-snf1).
54
      The new version is available for download as a debian package:
55
      https://code.grnet.gr/projects/gnt-instance-image/files
56

    
57
COMPONENTS
58
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
59
      for Debian packaging.
60

    
61
NEW SETTINGS
62
    * 30-ui.conf:SUGGESTED_FLAVORS
63
    * 30-ui.conf:VM_IMAGE_COMMON_METADATA
64

    
65

    
66
v0.5.4 -> v0.5.5
67
LOGGING
68
    * Changed the default logging settings for the dispatcher to also log
69
      to /var/log/synnefo/dispatcher.log, redirecting stderr and stdout there
70

    
71
QUEUES
72
    * Changed default routing key naming for queues. Queues must be redeclared.
73
      The suggested upgrade path is to delete ALL (even obsolete) existing
74
      queues and restart the dispatcher. To do so, download amqp-utils from
75

    
76
          https://github.com/dougbarth/amqp-utils
77

    
78
      and run the amqp-deleteq tool for each declared queue. Alternatively,
79
      amqp-utils can be installed with: sudo gem install amqp-utils.
80

    
81
UI
82
    * Feedback form now uses django native send_mail for sending emails.
83
      Proper django settings should be set for feedback mails to work
84
      (https://docs.djangoproject.com/en/dev/topics/email/)
85

    
86
COMPONENTS
87
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
88
      for Debian packaging.
89

    
90

    
91
v0.5.3 -> v0.5.4
92
REPOSITORY
93
    * Split Synnefo Ganeti tools to snf-ganeti-tools, with Debian packaging
94

    
95
REMOVED APPS
96
    * The ganeti/ app has been removed from the Django project completely.
97
      Any explicit references to it in Django settings must be removed.
98

    
99
DJANGO SETTINGS
100
    * snf-ganeti-tools is configured independently from Django,
101
      need to add proper /etc/synnefo/settings.conf
102
    * Removed 15-queues.conf: fix_amqp_settings (no need to call it anywhere)
103
    * Removed settings.d/98-ganeti-* due to split of snf-ganeti-tools
104
    * ~okeanos intro: OKEANOS_VIDEO_URL: Changed from string to dict
105
    * ~okeanos intro: OKEANOS_VIDEO_POSTER_IMAGE_URL: New setting
106
    * ~okeanos intro: OKEANOS_VIDEO_FLOWPLAYER_URL: New setting
107

    
108
DB MIGRATIONS
109
    * 0018_auto__add_field_virtualmachine_buildpercentage
110

    
111
PACKAGING
112
    * Split Synnefo Ganeti tools to separate snf-ganeti-tools Debian package
113

    
114
NEW DEPENDENCIES
115
    * python-prctl: Needed by the snf-progress-monitor,
116
      specified as a dependency of the snf-ganeti-tools Debian package.
117

    
118
EXTERNAL COMPONENTS
119
    * Ganeti Instance Image must be upgraded to support progress monitoring,
120
      please see README.deploy.
121

    
122

    
123
v0.5.2 -> v0.5.3
124
NEW SETTINGS
125
    * 30-ui.conf:LOGOUT_URL
126
    * 00-admins.conf:DEFAULT_FROM_EMAIL
127
    * 90-okeanos.conf.sample:LOGOUT_URL
128

    
129
REMOVED SETTINGS
130
    * 00-admins.conf:SYSTEM_EMAIL_ADDR
131
    * 90-okeanos.conf.sample:APP_INSTALL_URL
132

    
133

    
134
v0.5.1 -> v0.5.2
135
NEW SETTINGS
136
    * 10-backend.py:GANETI_CREATEINSTANCE_KWARGS
137

    
138
REMOVED SETTINGS
139
    * 10-backend.conf:GANETI_OS_PROVIDER
140
    * 20-api.conf:GANETI_DISK_TEMPLATE
141

    
142
BACKEND CHANGES
143
    * Need to patch Ganeti, file:
144
      lib/python2.6/site-packages/ganeti/rapi/rlib2.py
145
      to honor the wait_for_sync flag, see Synnefo #835.
146
      Patch provided under contrib/patches/ganeti-rlib2.py-v0.5.2