Race condition causes Nova to shut off a successfully deployed baremetal server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Jim Rollenhagen | ||
Rocky |
Fix Committed
|
Medium
|
Jim Rollenhagen |
Bug Description
When booting a baremetal server with Nova, we see Ironic report a successful power on:
ironic-
But seconds later, Nova (a) triggers a power state sync and then (b) decided the node is in state "power off" and shuts it down:
nova-compute.
nova-compute.
nova-compute.
nova-compute.
It looks like Nova is using stale cache data to make this decision.
jroll on irc suggests a solution may look like https:/
This is with nova @ ad842aa and ironic @ 4404292.
Changed in nova: | |
assignee: | nobody → Jim Rollenhagen (jim-rollenhagen) |
status: | New → In Progress |
Changed in nova: | |
assignee: | Jim Rollenhagen (jim-rollenhagen) → Lars Kellogg-Stedman (larsks) |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: compute ironic |
Changed in nova: | |
assignee: | Lars Kellogg-Stedman (larsks) → Jim Rollenhagen (jim-rollenhagen) |
Patch is here: https:/ /review. openstack. org/#/c/ 636699/
This should be backported to Rocky as well.