yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44661
[Bug 1526630] Re: Unexpected API Error returned when boot an instance with an wrong octal ip address as v4-fixed-ip
Yep, the patch seems to be merged on January the 4th, 2016. Novaclient
version 3.2.0 released on January the 16th, 2016 contains it. Therefore
I am marking this report as invalid since a patch related to another
issue fixes the problem you observed. Thank you for verifying that the
fix was successful.
** Changed in: nova
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1526630
Title:
Unexpected API Error returned when boot an instance with an wrong
octal ip address as v4-fixed-ip
Status in OpenStack Compute (nova):
Invalid
Bug description:
[Summary]
Unexpected API Error returned when boot an instance with an wrong octal ip address as v4-fixed-ip
[Topo]
devstack all-in-one node
[Description and expect result]
no Unexpected API Error, should return an error says that "Invalid input for field/attribute fixed_ip"
[Reproduceable or not]
reproduceable
[Recreate Steps]
1) create a network/subnet:
root@45-59:/opt/stack/devstack# neutron net-list | grep net2
| 2de63c95-f645-492c-9197-5d4d5244a8ba | net2 | 47eb5e03-c16a-4303-923c-21a061f2909e 1.0.0.0/24 |
root@45-59:/opt/stack/devstack#
2) launch an instance with an wrong octal ip address as v4-fixed-ip, Unexpected API Error returned: >>>>ISSUE
root@45-59:/opt/stack/devstack# nova boot --flavor 1 --image cirros-0.3.4-x86_64-uec --availability-zone nova --nic net-id=2de63c95-f645-492c-9197-
5d4d5244a8ba,v4-fixed-ip=1.0.0.087 inst2
ERROR (ClientException): Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<type 'exceptions.ValueError'> (HTTP 500) (Request-ID: req-17cc4e5a-af9f-44b9-9c4a-b87706682bf3)
root@45-59:/opt/stack/devstack#
Note: 1.0.0.087 is an ip address in octal format, but it's a wrong
address, octal address can not contain number character bigger than 7.
[Configration]
reproduceable bug, no need
[logs]
reproduceable bug, no need
[Root cause anlyze or debug inf]
reproduceable bug
[Attachment]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1526630/+subscriptions
References