diff --git a/controllers/openstackdataplanenodeset_controller.go b/controllers/openstackdataplanenodeset_controller.go index 888e2dfc9..53fe4b860 100644 --- a/controllers/openstackdataplanenodeset_controller.go +++ b/controllers/openstackdataplanenodeset_controller.go @@ -466,7 +466,7 @@ func (r *OpenStackDataPlaneNodeSetReconciler) SetupWithManager(ctx context.Conte for _, pod := range podsList.Items { Log.Info( fmt.Sprintf( - "openstack dataplane pod %s failed due to %s message: %s", + "openstackansibleee job %s failed due to %s with message: %s", pod.Name, pod.Status.Reason, pod.Status.Message)) } } diff --git a/docs/assemblies/proc_troubleshooting-data-plane-creation-and-deployment.adoc b/docs/assemblies/proc_troubleshooting-data-plane-creation-and-deployment.adoc index 385b24598..4cc5bc84d 100644 --- a/docs/assemblies/proc_troubleshooting-data-plane-creation-and-deployment.adoc +++ b/docs/assemblies/proc_troubleshooting-data-plane-creation-and-deployment.adoc @@ -70,3 +70,13 @@ AnsibleEE jobs have an associated condition message that indicates the current s * `AnsibleExecutionJob error occured `: The job stopped executed unexpectedly. The `` is replaced with a specific error message. To further investigate a service displaying a particular job condition message, use the command `oc logs job/` to display the logs associated with that service. For example, to display the logs for the `repo-setup-openstack-edpm` service, use the command `oc logs job/repo-setup-openstack-edpm`. + + +.Check service pod status reports + +During reconciliation of OpenStackDataPlaneDeployment resources, Kubernetes Pods associated with OpenStackAnsibleEE jobs are marked with label `osdpd=`. +This allows selection and monitoring of these pods using CLI commands. + +When encountering failures within OpenStackAnsibleEE jobs, the resulting Kubernetes Pod reports will be formatted with an error message in the following manner: `openstackansibleee job failed due to with message: `. + +These reports can provide valuable insights into the cause of the failure and aid in resolving related issues.