apiVersion: v1
kind: Pod
metadata:
  annotations:
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-02-26T17:22:50Z"
  finalizers:
  - batch.kubernetes.io/job-tracking
  generateName: senlin-db-sync-
  labels:
    application: senlin
    batch.kubernetes.io/controller-uid: 70cc4d9d-81f9-4124-871c-0bb0259df6fd
    batch.kubernetes.io/job-name: senlin-db-sync
    component: db-sync
    controller-uid: 70cc4d9d-81f9-4124-871c-0bb0259df6fd
    job-name: senlin-db-sync
    release_group: senlin
  name: senlin-db-sync-rmqkw
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: senlin-db-sync
    uid: 70cc4d9d-81f9-4124-871c-0bb0259df6fd
  resourceVersion: "18444"
  uid: a815da8b-2afa-42cf-a11d-b7c39a03581a
spec:
  containers:
  - command:
    - /bin/bash
    - -c
    - /tmp/db-sync.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:15f1fc8e7c7470a78a32e108446824c87ff8ca30c806e293153ab676d4fb4788
    imagePullPolicy: IfNotPresent
    name: senlin-db-sync
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/db-sync.sh
      name: db-sync-sh
      readOnly: true
      subPath: db-sync.sh
    - mountPath: /etc/senlin
      name: etc-service
    - mountPath: /etc/senlin/senlin.conf
      name: db-sync-conf
      readOnly: true
      subPath: senlin.conf
    - mountPath: /etc/senlin/logging.conf
      name: db-sync-conf
      readOnly: true
      subPath: logging.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-kqj6k
      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_JOBS
      value: senlin-db-init
    - 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-kqj6k
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: senlin-db-sync
  serviceAccountName: senlin-db-sync
  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: senlin-bin
    name: db-sync-sh
  - emptyDir: {}
    name: etc-service
  - name: db-sync-conf
    secret:
      defaultMode: 292
      secretName: senlin-etc
  - name: kube-api-access-kqj6k
    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-02-26T17:22:54Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-26T17:28:56Z"
    message: 'containers with unready status: [senlin-db-sync]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-26T17:28:56Z"
    message: 'containers with unready status: [senlin-db-sync]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-26T17:22:50Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://0079d3cf2e4aaa5a55b85be7f576d646a6cdff31d446832ab93781f05a34a636
    image: sha256:c5011992493b4902f51d9cd02ed3160ebc11ae0477c9a8ddcced0db3da9870d6
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:15f1fc8e7c7470a78a32e108446824c87ff8ca30c806e293153ab676d4fb4788
    lastState:
      terminated:
        containerID: containerd://0079d3cf2e4aaa5a55b85be7f576d646a6cdff31d446832ab93781f05a34a636
        exitCode: 1
        finishedAt: "2026-02-26T17:28:55Z"
        reason: Error
        startedAt: "2026-02-26T17:28:53Z"
    name: senlin-db-sync
    ready: false
    restartCount: 6
    started: false
    state:
      waiting:
        message: back-off 5m0s restarting failed container=senlin-db-sync pod=senlin-db-sync-rmqkw_openstack(a815da8b-2afa-42cf-a11d-b7c39a03581a)
        reason: CrashLoopBackOff
  hostIP: 162.253.55.52
  initContainerStatuses:
  - containerID: containerd://0d6e317b0e87d009c3d51337cc213c52a2b6e45814b2457c72ce6d9b9258b169
    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://0d6e317b0e87d009c3d51337cc213c52a2b6e45814b2457c72ce6d9b9258b169
        exitCode: 0
        finishedAt: "2026-02-26T17:22:53Z"
        reason: Completed
        startedAt: "2026-02-26T17:22:51Z"
  phase: Running
  podIP: 10.0.0.87
  podIPs:
  - ip: 10.0.0.87
  qosClass: BestEffort
  startTime: "2026-02-26T17:22:50Z"
