Quantum Deployment Failure

Bug #1087793 reported by Daneyon Hansen
6
This bug affects 1 person
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-quantumclient 1:2.1.1-1-vendor1 client - Quantum is a virtual network service for Openstack
ii quantum-common 2012.2.1-1-vendor1 common - Quantum is a virtual network service for Openstack.
ii quantum-plugin-openvswitch 2012.2.1-1-vendor1 Quantum is a virtual network service for Openstack. (openvswitch plugin)
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-quantumclient 1:2.1.1-1-vendor1 client - Quantum is a virtual network service for Openstack
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-plugin-openvswitch 2012.2.1-1-vendor1 Quantum is a virtual network service for Openstack. (openvswitch plugin)
ii quantum-plugin-openvswitch-agent 2012.2.1-1-vendor1 Quantum is a virtual network service for Openstack. (openvswitch plugin agent)
ii quantum-server 2012.2.1-1-vendor1 server - Quantum is a virtual network service for Openstack

root@control03:~# quantum net-create public --router:external=True
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | 7feaab8d-2dc6-49c9-9b92-2c14c04ecb76 |
| name | public |
| provider:network_type | local |
| provider:physical_network | |
| provider:segmentation_id | |
| router:external | True |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d75a0504a3bed0ab532 |
+---------------------------+--------------------------------------+
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-0192-4099-91a2-fc770ff3efbe |
| ip_version | 4 |
| name | |
| network_id | 7feaab8d-2dc6-49c9-9b92-2c14c04ecb76 |
| tenant_id | 4ada3c2d07054d75a0504a3bed0ab532 |
+------------------+------------------------------------------------------+
root@control03:~# quantum net-create net1
Created a new network:
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| admin_state_up | True |
| id | aa92d256-d339-4513-bae9-4f89349fcef8 |
| name | net1 |
| provider:network_type | local |
| provider:physical_network | |
| provider:segmentation_id | |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d75a0504a3bed0ab532 |
+---------------------------+--------------------------------------+
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-8360-4a61-a4b9-1fd0d0d4c75f |
| ip_version | 4 |
| name | |
| network_id | aa92d256-d339-4513-bae9-4f89349fcef8 |
| tenant_id | 4ada3c2d07054d75a0504a3bed0ab532 |
+------------------+------------------------------------------------+

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-6117-4695-9bea-7ace159cec9a |
| name | net1 |
| provider:network_type | gre |
| provider:physical_network | |
| provider:segmentation_id | 1 |
| router:external | False |
| shared | False |
| status | ACTIVE |
| subnets | |
| tenant_id | 4ada3c2d07054d75a0504a3bed0ab532 |
+---------------------------+--------------------------------------+

Changed in openstack-cisco:
status: New → Confirmed
Revision history for this message
Daneyon Hansen (danehans) wrote :
Download full text (3.8 KiB)

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:

...
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[main]/Quantum::Plugins::Ovs/Quantum::Plugins::Ovs::Port[br-ex:eth0.221]/Vs_port[eth0.221]/ensure) created
....
Dec 10 21:24:09 control03 puppet-agent[1315]: (/Stage[main]/Quantum::Plugins::Ovs/Vs_bridge[br-int]/external_ids) external_ids changed '' to 'bridge-id='
Dec 10 21:24:10 control03 puppet-agent[1315]: (/Stage[main]/Quantum/Package[quantum-server]/ensure) ensure changed '2012.2.1-1-vendor1' to 'true'
Dec 10 21:24:10 control03 puppet-agent[1315]: (/Stage[main]/Quantum/Package[quantum]/ensure) ensure changed '2012.2.1-1-vendor1' to 'true'
Dec 10 21:24:12 control03 puppet-agent[1315]: (/Stage[main]/Quantum::Rabbitmq/Rabbitmq_user_permissions[quantum@/quantum]/ensure) created
Dec 10 21:24:13 control03 puppet-agent[1315]: (/Stage[main]/Nova::Rabbitmq/Rabbitmq_user_permissions[openstack_rabbit_user@/]/ensure) created
....
Dec 10 21:24:23 control03 puppet-agent[1315]: (/Stage[main]/Quantum::Plugins::Ovs/Package[quantum-plugin-ovs]/ensure) ensure changed '2012.2.1-1-vendor1' to 'true'
Dec 10 21:24:24 control03 puppet-agent[1315]: (/Stage[main]/Quantum::Agents::L3/Package[quantum-l3]/ensure) ensure changed '2012.2.1-1-vendor1' to 'true'
Dec 10 21:24:25 control03 puppet-agent[1315]: (/Stage[main]/Nova/Exec[nova-db-sync]) Triggered 'refresh' from 1 events
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[main]/Nova::Vncproxy/Nova::Generic_service[vncproxy]/Service[nova-vncproxy]) Triggered 'refresh' from 1 events
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[main]/Nova::Objectstore/Nova::Generic_service[objectstore]/Service[nova-objectstore]) Triggered 'refresh' from 1 events
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[main]/Nova::Consoleauth/Nova::Generic_service[consoleauth]/Service[nova-consoleauth]) Triggered 'refresh' from 1 events
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[main]/Nova::Scheduler/Nova::Generic_service[scheduler]/Service[nova-scheduler]) Triggered 'refresh' from 1 events
Dec 10 21:24:27 control03 puppet-agent[1315]: (/Stage[main]/Quantum::Agents::Dhcp/Package[quantum-dhcp-agent]/ensure) ensure changed '2012.2.1-1-vendor1' to 'true'
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...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.