Custom resource status codes
The status object in the VisualInspectionApp
custom resource contains up-to-date information about the current status of the VisualInspectionApp
operand.
Application summary status
View a summarized view of the application summary status by using the get output as follows:
$ oc get visualinspectionapp
NAME VERSION STATUS AGE
example 8.9.1 Ready 3d8h
Full application summary status
View the full application summary status by using the describe output as follows:
$ oc describe visualinspectionapp/example
You can also use YAML or JSON outputs as follows:
$ oc get visualinspectionapp/example -o yaml
$ oc get visualinspectionapp/example -o json
Filter the YAML or JSON output for the application
Filter the YAML or JSON output by using yq
or jq
respectively as follows:
$ oc get visualinspectionapp/example -o yaml | yq '.status'
$ oc get visualinspectionapp/example -o json | jq '.status'
Workspace summary status
View a summarized view of the workspace summary status by using the get output as follows:
$ oc get visualinspectionappworkspace
NAME VERSION STATUS AGE
example-myworkspace 8.9.1 Ready 3d8h
Full workspace summary status
View the full workspace summary status by using the describe output as follows:
$ oc describe visualinspectionappworkspace/example-myworkspace
You can also use YAML or JSON outputs as follows:
$ oc get visualinspectionappworkspace/example-myworkspace -o yaml
$ oc get visualinspectionappworkspace/example-myworkspace -o json
Filter the YAML or JSON output for the workspace
Filter the YAML output by using yq
or filter the JSON output by using jp
as follows:
$ oc get visualinspectionappworkspace/example-myworkspace -o yaml | yq '.status'
$ oc get visualinspectionappworkspace/example-myworkspace -o json | jq '.status'
conditions
conditions
is a list of Kubernetes conditions that describe the latest state of the VisualInspectionApp
operand.
When all of the Pods are ready and under normal operation with no errors or warnings, the Ready
condition
is set to True
.
If an error or warning is raised during the reconciliation of the VisualInspectionApp
custom resource, a condition
is presented in the status with the details.
Application status
The following fields exist in the application status object:
CertificateError
CertificateNotReady
ServiceBindingError
SecretsError
GrafanaError
PVCNotReady
InvalidConfiguration
ValidationFailed
ConfigMapError
CronJobError
JobError
DeploymentFailed
ServiceFailed
ServiceMonitorFailed
NetworkError
AppPointsReservationFailed
CompatibilityCheckFailure
COSBucketNameMissing
COSBucketLookupFailed
Ready
Application status conditions
The custom resource is named VisualInspectionAppWorkspace
.
CertificateError
- Certificate creation failed
CertificateNotReady
- Public secret cannot be found when used in manual cert mode
ServiceBindingError
- Service binding creation failed
SecretsError
- Secret creation failed
GrafanaError
- Grafana dashboard creation failed
PVCNotReady
- PVC is not ready yet
InvalidConfiguration
- YAML template configuration failed
ValidationFailed
- Not all pods are in ready state
ConfigMapError
- Config map creation failed
CronJobError
CronJob
creation failedJobError
- Job creation failed
DeploymentFailed
- Deployment creation failed
ServiceFailed
- Service creation failed
ServiceMonitorFailed
Servicemonitor
creation failedNetworkError
- Network policy creation failed
AppPointsReservationFailed
- Catalog reservation failed
CompatibilityCheckFailure
- Compatibility with Maximo® Application Suite failed
COSBucketNameMissing
- COS bucket name cannot be found when
ObjectStorage
is enabled COSBucketLookupFailed
- COS bucket lookup failed
Ready
- Application is ready
Workspace status
The following fields exist in the workspace status object:
Workspace status conditions
The custom resource is named VisualInspectionAppWorkspace
. The workspace conditions
are locations under the status.conditions
sections.
CertificateNotReady
- Public secret cannot be found when used in manual cert mode
NetworkError
- Route creation failed
RouteNotReady
- Route not ready due to secret issues
WorkspaceSynchronizationFailed
- Workspace synchronization failed
InvalidConfiguration
- OIDC Client registration failed
COSBucketWorkspaceMismatch
- COS bucket not associated with workspaceID
Ready
- Workspace is ready