Merge lp:~james-page/neutron/vpn-ovs-cleanup into lp:~ubuntu-server-dev/neutron/icehouse

Proposed by James Page
Status: Merged
Approved by: Chuck Short
Approved revision: 256
Merged at revision: 256
Proposed branch: lp:~james-page/neutron/vpn-ovs-cleanup
Merge into: lp:~ubuntu-server-dev/neutron/icehouse
Diff against target: 31 lines (+13/-0)
2 files modified
debian/changelog (+8/-0)
debian/neutron-vpn-agent.upstart (+5/-0)
To merge this branch: bzr merge lp:~james-page/neutron/vpn-ovs-cleanup
Reviewer Review Type Date Requested Status
Ubuntu Server Developers Pending
Review via email: mp+215582@code.launchpad.net
To post a comment you must log in.

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 2014-04-11 07:31:26 +0000
3+++ debian/changelog 2014-04-13 20:01:22 +0000
4@@ -1,3 +1,11 @@
5+neutron (1:2014.1~rc2-0ubuntu4) UNRELEASED; urgency=medium
6+
7+ * d/neutron-vpn-agent.upstart: Wait for neutron-ovs-cleanup service to
8+ start if installed to ensure that Open vSwitch state is cleaned up
9+ on reboot (LP: #1307208).
10+
11+ -- James Page <james.page@ubuntu.com> Sun, 13 Apr 2014 20:52:56 +0100
12+
13 neutron (1:2014.1~rc2-0ubuntu3) trusty; urgency=medium
14
15 * Fix the Breaks/Replaces from the previous version, as they were
16
17=== modified file 'debian/neutron-vpn-agent.upstart'
18--- debian/neutron-vpn-agent.upstart 2014-04-10 13:04:53 +0000
19+++ debian/neutron-vpn-agent.upstart 2014-04-13 20:01:22 +0000
20@@ -12,6 +12,11 @@
21 pre-start script
22 mkdir -p /var/run/neutron
23 chown neutron:root /var/run/neutron
24+ # Check to see if openvswitch plugin in use by checking
25+ # status of cleanup upstart configuration
26+ if status neutron-ovs-cleanup; then
27+ start wait-for-state WAIT_FOR=neutron-ovs-cleanup WAIT_STATE=running WAITER=neutron-vpn-agent
28+ fi
29 end script
30
31 exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-vpn-agent -- \

Subscribers

People subscribed via source and target branches