AttributeError: 'NoneType' object has no attribute 'generation' in stable/ocata CI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned | ||
Ocata |
Fix Released
|
Critical
|
Lee Yarwood |
Bug Description
We've been seeing this intermittently:
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
2018-04-19 21:26:05.260 12465 ERROR nova.compute.
Since this change merged in stable/ocata:
https:/
We have a revert up for it: https:/
This bug is for tracking the revert and the failure in elastic-recheck.
Changed in nova: | |
status: | New → Invalid |
I know what the problem probably is, copied from bug 1767139 which was reported against the same change but in pike 16.1.1:
(9:59:34 AM) mriedem: set_inventory_ for_provider -> _ensure_ resource_ provider -> _create_ resource_ provider -> safe_connect returns None because it can't talk to placement yet /review. openstack. org/#/c/ 524618/ 2/nova/ scheduler/ client/ report. py@516
(9:59:41 AM) mriedem: https:/
(9:59:44 AM) mriedem: so we put None in the cache