OpenStackDeploymentStatus custom resource

The resource of kind OpenStackDeploymentStatus is a custom resource that describes the status of an OpenStack deployment. To obtain detailed information about the schema of an OpenStackDeploymentStatus custom resource:

kubectl get crd openstackdeploymentstatus.lcm.mirantis.com -o yaml

To obtain the status definition for a particular OpenStack deployment:

kubectl -n openstack get osdplst

Example of system response:

NAME      OPENSTACK VERSION   CONTROLLER VERSION   STATE     LCM PROGRESS   HEALTH   MOSK RELEASE
osh-dev   antelope            0.16.1.dev104        APPLIED   20/20          21/22    MOSK 24.1.3

Where:

  • OPENSTACK VERSION displays the actual OpenStack version of the deployment

  • CONTROLLER VERSION indicates the version of the OpenStack controller responsible for the deployment

  • STATE reflects the current status of life-cycle management. The list of possible values includes:

    • APPLYING indicates that some Kubernetes objects for applications are in the process of being applied

    • APPLIED indicates that all Kubernetes objects for applications have been applied to the latest state

  • LCM PROGRESS reflects the current progress of STATE in the format X/Y, where X denotes the number of applications with Kubernetes objects applied and in the actual state, and Y represents the total number of applications managed by the OpenStack controller

  • HEALTH provides an overview of the current health status of the OpenStack deployment in the format X/Y, where X represents the number of applications with notReady pods, and Y is the total number of applications managed by the OpenStack controller

  • MOSK RELEASE displays the current product release of the OpenStack deployment

NAME      OPENSTACK VERSION   CONTROLLER VERSION   STATE     MOSK RELEASE
osh-dev   antelope            0.16.1.dev104        APPLIED   MOSK 24.1

Where:

  • OPENSTACK VERSION displays the actual OpenStack version of the deployment

  • CONTROLLER VERSION indicates the version of the OpenStack controller responsible for the deployment

  • STATE reflects the current status of life-cycle management. The list of possible values includes:

    • APPLYING indicates that some Kubernetes objects for applications are in the process of being applied

    • APPLIED indicates that all Kubernetes objects for applications have been applied to the latest state

  • MOSK RELEASE displays the current product release of the OpenStack deployment

Example of an OpenStackDeploymentStatus custom resource configuration
  1 kind: OpenStackDeploymentStatus
  2 metadata:
  3   name: osh-dev
  4   namespace: openstack
  5 spec: {}
  6 status:
  7   handle:
  8     lastStatus: update
  9   health:
 10     barbican:
 11       api:
 12         generation: 2
 13         status: Ready
 14     cinder:
 15       api:
 16         generation: 2
 17         status: Ready
 18       backup:
 19         generation: 1
 20         status: Ready
 21       scheduler:
 22         generation: 1
 23         status: Ready
 24       volume:
 25         generation: 1
 26         status: Ready
 27   osdpl:
 28     cause: update
 29     changes: '((''add'', (''status'',), None, {''watched'': {''ceph'': {''secret'':
 30       {''hash'': ''0fc01c5e2593bc6569562b451b28e300517ec670809f72016ff29b8cbaf3e729''}}}}),)'
 31     controller_version: 0.5.3.dev12
 32     fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 33     openstack_version: ussuri
 34     state: APPLIED
 35     timestamp: "2021-09-08 17:01:45.633143"
 36   services:
 37     baremetal:
 38       controller_version: 0.5.3.dev12
 39       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 40       openstack_version: ussuri
 41       state: APPLIED
 42       timestamp: "2021-09-08 17:00:54.081353"
 43     block-storage:
 44       controller_version: 0.5.3.dev12
 45       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 46       openstack_version: ussuri
 47       state: APPLIED
 48       timestamp: "2021-09-08 17:00:57.306669"
 49     compute:
 50       controller_version: 0.5.3.dev12
 51       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 52       openstack_version: ussuri
 53       state: APPLIED
 54       timestamp: "2021-09-08 17:01:18.853068"
 55     coordination:
 56       controller_version: 0.5.3.dev12
 57       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 58       openstack_version: ussuri
 59       state: APPLIED
 60       timestamp: "2021-09-08 17:01:00.593719"
 61     dashboard:
 62       controller_version: 0.5.3.dev12
 63       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 64       openstack_version: ussuri
 65       state: APPLIED
 66       timestamp: "2021-09-08 17:00:57.652145"
 67     database:
 68       controller_version: 0.5.3.dev12
 69       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 70       openstack_version: ussuri
 71       state: APPLIED
 72       timestamp: "2021-09-08 17:01:00.233777"
 73     dns:
 74       controller_version: 0.5.3.dev12
 75       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 76       openstack_version: ussuri
 77       state: APPLIED
 78       timestamp: "2021-09-08 17:00:56.540886"
 79     identity:
 80       controller_version: 0.5.3.dev12
 81       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 82       openstack_version: ussuri
 83       state: APPLIED
 84       timestamp: "2021-09-08 17:01:00.961175"
 85     image:
 86       controller_version: 0.5.3.dev12
 87       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 88       openstack_version: ussuri
 89       state: APPLIED
 90       timestamp: "2021-09-08 17:00:58.976976"
 91     ingress:
 92       controller_version: 0.5.3.dev12
 93       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
 94       openstack_version: ussuri
 95       state: APPLIED
 96       timestamp: "2021-09-08 17:01:01.440757"
 97     key-manager:
 98       controller_version: 0.5.3.dev12
 99       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
100       openstack_version: ussuri
101       state: APPLIED
102       timestamp: "2021-09-08 17:00:51.822997"
103     load-balancer:
104       controller_version: 0.5.3.dev12
105       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
106       openstack_version: ussuri
107       state: APPLIED
108       timestamp: "2021-09-08 17:01:02.462824"
109     memcached:
110       controller_version: 0.5.3.dev12
111       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
112       openstack_version: ussuri
113       state: APPLIED
114       timestamp: "2021-09-08 17:01:03.165045"
115     messaging:
116       controller_version: 0.5.3.dev12
117       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
118       openstack_version: ussuri
119       state: APPLIED
120       timestamp: "2021-09-08 17:00:58.637506"
121     networking:
122       controller_version: 0.5.3.dev12
123       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
124       openstack_version: ussuri
125       state: APPLIED
126       timestamp: "2021-09-08 17:01:35.553483"
127     object-storage:
128       controller_version: 0.5.3.dev12
129       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
130       openstack_version: ussuri
131       state: APPLIED
132       timestamp: "2021-09-08 17:01:01.828834"
133     orchestration:
134       controller_version: 0.5.3.dev12
135       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
136       openstack_version: ussuri
137       state: APPLIED
138       timestamp: "2021-09-08 17:01:02.846671"
139     placement:
140       controller_version: 0.5.3.dev12
141       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
142       openstack_version: ussuri
143       state: APPLIED
144       timestamp: "2021-09-08 17:00:58.039210"
145     redis:
146       controller_version: 0.5.3.dev12
147       fingerprint: a112a4a7d00c0b5b79e69a2c78c3b50b0caca76a15fe7d79a6ad1305b19ee5ec
148       openstack_version: ussuri
149       state: APPLIED
150       timestamp: "2021-09-08 17:00:36.562673"

Health structure

The health subsection provides a brief output on services health.

OsDpl structure

The osdpl subsection describes the overall status of the OpenStack deployment.

OsDpl structure elements

Element

Description

cause

The cause that triggered the LCM action: update when OsDpl is updated, resume when the OpenStack Controller is restarted

changes

A string representation of changes in the OpenstackDeployment object

controller_version

The version of openstack-controller that handles the LCM action

fingerprint

The SHA sum of the OpenStackDeployment object spec section

openstack_version

The current OpenStack version specified in the osdpl object

state

The current state of the LCM action. Possible values include:

  • APPLYING - not all operations are completed

  • APPLIED - all operations are completed

timestamp

The timestamp of the status:osdpl section update

Services structure

The services subsection provides detailed information of LCM performed with a specific service. This is a dictionary where keys are service names, for example, baremetal or compute and values are dictionaries with the following items.

Services structure elements

Element

Description

controller_version

The version of the openstack-controller that handles the LCM action on a specific service

fingerprint

The SHA sum of the OpenStackDeployment object spec section used when performing the LCM on a specific service

openstack_version

The OpenStack version specified in the osdpl object used when performing the LCM action on a specific service

state

The current state of the LCM action performed on a service. Possible values include:

  • WAITING - waiting for dependencies.

  • APPLYING - not all operations are completed.

  • APPLIED - all operations are completed.

timestamp

The timestamp of the status:services:<SERVICE-NAME> section update.