Statistics
| Branch: | Tag: | Revision:

root / README.upgrade @ 43216e82

History | View | Annotate | Download (4.2 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.1 -> v0.6.2
8
ADMIN INTERFACE
9
    * The models were changed so that Flavors and SynnefoUsers now have
10
      a deleted state. The admin tools were updated so that models are
11
      now marked as deleted instead of actually being deleted from the DB.
12
      A database migration is needed.
13

    
14
COMPONENTS
15
    * Only the Django webapp is affected, must restart the logic dispatcher
16
      due to DB migration taking place.
17

    
18

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

    
26
RECONCILIATION
27
    * Implemented new reconciliation management command, please see
28
      ./manage.py reconcile --help and README.admin for more info.
29
      Recommended to run ./manage.py reconcile --detect-all periodically,
30
      via cron.
31

    
32
GANETI-INSTANCE-IMAGE
33
    * A new version of ganeti-instance-image is required (v0.5.1-1-snf1).
34
      The new version is available for download as a debian package:
35
      https://code.grnet.gr/projects/gnt-instance-image/files
36

    
37
COMPONENTS
38
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
39
      for Debian packaging.
40

    
41
NEW SETTINGS
42
    * 30-ui.conf:SUGGESTED_FLAVORS
43
    * 30-ui.conf:VM_IMAGE_COMMON_METADATA
44

    
45

    
46
v0.5.4 -> v0.5.5
47
LOGGING
48
    * Changed the default logging settings for the dispatcher to also log
49
      to /var/log/synnefo/dispatcher.log, redirecting stderr and stdout there
50

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

    
56
          https://github.com/dougbarth/amqp-utils
57

    
58
      and run the amqp-deleteq tool for each declared queue. Alternatively,
59
      amqp-utils can be installed with: sudo gem install amqp-utils.
60

    
61
UI
62
    * Feedback form now uses django native send_mail for sending emails.
63
      Proper django settings should be set for feedback mails to work
64
      (https://docs.djangoproject.com/en/dev/topics/email/)
65

    
66
COMPONENTS
67
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
68
      for Debian packaging.
69

    
70

    
71
v0.5.3 -> v0.5.4
72
REPOSITORY
73
    * Split Synnefo Ganeti tools to snf-ganeti-tools, with Debian packaging
74

    
75
REMOVED APPS
76
    * The ganeti/ app has been removed from the Django project completely.
77
      Any explicit references to it in Django settings must be removed.
78

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

    
88
DB MIGRATIONS
89
    * 0018_auto__add_field_virtualmachine_buildpercentage
90

    
91
PACKAGING
92
    * Split Synnefo Ganeti tools to separate snf-ganeti-tools Debian package
93

    
94
NEW DEPENDENCIES
95
    * python-prctl: Needed by the snf-progress-monitor,
96
      specified as a dependency of the snf-ganeti-tools Debian package.
97

    
98
EXTERNAL COMPONENTS
99
    * Ganeti Instance Image must be upgraded to support progress monitoring,
100
      please see README.deploy.
101

    
102

    
103
v0.5.2 -> v0.5.3
104
NEW SETTINGS
105
    * 30-ui.conf:LOGOUT_URL
106
    * 00-admins.conf:DEFAULT_FROM_EMAIL
107
    * 90-okeanos.conf.sample:LOGOUT_URL
108

    
109
REMOVED SETTINGS
110
    * 00-admins.conf:SYSTEM_EMAIL_ADDR
111
    * 90-okeanos.conf.sample:APP_INSTALL_URL
112

    
113

    
114
v0.5.1 -> v0.5.2
115
NEW SETTINGS
116
    * 10-backend.py:GANETI_CREATEINSTANCE_KWARGS
117

    
118
REMOVED SETTINGS
119
    * 10-backend.conf:GANETI_OS_PROVIDER
120
    * 20-api.conf:GANETI_DISK_TEMPLATE
121

    
122
BACKEND CHANGES
123
    * Need to patch Ganeti, file:
124
      lib/python2.6/site-packages/ganeti/rapi/rlib2.py
125
      to honor the wait_for_sync flag, see Synnefo #835.
126
      Patch provided under contrib/patches/ganeti-rlib2.py-v0.5.2