yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28712
[Bug 1424597] [NEW] Obscure 'No valid hosts found' if no free fixed IPs left in the network
Public bug reported:
If network have no free fixed IPs, new instances failed with 'No valid
hosts found' without proper explanation.
Example:
nova boot foobar --flavor SSD.1 --image cirros --nic net-id=f3f2802a-
c2a1-4d8b-9f43-cf24d0dc8233
(There is no free IP left in network f3f2802a-c2a1-4d8b-
9f43-cf24d0dc8233)
nova show fb4552e5-50cb-4701-a095-c006e4545c04
...
| status | BUILD |
(few seconds later)
| fault | {"message": "No valid host was found. Exceeded max scheduling attempts 2 for instance fb4552e5-50cb-4701-a095-c006e4545c04. Last exception: [u'Traceback (most recent call last):\ |
| | ', u' File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2036, in _do", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 612, in build_instances |
| | instances[0].uuid) |
| | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 161, in populate_retry |
| | raise exception.NoValidHost(reason=msg) |
| status | ERROR |
Expected behaviour: Compains about 'No free IP' before attempting to schedule instance.
See https://bugs.launchpad.net/nova/+bug/1424594 for similar behaviour.
** Affects: nova
Importance: Undecided
Status: New
--
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/1424597
Title:
Obscure 'No valid hosts found' if no free fixed IPs left in the
network
Status in OpenStack Compute (Nova):
New
Bug description:
If network have no free fixed IPs, new instances failed with 'No valid
hosts found' without proper explanation.
Example:
nova boot foobar --flavor SSD.1 --image cirros --nic net-id=f3f2802a-
c2a1-4d8b-9f43-cf24d0dc8233
(There is no free IP left in network f3f2802a-c2a1-4d8b-
9f43-cf24d0dc8233)
nova show fb4552e5-50cb-4701-a095-c006e4545c04
...
| status | BUILD |
(few seconds later)
| fault | {"message": "No valid host was found. Exceeded max scheduling attempts 2 for instance fb4552e5-50cb-4701-a095-c006e4545c04. Last exception: [u'Traceback (most recent call last):\ |
| | ', u' File \"/usr/lib/python2.7/dist-packages/nova/compute/manager.py\", line 2036, in _do", "code": 500, "details": " File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 612, in build_instances |
| | instances[0].uuid) |
| | File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 161, in populate_retry |
| | raise exception.NoValidHost(reason=msg) |
| status | ERROR |
Expected behaviour: Compains about 'No free IP' before attempting to schedule instance.
See https://bugs.launchpad.net/nova/+bug/1424594 for similar
behaviour.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1424597/+subscriptions
Follow ups
References