Fixed ip assignment using --nic parameter doesn't work
Bug #1046358 reported by
Nevon Brake
This bug report is a duplicate of:
Bug #1094897: Unable to assign a specific IP address to a Quantum port.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
High
|
Akihiro Motoki |
Bug Description
Using the latest devstack on master, I tried to assign a fixed ip using the v4-fixed-ip option in the --nic parameter of the nova boot command, but the address is assigned using the automatic allocation instead.
Looking at the code it seems the Quantum api call in Nova doesn't pass the parameter correctly.
nova/nova/
port_req_
Based on the way Quantum uses the port request body, I think this should be:
port_req_
Works as expected after I made this change.
description: | updated |
summary: |
- Fixed ip assigned using --nic parameter doesn't work + Fixed ip assignment using --nic parameter doesn't work |
Changed in nova: | |
assignee: | Nevon Brake (nevonb) → Akihiro Motoki (amotoki) |
To post a comment you must log in.
seems reasonable. Assigned to dan to verify if the fix is correct.