Quantum Deployment Failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
Confirmed
|
Medium
|
Mark T. Voelker | ||
Folsom |
Triaged
|
Medium
|
Unassigned |
Bug Description
The rabbit configuration for quantum.conf does not get deployed in the initial puppet agent run. However, it does in the 2nd run:
root@control03:~# quantum net-list
[Errno 111] Connection refused
root@control03:~# service quantum-server status
quantum-server start/running, process 21131
root@control03:~# service quantum
root@control03:~# dpkg -l | grep quantu
ii python-quantum 2012.2.1-1-vendor1 Quantum is a virutal network service for Openstack. (python library)
ii python-
ii quantum-common 2012.2.1-1-vendor1 common - Quantum is a virtual network service for Openstack.
ii quantum-
ii quantum-server 2012.2.1-1-vendor1 server - Quantum is a virtual network service for Openstack
After a 2nd puppet run, the additional Quantum packages and relevant config files are configured properly:
root@control03:~# dpkg -l | grep quantum
ii python-quantum 2012.2.1-1-vendor1 Quantum is a virutal network service for Openstack. (python library)
ii python-
ii quantum-common 2012.2.1-1-vendor1 common - Quantum is a virtual network service for Openstack.
ii quantum-dhcp-agent 2012.2.1-1-vendor1 Quantum is a virtual network service for Openstack. (dhcp agent)
ii quantum-l3-agent 2012.2.1-1-vendor1 Quantum is a virtual network service for Openstack. (l3 agent)
ii quantum-
ii quantum-
ii quantum-server 2012.2.1-1-vendor1 server - Quantum is a virtual network service for Openstack
root@control03:~# quantum net-create public --router:
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 7feaab8d-
| name | public |
| provider:
| provider:
| provider:
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d7
+------
root@control03:~# quantum subnet-create public 192.168.221.0/24
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "192.168.221.2", "end": "192.168.221.254"} |
| cidr | 192.168.221.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 192.168.221.1 |
| host_routes | |
| id | e970f11c-
| ip_version | 4 |
| name | |
| network_id | 7feaab8d-
| tenant_id | 4ada3c2d07054d7
+------
root@control03:~# quantum net-create net1
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | aa92d256-
| name | net1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d7
+------
root@control03:~# quantum subnet-create net1 10.10.10.0/24
Created a new subnet:
+------
| Field | Value |
+------
| allocation_pools | {"start": "10.10.10.2", "end": "10.10.10.254"} |
| cidr | 10.10.10.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.10.10.1 |
| host_routes | |
| id | da41c9c1-
| ip_version | 4 |
| name | |
| network_id | aa92d256-
| tenant_id | 4ada3c2d07054d7
+------
Quantum deploys network (minus the network type = local instead of GRE). After removing the Quantum net/sub and restarting quantum-server, Quantum networks get created properly:
root@control03:~# service quantum-server restart
quantum-server stop/waiting
quantum-server start/running, process 9277
root@control03:~# quantum net-create net1
Created a new network:
+------
| Field | Value |
+------
| admin_state_up | True |
| id | 519ae85d-
| name | net1 |
| provider:
| provider:
| provider:
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d7
+------
Changed in openstack-cisco: | |
status: | New → Confirmed |
I have rebuilt my Controller Node and I see the same behavior. The initial puppet run successfully completes, but does not actually complete the necessary Quantum config. After a 2nd puppet run, the rest of the Quantum config completesand Quantum is then functional. Here is a snippet from syslog:
... main]/Quantum: :Plugins: :Ovs/Quantum: :Plugins: :Ovs::Port[ br-ex:eth0. 221]/Vs_ port[eth0. 221]/ensure) created main]/Quantum: :Plugins: :Ovs/Vs_ bridge[ br-int] /external_ ids) external_ids changed '' to 'bridge-id=' main]/Quantum/ Package[ quantum- server] /ensure) ensure changed '2012.2. 1-1-vendor1' to 'true' main]/Quantum/ Package[ quantum] /ensure) ensure changed '2012.2. 1-1-vendor1' to 'true' main]/Quantum: :Rabbitmq/ Rabbitmq_ user_permission s[quantum@ /quantum] /ensure) created main]/Nova: :Rabbitmq/ Rabbitmq_ user_permission s[openstack_ rabbit_ user@/] /ensure) created main]/Quantum: :Plugins: :Ovs/Package[ quantum- plugin- ovs]/ensure) ensure changed '2012.2. 1-1-vendor1' to 'true' main]/Quantum: :Agents: :L3/Package[ quantum- l3]/ensure) ensure changed '2012.2. 1-1-vendor1' to 'true' main]/Nova/ Exec[nova- db-sync] ) Triggered 'refresh' from 1 events main]/Nova: :Vncproxy/ Nova::Generic_ service[ vncproxy] /Service[ nova-vncproxy] ) Triggered 'refresh' from 1 events main]/Nova: :Objectstore/ Nova::Generic_ service[ objectstore] /Service[ nova-objectstor e]) Triggered 'refresh' from 1 events main]/Nova: :Consoleauth/ Nova::Generic_ service[ consoleauth] /Service[ nova-consoleaut h]) Triggered 'refresh' from 1 events main]/Nova: :Scheduler/ Nova::Generic_ service[ scheduler] /Service[ nova-scheduler] ) Triggered 'refresh' from 1 events main]/Quantum: :Agents: :Dhcp/Package[ quantum- dhcp-agent] /ensure) ensure changed '2012.2. 1-1-vendor1' to 'true'
Dec 10 20:53:55 control03 puppet-agent[1315]: Finished catalog run in 400.55 seconds
......
Dec 10 21:24:08 control03 puppet-agent[1315]: (/Stage[
....
Dec 10 21:24:09 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:10 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:10 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:12 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:13 control03 puppet-agent[1315]: (/Stage[
....
Dec 10 21:24:23 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:24 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:25 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:25 control03 kernel: [ 2245.807672] init: nova-novncproxy main process (21731) terminated with status 143
Dec 10 21:24:25 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:25 control03 kernel: [ 2246.193072] init: nova-objectstore main process (21840) terminated with status 143
Dec 10 21:24:25 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:26 control03 kernel: [ 2246.594441] init: nova-consoleauth main process (21949) terminated with status 143
Dec 10 21:24:26 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:26 control03 kernel: [ 2246.969901] init: nova-scheduler main process (22058) terminated with status 143
Dec 10 21:24:26 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:27 control03 puppet-agent[1315]: (/Stage[
Dec 10 21:24:27 control03 kernel: [ 2248.087513] init: nova-network main process (22469) terminated with status 143
Dec 10 21:24:27 control03 puppet-agent...