Ignoring network id during instance launching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I have met strange behavior of nova API.
When we create instance and send request with network parameters (port_id, network_id, fixed_ip) with not None values,
nova ignore network_id without any message. As result we get instance only with pointed port_id.
In case when we send same request using interface-attach we get BadRequest answer here
https:/
because we have port_id and network_id together in request.
Also I have look in v3 plugins and it have a little difference.
If we have not None value for port_id and fixed_ip, will be raised Error
https:/
but it still ignore network_id.
If it's normal behavior: Could you explain why nova send BadRequest Error in same case during attaching interface.
Changed in nova: | |
assignee: | nobody → Sergey Kraynev (skraynev) |
tags: | added: api |
Changed in nova: | |
importance: | Undecided → Low |
Responding BadRequest when port_id and network_id are both provided seems the correct behavior.
Indeed it explicits the mistakes to specify both where the other solution implicitly use only network_id