Ubuntu Pastebin

Paste from c at Wed, 8 Mar 2017 14:58:47 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/debian/changelog b/debian/changelog
index 3109bd43..dae5535e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+nova (2:15.0.0-0ubuntu2) UNRELEASED; urgency=medium
+
+  * d/nova-common.postinst: Run online migrations as well. (LP: #1671078) 
+
+ -- Chuck Short <zulcss@ubuntu.com>  Wed, 08 Mar 2017 09:57:46 -0500
+
 nova (2:15.0.0-0ubuntu1) zesty; urgency=medium
 
   * New upstream release for OpenStack Ocata.
diff --git a/debian/nova-common.postinst b/debian/nova-common.postinst
index eddee614..ea85e7c9 100644
--- a/debian/nova-common.postinst
+++ b/debian/nova-common.postinst
@@ -51,6 +51,7 @@ if [ "$1" = "configure" ]; then
          grep -qE "^(sql_)?connection.*sqlite.*" /etc/nova/nova.conf
     then
       su -s /bin/sh -c 'nova-manage db sync' nova
+      su -s /bin/sh -c 'nova-manage db online_migrations' nova
     fi
 
     if [ -e /var/lib/nova/nova.sqlite ]
Download as text