The nova_compute restarts repeatedly with nova.exception_Remote.DuplicateRecord_Remote exception
Issue
- The nova_compute on dataplane nodes restarts repeatedly with nova.exception_Remote.DuplicateRecord_Remote exception.
- The below is a sample message in the journal log on the dataplane nodes.
Feb 20 02:36:47 edpm-compute-0 nova_compute[719627]: 2025-02-20 02:36:47.830 2 ERROR oslo_service.service nova.exception_Remote.DuplicateRecord_Remote: Unable to create duplicate record for compute node edpm-compute-0.ctlplane.example.com:300fba4c-a388-4128-8f2c-ecbae6984f33
- As a result, the hypervisor host entries are in
downstate.
oc rsh -n openstack openstackclient openstack hypervisor list
+--------------------------------------+-----------------------------------------------------+-----------------+----------------+-------+
| ID | Hypervisor Hostname | Hypervisor Type | Host IP | State |
+--------------------------------------+-----------------------------------------------------+-----------------+----------------+-------+
| b4aee30c-043d-4081-9e4b-447621b4b5b9 | edpm-compute-0.ctlplane.example.com | QEMU | 192.168.122.100 | down |
| 64d7dd85-85de-4ec3-b2c5-ea0e2e2da477 | edpm-compute-1.ctlplane.example.com | QEMU | 192.168.122.101 | down |
+--------------------------------------+-----------------------------------------------------+-----------------+----------------+-------+
Environment
- Red Hat OpenStack Services on OpenShift
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.