Activity log for bug #1046358

Date Who What changed Old value New value Message
2012-09-05 14:56:24 Nevon Brake bug added bug
2012-09-05 14:57:18 Nevon Brake 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 does pass the parameter correctly. nova/nova/network/quantumv2/api.py (line 127): port_req_body['port']['fixed_ip'] = fixed_ip Based on the way Quantum uses the port request body, I think this should be: port_req_body['port']['fixed_ips'] = [{'ip_address':fixed_ip}] Works as expected after I made this change. 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/network/quantumv2/api.py (line 127): port_req_body['port']['fixed_ip'] = fixed_ip Based on the way Quantum uses the port request body, I think this should be: port_req_body['port']['fixed_ips'] = [{'ip_address':fixed_ip}] Works as expected after I made this change.
2012-09-05 15:28:20 Nevon Brake summary Fixed ip assigned using --nic parameter doesn't work Fixed ip assignment using --nic parameter doesn't work
2012-09-06 23:14:34 Vish Ishaya nova: assignee dan wendlandt (danwent)
2012-09-06 23:14:36 Vish Ishaya nova: importance Undecided High
2012-09-06 23:14:40 Vish Ishaya nova: status New Triaged
2012-09-10 02:43:44 Koji Iida bug added subscriber Koji Iida
2012-09-29 22:12:28 OpenStack Infra nova: status Triaged In Progress
2012-09-29 22:12:28 OpenStack Infra nova: assignee dan wendlandt (danwent) Nevon Brake (nevonb)
2012-12-05 10:51:34 Fabrice A. Marie bug added subscriber Fabrice A. Marie
2012-12-14 23:26:18 Nevon Brake marked as duplicate 1056835
2013-01-17 07:02:09 Akihiro Motoki changed duplicate marker 1056835 1094897
2013-01-17 08:58:03 OpenStack Infra nova: assignee Nevon Brake (nevonb) Akihiro Motoki (amotoki)