-
Bug
-
Resolution: Done
-
Major
-
rhos-18.0.3
-
None
-
8
-
False
-
-
False
-
?
-
openstack-baremetal-operator-container-1.0.7-6
-
None
-
Release Note Not Required
-
-
-
8
-
2025Q1
-
Low
To Reproduce Steps to reproduce the behavior:
1. Verify multiple BMH nodes are available, with the correct label:
[m3@osp-df-3 bootc]$ oc get bmh -l app=openstack NAME STATE CONSUMER ONLINE ERROR AGE bshephar-edpm-compute-01 available false 6d4h bshephar-edpm-compute-02 available false 6d23h bshephar-edpm-compute-03 available true 4d
2. Create two `OpenStackDataPlaneNodeSets` at the same time with only one node defined in each:
[m3@osp-df-3 edpm-ansible]$ oc apply -f ~/beta/baremetal-dataplane-nodeset.yaml -f ~/beta/baremetal-dataplane-nodeset-bootc.yaml openstackdataplanenodeset.dataplane.openstack.org/openstack-edpm-ipam-1 created openstackdataplanenodeset.dataplane.openstack.org/openstack-edpm-bootc created
3. Note that TWO of the BMH nodes are consumed by the single NodeSet:
[m3@osp-df-3 bootc]$ oc get bmh NAME STATE CONSUMER ONLINE ERROR AGE bshephar-edpm-compute-01 provisioning openstack-edpm-bootc true 6d4h bshephar-edpm-compute-02 provisioning openstack-edpm-bootc true 6d23h bshephar-edpm-compute-03 available true 4d
4. When the NodeSets are all deleted, it fails to deprovision the extra BMH automatically:
[m3@osp-df-3 beta]$ oc get bmh NAME STATE CONSUMER ONLINE ERROR AGE bshephar-edpm-compute-01 available false 6d4h bshephar-edpm-compute-02 provisioned openstack-edpm-bootc true 7d bshephar-edpm-compute-03 available true 4d [m3@osp-df-3 beta]$ oc get osdpns No resources found in openstack namespace.
Expected behavior
- We should only be provisioning the number of nodes defined in the OpenStackDataPlaneNodeSet
Bug impact
- Unnecessary computes provisioned reduces the overall number of nodes available in the pool. Manual cleanup is necessary.
Additional context
[m3@osp-df-3 beta]$ oc get deployment -n openstack-operators openstack-baremetal-operator-controller-manager -o jsonpath='{.spec.template.spec.containers[].image}' quay.io/openstack-k8s-operators/openstack-baremetal-operator@sha256:919ecaf79f2094441b54972cc1752119b78bff4bd5d1c781083fe4205aeee196
- links to
-
RHBA-2025:146727 Release of containers for RHOSO OpenStack Podified operator