nova boot specifying flavor by name fails intermittently past 1000 flavors
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
While running a script which:
1) creates a project
2) creates a user in that project
3) creates a flavor
4) tweaks some nova and neutron quotas for that project
5) switches to that project
6) creates an image
7) tweaks some security group rules
8) creates a network/
9) creates a port
10) creates a floating IP with that port id
and finally
11) nova boots with that port, image (by name) and flavor (again by name)
once one gets above 1000 iterations, the nova boot will start to fail from time to time with messages like:
ERROR (CommandError): No flavor with a name or ID of 'uberplay1053' exists.
It isn't every nova boot past the 1000th flavor:
ERROR (CommandError): No flavor with a name or ID of 'uberplay1053' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1055' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1062' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1064' exists.
...
ERROR (CommandError): No flavor with a name or ID of 'uberplay1312' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1316' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1319' exists.
ERROR (CommandError): No flavor with a name or ID of 'uberplay1321' exists.
The "holes" in that sequence are good - those instances booted and were accessible just fine. The flavors themselves are there - they can be seen via nova flavor-show <UUID>.
This is with Liberty. There were 6 flavors already defined before the script was started. "uberplay1053" was the first failure, counting in that sequence started at 0.
I will (attempt to) attach the script shortly.
~/rjones2$ nova --version
2.30.3
Neutron networking with OVS. Instances using local storage not Cinder. Glance using Swift for image storage.
The nova version appears to be 12.0.3.