disable nova-manage network + related cmds if using Quantum v2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mohammed Naser |
Bug Description
When using nova with quantum v2 API, all CRUD operations should be done directly against the quantum API, rather than using nova-manage.
However, even when no nova-network is running (as is the case with Quantum v2), nova-manage calls to do things like create networks will still succeed, as nova-manage will simply load the default network manager, and make the calls, which will result in writing to the nova database. These calls will appear to succeed, even though the networks, floating ips, fixed ips, etc. are irrelevant to the quantum deployment.
We should add checks to nova (nova-manage?) to prevent this from happening.
One option would be for the base NetworkManager class to check and make sure that a network manager will actually be used (i.e., check that the network_api_class is not set to "nova.network.
Other options would be to modify nova-manage, but that seems less robust.
Changed in quantum: | |
milestone: | folsom-2 → folsom-3 |
Changed in quantum: | |
assignee: | nobody → Salvatore Orlando (salvatore-orlando) |
Changed in nova: | |
assignee: | nobody → Salvatore Orlando (salvatore-orlando) |
Changed in quantum: | |
status: | Confirmed → In Progress |
Changed in quantum: | |
milestone: | none → folsom-rc1 |
Changed in quantum: | |
milestone: | folsom-rc1 → none |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
assignee: | Salvatore Orlando (salvatore-orlando) → nobody |
Changed in nova: | |
status: | In Progress → Triaged |
Changed in nova: | |
assignee: | nobody → András Gyácsok (atti-dyachok) |
Changed in neutron: | |
assignee: | Salvatore Orlando (salvatore-orlando) → nobody |
Changed in neutron: | |
assignee: | nobody → Mohammed Naser (mnaser) |
Changed in nova: | |
assignee: | András Gyácsok (atti-dyachok) → Mohammed Naser (mnaser) |
tags: | added: nova-manage |
tags: | added: network |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
no longer affects: | neutron |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
One advantage of modifying the network manager directly is that it would also notify people who mistakenly run nova-network when quantum v2 is being used.