Merge lp:~james-page/neutron/grizzly-updates-1 into lp:~openstack-ubuntu-testing/neutron/grizzly
- grizzly-updates-1
- Merge into grizzly
Proposed by
James Page
on 2012-12-06
| Status: | Merged |
|---|---|
| Approved by: | Chuck Short on 2012-12-06 |
| Approved revision: | 120 |
| Merged at revision: | 116 |
| Proposed branch: | lp:~james-page/neutron/grizzly-updates-1 |
| Merge into: | lp:~openstack-ubuntu-testing/neutron/grizzly |
| Diff against target: |
656 lines (+94/-163) 26 files modified
debian/changelog (+25/-4) debian/control (+28/-31) debian/patches/fix-quantum-configuration.patch (+12/-24) debian/quantum-common.install (+2/-2) debian/quantum-common.postinst (+6/-3) debian/quantum-dhcp-agent.install (+2/-2) debian/quantum-dhcp-agent.postinst (+0/-7) debian/quantum-dhcp-agent.postrm (+0/-7) debian/quantum-l3-agent.install (+4/-3) debian/quantum-l3-agent.postinst (+0/-7) debian/quantum-l3-agent.postrm (+0/-7) debian/quantum-l3-agent.quantum-metadata-agent.upstart (+1/-1) debian/quantum-plugin-linuxbridge-agent.install (+1/-1) debian/quantum-plugin-linuxbridge-agent.postinst (+0/-7) debian/quantum-plugin-linuxbridge-agent.postrm (+0/-7) debian/quantum-plugin-nec.install (+1/-1) debian/quantum-plugin-nec.postinst (+0/-7) debian/quantum-plugin-openvswitch-agent.install (+1/-1) debian/quantum-plugin-openvswitch-agent.postinst (+0/-7) debian/quantum-plugin-openvswitch-agent.postrm (+0/-7) debian/quantum-plugin-ryu-agent.install (+1/-1) debian/quantum-plugin-ryu-agent.postinst (+0/-7) debian/quantum-plugin-ryu-agent.postrm (+0/-7) debian/quantum-server.install (+4/-4) debian/quantum-server.postrm (+0/-7) debian/rules (+6/-1) |
| To merge this branch: | bzr merge lp:~james-page/neutron/grizzly-updates-1 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Openstack Ubuntu Testers | 2012-12-06 | Pending | |
|
Review via email:
|
|||
Commit Message
Description of the Change
Various updates for quantum - see changelog for details.
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 2012-12-04 18:37:44 +0000 |
| 3 | +++ debian/changelog 2012-12-06 15:39:21 +0000 |
| 4 | @@ -2,13 +2,34 @@ |
| 5 | |
| 6 | [ Chuck Short ] |
| 7 | * New upstream version. |
| 8 | - * debian/quantum-server.install: Add quantum-ns-metadata-proxy |
| 9 | - and quantum-metadata-agent |
| 10 | * debian/patches/fix-quantum-configuration.patch: Refreshed. |
| 11 | |
| 12 | [ Yolanda Robla ] |
| 13 | - * debian/quantum-metadata-agent.upstart |
| 14 | - * debian/patches/fix-quantum-configuration.patch |
| 15 | + * debian/quantum-l3-agent.quantum-metadata-agent.upstart: Add |
| 16 | + upstart configuration for Metadata Agent. |
| 17 | + * debian/quantum-l3-agent.install: Added quantum-ns-metadata-proxy, |
| 18 | + quantum-metadata-agent and metadata_agent.ini. |
| 19 | + * debian/patches/fix-quantum-configuration.patch: Update rootwrap |
| 20 | + configuration in metadata_agent.ini file. |
| 21 | + |
| 22 | + [ James Page ] |
| 23 | + * d/*.install: Install entry points from bin directory instead |
| 24 | + of easy-install ones generated during the package build process |
| 25 | + (LP: #1085038). |
| 26 | + * d/control: Drop BD on python-dev-all; its not required. |
| 27 | + * d/rules: Install multiple upstart configurations for quantum-l3-agent. |
| 28 | + * d/control: Tidy package descriptions. |
| 29 | + * d/*.postrm: Drop as debhelper will generate update-rc.d calls in |
| 30 | + maintainer scripts if required. |
| 31 | + * d/quantum-common.postinst: Tweak permissions setting so that /etc/quantum |
| 32 | + is not owned/writable by the quantum user, ensure that /etc/quantum/rootwrap* |
| 33 | + is owned by root:root. |
| 34 | + * d/*agent*.postinst: Dropped as permissions now correctly set in |
| 35 | + quantum-common. |
| 36 | + |
| 37 | + [ Maru Newby ] |
| 38 | + * debian/control: Remove unnecessary openvswitch-vswitch dependency |
| 39 | + from quantum-plugin-openvswitch (LP: #1076747). |
| 40 | |
| 41 | -- Chuck Short <zulcss@ubuntu.com> Sat, 01 Dec 2012 12:21:02 -0600 |
| 42 | |
| 43 | |
| 44 | === modified file 'debian/control' |
| 45 | --- debian/control 2012-09-21 17:21:10 +0000 |
| 46 | +++ debian/control 2012-12-06 15:39:21 +0000 |
| 47 | @@ -3,8 +3,7 @@ |
| 48 | Priority: optional |
| 49 | Maintainer: Chuck Short <zulcss@ubuntu.com> |
| 50 | Build-Depends: debhelper (>= 8.0.0), |
| 51 | - python-all (>= 2.6), |
| 52 | - python-all-dev (>= 2.6.6-3~) |
| 53 | + python-all (>= 2.6) |
| 54 | Build-Depends-Indep: pep8, |
| 55 | python-amqplib, |
| 56 | python-anyjson, |
| 57 | @@ -47,7 +46,7 @@ |
| 58 | ${python:Depends}, |
| 59 | ${shlibs:Depends} |
| 60 | Recommends: quantum-plugin-openvswitch |
| 61 | -Description: server - Quantum is a virtual network service for Openstack |
| 62 | +Description: Quantum is a virtual network service for Openstack - server |
| 63 | Quantum is a virtual network service for Openstack, and a part of |
| 64 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 65 | request and configure virtual servers, Quantum provides an API to |
| 66 | @@ -57,7 +56,7 @@ |
| 67 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 68 | etc.) |
| 69 | . |
| 70 | - This package provides the quantum server |
| 71 | + This package provides the Quantum server |
| 72 | |
| 73 | Package: quantum-common |
| 74 | Architecture: all |
| 75 | @@ -67,7 +66,7 @@ |
| 76 | ${python:Depends} |
| 77 | Breaks: quantum-server ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 78 | Replaces: quantum-server ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 79 | -Description: common - Quantum is a virtual network service for Openstack. |
| 80 | +Description: Quantum is a virtual network service for Openstack - common |
| 81 | Quantum is a virtual network service for Openstack, and a part of |
| 82 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 83 | request and configure virtual servers, Quantum provides an API to |
| 84 | @@ -86,7 +85,7 @@ |
| 85 | ${misc:Depends}, |
| 86 | ${python:Depends}, |
| 87 | ${shlibs:Depends} |
| 88 | -Description: Quantum is a virtual network service for Openstack. (cisco plugin) |
| 89 | +Description: Quantum is a virtual network service for Openstack - Cisco plugin |
| 90 | Quantum is a virtual network service for Openstack, and a part of |
| 91 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 92 | request and configure virtual servers, Quantum provides an API to |
| 93 | @@ -96,7 +95,7 @@ |
| 94 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 95 | etc.) |
| 96 | . |
| 97 | - This package provides the CISCO plugin. |
| 98 | + This package provides the Cisco plugin. |
| 99 | |
| 100 | Package: quantum-plugin-nec |
| 101 | Architecture: all |
| 102 | @@ -105,7 +104,7 @@ |
| 103 | ${misc:Depends}, |
| 104 | ${python:Depends}, |
| 105 | ${shlibs:Depends} |
| 106 | -Description: Quantum is a virtual network service for Openstack. (NEC plugin) |
| 107 | +Description: Quantum is a virtual network service for Openstack - NEC plugin |
| 108 | Quantum is a virtual network service for Openstack, and a part of |
| 109 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 110 | request and configure virtual servers, Quantum provides an API to |
| 111 | @@ -125,7 +124,7 @@ |
| 112 | ${misc:Depends}, |
| 113 | ${python:Depends}, |
| 114 | ${shlibs:Depends} |
| 115 | -Description: Quantum is a virtual network service for Openstack. (metaplugin plugin) |
| 116 | +Description: Quantum is a virtual network service for Openstack - Metaplugin plugin |
| 117 | Quantum is a virtual network service for Openstack, and a part of |
| 118 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 119 | request and configure virtual servers, Quantum provides an API to |
| 120 | @@ -135,7 +134,7 @@ |
| 121 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 122 | etc.) |
| 123 | . |
| 124 | - This package provides the metaplugin plugin. |
| 125 | + This package provides the Metaplugin plugin. |
| 126 | |
| 127 | Package: quantum-plugin-nicira |
| 128 | Architecture: all |
| 129 | @@ -144,7 +143,7 @@ |
| 130 | ${misc:Depends}, |
| 131 | ${python:Depends}, |
| 132 | ${shlibs:Depends} |
| 133 | -Description: Quantum is a virtual network service for Openstack. (nicira plugin) |
| 134 | +Description: Quantum is a virtual network service for Openstack - Nicira plugin |
| 135 | Quantum is a virtual network service for Openstack, and a part of |
| 136 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 137 | request and configure virtual servers, Quantum provides an API to |
| 138 | @@ -154,7 +153,7 @@ |
| 139 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 140 | etc.) |
| 141 | . |
| 142 | - This package provides the nicira plugin |
| 143 | + This package provides the Nicira plugin |
| 144 | |
| 145 | Package: quantum-l3-agent |
| 146 | Architecture: all |
| 147 | @@ -164,7 +163,7 @@ |
| 148 | ${shlibs:Depends} |
| 149 | Breaks: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 150 | Replaces: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 151 | -Description: Quantum is a virtual network service for Openstack. (l3 agent) |
| 152 | +Description: Quantum is a virtual network service for Openstack - l3 agent |
| 153 | Quantum is a virtual network service for Openstack, and a part of |
| 154 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 155 | request and configure virtual servers, Quantum provides an API to |
| 156 | @@ -174,7 +173,7 @@ |
| 157 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 158 | etc.) |
| 159 | . |
| 160 | - This package provides the l3 agent. |
| 161 | + This package provides the layer 3 routing agent. |
| 162 | |
| 163 | Package: quantum-dhcp-agent |
| 164 | Architecture: all |
| 165 | @@ -186,7 +185,7 @@ |
| 166 | ${shlibs:Depends} |
| 167 | Breaks: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 168 | Replaces: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 169 | -Description: Quantum is a virtual network service for Openstack. (dhcp agent) |
| 170 | +Description: Quantum is a virtual network service for Openstack - DHCP agent |
| 171 | Quantum is a virtual network service for Openstack, and a part of |
| 172 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 173 | request and configure virtual servers, Quantum provides an API to |
| 174 | @@ -196,7 +195,7 @@ |
| 175 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 176 | etc.) |
| 177 | . |
| 178 | - This package provides the dhcp agent. |
| 179 | + This package provides the DHCP agent. |
| 180 | |
| 181 | Package: python-quantum |
| 182 | Architecture: all |
| 183 | @@ -224,7 +223,7 @@ |
| 184 | ${python:Depends} |
| 185 | Provides: ${python:Provides} |
| 186 | XB-Python-Version: ${python:Versions} |
| 187 | -Description: Quantum is a virutal network service for Openstack. (python library) |
| 188 | +Description: Quantum is a virutal network service for Openstack - Python library |
| 189 | Quantum is a virtual network service for Openstack, and a part of |
| 190 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 191 | request and configure virtual servers, Quantum provides an API to |
| 192 | @@ -234,17 +233,16 @@ |
| 193 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 194 | etc.) |
| 195 | . |
| 196 | - This package provides the python library. |
| 197 | + This package provides the Python library. |
| 198 | |
| 199 | Package: quantum-plugin-openvswitch |
| 200 | Architecture: all |
| 201 | Provides: quantum-plugin |
| 202 | -Depends: openvswitch-switch, |
| 203 | - quantum-common (= ${source:Version}), |
| 204 | +Depends: quantum-common (= ${source:Version}), |
| 205 | ${misc:Depends}, |
| 206 | ${python:Depends}, |
| 207 | ${shlibs:Depends} |
| 208 | -Description: Quantum is a virtual network service for Openstack. (openvswitch plugin) |
| 209 | +Description: Quantum is a virtual network service for Openstack - Open vSwitch plugin |
| 210 | Quantum is a virtual network service for Openstack, and a part of |
| 211 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 212 | request and configure virtual servers, Quantum provides an API to |
| 213 | @@ -254,7 +252,7 @@ |
| 214 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 215 | etc.) |
| 216 | . |
| 217 | - This package provides the openvswitch plugin. |
| 218 | + This package provides the Open vSwitch plugin. |
| 219 | |
| 220 | Package: quantum-plugin-openvswitch-agent |
| 221 | Architecture: all |
| 222 | @@ -266,7 +264,7 @@ |
| 223 | ${shlibs:Depends} |
| 224 | Breaks: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 225 | Replaces: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 226 | -Description: Quantum is a virtual network service for Openstack. (openvswitch plugin agent) |
| 227 | +Description: Quantum is a virtual network service for Openstack - Open vSwitch plugin agent |
| 228 | Quantum is a virtual network service for Openstack, and a part of |
| 229 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 230 | request and configure virtual servers, Quantum provides an API to |
| 231 | @@ -276,8 +274,7 @@ |
| 232 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 233 | etc.) |
| 234 | . |
| 235 | - This package provides the openvswitch plugin agent |
| 236 | - |
| 237 | + This package provides the Open vSwitch plugin agent. |
| 238 | |
| 239 | Package: quantum-plugin-linuxbridge |
| 240 | Architecture: all |
| 241 | @@ -286,7 +283,7 @@ |
| 242 | ${misc:Depends}, |
| 243 | ${python:Depends}, |
| 244 | ${shlibs:Depends} |
| 245 | -Description: Quantum is a virtual network service for Openstack. (linuxbridge plugin) |
| 246 | +Description: Quantum is a virtual network service for Openstack - linuxbridge plugin |
| 247 | Quantum is a virtual network service for Openstack, and a part of |
| 248 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 249 | request and configure virtual servers, Quantum provides an API to |
| 250 | @@ -308,7 +305,7 @@ |
| 251 | ${shlibs:Depends} |
| 252 | Breaks: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 253 | Replaces: quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 254 | -Description: Quantum is a virtual network service for Openstack. (linuxbridge plugin agent) |
| 255 | +Description: Quantum is a virtual network service for Openstack - linuxbridge plugin agent |
| 256 | Quantum is a virtual network service for Openstack, and a part of |
| 257 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 258 | request and configure virtual servers, Quantum provides an API to |
| 259 | @@ -327,7 +324,7 @@ |
| 260 | ${misc:Depends}, |
| 261 | ${python:Depends}, |
| 262 | ${shlibs:Depends} |
| 263 | -Description: Quantum is a virtual network service for Openstack. (ryu plugin) |
| 264 | +Description: Quantum is a virtual network service for Openstack - RYU plugin |
| 265 | Quantum is a virtual network service for Openstack, and a part of |
| 266 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 267 | request and configure virtual servers, Quantum provides an API to |
| 268 | @@ -337,7 +334,7 @@ |
| 269 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 270 | etc.) |
| 271 | . |
| 272 | - This package provides the ryu plugin |
| 273 | + This package provides the RYU plugin. |
| 274 | |
| 275 | Package: quantum-plugin-ryu-agent |
| 276 | Architecture: all |
| 277 | @@ -350,7 +347,7 @@ |
| 278 | quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 279 | Replaces: quantum-server ( << 2012.1-0ubuntu3 ), |
| 280 | quantum-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 ) |
| 281 | -Description: Quantum is a virtual network service for Openstack. (ryu plugin agent) |
| 282 | +Description: Quantum is a virtual network service for Openstack - RYU plugin agent |
| 283 | Quantum is a virtual network service for Openstack, and a part of |
| 284 | Netstack. Just like OpenStack Nova provides an API to dynamically |
| 285 | request and configure virtual servers, Quantum provides an API to |
| 286 | @@ -360,4 +357,4 @@ |
| 287 | advanced network capabilities (e.g., QoS, ACLs, network monitoring, |
| 288 | etc.) |
| 289 | . |
| 290 | - This package provides the ryu plugin agent. |
| 291 | + This package provides the RYU plugin agent. |
| 292 | |
| 293 | === modified file 'debian/patches/fix-quantum-configuration.patch' |
| 294 | --- debian/patches/fix-quantum-configuration.patch 2012-12-04 18:37:44 +0000 |
| 295 | +++ debian/patches/fix-quantum-configuration.patch 2012-12-06 15:39:21 +0000 |
| 296 | @@ -1,6 +1,5 @@ |
| 297 | -diff -Naurp quantum-2013.1.orig/etc/dhcp_agent.ini quantum-2013.1/etc/dhcp_agent.ini |
| 298 | ---- quantum-2013.1.orig/etc/dhcp_agent.ini 2012-12-03 03:38:10.000000000 -0600 |
| 299 | -+++ quantum-2013.1/etc/dhcp_agent.ini 2012-12-03 09:35:21.405425820 -0600 |
| 300 | +--- a/etc/dhcp_agent.ini |
| 301 | ++++ b/etc/dhcp_agent.ini |
| 302 | @@ -4,7 +4,7 @@ |
| 303 | |
| 304 | # Where to store dnsmasq state files. This directory must be writable by the |
| 305 | @@ -16,9 +15,8 @@ |
| 306 | # Change to "sudo" to skip the filtering and just run the comand directly |
| 307 | -root_helper = sudo |
| 308 | +root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf |
| 309 | -diff -Naurp quantum-2013.1.orig/etc/l3_agent.ini quantum-2013.1/etc/l3_agent.ini |
| 310 | ---- quantum-2013.1.orig/etc/l3_agent.ini 2012-12-03 03:38:10.000000000 -0600 |
| 311 | -+++ quantum-2013.1/etc/l3_agent.ini 2012-12-03 09:33:23.825425820 -0600 |
| 312 | +--- a/etc/l3_agent.ini |
| 313 | ++++ b/etc/l3_agent.ini |
| 314 | @@ -20,7 +20,7 @@ admin_password = %SERVICE_PASSWORD% |
| 315 | # Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real |
| 316 | # root filter facility. |
| 317 | @@ -28,9 +26,8 @@ |
| 318 | |
| 319 | # Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and |
| 320 | # iproute2 package that supports namespaces). |
| 321 | -diff -Naurp quantum-2013.1.orig/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini quantum-2013.1/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini |
| 322 | ---- quantum-2013.1.orig/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini 2012-12-03 03:38:10.000000000 -0600 |
| 323 | -+++ quantum-2013.1/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini 2012-12-03 09:33:23.825425820 -0600 |
| 324 | +--- a/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini |
| 325 | ++++ b/etc/quantum/plugins/linuxbridge/linuxbridge_conf.ini |
| 326 | @@ -26,7 +26,7 @@ |
| 327 | # sql_connection = mysql://root:nova@127.0.0.1:3306/quantum_linux_bridge |
| 328 | # Replace 127.0.0.1 above with the IP address of the database used by the |
| 329 | @@ -40,9 +37,8 @@ |
| 330 | # Database reconnection retry times - in event connectivity is lost |
| 331 | # set to -1 implies an infinite retry count |
| 332 | # sql_max_retries = 10 |
| 333 | -diff -Naurp quantum-2013.1.orig/etc/quantum.conf quantum-2013.1/etc/quantum.conf |
| 334 | ---- quantum-2013.1.orig/etc/quantum.conf 2012-12-03 03:38:10.000000000 -0600 |
| 335 | -+++ quantum-2013.1/etc/quantum.conf 2012-12-03 09:33:23.825425820 -0600 |
| 336 | +--- a/etc/quantum.conf |
| 337 | ++++ b/etc/quantum.conf |
| 338 | @@ -38,13 +38,13 @@ bind_port = 9696 |
| 339 | # api_extensions_path = |
| 340 | |
| 341 | @@ -59,10 +55,9 @@ |
| 342 | |
| 343 | # The strategy to be used for auth. |
| 344 | # Supported values are 'keystone'(default), 'noauth'. |
| 345 | - |
| 346 | ---- quantum-2013.1.orig/etc/metadata_agent.ini 2012-12-01 16:31:33.000000000 +0100 |
| 347 | -+++ quantum-2013.1/etc/metadata_agent.ini 2012-12-03 18:09:27.794483097 +0100 |
| 348 | -@@ -12,12 +12,12 @@ |
| 349 | +--- a/etc/metadata_agent.ini |
| 350 | ++++ b/etc/metadata_agent.ini |
| 351 | +@@ -12,7 +12,7 @@ admin_password = %SERVICE_PASSWORD% |
| 352 | # Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real |
| 353 | # root filter facility. |
| 354 | # Change to "sudo" to skip the filtering and just run the comand directly |
| 355 | @@ -70,11 +65,4 @@ |
| 356 | +root_helper = sudo quantum-rootwrap /etc/quantum/rootwrap.conf |
| 357 | |
| 358 | # Where to store metadata state files. This directory must be writable by the |
| 359 | - # user executing the agent. The value below is compatible with a default |
| 360 | - # devstack installation. |
| 361 | --state_path = /opt/stack/data/quantum |
| 362 | -+state_path = /var/lib/quantum |
| 363 | - |
| 364 | - # IP address used by Nova metadata server |
| 365 | - # nova_metadata_ip = 127.0.0.1 |
| 366 | - |
| 367 | + # user executing the agent. |
| 368 | |
| 369 | === modified file 'debian/quantum-common.install' |
| 370 | --- debian/quantum-common.install 2012-11-12 16:16:47 +0000 |
| 371 | +++ debian/quantum-common.install 2012-12-06 15:39:21 +0000 |
| 372 | @@ -2,7 +2,7 @@ |
| 373 | etc/policy.json etc/quantum |
| 374 | etc/quantum.conf etc/quantum |
| 375 | etc/rootwrap.conf etc/quantum |
| 376 | -usr/bin/quantum-rootwrap |
| 377 | -usr/bin/quantum-netns-cleanup |
| 378 | +bin/quantum-rootwrap usr/bin |
| 379 | +bin/quantum-netns-cleanup usr/bin |
| 380 | debian/quantum_sudoers etc/sudoers.d |
| 381 | |
| 382 | |
| 383 | === modified file 'debian/quantum-common.postinst' (properties changed: +x to -x) |
| 384 | --- debian/quantum-common.postinst 2012-09-11 00:32:41 +0000 |
| 385 | +++ debian/quantum-common.postinst 2012-12-06 15:39:21 +0000 |
| 386 | @@ -12,12 +12,15 @@ |
| 387 | then |
| 388 | adduser --system --home /var/lib/quantum --ingroup quantum --no-create-home --shell /bin/false quantum |
| 389 | fi |
| 390 | - chown -R quantum:quantum /var/lib/quantum/ /etc/quantum/ |
| 391 | + chown -R quantum:quantum /var/lib/quantum/ |
| 392 | + |
| 393 | chown -R quantum:adm /var/log/quantum/ |
| 394 | - chmod 0700 /etc/quantum/ |
| 395 | chmod 0750 /var/log/quantum/ |
| 396 | + |
| 397 | + chown -R root:quantum /etc/quantum/ |
| 398 | + chmod 0750 /etc/quantum/ |
| 399 | chown root:root /etc/quantum/rootwrap.conf |
| 400 | - chown root:root /etc/quantum/rootwrap.d |
| 401 | + chown -R root:root /etc/quantum/rootwrap.d |
| 402 | chmod 0755 /etc/quantum/rootwrap.d |
| 403 | |
| 404 | if [ -f /etc/sudoers.d/quantum_sudoers ] ; then |
| 405 | |
| 406 | === modified file 'debian/quantum-dhcp-agent.install' |
| 407 | --- debian/quantum-dhcp-agent.install 2012-11-12 16:16:47 +0000 |
| 408 | +++ debian/quantum-dhcp-agent.install 2012-12-06 15:39:21 +0000 |
| 409 | @@ -1,5 +1,5 @@ |
| 410 | etc/dhcp_agent.ini etc/quantum |
| 411 | etc/quantum/rootwrap.d/dhcp.filters etc/quantum/rootwrap.d |
| 412 | -usr/bin/quantum-dhcp-agent |
| 413 | -usr/bin/quantum-dhcp-agent-dnsmasq-lease-update |
| 414 | +bin/quantum-dhcp-agent usr/bin |
| 415 | +bin/quantum-dhcp-agent-dnsmasq-lease-update usr/bin |
| 416 | debian/cron.d/quantum-dhcp-agent-netns-cleanup etc/cron.d |
| 417 | |
| 418 | === removed file 'debian/quantum-dhcp-agent.postinst' |
| 419 | --- debian/quantum-dhcp-agent.postinst 2012-09-10 20:16:42 +0000 |
| 420 | +++ debian/quantum-dhcp-agent.postinst 1970-01-01 00:00:00 +0000 |
| 421 | @@ -1,7 +0,0 @@ |
| 422 | -#!/bin/sh -e |
| 423 | -if [ "$1" = "configure" ]; then |
| 424 | - chown root:root /etc/quantum/rootwrap.d/dhcp.filters |
| 425 | -fi |
| 426 | - |
| 427 | -#DEBHELPER# |
| 428 | - |
| 429 | |
| 430 | === removed file 'debian/quantum-dhcp-agent.postrm' |
| 431 | --- debian/quantum-dhcp-agent.postrm 2012-09-08 00:16:27 +0000 |
| 432 | +++ debian/quantum-dhcp-agent.postrm 1970-01-01 00:00:00 +0000 |
| 433 | @@ -1,7 +0,0 @@ |
| 434 | -#!/bin/sh -e |
| 435 | - |
| 436 | -if [ "$1" = purge ]; then |
| 437 | - update-rc.d quantum-plugin-dhcp remove >/dev/null |
| 438 | -fi |
| 439 | - |
| 440 | -#DEBHELPER# |
| 441 | |
| 442 | === modified file 'debian/quantum-l3-agent.install' |
| 443 | --- debian/quantum-l3-agent.install 2012-12-03 17:49:37 +0000 |
| 444 | +++ debian/quantum-l3-agent.install 2012-12-06 15:39:21 +0000 |
| 445 | @@ -1,6 +1,7 @@ |
| 446 | etc/l3_agent.ini etc/quantum |
| 447 | etc/quantum/rootwrap.d/l3.filters etc/quantum/rootwrap.d |
| 448 | -usr/bin/quantum-l3-agent |
| 449 | -usr/bin/quantum-ns-metadata-proxy |
| 450 | -usr/bin/quantum-metadata-agent |
| 451 | +bin/quantum-l3-agent usr/bin |
| 452 | +etc/metadata_agent.ini etc/quantum |
| 453 | +bin/quantum-ns-metadata-proxy usr/bin |
| 454 | +bin/quantum-metadata-agent usr/bin |
| 455 | debian/cron.d/quantum-l3-agent-netns-cleanup etc/cron.d |
| 456 | |
| 457 | === removed file 'debian/quantum-l3-agent.postinst' |
| 458 | --- debian/quantum-l3-agent.postinst 2012-09-10 20:16:42 +0000 |
| 459 | +++ debian/quantum-l3-agent.postinst 1970-01-01 00:00:00 +0000 |
| 460 | @@ -1,7 +0,0 @@ |
| 461 | -#!/bin/sh -e |
| 462 | -if [ "$1" = "configure" ]; then |
| 463 | - chown root:root /etc/quantum/rootwrap.d/l3.filters |
| 464 | -fi |
| 465 | - |
| 466 | -#DEBHELPER# |
| 467 | - |
| 468 | |
| 469 | === removed file 'debian/quantum-l3-agent.postrm' |
| 470 | --- debian/quantum-l3-agent.postrm 2012-09-08 00:16:27 +0000 |
| 471 | +++ debian/quantum-l3-agent.postrm 1970-01-01 00:00:00 +0000 |
| 472 | @@ -1,7 +0,0 @@ |
| 473 | -#!/bin/sh -e |
| 474 | - |
| 475 | -if [ "$1" = purge ]; then |
| 476 | - update-rc.d quantum-plugin-l3-agent remove >/dev/null |
| 477 | -fi |
| 478 | - |
| 479 | -#DEBHELPER# |
| 480 | |
| 481 | === modified file 'debian/quantum-l3-agent.quantum-l3-agent.upstart' (properties changed: +x to -x) |
| 482 | === modified file 'debian/quantum-l3-agent.quantum-metadata-agent.upstart' (properties changed: +x to -x) |
| 483 | --- debian/quantum-l3-agent.quantum-metadata-agent.upstart 2012-12-04 17:17:24 +0000 |
| 484 | +++ debian/quantum-l3-agent.quantum-metadata-agent.upstart 2012-12-06 15:39:21 +0000 |
| 485 | @@ -13,4 +13,4 @@ |
| 486 | |
| 487 | exec start-stop-daemon --start --chuid quantum --exec /usr/bin/quantum-metadata-agent -- \ |
| 488 | --config-file=/etc/quantum/quantum.conf --config-file=/etc/quantum/metadata_agent.ini \ |
| 489 | - --log-file /var/log/quantum/metadata-agent.log |
| 490 | + --log-file=/var/log/quantum/metadata-agent.log |
| 491 | |
| 492 | === modified file 'debian/quantum-plugin-linuxbridge-agent.install' |
| 493 | --- debian/quantum-plugin-linuxbridge-agent.install 2012-11-12 16:16:47 +0000 |
| 494 | +++ debian/quantum-plugin-linuxbridge-agent.install 2012-12-06 15:39:21 +0000 |
| 495 | @@ -1,2 +1,2 @@ |
| 496 | -usr/bin/quantum-linuxbridge-agent |
| 497 | +bin/quantum-linuxbridge-agent usr/bin |
| 498 | etc/quantum/rootwrap.d/linuxbridge-plugin.filters etc/quantum/rootwrap.d |
| 499 | |
| 500 | === removed file 'debian/quantum-plugin-linuxbridge-agent.postinst' |
| 501 | --- debian/quantum-plugin-linuxbridge-agent.postinst 2012-09-10 20:16:42 +0000 |
| 502 | +++ debian/quantum-plugin-linuxbridge-agent.postinst 1970-01-01 00:00:00 +0000 |
| 503 | @@ -1,7 +0,0 @@ |
| 504 | -#!/bin/sh -e |
| 505 | -if [ "$1" = "configure" ]; then |
| 506 | - chown root:root /etc/quantum/rootwrap.d/linuxbridge-plugin.filters |
| 507 | -fi |
| 508 | - |
| 509 | -#DEBHELPER# |
| 510 | - |
| 511 | |
| 512 | === removed file 'debian/quantum-plugin-linuxbridge-agent.postrm' |
| 513 | --- debian/quantum-plugin-linuxbridge-agent.postrm 2012-09-07 20:19:49 +0000 |
| 514 | +++ debian/quantum-plugin-linuxbridge-agent.postrm 1970-01-01 00:00:00 +0000 |
| 515 | @@ -1,7 +0,0 @@ |
| 516 | -#!/bin/sh -e |
| 517 | - |
| 518 | -if [ "$1" = purge ]; then |
| 519 | - update-rc.d quantum-plugin-linuxbridge-agent remove >/dev/null |
| 520 | -fi |
| 521 | - |
| 522 | -#DEBHELPER# |
| 523 | |
| 524 | === modified file 'debian/quantum-plugin-linuxbridge-agent.upstart' (properties changed: +x to -x) |
| 525 | === modified file 'debian/quantum-plugin-nec.install' |
| 526 | --- debian/quantum-plugin-nec.install 2012-11-15 02:52:20 +0000 |
| 527 | +++ debian/quantum-plugin-nec.install 2012-12-06 15:39:21 +0000 |
| 528 | @@ -1,3 +1,3 @@ |
| 529 | etc/quantum/plugins/nec/* etc/quantum/plugins/nec |
| 530 | -usr/bin/quantum-nec-agent |
| 531 | +bin/quantum-nec-agent usr/bin |
| 532 | etc/quantum/rootwrap.d/nec-plugin.filters etc/quantum/rootwrap.d |
| 533 | |
| 534 | === removed file 'debian/quantum-plugin-nec.postinst' |
| 535 | --- debian/quantum-plugin-nec.postinst 2012-09-10 23:59:44 +0000 |
| 536 | +++ debian/quantum-plugin-nec.postinst 1970-01-01 00:00:00 +0000 |
| 537 | @@ -1,7 +0,0 @@ |
| 538 | -#!/bin/sh -e |
| 539 | -if [ "$1" = "configure" ]; then |
| 540 | - chown root:root /etc/quantum/rootwrap.d/nec-plugin.filters |
| 541 | -fi |
| 542 | - |
| 543 | -#DEBHELPER# |
| 544 | - |
| 545 | |
| 546 | === modified file 'debian/quantum-plugin-openvswitch-agent.install' |
| 547 | --- debian/quantum-plugin-openvswitch-agent.install 2012-11-12 16:16:47 +0000 |
| 548 | +++ debian/quantum-plugin-openvswitch-agent.install 2012-12-06 15:39:21 +0000 |
| 549 | @@ -1,2 +1,2 @@ |
| 550 | -usr/bin/quantum-openvswitch-agent |
| 551 | +bin/quantum-openvswitch-agent usr/bin |
| 552 | etc/quantum/rootwrap.d/openvswitch-plugin.filters etc/quantum/rootwrap.d |
| 553 | |
| 554 | === removed file 'debian/quantum-plugin-openvswitch-agent.postinst' |
| 555 | --- debian/quantum-plugin-openvswitch-agent.postinst 2012-09-10 20:16:42 +0000 |
| 556 | +++ debian/quantum-plugin-openvswitch-agent.postinst 1970-01-01 00:00:00 +0000 |
| 557 | @@ -1,7 +0,0 @@ |
| 558 | -#!/bin/sh -e |
| 559 | -if [ "$1" = "configure" ]; then |
| 560 | - chown root:root /etc/quantum/rootwrap.d/openvswitch-plugin.filters |
| 561 | -fi |
| 562 | - |
| 563 | -#DEBHELPER# |
| 564 | - |
| 565 | |
| 566 | === removed file 'debian/quantum-plugin-openvswitch-agent.postrm' |
| 567 | --- debian/quantum-plugin-openvswitch-agent.postrm 2012-09-07 20:19:49 +0000 |
| 568 | +++ debian/quantum-plugin-openvswitch-agent.postrm 1970-01-01 00:00:00 +0000 |
| 569 | @@ -1,7 +0,0 @@ |
| 570 | -#!/bin/sh -e |
| 571 | - |
| 572 | -if [ "$1" = purge ]; then |
| 573 | - update-rc.d quantum-plugin-openvswitch-agent remove >/dev/null |
| 574 | -fi |
| 575 | - |
| 576 | -#DEBHELPER# |
| 577 | |
| 578 | === modified file 'debian/quantum-plugin-openvswitch-agent.upstart' (properties changed: +x to -x) |
| 579 | === modified file 'debian/quantum-plugin-ryu-agent.install' |
| 580 | --- debian/quantum-plugin-ryu-agent.install 2012-11-12 16:16:47 +0000 |
| 581 | +++ debian/quantum-plugin-ryu-agent.install 2012-12-06 15:39:21 +0000 |
| 582 | @@ -1,2 +1,2 @@ |
| 583 | -usr/bin/quantum-ryu-agent |
| 584 | +bin/quantum-ryu-agent usr/bin |
| 585 | etc/quantum/rootwrap.d/ryu-plugin.filters etc/quantum/rootwrap.d |
| 586 | |
| 587 | === removed file 'debian/quantum-plugin-ryu-agent.postinst' |
| 588 | --- debian/quantum-plugin-ryu-agent.postinst 2012-09-10 20:16:42 +0000 |
| 589 | +++ debian/quantum-plugin-ryu-agent.postinst 1970-01-01 00:00:00 +0000 |
| 590 | @@ -1,7 +0,0 @@ |
| 591 | -#!/bin/sh -e |
| 592 | -if [ "$1" = "configure" ]; then |
| 593 | - chown root:root /etc/quantum/rootwrap.d/ryu-plugin.filters |
| 594 | -fi |
| 595 | - |
| 596 | -#DEBHELPER# |
| 597 | - |
| 598 | |
| 599 | === removed file 'debian/quantum-plugin-ryu-agent.postrm' |
| 600 | --- debian/quantum-plugin-ryu-agent.postrm 2012-09-07 20:19:49 +0000 |
| 601 | +++ debian/quantum-plugin-ryu-agent.postrm 1970-01-01 00:00:00 +0000 |
| 602 | @@ -1,7 +0,0 @@ |
| 603 | -#!/bin/sh -e |
| 604 | - |
| 605 | -if [ "$1" = purge ]; then |
| 606 | - update-rc.d quantum-plugin-ryu-agent remove >/dev/null |
| 607 | -fi |
| 608 | - |
| 609 | -#DEBHELPER# |
| 610 | |
| 611 | === modified file 'debian/quantum-plugin-ryu-agent.upstart' (properties changed: +x to -x) |
| 612 | === modified file 'debian/quantum-server.install' |
| 613 | --- debian/quantum-server.install 2012-12-01 18:32:39 +0000 |
| 614 | +++ debian/quantum-server.install 2012-12-06 15:39:21 +0000 |
| 615 | @@ -1,4 +1,4 @@ |
| 616 | -usr/bin/quantum-server |
| 617 | -usr/bin/quantum-debug |
| 618 | -usr/bin/quantum-ns-metadata-proxy |
| 619 | -usr/bin/quantum-metadata-agent |
| 620 | +bin/quantum-server usr/bin |
| 621 | +bin/quantum-debug usr/bin |
| 622 | +bin/quantum-ns-metadata-proxy usr/bin |
| 623 | +bin/quantum-metadata-agent usr/bin |
| 624 | |
| 625 | === removed file 'debian/quantum-server.postrm' |
| 626 | --- debian/quantum-server.postrm 2012-09-07 20:19:49 +0000 |
| 627 | +++ debian/quantum-server.postrm 1970-01-01 00:00:00 +0000 |
| 628 | @@ -1,7 +0,0 @@ |
| 629 | -#!/bin/sh -e |
| 630 | - |
| 631 | -if [ "$1" = purge ]; then |
| 632 | - update-rc.d quantum-server remove >/dev/null |
| 633 | -fi |
| 634 | - |
| 635 | -#DEBHELPER# |
| 636 | |
| 637 | === modified file 'debian/quantum-server.upstart' (properties changed: +x to -x) |
| 638 | === modified file 'debian/rules' |
| 639 | --- debian/rules 2012-11-15 18:01:28 +0000 |
| 640 | +++ debian/rules 2012-12-06 15:39:21 +0000 |
| 641 | @@ -7,7 +7,12 @@ |
| 642 | dh $@ --with python2 |
| 643 | |
| 644 | override_dh_install: |
| 645 | - dh_install --fail-missing -X/usr/etc |
| 646 | + dh_install --fail-missing -X/usr/etc -X/usr/bin |
| 647 | + |
| 648 | +override_dh_installinit: |
| 649 | + dh_installinit -pquantum-l3-agent --name=quantum-l3-agent |
| 650 | + dh_installinit -pquantum-l3-agent --name=quantum-metadata-agent |
| 651 | + dh_installinit |
| 652 | |
| 653 | get-orig-source: |
| 654 | uscan --verbose --force-download --rename --destdir=../build-area |
| 655 | |
| 656 | === removed directory 'etc' |

