networking is not setup correctly when NUMBER_FAKE_NOVA_COMPUTE is more than 1

Bug #1822908 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Won't Fix
Low
Unassigned

Bug Description

When stacking with NUMBER_FAKE_NOVA_COMPUTE=3 and then trying to create a server with networking, a port is created in neutron but then fails to binding, presumably because there are 3 fake compute hosts but only one neutron agent:

stack@crosscell:~$ openstack host list | grep compute
| crosscell1 | compute | cell1 |
| crosscell2 | compute | cell1 |
| crosscell3 | compute | cell2 |

stack@crosscell:~$ openstack network agent list
+--------------------------------------+--------------------+-----------+-------------------+-------+-------+---------------------------+
| ID | Agent Type | Host | Availability Zone | Alive | State | Binary |
+--------------------------------------+--------------------+-----------+-------------------+-------+-------+---------------------------+
| 2a2c7679-3571-4abd-a339-21a965ade707 | L3 agent | crosscell | nova | :-) | UP | neutron-l3-agent |
| 5a6f87b3-bf67-4182-81e9-34aa56b7b2d9 | DHCP agent | crosscell | nova | :-) | UP | neutron-dhcp-agent |
| 9b179883-5d9e-4c7e-9890-e68df468eb8c | Metadata agent | crosscell | None | :-) | UP | neutron-metadata-agent |
| f804ee11-e624-4438-a0a3-3aefa1caf1f7 | Open vSwitch agent | crosscell | None | :-) | UP | neutron-openvswitch-agent |
+--------------------------------------+--------------------+-----------+-------------------+-------+-------+---------------------------+

Note that the hosts don't line up between compute and network agents.

This was the port binding failure in the q-svc log:

Apr 02 23:29:15 crosscell neutron-server[11131]: DEBUG neutron.plugins.ml2.drivers.mech_agent [req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d req-81c69392-3726-4663-aeb8-2c95d2da1d65 service neutron] Port 6079221f-1de8-4406-a7f1-842bc44ed0fd on network 1081c57a-5b09-46f4-af2d-8965a5078f78 not bound, no agent of type Open vSwitch agent registered on host crosscell2 {{(pid=11316) bind_port /opt/stack/neutron/neutron/plugins/ml2/drivers/mech_agent.py:104}}
...
Apr 02 23:29:15 crosscell neutron-server[11131]: ERROR neutron.plugins.ml2.managers [req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d req-81c69392-3726-4663-aeb8-2c95d2da1d65 service neutron] Failed to bind port 6079221f-1de8-4406-a7f1-842bc44ed0fd on host crosscell2 for vnic_type normal using segments [{'network_id': '1081c57a-5b09-46f4-af2d-8965a5078f78', 'segmentation_id': None, 'physical_network': u'public', 'id': '809e71fc-9b84-47f0-9d02-c248ebb620d6', 'network_type': u'flat'}]

Tags: neutron nova
Matt Riedemann (mriedem)
summary: - networking is not setup correctly when NOVA_NUM_CELLS is more than 1
+ networking is not setup correctly when NUMBER_FAKE_NOVA_COMPUTE is more
+ than 1
tags: added: neutron nova
Changed in devstack:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Seems nobody cares enough about this issue to patch it. Feel free to reopen if there is still interest.

Changed in devstack:
status: Confirmed → Won't Fix
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.