--- apiVersion: batch/v1 items: - apiVersion: batch/v1 kind: Job metadata: annotations: hash: nd5h8dh7dh8fh665h669h666hc6h5f9h54h59bhc4h669h576h5cch5cbhd8h9dh7hdfh658h697h599h555h85h97hc6h5cch578h565h7dh6q creationTimestamp: "2026-03-13T01:45: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":"e6c9b0ac-e616-47f1-911e-171b0eb86b5f"}: {} 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-051b7-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-13T01:45: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-13T01:45:47Z" name: cinder-051b7-db-sync namespace: openstack ownerReferences: - apiVersion: cinder.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: Cinder name: cinder-051b7 uid: e6c9b0ac-e616-47f1-911e-171b0eb86b5f resourceVersion: "31018" uid: 68865ee8-20fc-4561-a070-529e10f1af02 spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: 68865ee8-20fc-4561-a070-529e10f1af02 suspend: false template: metadata: annotations: k8s.v1.cni.cncf.io/networks: '[]' creationTimestamp: null labels: batch.kubernetes.io/controller-uid: 68865ee8-20fc-4561-a070-529e10f1af02 batch.kubernetes.io/job-name: cinder-051b7-db-sync controller-uid: 68865ee8-20fc-4561-a070-529e10f1af02 job-name: cinder-051b7-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-051b7-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-051b7 serviceAccountName: cinder-cinder-051b7 terminationGracePeriodSeconds: 30 volumes: - hostPath: path: /etc/machine-id type: "" name: etc-machine-id - name: scripts secret: defaultMode: 493 secretName: cinder-051b7-scripts - name: config-data secret: defaultMode: 420 secretName: cinder-051b7-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-051b7-config-data - name: combined-ca-bundle secret: defaultMode: 292 secretName: combined-ca-bundle ttlSecondsAfterFinished: 600 status: completionTime: "2026-03-13T01:45:47Z" conditions: - lastProbeTime: "2026-03-13T01:45:47Z" lastTransitionTime: "2026-03-13T01:45:47Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: SuccessCriteriaMet - lastProbeTime: "2026-03-13T01:45:47Z" lastTransitionTime: "2026-03-13T01:45:47Z" message: Reached expected number of succeeded pods reason: CompletionsReached status: "True" type: Complete ready: 0 startTime: "2026-03-13T01:45:06Z" succeeded: 1 terminating: 0 uncountedTerminatedPods: {} - apiVersion: batch/v1 kind: Job metadata: annotations: hash: nd5h5d5h55fhb4h7ch56ch5c7h558h68bh646h59dh5f4hbbh5fch678h59bhf4h658h5bdh55ch5f6h674h674h55bh74hffh9bh66h5b7hffhf8hf4q creationTimestamp: "2026-03-13T01:45:06Z" generation: 1 labels: app: mariadbschema cr: ironic_7dab 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":"bfdd48fc-dfa5-435e-835c-90b1821c26e9"}: {} 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-13T01:45: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-13T01:45:12Z" name: ironic-7dab-account-create-update namespace: openstack ownerReferences: - apiVersion: mariadb.openstack.org/v1beta1 blockOwnerDeletion: true controller: true kind: MariaDBAccount name: ironic uid: bfdd48fc-dfa5-435e-835c-90b1821c26e9 resourceVersion: "30094" uid: fa2a37d2-e8ec-42ec-8a28-871e9aea46f0 spec: backoffLimit: 6 completionMode: NonIndexed completions: 1 manualSelector: false parallelism: 1 podReplacementPolicy: TerminatingOrFailed selector: matchLabels: batch.kubernetes.io/controller-uid: fa2a37d2-e8ec-42ec-8a28-871e9aea46f0 suspend: false template: metadata: creationTimestamp: null labels: batch.kubernetes.io/controller-uid: fa2a37d2-e8ec-42ec-8a28-871e9aea46f0 batch.kubernetes.io/job-name: ironic-7dab-account-create-update controller-uid: fa2a37d2-e8ec-42ec-8a28-871e9aea46f0 job-name: ironic-7dab-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 "ironic" ]; then GRANT_DATABASE="ironic" 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 <