apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-22T18:57:22Z"
  generateName: nova-db-init-
  labels:
    application: nova
    batch.kubernetes.io/controller-uid: 52b1858b-ede6-4065-a917-42c1a432c17f
    batch.kubernetes.io/job-name: nova-db-init
    component: db-init
    controller-uid: 52b1858b-ede6-4065-a917-42c1a432c17f
    job-name: nova-db-init
    release_group: nova
  name: nova-db-init-qkjh2
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: nova-db-init
    uid: 52b1858b-ede6-4065-a917-42c1a432c17f
  resourceVersion: "14901"
  uid: 3394a039-5fc5-4bf7-bc0b-a8789755a504
spec:
  containers:
  - command:
    - /tmp/db-init.py
    env:
    - name: ROOT_DB_CONNECTION
      valueFrom:
        secretKeyRef:
          key: DB_CONNECTION
          name: nova-db-admin
    - name: OPENSTACK_CONFIG_FILE
      value: /etc/nova/nova.conf
    - name: OPENSTACK_CONFIG_DB_SECTION
      value: database
    - name: OPENSTACK_CONFIG_DB_KEY
      value: connection
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2024.2@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    imagePullPolicy: IfNotPresent
    name: nova-db-init-0
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/db-init.py
      name: db-init-sh
      readOnly: true
      subPath: db-init.py
    - mountPath: /etc/nova
      name: etc-service
    - mountPath: /etc/nova/nova.conf
      name: db-init-conf
      readOnly: true
      subPath: nova.conf
    - mountPath: /etc/nova/logging.conf
      name: db-init-conf
      readOnly: true
      subPath: logging.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-6xkxw
      readOnly: true
  - command:
    - /tmp/db-init.py
    env:
    - name: ROOT_DB_CONNECTION
      valueFrom:
        secretKeyRef:
          key: DB_CONNECTION
          name: nova-db-admin
    - name: OPENSTACK_CONFIG_FILE
      value: /etc/nova/nova.conf
    - name: OPENSTACK_CONFIG_DB_SECTION
      value: api_database
    - name: OPENSTACK_CONFIG_DB_KEY
      value: connection
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2024.2@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    imagePullPolicy: IfNotPresent
    name: nova-db-init-1
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/db-init.py
      name: db-init-sh
      readOnly: true
      subPath: db-init.py
    - mountPath: /etc/nova
      name: etc-service
    - mountPath: /etc/nova/nova.conf
      name: db-init-conf
      readOnly: true
      subPath: nova.conf
    - mountPath: /etc/nova/logging.conf
      name: db-init-conf
      readOnly: true
      subPath: logging.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-6xkxw
      readOnly: true
  - command:
    - /tmp/db-init.py
    env:
    - name: ROOT_DB_CONNECTION
      valueFrom:
        secretKeyRef:
          key: DB_CONNECTION
          name: nova-db-admin
    - name: OPENSTACK_CONFIG_FILE
      value: /etc/nova/nova.conf
    - name: OPENSTACK_CONFIG_DB_SECTION
      value: cell0_database
    - name: OPENSTACK_CONFIG_DB_KEY
      value: connection
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/heat:2024.2@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    imagePullPolicy: IfNotPresent
    name: nova-db-init-2
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/db-init.py
      name: db-init-sh
      readOnly: true
      subPath: db-init.py
    - mountPath: /etc/nova
      name: etc-service
    - mountPath: /etc/nova/nova.conf
      name: db-init-conf
      readOnly: true
      subPath: nova.conf
    - mountPath: /etc/nova/logging.conf
      name: db-init-conf
      readOnly: true
      subPath: logging.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-6xkxw
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
      value: openstack:percona-xtradb-haproxy
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-6xkxw
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: nova-db-init
  serviceAccountName: nova-db-init
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: pod-tmp
  - configMap:
      defaultMode: 365
      name: nova-bin
    name: db-init-sh
  - emptyDir: {}
    name: etc-service
  - name: db-init-conf
    secret:
      defaultMode: 292
      secretName: nova-etc
  - name: kube-api-access-6xkxw
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T18:57:27Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T18:57:29Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T18:57:29Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T18:57:22Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d06d126568a5fb474eedd13abc0775afbbafe768a85cb35012199e3a47099c3f
    image: sha256:7e3a6022bde0b43949695f7ef785fa790eb5ff22f0ef52de240df3619bc7d112
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    lastState: {}
    name: nova-db-init-0
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d06d126568a5fb474eedd13abc0775afbbafe768a85cb35012199e3a47099c3f
        exitCode: 0
        finishedAt: "2026-04-22T18:57:28Z"
        reason: Completed
        startedAt: "2026-04-22T18:57:27Z"
  - containerID: containerd://e5c1a0339d2d382761dec7989d7bdb7bffc596edfffe69df4656bc6fbfcb5e63
    image: sha256:7e3a6022bde0b43949695f7ef785fa790eb5ff22f0ef52de240df3619bc7d112
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    lastState: {}
    name: nova-db-init-1
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://e5c1a0339d2d382761dec7989d7bdb7bffc596edfffe69df4656bc6fbfcb5e63
        exitCode: 0
        finishedAt: "2026-04-22T18:57:28Z"
        reason: Completed
        startedAt: "2026-04-22T18:57:27Z"
  - containerID: containerd://e09bc023c7c125c3d1b745af5ee384ffdf08b3cf5008a25cbddcda3f3d2ccedb
    image: sha256:7e3a6022bde0b43949695f7ef785fa790eb5ff22f0ef52de240df3619bc7d112
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/heat@sha256:a7bea0c3098cdcde5c745973be516f5f9612d74c59a71c33aee475aff8ec361e
    lastState: {}
    name: nova-db-init-2
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://e09bc023c7c125c3d1b745af5ee384ffdf08b3cf5008a25cbddcda3f3d2ccedb
        exitCode: 0
        finishedAt: "2026-04-22T18:57:28Z"
        reason: Completed
        startedAt: "2026-04-22T18:57:27Z"
  hostIP: 199.19.213.236
  initContainerStatuses:
  - containerID: containerd://93e997574270911362051f425731e5261993252971e76f6a74c1feac731d4018
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://93e997574270911362051f425731e5261993252971e76f6a74c1feac731d4018
        exitCode: 0
        finishedAt: "2026-04-22T18:57:26Z"
        reason: Completed
        startedAt: "2026-04-22T18:57:24Z"
  phase: Succeeded
  podIP: 10.0.0.28
  podIPs:
  - ip: 10.0.0.28
  qosClass: BestEffort
  startTime: "2026-04-22T18:57:22Z"
