Skip to content

Commit 475997c

Browse files
committed
Allow updating nodeset inventory with failed deployment status
This way new deployments can use updated inventory and as we ignore earlier failed deployments with overall deployment status, users don't have to delete the failed deployments. Jira: https://issues.redhat.com/browse/OSPRH-20821 Signed-off-by: rabi <[email protected]>
1 parent db2406f commit 475997c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/dataplane/openstackdataplanenodeset_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ func (r *OpenStackDataPlaneNodeSetReconciler) Reconcile(ctx context.Context, req
403403
return ctrl.Result{}, err
404404
}
405405

406-
if !isDeploymentRunning && !isDeploymentFailed {
406+
if !isDeploymentRunning {
407407
// Generate NodeSet Inventory
408408
_, err = deployment.GenerateNodeSetInventory(ctx, helper, instance,
409409
allIPSets, dnsDetails.ServerAddresses, containerImages, netServiceNetMap)

0 commit comments

Comments
 (0)