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

Subscribers

People subscribed via source and target branches