--- apiVersion: batch/v1 items: - apiVersion: batch/v1 kind: Job metadata: annotations: hash: n56bh59dh677hc6hb8h68bh64h664h65ch5d6hf9h56fh5bdhdch5d9hc6h685h57bh8fh574h667hd9h5d4h656h646h588h5b8h57bh5b9hc8h548h5f4q creationTimestamp: "2026-02-23T13:28:24Z" generation: 1 labels: service: cinder managedFields: - apiVersion: batch/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:hash: {} f:labels: .: {} f:service: {} f:ownerReferences: .: {} k:{"uid":"dddceafe-3173-4c82-adfb-b6d4af47eeb2"}: {} f:spec: f:backoffLimit: {} f:completionMode: {} f:completions: {} f:manualSelector: {} f:parallelism: {} f:podReplacementPolicy: {} f:suspend: {} f:template: f:metadata: f:annotations: .: {} f:k8s.v1.cni.cncf.io/networks: {} f:spec: f:containers: k:{"name":"cinder-083a9-db-sync"}: .: {} f:args: {} f:command: {} f:env: .: {} k:{"name":"KOLLA_BOOTSTRAP"}: .: {} f:name: {} f:value: {} k:{"name":"KOLLA_CONFIG_STRATEGY"}: .: {} f:name: {} f:value: {} f:image: {} f:imagePullPolicy: {} f:name: {} f:resources: {} f:securityContext: .: {} f:runAsUser: {} f:terminationMessagePath: {} f:terminationMessagePolicy: {} f:volumeMounts: .: {} k:{"mountPath":"/etc/cinder/cinder.conf.d"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} k:{"mountPath":"/etc/machine-id"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} k:{"mountPath":"/etc/my.cnf"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} f:subPath: {} k:{"mountPath":"/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} f:subPath: {} k:{"mountPath":"/usr/local/bin/container-scripts"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} k:{"mountPath":"/var/lib/config-data/merged"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} k:{"mountPath":"/var/lib/kolla/config_files/config.json"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} f:subPath: {} f:dnsPolicy: {} f:restartPolicy: {} f:schedulerName: {} f:securityContext: {} f:serviceAccount: {} f:serviceAccountName: {} f:terminationGracePeriodSeconds: {} f:volumes: .: {} k:{"name":"combined-ca-bundle"}: .: {} f:name: {} f:secret: .: {} f:defaultMode: {} f:secretName: {} k:{"name":"config-data"}: .: {} f:name: {} f:secret: .: {} f:defaultMode: {} f:secretName: {} k:{"name":"db-sync-config-data"}: .: {} f:name: {} f:secret: .: {} f:defaultMode: {} f:items: {} f:secretName: {} k:{"name":"etc-machine-id"}: .: {} f:hostPath: .: {} f:path: {} f:type: {} f:name: {} k:{"name":"scripts"}: .: {} f:name: {} f:secret: .: {} f:defaultMode: {} f:secretName: {} f:ttlSecondsAfterFinished: {} manager: manager operation: Update time: "2026-02-23T13:28:24Z" - apiVersion: batch/v1 fieldsType: FieldsV1 fieldsV1: f:status: f:completionTime: {} f:conditions: {} f:ready: {} f:startTime: {} f:succeeded: {} f:terminating: {} f:uncountedTerminatedPods: {} manager: kube-controller-manager operation: Update subresource: status time: "2026-02-23T13:28:59Z" name: cinder-083a9-db-sync namespace: openstack ownerReferences: - apiVersion: cinder.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: Cinder name: cinder-083a9 uid: dddceafe-3173-4c82-adfb-b6d4af47eeb2 resourceVersion: "30516" uid: 3182bc4c-4e56-4103-ade8-02a7c90a4827 spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: 3182bc4c-4e56-4103-ade8-02a7c90a4827 suspend: false template: metadata: annotations: k8s.v1.cni.cncf.io/networks: '[]' creationTimestamp: null labels: batch.kubernetes.io/controller-uid: 3182bc4c-4e56-4103-ade8-02a7c90a4827 batch.kubernetes.io/job-name: cinder-083a9-db-sync controller-uid: 3182bc4c-4e56-4103-ade8-02a7c90a4827 job-name: cinder-083a9-db-sync spec: containers: - args: - -c - /usr/local/bin/kolla_set_configs && /usr/local/bin/kolla_start command: - /bin/bash env: - name: KOLLA_BOOTSTRAP value: "TRUE" - name: KOLLA_CONFIG_STRATEGY value: COPY_ALWAYS image: quay.io/podified-antelope-centos9/openstack-cinder-api@sha256:76b63ab76a2865b38e0fc61c5800b33683b6bd2f6b77eb1c791aad230bbebead imagePullPolicy: IfNotPresent name: cinder-083a9-db-sync resources: {} securityContext: runAsUser: 0 terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /etc/machine-id name: etc-machine-id readOnly: true - mountPath: /usr/local/bin/container-scripts name: scripts readOnly: true - mountPath: /var/lib/config-data/merged name: config-data readOnly: true - mountPath: /etc/my.cnf name: config-data readOnly: true subPath: my.cnf - mountPath: /etc/cinder/cinder.conf.d name: db-sync-config-data readOnly: true - mountPath: /var/lib/kolla/config_files/config.json name: config-data readOnly: true subPath: db-sync-config.json - mountPath: /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem name: combined-ca-bundle readOnly: true subPath: tls-ca-bundle.pem dnsPolicy: ClusterFirst restartPolicy: OnFailure schedulerName: default-scheduler securityContext: {} serviceAccount: cinder-cinder-083a9 serviceAccountName: cinder-cinder-083a9 terminationGracePeriodSeconds: 30 volumes: - hostPath: path: /etc/machine-id type: "" name: etc-machine-id - name: scripts secret: defaultMode: 493 secretName: cinder-083a9-scripts - name: config-data secret: defaultMode: 420 secretName: cinder-083a9-config-data - name: db-sync-config-data secret: defaultMode: 420 items: - key: 00-global-defaults.conf path: 00-global-defaults.conf - key: 02-global-custom.conf path: 02-global-custom.conf secretName: cinder-083a9-config-data - name: combined-ca-bundle secret: defaultMode: 292 secretName: combined-ca-bundle ttlSecondsAfterFinished: 600 status: completionTime: "2026-02-23T13:28:59Z" conditions: - lastProbeTime: "2026-02-23T13:28:59Z" lastTransitionTime: "2026-02-23T13:28:59Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: SuccessCriteriaMet - lastProbeTime: "2026-02-23T13:28:59Z" lastTransitionTime: "2026-02-23T13:28:59Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: Complete ready: 0 startTime: "2026-02-23T13:28:24Z" succeeded: 1 terminating: 0 uncountedTerminatedPods: {} - apiVersion: batch/v1 kind: Job metadata: annotations: hash: n64bh77h545h675h575h694h66fh556h7hfh697h5d5h5dbh567h56fh675h5f5h57bh7ch5b9h5c4h694hfch649h666h68fh56bh9bhd6h576h546h84q creationTimestamp: "2026-02-23T13:28:11Z" generation: 1 labels: app: mariadbschema cr: cinder_81ea owner: mariadb-operator managedFields: - apiVersion: batch/v1 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:hash: {} f:labels: .: {} f:app: {} f:cr: {} f:owner: {} f:ownerReferences: .: {} k:{"uid":"ecdc2642-965d-403e-9eb8-f1ac2ac3bde8"}: {} f:spec: f:backoffLimit: {} f:completionMode: {} f:completions: {} f:manualSelector: {} f:parallelism: {} f:podReplacementPolicy: {} f:suspend: {} f:template: f:spec: f:containers: k:{"name":"mariadb-account-create-update"}: .: {} f:command: {} f:env: .: {} k:{"name":"DatabasePassword"}: .: {} f:name: {} f:valueFrom: .: {} f:secretKeyRef: {} f:image: {} f:imagePullPolicy: {} f:name: {} f:resources: {} f:terminationMessagePath: {} f:terminationMessagePolicy: {} f:volumeMounts: .: {} k:{"mountPath":"/var/lib/operator-scripts"}: .: {} f:mountPath: {} f:name: {} f:readOnly: {} f:dnsPolicy: {} f:restartPolicy: {} f:schedulerName: {} f:securityContext: {} f:serviceAccount: {} f:serviceAccountName: {} f:terminationGracePeriodSeconds: {} f:volumes: .: {} k:{"name":"operator-scripts"}: .: {} f:configMap: .: {} f:defaultMode: {} f:items: {} f:name: {} f:name: {} f:ttlSecondsAfterFinished: {} manager: manager operation: Update time: "2026-02-23T13:28:11Z" - apiVersion: batch/v1 fieldsType: FieldsV1 fieldsV1: f:status: f:completionTime: {} f:conditions: {} f:ready: {} f:startTime: {} f:succeeded: {} f:terminating: {} f:uncountedTerminatedPods: {} manager: kube-controller-manager operation: Update subresource: status time: "2026-02-23T13:28:17Z" name: cinder-81ea-account-create-update namespace: openstack ownerReferences: - apiVersion: mariadb.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: MariaDBAccount name: cinder uid: ecdc2642-965d-403e-9eb8-f1ac2ac3bde8 resourceVersion: "29151" uid: 11c41007-a44c-4d85-9641-85377c33769c spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: 11c41007-a44c-4d85-9641-85377c33769c suspend: false template: metadata: creationTimestamp: null labels: batch.kubernetes.io/controller-uid: 11c41007-a44c-4d85-9641-85377c33769c batch.kubernetes.io/job-name: cinder-81ea-account-create-update controller-uid: 11c41007-a44c-4d85-9641-85377c33769c job-name: cinder-81ea-account-create-update spec: containers: - command: - /bin/sh - -c - | #!/bin/bash MYSQL_REMOTE_HOST="openstack.openstack.svc" source /var/lib/operator-scripts/mysql_root_auth.sh export DatabasePassword=${DatabasePassword:?"Please specify a DatabasePassword variable."} MYSQL_CMD="mysql -h openstack.openstack.svc -u root -P 3306" if [ -n "cinder" ]; then GRANT_DATABASE="cinder" else GRANT_DATABASE="*" fi # going for maximum compatibility here: # 1. MySQL 8 no longer allows implicit create user when GRANT is used # 2. MariaDB has "CREATE OR REPLACE", but MySQL does not # 3. create user with CREATE but then do all password and TLS with ALTER to # support updates $MYSQL_CMD <