Instance remains in scheduling state if Compute server is down
Bug #956960 reported by
Unmesh Gurjar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unmesh Gurjar |
Bug Description
Scenario: If the Compute service is down and a new instance is launched, the instance state remains in 'building' state.
Verify the response in the database or dashboard.
Expected Response: The vm_state of instance must be 'error'.
Actual Response: The vm_state remains in the 'building' state.
Branch: master
The Nova API must check if the Compute service is up (if there are multiple Compute hosts and one of them is down, still the service should be considered down). And if Compute service is down, update the instance status in database to 'error'.
Changed in nova: | |
assignee: | nobody → Unmesh Gurjar (unmesh-gurjar) |
description: | updated |
Changed in nova: | |
importance: | Undecided → Low |
To post a comment you must log in.
The compute nodes already update the database with a heartbeat that the scheduler uses to determine if the compute service is running.
How did you run into this situation?