Statistics
| Branch: | Tag: | Revision:

root / README.upgrade @ d511237e

History | View | Annotate | Download (3.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
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
COMPONENTS
26
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
27
      for Debian packaging.
28

    
29
NEW SETTINGS
30
    * 30-ui.conf:SUGGESTED_FLAVORS
31
    * 30-ui.conf:VM_IMAGE_COMMON_METADATA
32

    
33

    
34
v0.5.4 -> v0.5.5
35
LOGGING
36
    * Changed the default logging settings for the dispatcher to also log
37
      to /var/log/synnefo/dispatcher.log, redirecting stderr and stdout there
38

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

    
44
          https://github.com/dougbarth/amqp-utils
45

    
46
      and run the amqp-deleteq tool for each declared queue. Alternatively,
47
      amqp-utils can be installed with: sudo gem install amqp-utils.
48

    
49
UI
50
    * Feedback form now uses django native send_mail for sending emails.
51
      Proper django settings should be set for feedback mails to work
52
      (https://docs.djangoproject.com/en/dev/topics/email/)
53

    
54
COMPONENTS
55
    * snf-ganeti-tools must be rebuilt, see snf-ganeti-tools/debian/
56
      for Debian packaging.
57

    
58

    
59
v0.5.3 -> v0.5.4
60
REPOSITORY
61
    * Split Synnefo Ganeti tools to snf-ganeti-tools, with Debian packaging
62

    
63
REMOVED APPS
64
    * The ganeti/ app has been removed from the Django project completely.
65
      Any explicit references to it in Django settings must be removed.
66

    
67
DJANGO SETTINGS
68
    * snf-ganeti-tools is configured independently from Django,
69
      need to add proper /etc/synnefo/settings.conf
70
    * Removed 15-queues.conf: fix_amqp_settings (no need to call it anywhere)
71
    * Removed settings.d/98-ganeti-* due to split of snf-ganeti-tools
72
    * ~okeanos intro: OKEANOS_VIDEO_URL: Changed from string to dict
73
    * ~okeanos intro: OKEANOS_VIDEO_POSTER_IMAGE_URL: New setting
74
    * ~okeanos intro: OKEANOS_VIDEO_FLOWPLAYER_URL: New setting
75

    
76
DB MIGRATIONS
77
    * 0018_auto__add_field_virtualmachine_buildpercentage
78

    
79
PACKAGING
80
    * Split Synnefo Ganeti tools to separate snf-ganeti-tools Debian package
81

    
82
NEW DEPENDENCIES
83
    * python-prctl: Needed by the snf-progress-monitor,
84
      specified as a dependency of the snf-ganeti-tools Debian package.
85

    
86
EXTERNAL COMPONENTS
87
    * Ganeti Instance Image must be upgraded to support progress monitoring,
88
      please see README.deploy.
89

    
90

    
91
v0.5.2 -> v0.5.3
92
NEW SETTINGS
93
    * 30-ui.conf:LOGOUT_URL
94
    * 00-admins.conf:DEFAULT_FROM_EMAIL
95
    * 90-okeanos.conf.sample:LOGOUT_URL
96

    
97
REMOVED SETTINGS
98
    * 00-admins.conf:SYSTEM_EMAIL_ADDR
99
    * 90-okeanos.conf.sample:APP_INSTALL_URL
100

    
101

    
102
v0.5.1 -> v0.5.2
103
NEW SETTINGS
104
    * 10-backend.py:GANETI_CREATEINSTANCE_KWARGS
105

    
106
REMOVED SETTINGS
107
    * 10-backend.conf:GANETI_OS_PROVIDER
108
    * 20-api.conf:GANETI_DISK_TEMPLATE
109

    
110
BACKEND CHANGES
111
    * Need to patch Ganeti, file:
112
      lib/python2.6/site-packages/ganeti/rapi/rlib2.py
113
      to honor the wait_for_sync flag, see Synnefo #835.
114
      Patch provided under contrib/patches/ganeti-rlib2.py-v0.5.2