Merge lp:~zulcss/nova/nova-config into lp:~openstack-ubuntu-testing/nova/grizzly

Proposed by Chuck Short
Status: Merged
Approved by: Yolanda Robla
Approved revision: 554
Merged at revision: 554
Proposed branch: lp:~zulcss/nova/nova-config
Merge into: lp:~openstack-ubuntu-testing/nova/grizzly
Diff against target: 37 lines (+4/-12)
2 files modified
debian/changelog (+4/-0)
debian/nova-common.postinst (+0/-12)
To merge this branch: bzr merge lp:~zulcss/nova/nova-config
Reviewer Review Type Date Requested Status
Yolanda Robla (community) Approve
Review via email: mp+147147@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Yolanda Robla (yolanda.robla) wrote :

Looks good to me

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-01-31 15:21:09 +0000
3+++ debian/changelog 2013-02-07 15:29:25 +0000
4@@ -14,6 +14,10 @@
5 [ Adam Gandelman ]
6 * debian/control: Fix typo (websocikfy -> websockify).
7
8+ [ Chuck Short ]
9+ * debian/nova-common.postinst: Removed config file conversion, since
10+ the option is no longer available. (LP: #1110567)
11+
12 -- Adam Gandelman <adamg@ubuntu.com> Wed, 23 Jan 2013 14:23:22 -0800
13
14 nova (2013.1~g2-0ubuntu3) raring; urgency=low
15
16=== modified file 'debian/nova-common.postinst'
17--- debian/nova-common.postinst 2012-09-24 14:45:25 +0000
18+++ debian/nova-common.postinst 2013-02-07 15:29:25 +0000
19@@ -24,18 +24,6 @@
20 find /var/lib/nova/ -name 'rootfs' -prune -o \
21 -group nogroup -a -user nova -exec chown nova:nova {} \;
22 elif dpkg --compare-versions "$2" lt "2012.2~f1~20120503.13935-0ubuntu1"; then
23- # convert the /etc/nova/nova.conf to the new configuration
24- mv /etc/nova/nova.conf /etc/nova/nova.conf.upgrade
25- nova-manage config convert --infile=/etc/nova/nova.conf.upgrade \
26- --outfile=/etc/nova/nova.conf
27- chmod 600 /etc/nova/nova.conf
28- chown nova:nova /etc/nova/nova.conf
29- # nova.conf, too (if its there)
30- if [ -e /etc/nova/nova-compute.conf ] ; then
31- mv /etc/nova/nova-compute.conf /etc/nova/nova-compute.conf.upgrade
32- nova-manage config convert --infile=/etc/nova/nova-compute.conf.upgrade \
33- --outfile=/etc/nova/nova-compute.conf
34- fi
35 # convert the root_helper to rootwrap_config
36 sed -e "s,^root_helper=.\+,rootwrap_config=/etc/nova/rootwrap.conf," -i /etc/nova/nova.conf
37 fi

Subscribers

People subscribed via source and target branches