--- apiVersion: batch/v1 items: - apiVersion: batch/v1 kind: Job metadata: annotations: hash: nc9h97h56ch8ch5f8h5cch67dh567hd9hfdh57bhc8h66fh575hdbh5c7h59ch5c4h5fch5cbhbfhcch684h69h665hfbh67bh54h5bbh5d8h577h5d9q creationTimestamp: "2026-03-18T13:43:06Z" 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":"b8efc04d-0032-4f22-aa11-807f7d9d77d2"}: {} 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-07518-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-03-18T13:43:06Z" - 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-03-18T13:43:46Z" name: cinder-07518-db-sync namespace: openstack ownerReferences: - apiVersion: cinder.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: Cinder name: cinder-07518 uid: b8efc04d-0032-4f22-aa11-807f7d9d77d2 resourceVersion: "32921" uid: d041f46e-b13c-4cce-9d7d-f41293dd7754 spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: d041f46e-b13c-4cce-9d7d-f41293dd7754 suspend: false template: metadata: annotations: k8s.v1.cni.cncf.io/networks: '[]' creationTimestamp: null labels: batch.kubernetes.io/controller-uid: d041f46e-b13c-4cce-9d7d-f41293dd7754 batch.kubernetes.io/job-name: cinder-07518-db-sync controller-uid: d041f46e-b13c-4cce-9d7d-f41293dd7754 job-name: cinder-07518-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:574a17f0877c175128a764f2b37fc02456649c8514689125718ce6ca974bfb6b imagePullPolicy: IfNotPresent name: cinder-07518-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-07518 serviceAccountName: cinder-cinder-07518 terminationGracePeriodSeconds: 30 volumes: - hostPath: path: /etc/machine-id type: "" name: etc-machine-id - name: scripts secret: defaultMode: 493 secretName: cinder-07518-scripts - name: config-data secret: defaultMode: 420 secretName: cinder-07518-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-07518-config-data - name: combined-ca-bundle secret: defaultMode: 292 secretName: combined-ca-bundle ttlSecondsAfterFinished: 600 status: completionTime: "2026-03-18T13:43:46Z" conditions: - lastProbeTime: "2026-03-18T13:43:46Z" lastTransitionTime: "2026-03-18T13:43:46Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: SuccessCriteriaMet - lastProbeTime: "2026-03-18T13:43:46Z" lastTransitionTime: "2026-03-18T13:43:46Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: Complete ready: 0 startTime: "2026-03-18T13:43:06Z" succeeded: 1 terminating: 0 uncountedTerminatedPods: {} - apiVersion: batch/v1 kind: Job metadata: annotations: hash: n5b7h9h666h675hd4hcch77h577h5f5h96h9fhf5h68fh694h575hdch99h5c7h7fh8ch5bbhcch666h556h57dh56h8dhd6h558h5fbh668h59bq creationTimestamp: "2026-03-18T13:42:50Z" generation: 1 labels: app: mariadbschema cr: cinder_cb39 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":"f0539cf2-661f-4be1-917e-05a2d8165e9a"}: {} 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-03-18T13:42:50Z" - 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-03-18T13:42:56Z" name: cinder-cb39-account-create-update namespace: openstack ownerReferences: - apiVersion: mariadb.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: MariaDBAccount name: cinder uid: f0539cf2-661f-4be1-917e-05a2d8165e9a resourceVersion: "31217" uid: b1016f31-ebf3-444d-9608-d89d9243e0ea spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: b1016f31-ebf3-444d-9608-d89d9243e0ea suspend: false template: metadata: creationTimestamp: null labels: batch.kubernetes.io/controller-uid: b1016f31-ebf3-444d-9608-d89d9243e0ea batch.kubernetes.io/job-name: cinder-cb39-account-create-update controller-uid: b1016f31-ebf3-444d-9608-d89d9243e0ea job-name: cinder-cb39-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 <