Statistics
| Branch: | Tag: | Revision:

root / README.upgrade @ 1bd24df6

History | View | Annotate | Download (4.3 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.2 -> v0.6.3
8

    
9
    * MAX_PERSONALITY and MAX_PERSONALITY_SIZE settings were added in
10
      20-api.conf.
11
    * Uniqueness constraints have been added to the metadata models.
12
      A database migration is needed.
13

    
14

    
15
v0.6.1 -> v0.6.2
16

    
17
API-CURRENT
18
    * The models were changed so that Flavors and SynnefoUsers now have
19
      a deleted state. The admin tools were updated so that models are
20
      now marked as deleted instead of actually being deleted from the DB.
21
      A database migration is needed.
22

    
23

    
24
v0.5.5 -> v0.6
25
ADMIN INTERFACE
26
    * A new Web-based admin interface is available under /admin.
27
      It is accessible by users of type 'ADMIN' in the DB, with
28
      their authentication token. "snf-admin user modify" may be used
29
      to change the type of a specific user.
30

    
31
RECONCILIATION
32
    * Implemented new reconciliation management command, please see
33
      ./manage.py reconcile --help and README.admin for more info.
34
      Recommended to run ./manage.py reconcile --detect-all periodically,
35
      via cron.
36

    
37
GANETI-INSTANCE-IMAGE
38
    * A new version of ganeti-instance-image is required (v0.5.1-1-snf1).
39
      The new version is available for download as a debian package:
40
      https://code.grnet.gr/projects/gnt-instance-image/files
41

    
42
COMPONENTS
43
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
44
      for Debian packaging.
45

    
46
NEW SETTINGS
47
    * 30-ui.conf:SUGGESTED_FLAVORS
48
    * 30-ui.conf:VM_IMAGE_COMMON_METADATA
49

    
50

    
51
v0.5.4 -> v0.5.5
52
LOGGING
53
    * Changed the default logging settings for the dispatcher to also log
54
      to /var/log/synnefo/dispatcher.log, redirecting stderr and stdout there
55

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

    
61
          https://github.com/dougbarth/amqp-utils
62

    
63
      and run the amqp-deleteq tool for each declared queue. Alternatively,
64
      amqp-utils can be installed with: sudo gem install amqp-utils.
65

    
66
UI
67
    * Feedback form now uses django native send_mail for sending emails.
68
      Proper django settings should be set for feedback mails to work
69
      (https://docs.djangoproject.com/en/dev/topics/email/)
70

    
71
COMPONENTS
72
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
73
      for Debian packaging.
74

    
75

    
76
v0.5.3 -> v0.5.4
77
REPOSITORY
78
    * Split Synnefo Ganeti tools to snf-ganeti-tools, with Debian packaging
79

    
80
REMOVED APPS
81
    * The ganeti/ app has been removed from the Django project completely.
82
      Any explicit references to it in Django settings must be removed.
83

    
84
DJANGO SETTINGS
85
    * snf-ganeti-tools is configured independently from Django,
86
      need to add proper /etc/synnefo/settings.conf
87
    * Removed 15-queues.conf: fix_amqp_settings (no need to call it anywhere)
88
    * Removed settings.d/98-ganeti-* due to split of snf-ganeti-tools
89
    * ~okeanos intro: OKEANOS_VIDEO_URL: Changed from string to dict
90
    * ~okeanos intro: OKEANOS_VIDEO_POSTER_IMAGE_URL: New setting
91
    * ~okeanos intro: OKEANOS_VIDEO_FLOWPLAYER_URL: New setting
92

    
93
DB MIGRATIONS
94
    * 0018_auto__add_field_virtualmachine_buildpercentage
95

    
96
PACKAGING
97
    * Split Synnefo Ganeti tools to separate snf-ganeti-tools Debian package
98

    
99
NEW DEPENDENCIES
100
    * python-prctl: Needed by the snf-progress-monitor,
101
      specified as a dependency of the snf-ganeti-tools Debian package.
102

    
103
EXTERNAL COMPONENTS
104
    * Ganeti Instance Image must be upgraded to support progress monitoring,
105
      please see README.deploy.
106

    
107

    
108
v0.5.2 -> v0.5.3
109
NEW SETTINGS
110
    * 30-ui.conf:LOGOUT_URL
111
    * 00-admins.conf:DEFAULT_FROM_EMAIL
112
    * 90-okeanos.conf.sample:LOGOUT_URL
113

    
114
REMOVED SETTINGS
115
    * 00-admins.conf:SYSTEM_EMAIL_ADDR
116
    * 90-okeanos.conf.sample:APP_INSTALL_URL
117

    
118

    
119
v0.5.1 -> v0.5.2
120
NEW SETTINGS
121
    * 10-backend.py:GANETI_CREATEINSTANCE_KWARGS
122

    
123
REMOVED SETTINGS
124
    * 10-backend.conf:GANETI_OS_PROVIDER
125
    * 20-api.conf:GANETI_DISK_TEMPLATE
126

    
127
BACKEND CHANGES
128
    * Need to patch Ganeti, file:
129
      lib/python2.6/site-packages/ganeti/rapi/rlib2.py
130
      to honor the wait_for_sync flag, see Synnefo #835.
131
      Patch provided under contrib/patches/ganeti-rlib2.py-v0.5.2