Merge lp:~james-page/neutron/fixup-h2 into lp:~ubuntu-server-dev/neutron/havana
- fixup-h2
- Merge into havana
Proposed by
James Page
Status: | Merged |
---|---|
Approved by: | Chuck Short |
Approved revision: | 173 |
Merged at revision: | 171 |
Proposed branch: | lp:~james-page/neutron/fixup-h2 |
Merge into: | lp:~ubuntu-server-dev/neutron/havana |
Diff against target: |
625 lines (+93/-447) 8 files modified
debian/changelog (+17/-0) debian/control (+1/-2) debian/neutron-server.upstart (+2/-2) debian/patches/bump-sqlalchemy-version.patch (+16/-0) debian/patches/disable-ml2-notification-tests.patch (+25/-0) debian/patches/disable-udev-tests.patch (+18/-55) debian/patches/fix-quantum-configuration.patch (+11/-387) debian/patches/series (+3/-1) |
To merge this branch: | bzr merge lp:~james-page/neutron/fixup-h2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ubuntu Server Developers | Pending | ||
Review via email: mp+176650@code.launchpad.net |
Commit message
Description of the change
Misc fixes to make neutron functional for havana2
To post a comment you must log in.
lp:~james-page/neutron/fixup-h2
updated
- 172. By James Page
-
Add bug ref to ml2 patch
- 173. By James Page
-
releasing version 1:2013.
2~b2-0ubuntu2
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-07-19 16:11:20 +0000 |
3 | +++ debian/changelog 2013-07-24 10:43:27 +0000 |
4 | @@ -1,3 +1,20 @@ |
5 | +neutron (1:2013.2~b2-0ubuntu2) saucy; urgency=low |
6 | + |
7 | + * d/neutron-server.upstart: Execute correct server binary, fixup |
8 | + use of flags in /etc/default/neutron-server. |
9 | + * d/p/bump-sqlalchemy-version.patch: Support SQLAlchemy >= 0.8 until |
10 | + upstream catches up. |
11 | + * Re-jig test disablement patches: |
12 | + - d/p/disable-udev-tests.patch: Disable tests that use udev as it |
13 | + is not always available. |
14 | + - d/p/disable-ml2-notification-tests.patch: Disable failing ML2 plugin |
15 | + tests pending further investigation. |
16 | + * d/p/fix-quantum-configuration.patch: Remove rej and orig cruft, re-added |
17 | + missing default core_plugin configuration. |
18 | + * d/control: Drop pep8 from BD's, no longer required. |
19 | + |
20 | + -- James Page <james.page@ubuntu.com> Wed, 24 Jul 2013 11:41:56 +0100 |
21 | + |
22 | neutron (1:2013.2~b2-0ubuntu1) saucy; urgency=low |
23 | |
24 | [ Chuck Short ] |
25 | |
26 | === modified file 'debian/control' |
27 | --- debian/control 2013-07-18 10:34:18 +0000 |
28 | +++ debian/control 2013-07-24 10:43:27 +0000 |
29 | @@ -6,7 +6,6 @@ |
30 | Build-Depends: debhelper (>= 8.0.0), python-all (>= 2.6) |
31 | Build-Depends-Indep: |
32 | alembic (>= 0.4.1), |
33 | - pep8, |
34 | python-amqplib, |
35 | python-anyjson, |
36 | python-cliff, |
37 | @@ -605,7 +604,7 @@ |
38 | Architecture: all |
39 | Section: oldlibs |
40 | description: transitional dummy package |
41 | - This is a transitional dummy package. It can safely be removed. |
42 | + This is a transitional dummy package. It can safely be removed. |
43 | |
44 | Package: quantum-common |
45 | Depends: neutron-common, ${misc:Depends} |
46 | |
47 | === modified file 'debian/neutron-server.upstart' |
48 | --- debian/neutron-server.upstart 2013-07-15 17:45:17 +0000 |
49 | +++ debian/neutron-server.upstart 2013-07-24 10:43:27 +0000 |
50 | @@ -13,8 +13,8 @@ |
51 | |
52 | script |
53 | [ -r /etc/default/neutron-server ] && . /etc/default/neutron-server |
54 | - [ -r "$QUANTUM_PLUGIN_CONFIG" ] && CONF_ARG="--config-file $QUANTUM_PLUGIN_CONFIG" |
55 | - exec start-stop-daemon --start --chuid neutron --exec /usr/bin/qauntum-server -- \ |
56 | + [ -r "$NEUTRON_PLUGIN_CONFIG" ] && CONF_ARG="--config-file $NEUTRON_PLUGIN_CONFIG" |
57 | + exec start-stop-daemon --start --chuid neutron --exec /usr/bin/neutron-server -- \ |
58 | --config-file /etc/neutron/neutron.conf \ |
59 | --log-file /var/log/neutron/server.log $CONF_ARG |
60 | end script |
61 | |
62 | === added file 'debian/patches/bump-sqlalchemy-version.patch' |
63 | --- debian/patches/bump-sqlalchemy-version.patch 1970-01-01 00:00:00 +0000 |
64 | +++ debian/patches/bump-sqlalchemy-version.patch 2013-07-24 10:43:27 +0000 |
65 | @@ -0,0 +1,16 @@ |
66 | +Description: Bump SQLAlchemy to include 0.8.x support |
67 | +Author: James Page <james.page@ubuntu.com> |
68 | +Forwarded: not-needed |
69 | +--- |
70 | +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
71 | +--- a/requirements.txt |
72 | ++++ b/requirements.txt |
73 | +@@ -14,7 +14,7 @@ kombu>=1.0.4 |
74 | + netaddr |
75 | + python-neutronclient>=2.2.3,<3.0.0 |
76 | + pyudev |
77 | +-sqlalchemy>=0.7.8,<=0.7.99 |
78 | ++sqlalchemy>=0.7.8,<=0.8.99 |
79 | + WebOb>=1.2 |
80 | + python-keystoneclient>=0.2.0 |
81 | + alembic>=0.4.1 |
82 | |
83 | === added file 'debian/patches/disable-ml2-notification-tests.patch' |
84 | --- debian/patches/disable-ml2-notification-tests.patch 1970-01-01 00:00:00 +0000 |
85 | +++ debian/patches/disable-ml2-notification-tests.patch 2013-07-24 10:43:27 +0000 |
86 | @@ -0,0 +1,25 @@ |
87 | +Description: Disable failing ml2 plugin tests. |
88 | +Author: James Page <james.page@ubuntu.com> |
89 | +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/neutron/+bug/1204456 |
90 | +Forwared: not-needed |
91 | + |
92 | +--- a/neutron/tests/unit/ml2/test_agent_scheduler.py |
93 | ++++ b/neutron/tests/unit/ml2/test_agent_scheduler.py |
94 | +@@ -19,14 +19,14 @@ from neutron.tests.unit.openvswitch impo |
95 | + |
96 | + class Ml2AgentSchedulerTestCase( |
97 | + test_agent_scheduler.OvsAgentSchedulerTestCase): |
98 | +- plugin_str = test_ml2_plugin.PLUGIN_NAME |
99 | ++ pass |
100 | + |
101 | + |
102 | + class Ml2L3AgentNotifierTestCase( |
103 | + test_agent_scheduler.OvsL3AgentNotifierTestCase): |
104 | +- plugin_str = test_ml2_plugin.PLUGIN_NAME |
105 | ++ pass |
106 | + |
107 | + |
108 | + class Ml2DhcpAgentNotifierTestCase( |
109 | + test_agent_scheduler.OvsDhcpAgentNotifierTestCase): |
110 | +- plugin_str = test_ml2_plugin.PLUGIN_NAME |
111 | ++ pass |
112 | |
113 | === renamed file 'debian/patches/fix-ubuntu-tests.patch' => 'debian/patches/disable-udev-tests.patch' |
114 | --- debian/patches/fix-ubuntu-tests.patch 2013-07-15 17:45:17 +0000 |
115 | +++ debian/patches/disable-udev-tests.patch 2013-07-24 10:43:27 +0000 |
116 | @@ -1,11 +1,17 @@ |
117 | -diff -Naurp neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py neutron-2013.2.a951.ga79faea/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py |
118 | ---- neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py 2013-07-15 10:38:36.000000000 -0400 |
119 | -+++ neutron-2013.2.a951.ga79faea/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py 2013-07-15 11:17:48.180145129 -0400 |
120 | +Description: Disable tests that can fail on buildds |
121 | + udev is not universally available on Ubuntu buildds; specifically |
122 | + tests that user linux bridge are skipped for this reason. |
123 | +Author: James Page <james.page@ubuntu.com> |
124 | +Forwarded: not-needed |
125 | +--- |
126 | +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
127 | +--- a/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py |
128 | ++++ b/neutron/tests/unit/linuxbridge/test_lb_neutron_agent.py |
129 | @@ -32,6 +32,7 @@ from neutron.tests import base |
130 | class TestLinuxBridge(base.BaseTestCase): |
131 | |
132 | def setUp(self): |
133 | -+ self.skipTest("Skipped by Ubuntu Packaging") |
134 | ++ self.skipTest("udev not consistently available in Ubuntu buildds") |
135 | super(TestLinuxBridge, self).setUp() |
136 | self.addCleanup(cfg.CONF.reset) |
137 | interface_mappings = {'physnet1': 'eth1'} |
138 | @@ -13,58 +19,15 @@ |
139 | |
140 | class TestLinuxBridgeManager(base.BaseTestCase): |
141 | def setUp(self): |
142 | -+ self.skipTest("Skipped by Ubuntu packaging") |
143 | ++ self.skipTest("udev not consistently available in Ubuntu buildds") |
144 | super(TestLinuxBridgeManager, self).setUp() |
145 | self.interface_mappings = {'physnet1': 'eth1'} |
146 | self.root_helper = cfg.CONF.AGENT.root_helper |
147 | -diff -Naurp neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_agent_scheduler.py neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_agent_scheduler.py |
148 | ---- neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_agent_scheduler.py 2013-07-15 10:38:36.000000000 -0400 |
149 | -+++ neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_agent_scheduler.py 2013-07-15 11:43:52.560145888 -0400 |
150 | -@@ -19,14 +19,14 @@ from neutron.tests.unit.openvswitch impo |
151 | - |
152 | - class Ml2AgentSchedulerTestCase( |
153 | - test_agent_scheduler.OvsAgentSchedulerTestCase): |
154 | -- plugin_str = test_ml2_plugin.PLUGIN_NAME |
155 | -+ pass |
156 | - |
157 | - |
158 | - class Ml2L3AgentNotifierTestCase( |
159 | - test_agent_scheduler.OvsL3AgentNotifierTestCase): |
160 | -- plugin_str = test_ml2_plugin.PLUGIN_NAME |
161 | -+ pass |
162 | - |
163 | - |
164 | - class Ml2DhcpAgentNotifierTestCase( |
165 | - test_agent_scheduler.OvsDhcpAgentNotifierTestCase): |
166 | -- plugin_str = test_ml2_plugin.PLUGIN_NAME |
167 | -+ pass |
168 | -diff -Naurp neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_ml2_plugin.py neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_ml2_plugin.py |
169 | ---- neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_ml2_plugin.py 2013-07-15 10:38:36.000000000 -0400 |
170 | -+++ neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_ml2_plugin.py 2013-07-15 11:44:57.300145919 -0400 |
171 | -@@ -26,6 +26,7 @@ class Ml2PluginV2TestCase(test_plugin.Ne |
172 | - _plugin_name = PLUGIN_NAME |
173 | - |
174 | +@@ -484,6 +486,7 @@ class TestLinuxBridgeManager(base.BaseTe |
175 | + |
176 | + class TestLinuxBridgeRpcCallbacks(base.BaseTestCase): |
177 | def setUp(self): |
178 | -+ self.skipTest('Skipped by Ubuntu Packaging') |
179 | - # Enable the test mechanism driver to ensure that |
180 | - # we can successfully call through to all mechanism |
181 | - # driver apis. |
182 | -@@ -55,6 +56,7 @@ class TestMl2NetworksV2(test_plugin.Test |
183 | - class TestMl2PortsV2(test_plugin.TestPortsV2, Ml2PluginV2TestCase): |
184 | - |
185 | - def test_update_port_status_build(self): |
186 | -+ self.skipTest('Skipped by ubuntu packaging') |
187 | - with self.port() as port: |
188 | - self.assertEqual(port['port']['status'], 'DOWN') |
189 | - self.assertEqual(self.port_create_status, 'DOWN') |
190 | -diff -Naurp neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_security_group.py neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_security_group.py |
191 | ---- neutron-2013.2.a951.ga79faea.orig/neutron/tests/unit/ml2/test_security_group.py 2013-07-15 10:38:36.000000000 -0400 |
192 | -+++ neutron-2013.2.a951.ga79faea/neutron/tests/unit/ml2/test_security_group.py 2013-07-15 11:20:21.840145204 -0400 |
193 | -@@ -30,6 +30,7 @@ class Ml2SecurityGroupsTestCase(test_sg. |
194 | - _plugin_name = PLUGIN_NAME |
195 | - |
196 | - def setUp(self, plugin=None): |
197 | -+ self.skipTest("Skipped by Ubuntu packaging") |
198 | - test_sg_rpc.set_firewall_driver(test_sg_rpc.FIREWALL_HYBRID_DRIVER) |
199 | - self.addCleanup(mock.patch.stopall) |
200 | - notifier_p = mock.patch(NOTIFIER) |
201 | ++ self.skipTest("udev not consistently available in Ubuntu buildds") |
202 | + super(TestLinuxBridgeRpcCallbacks, self).setUp() |
203 | + |
204 | + class FakeLBAgent(object): |
205 | |
206 | === modified file 'debian/patches/fix-quantum-configuration.patch' |
207 | --- debian/patches/fix-quantum-configuration.patch 2013-07-19 15:59:47 +0000 |
208 | +++ debian/patches/fix-quantum-configuration.patch 2013-07-24 10:43:27 +0000 |
209 | @@ -1,6 +1,14 @@ |
210 | -diff -Naurp neutron-2013.2.b2.orig/etc/neutron.conf neutron-2013.2.b2/etc/neutron.conf |
211 | ---- neutron-2013.2.b2.orig/etc/neutron.conf 2013-07-18 15:00:58.000000000 -0400 |
212 | -+++ neutron-2013.2.b2/etc/neutron.conf 2013-07-19 11:58:33.109575419 -0400 |
213 | +--- a/etc/neutron.conf |
214 | ++++ b/etc/neutron.conf |
215 | +@@ -45,7 +45,7 @@ bind_port = 9696 |
216 | + # api_extensions_path = |
217 | + |
218 | + # Quantum plugin provider module |
219 | +-# core_plugin = |
220 | ++core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2 |
221 | + |
222 | + # Advanced service modules |
223 | + # service_plugins = |
224 | @@ -330,7 +330,7 @@ signing_dir = /var/lib/quantum/keystone- |
225 | # connection = mysql://root:pass@127.0.0.1:3306/quantum |
226 | # Replace 127.0.0.1 above with the IP address of the database used by the |
227 | @@ -10,387 +18,3 @@ |
228 | |
229 | # The SQLAlchemy connection string used to connect to the slave database |
230 | # slave_connection = |
231 | -diff -Naurp neutron-2013.2.b2.orig/etc/neutron.conf.orig neutron-2013.2.b2/etc/neutron.conf.orig |
232 | ---- neutron-2013.2.b2.orig/etc/neutron.conf.orig 1969-12-31 19:00:00.000000000 -0500 |
233 | -+++ neutron-2013.2.b2/etc/neutron.conf.orig 2013-07-19 11:57:34.265575390 -0400 |
234 | -@@ -0,0 +1,365 @@ |
235 | -+[DEFAULT] |
236 | -+# Default log level is INFO |
237 | -+# verbose and debug has the same result. |
238 | -+# One of them will set DEBUG log level output |
239 | -+# debug = False |
240 | -+# verbose = False |
241 | -+ |
242 | -+# Where to store Quantum state files. This directory must be writable by the |
243 | -+# user executing the agent. |
244 | -+# state_path = /var/lib/quantum |
245 | -+ |
246 | -+# Where to store lock files |
247 | -+lock_path = $state_path/lock |
248 | -+ |
249 | -+# log_format = %(asctime)s %(levelname)8s [%(name)s] %(message)s |
250 | -+# log_date_format = %Y-%m-%d %H:%M:%S |
251 | -+ |
252 | -+# use_syslog -> syslog |
253 | -+# log_file and log_dir -> log_dir/log_file |
254 | -+# (not log_file) and log_dir -> log_dir/{binary_name}.log |
255 | -+# use_stderr -> stderr |
256 | -+# (not user_stderr) and (not log_file) -> stdout |
257 | -+# publish_errors -> notification system |
258 | -+ |
259 | -+# use_syslog = False |
260 | -+# syslog_log_facility = LOG_USER |
261 | -+ |
262 | -+# use_stderr = True |
263 | -+# log_file = |
264 | -+# log_dir = |
265 | -+ |
266 | -+# publish_errors = False |
267 | -+ |
268 | -+# Address to bind the API server |
269 | -+bind_host = 0.0.0.0 |
270 | -+ |
271 | -+# Port the bind the API server to |
272 | -+bind_port = 9696 |
273 | -+ |
274 | -+# Path to the extensions. Note that this can be a colon-separated list of |
275 | -+# paths. For example: |
276 | -+# api_extensions_path = extensions:/path/to/more/extensions:/even/more/extensions |
277 | -+# The __path__ of quantum.extensions is appended to this, so if your |
278 | -+# extensions are in there you don't need to specify them here |
279 | -+# api_extensions_path = |
280 | -+ |
281 | -+# Quantum plugin provider module |
282 | -+# core_plugin = |
283 | -+ |
284 | -+# Advanced service modules |
285 | -+# service_plugins = |
286 | -+ |
287 | -+# Paste configuration file |
288 | -+api_paste_config = api-paste.ini |
289 | -+ |
290 | -+# The strategy to be used for auth. |
291 | -+# Supported values are 'keystone'(default), 'noauth'. |
292 | -+# auth_strategy = keystone |
293 | -+ |
294 | -+# Base MAC address. The first 3 octets will remain unchanged. If the |
295 | -+# 4h octet is not 00, it will also used. The others will be |
296 | -+# randomly generated. |
297 | -+# 3 octet |
298 | -+# base_mac = fa:16:3e:00:00:00 |
299 | -+# 4 octet |
300 | -+# base_mac = fa:16:3e:4f:00:00 |
301 | -+ |
302 | -+# Maximum amount of retries to generate a unique MAC address |
303 | -+# mac_generation_retries = 16 |
304 | -+ |
305 | -+# DHCP Lease duration (in seconds) |
306 | -+# dhcp_lease_duration = 120 |
307 | -+ |
308 | -+# Allow sending resource operation notification to DHCP agent |
309 | -+# dhcp_agent_notification = True |
310 | -+ |
311 | -+# Enable or disable bulk create/update/delete operations |
312 | -+# allow_bulk = True |
313 | -+# Enable or disable pagination |
314 | -+# allow_pagination = False |
315 | -+# Enable or disable sorting |
316 | -+# allow_sorting = False |
317 | -+# Enable or disable overlapping IPs for subnets |
318 | -+# Attention: the following parameter MUST be set to False if Quantum is |
319 | -+# being used in conjunction with nova security groups |
320 | -+# allow_overlapping_ips = False |
321 | -+# Ensure that configured gateway is on subnet |
322 | -+# force_gateway_on_subnet = False |
323 | -+ |
324 | -+ |
325 | -+# RPC configuration options. Defined in rpc __init__ |
326 | -+# The messaging module to use, defaults to kombu. |
327 | -+# rpc_backend = quantum.openstack.common.rpc.impl_kombu |
328 | -+# Size of RPC thread pool |
329 | -+# rpc_thread_pool_size = 64, |
330 | -+# Size of RPC connection pool |
331 | -+# rpc_conn_pool_size = 30 |
332 | -+# Seconds to wait for a response from call or multicall |
333 | -+# rpc_response_timeout = 60 |
334 | -+# Seconds to wait before a cast expires (TTL). Only supported by impl_zmq. |
335 | -+# rpc_cast_timeout = 30 |
336 | -+# Modules of exceptions that are permitted to be recreated |
337 | -+# upon receiving exception data from an rpc call. |
338 | -+# allowed_rpc_exception_modules = quantum.openstack.common.exception, nova.exception |
339 | -+# AMQP exchange to connect to if using RabbitMQ or QPID |
340 | -+control_exchange = quantum |
341 | -+ |
342 | -+# If passed, use a fake RabbitMQ provider |
343 | -+# fake_rabbit = False |
344 | -+ |
345 | -+# Configuration options if sending notifications via kombu rpc (these are |
346 | -+# the defaults) |
347 | -+# SSL version to use (valid only if SSL enabled) |
348 | -+# kombu_ssl_version = |
349 | -+# SSL key file (valid only if SSL enabled) |
350 | -+# kombu_ssl_keyfile = |
351 | -+# SSL cert file (valid only if SSL enabled) |
352 | -+# kombu_ssl_certfile = |
353 | -+# SSL certification authority file (valid only if SSL enabled)' |
354 | -+# kombu_ssl_ca_certs = |
355 | -+# IP address of the RabbitMQ installation |
356 | -+# rabbit_host = localhost |
357 | -+# Password of the RabbitMQ server |
358 | -+# rabbit_password = guest |
359 | -+# Port where RabbitMQ server is running/listening |
360 | -+# rabbit_port = 5672 |
361 | -+# RabbitMQ single or HA cluster (host:port pairs i.e: host1:5672, host2:5672) |
362 | -+# rabbit_hosts is defaulted to '$rabbit_host:$rabbit_port' |
363 | -+# rabbit_hosts = localhost:5672 |
364 | -+# User ID used for RabbitMQ connections |
365 | -+# rabbit_userid = guest |
366 | -+# Location of a virtual RabbitMQ installation. |
367 | -+# rabbit_virtual_host = / |
368 | -+# Maximum retries with trying to connect to RabbitMQ |
369 | -+# (the default of 0 implies an infinite retry count) |
370 | -+# rabbit_max_retries = 0 |
371 | -+# RabbitMQ connection retry interval |
372 | -+# rabbit_retry_interval = 1 |
373 | -+# Use HA queues in RabbitMQ (x-ha-policy: all).You need to |
374 | -+# wipe RabbitMQ database when changing this option. (boolean value) |
375 | -+# rabbit_ha_queues = false |
376 | -+ |
377 | -+# QPID |
378 | -+# rpc_backend=quantum.openstack.common.rpc.impl_qpid |
379 | -+# Qpid broker hostname |
380 | -+# qpid_hostname = localhost |
381 | -+# Qpid broker port |
382 | -+# qpid_port = 5672 |
383 | -+# Qpid single or HA cluster (host:port pairs i.e: host1:5672, host2:5672) |
384 | -+# qpid_hosts is defaulted to '$qpid_hostname:$qpid_port' |
385 | -+# qpid_hosts = localhost:5672 |
386 | -+# Username for qpid connection |
387 | -+# qpid_username = '' |
388 | -+# Password for qpid connection |
389 | -+# qpid_password = '' |
390 | -+# Space separated list of SASL mechanisms to use for auth |
391 | -+# qpid_sasl_mechanisms = '' |
392 | -+# Seconds between connection keepalive heartbeats |
393 | -+# qpid_heartbeat = 60 |
394 | -+# Transport to use, either 'tcp' or 'ssl' |
395 | -+# qpid_protocol = tcp |
396 | -+# Disable Nagle algorithm |
397 | -+# qpid_tcp_nodelay = True |
398 | -+ |
399 | -+# ZMQ |
400 | -+# rpc_backend=quantum.openstack.common.rpc.impl_zmq |
401 | -+# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP. |
402 | -+# The "host" option should point or resolve to this address. |
403 | -+# rpc_zmq_bind_address = * |
404 | -+ |
405 | -+# ============ Notification System Options ===================== |
406 | -+ |
407 | -+# Notifications can be sent when network/subnet/port are create, updated or deleted. |
408 | -+# There are three methods of sending notifications: logging (via the |
409 | -+# log_file directive), rpc (via a message queue) and |
410 | -+# noop (no notifications sent, the default) |
411 | -+ |
412 | -+# Notification_driver can be defined multiple times |
413 | -+# Do nothing driver |
414 | -+# notification_driver = quantum.openstack.common.notifier.no_op_notifier |
415 | -+# Logging driver |
416 | -+# notification_driver = quantum.openstack.common.notifier.log_notifier |
417 | -+# RPC driver. DHCP agents needs it. |
418 | -+notification_driver = quantum.openstack.common.notifier.rpc_notifier |
419 | -+ |
420 | -+# default_notification_level is used to form actual topic name(s) or to set logging level |
421 | -+default_notification_level = INFO |
422 | -+ |
423 | -+# default_publisher_id is a part of the notification payload |
424 | -+# host = myhost.com |
425 | -+# default_publisher_id = $host |
426 | -+ |
427 | -+# Defined in rpc_notifier, can be comma separated values. |
428 | -+# The actual topic names will be %s.%(default_notification_level)s |
429 | -+notification_topics = notifications |
430 | -+ |
431 | -+# Default maximum number of items returned in a single response, |
432 | -+# value == infinite and value < 0 means no max limit, and value must |
433 | -+# greater than 0. If the number of items requested is greater than |
434 | -+# pagination_max_limit, server will just return pagination_max_limit |
435 | -+# of number of items. |
436 | -+# pagination_max_limit = -1 |
437 | -+ |
438 | -+# Maximum number of DNS nameservers per subnet |
439 | -+# max_dns_nameservers = 5 |
440 | -+ |
441 | -+# Maximum number of host routes per subnet |
442 | -+# max_subnet_host_routes = 20 |
443 | -+ |
444 | -+# Maximum number of fixed ips per port |
445 | -+# max_fixed_ips_per_port = 5 |
446 | -+ |
447 | -+# =========== items for agent management extension ============= |
448 | -+# Seconds to regard the agent as down. |
449 | -+# agent_down_time = 5 |
450 | -+# =========== end of items for agent management extension ===== |
451 | -+ |
452 | -+# =========== items for agent scheduler extension ============= |
453 | -+# Driver to use for scheduling network to DHCP agent |
454 | -+# network_scheduler_driver = quantum.scheduler.dhcp_agent_scheduler.ChanceScheduler |
455 | -+# Driver to use for scheduling router to a default L3 agent |
456 | -+# router_scheduler_driver = quantum.scheduler.l3_agent_scheduler.ChanceScheduler |
457 | -+ |
458 | -+# Allow auto scheduling networks to DHCP agent. It will schedule non-hosted |
459 | -+# networks to first DHCP agent which sends get_active_networks message to |
460 | -+# quantum server |
461 | -+# network_auto_schedule = True |
462 | -+ |
463 | -+# Allow auto scheduling routers to L3 agent. It will schedule non-hosted |
464 | -+# routers to first L3 agent which sends sync_routers message to quantum server |
465 | -+# router_auto_schedule = True |
466 | -+ |
467 | -+# Number of DHCP agents scheduled to host a network. This enables redundant |
468 | -+# DHCP agents for configured networks. |
469 | -+# dhcp_agents_per_network = 1 |
470 | -+ |
471 | -+# =========== end of items for agent scheduler extension ===== |
472 | -+ |
473 | -+# =========== WSGI parameters related to the API server ============== |
474 | -+# Sets the value of TCP_KEEPIDLE in seconds to use for each server socket when |
475 | -+# starting API server. Not supported on OS X. |
476 | -+#tcp_keepidle = 600 |
477 | -+ |
478 | -+# Number of seconds to keep retrying to listen |
479 | -+#retry_until_window = 30 |
480 | -+ |
481 | -+# Number of backlog requests to configure the socket with. |
482 | -+#backlog = 4096 |
483 | -+ |
484 | -+# Enable SSL on the API server |
485 | -+#use_ssl = False |
486 | -+ |
487 | -+# Certificate file to use when starting API server securely |
488 | -+#ssl_cert_file = /path/to/certfile |
489 | -+ |
490 | -+# Private key file to use when starting API server securely |
491 | -+#ssl_key_file = /path/to/keyfile |
492 | -+ |
493 | -+# CA certificate file to use when starting API server securely to |
494 | -+# verify connecting clients. This is an optional parameter only required if |
495 | -+# API clients need to authenticate to the API server using SSL certificates |
496 | -+# signed by a trusted CA |
497 | -+#ssl_ca_file = /path/to/cafile |
498 | -+# ======== end of WSGI parameters related to the API server ========== |
499 | -+ |
500 | -+[quotas] |
501 | -+# resource name(s) that are supported in quota features |
502 | -+# quota_items = network,subnet,port |
503 | -+ |
504 | -+# default number of resource allowed per tenant, minus for unlimited |
505 | -+# default_quota = -1 |
506 | -+ |
507 | -+# number of networks allowed per tenant, and minus means unlimited |
508 | -+# quota_network = 10 |
509 | -+ |
510 | -+# number of subnets allowed per tenant, and minus means unlimited |
511 | -+# quota_subnet = 10 |
512 | -+ |
513 | -+# number of ports allowed per tenant, and minus means unlimited |
514 | -+# quota_port = 50 |
515 | -+ |
516 | -+# number of security groups allowed per tenant, and minus means unlimited |
517 | -+# quota_security_group = 10 |
518 | -+ |
519 | -+# number of security group rules allowed per tenant, and minus means unlimited |
520 | -+# quota_security_group_rule = 100 |
521 | -+ |
522 | -+# default driver to use for quota checks |
523 | -+# quota_driver = quantum.quota.ConfDriver |
524 | -+ |
525 | -+[default_servicetype] |
526 | -+# Description of the default service type (optional) |
527 | -+# description = "default service type" |
528 | -+# Enter a service definition line for each advanced service provided |
529 | -+# by the default service type. |
530 | -+# Each service definition should be in the following format: |
531 | -+# <service>:<plugin>[:driver] |
532 | -+ |
533 | -+[agent] |
534 | -+# Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real |
535 | -+# root filter facility. |
536 | -+# Change to "sudo" to skip the filtering and just run the comand directly |
537 | -+# root_helper = sudo |
538 | -+ |
539 | -+# =========== items for agent management extension ============= |
540 | -+# seconds between nodes reporting state to server, should be less than |
541 | -+# agent_down_time |
542 | -+# report_interval = 4 |
543 | -+ |
544 | -+# =========== end of items for agent management extension ===== |
545 | -+ |
546 | -+[keystone_authtoken] |
547 | -+auth_host = 127.0.0.1 |
548 | -+auth_port = 35357 |
549 | -+auth_protocol = http |
550 | -+admin_tenant_name = %SERVICE_TENANT_NAME% |
551 | -+admin_user = %SERVICE_USER% |
552 | -+admin_password = %SERVICE_PASSWORD% |
553 | -+signing_dir = /var/lib/quantum/keystone-signing |
554 | -+ |
555 | -+[lbaas] |
556 | -+# ================================================================================================== |
557 | -+# driver_fqn is the fully qualified name of the lbaas driver that will be loaded by the lbass plugin |
558 | -+# ================================================================================================== |
559 | -+#driver_fqn = quantum.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver |
560 | -+ |
561 | -+[database] |
562 | -+# This line MUST be changed to actually run the plugin. |
563 | -+# Example: |
564 | -+# connection = mysql://root:pass@127.0.0.1:3306/quantum |
565 | -+# Replace 127.0.0.1 above with the IP address of the database used by the |
566 | -+# main quantum server. (Leave it as is if the database runs on this host.) |
567 | -+# connection = sqlite:// |
568 | -+ |
569 | -+# The SQLAlchemy connection string used to connect to the slave database |
570 | -+# slave_connection = |
571 | -+ |
572 | -+# Database reconnection retry times - in event connectivity is lost |
573 | -+# set to -1 implies an infinite retry count |
574 | -+# max_retries = 10 |
575 | -+ |
576 | -+# Database reconnection interval in seconds - if the initial connection to the |
577 | -+# database fails |
578 | -+# retry_interval = 10 |
579 | -+ |
580 | -+# Minimum number of SQL connections to keep open in a pool |
581 | -+# min_pool_size = 1 |
582 | -+ |
583 | -+# Maximum number of SQL connections to keep open in a pool |
584 | -+# max_pool_size = 10 |
585 | -+ |
586 | -+# Timeout in seconds before idle sql connections are reaped |
587 | -+# idle_timeout = 3600 |
588 | -+ |
589 | -+# If set, use this value for max_overflow with sqlalchemy |
590 | -+# max_overflow = 20, |
591 | -+ |
592 | -+# Verbosity of SQL debugging information. 0=None, 100=Everything |
593 | -+# connection_debug = 0 |
594 | -+ |
595 | -+# Add python stack traces to SQL as comment strings |
596 | -+# connection_trace = False, |
597 | -+ |
598 | -+# If set, use this value for pool_timeout with sqlalchemy |
599 | -+# pool_timeout = 10 |
600 | -diff -Naurp neutron-2013.2.b2.orig/etc/neutron.conf.rej neutron-2013.2.b2/etc/neutron.conf.rej |
601 | ---- neutron-2013.2.b2.orig/etc/neutron.conf.rej 1969-12-31 19:00:00.000000000 -0500 |
602 | -+++ neutron-2013.2.b2/etc/neutron.conf.rej 2013-07-19 11:57:34.265575390 -0400 |
603 | -@@ -0,0 +1,11 @@ |
604 | -+--- etc/neutron.conf |
605 | -++++ etc/neutron.conf |
606 | -+@@ -330,7 +330,7 @@ |
607 | -+ # connection = mysql://root:pass@127.0.0.1:3306/neutron |
608 | -+ # Replace 127.0.0.1 above with the IP address of the database used by the |
609 | -+ # main neutron server. (Leave it as is if the database runs on this host.) |
610 | -+-# connection = sqlite:// |
611 | -++sqlite:////var/lib/neutron/neutron.sqlite |
612 | -+ |
613 | -+ # The SQLAlchemy connection string used to connect to the slave database |
614 | -+ # slave_connection = |
615 | |
616 | === modified file 'debian/patches/series' |
617 | --- debian/patches/series 2013-07-16 22:31:35 +0000 |
618 | +++ debian/patches/series 2013-07-24 10:43:27 +0000 |
619 | @@ -1,3 +1,5 @@ |
620 | fix-quantum-configuration.patch |
621 | -fix-ubuntu-tests.patch |
622 | +disable-udev-tests.patch |
623 | ignore-quantum-binaries.patch |
624 | +bump-sqlalchemy-version.patch |
625 | +disable-ml2-notification-tests.patch |