port-id and net-id subkeys of nics argument should be mutually exclusive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Undecided
|
Pavlo Shchelokovskyy | ||
python-troveclient |
Fix Released
|
Medium
|
Pavlo Shchelokovskyy |
Bug Description
Currently when specifying --nics argument to nova boot it is possible to provide both port-id and net-id, although judging from nova code [1] and [2] the port-id will always take precedence, making net-id redundant in presence of port-id. The code in client also checks that at least one of them provided, but perfectly allows both to be provided. Docs for this argument are also a bit confusing as they say that each one is required in the absence of the other, but nothing on using both of them together.
We should make those keys really mutually exclusive and update help strings to reflect that.
[1] https:/
[2] https:/
Changed in python-novaclient: | |
assignee: | nobody → Pavlo Shchelokovskyy (pshchelo) |
Changed in python-troveclient: | |
assignee: | nobody → Pavlo Shchelokovskyy (pshchelo) |
Changed in python-troveclient: | |
importance: | Undecided → Medium |
milestone: | none → python-troveclient-v1 |
Changed in python-troveclient: | |
milestone: | python-troveclient-v1 → juno-1 |
Changed in python-novaclient: | |
milestone: | none → 2.18.0 |
Changed in python-novaclient: | |
status: | Fix Committed → Fix Released |
Changed in python-troveclient: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/91085
Review: https:/