After restarting the Ceph storage node or OSD Service the status of the Nova instance will become abnormal and unable to access it

Solution Verified - Updated -

Issue

  • After restarting the Ceph storage node or OSD service, the status of the Nova instance becomes inconsistent with the status of the VM on the hypervisor, and unable to operate the instance.
  • Despite the tripleo_nova_compute service being running, the nova-compute service will be in a down state.
  • Restarting the tripleo_nova_compute service does not restore the nova-compute service, which remains in a down state.
| ID                                   | Name                 | Status  | Task State  | Power State | Host                              |
| 4a574f57-1471-460e-b564-643ccbdc5cc8 | test-vm1             | SHUTOFF | powering-on | Shutdown    | compute-0.redhat.local            | paused
| cae46cf4-006b-4757-abc0-3bc937c5b024 | test-vm2             | SHUTOFF | powering-on | Shutdown    | compute-0.redhat.local            | paused
| 6b1109c3-cb02-4d78-b2e1-1fa02ac1c58b | test-vm3             | ACTIVE  | None        | Running     | compute-1.redhat.local            | running
| 08b9bd64-8c82-4a54-be8c-7f952c3e8640 | test-vm4             | SHUTOFF | powering-on | NOSTATE     | compute-1.redhat.local            | Not Exists
(overcloud) [stack@undercloud-0 ~]$ openstack compute service list
+--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+
| ID                                   | Binary         | Host                      | Zone     | Status  | State | Updated At                 |
+--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+
| 550d9872-f86b-4bf0-944b-bbdd8aa2ea5f | nova-conductor | controller-1.redhat.local | internal | enabled | up    | 2023-06-01T08:50:09.000000 |
| 51d7f5c4-4528-4b55-b3e7-ff77e38526fa | nova-conductor | controller-2.redhat.local | internal | enabled | up    | 2023-06-01T08:50:10.000000 |
| 7cf5f607-0445-4599-b558-d6f3332fc6ee | nova-scheduler | controller-1.redhat.local | internal | enabled | up    | 2023-06-01T08:50:09.000000 |
| 42845ad2-ebd5-4d7d-9961-5275cf4a659f | nova-scheduler | controller-2.redhat.local | internal | enabled | up    | 2023-06-01T08:50:15.000000 |
| 6b57b64d-e097-4ed2-a0f6-95238dcb96be | nova-conductor | controller-0.redhat.local | internal | enabled | up    | 2023-06-01T08:50:16.000000 |
| ec04298c-af73-4b43-9093-ddd6bac28417 | nova-scheduler | controller-0.redhat.local | internal | enabled | up    | 2023-06-01T08:50:16.000000 |
| 545e16a0-95ff-4082-8975-d5ec43d3cef3 | nova-compute   | compute-0.redhat.local    | nova     | enabled | down  | 2023-06-01T08:50:06.000000 |
| 333def18-b0b0-4511-825f-baf317ffa12b | nova-compute   | compute-1.redhat.local    | nova     | enabled | down  | 2023-06-01T08:50:07.000000 |
+--------------------------------------+----------------+---------------------------+----------+---------+-------+----------------------------+

Environment

  • Red Hat OpenStack Platform 16.2
  • Ceph deployed by Director or Cephadm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content