Name:             glance-dd2e-account-create-r4b4c
Namespace:        glance-kuttl-tests
Priority:         0
Service Account:  galera-openstack
Node:             crc/192.168.126.11
Start Time:       Sat, 22 Nov 2025 03:52:58 +0000
Labels:           batch.kubernetes.io/controller-uid=bb0c50c4-cb23-42b3-a5fe-4e4a5d3f1b0f
                  batch.kubernetes.io/job-name=glance-dd2e-account-create
                  controller-uid=bb0c50c4-cb23-42b3-a5fe-4e4a5d3f1b0f
                  job-name=glance-dd2e-account-create
Annotations:      k8s.ovn.org/pod-networks:
                    {"default":{"ip_addresses":["10.217.0.111/23"],"mac_address":"0a:58:0a:d9:00:6f","gateway_ips":["10.217.0.1"],"routes":[{"dest":"10.217.0....
                  k8s.v1.cni.cncf.io/network-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "10.217.0.111"
                        ],
                        "mac": "0a:58:0a:d9:00:6f",
                        "default": true,
                        "dns": {}
                    }]
                  openshift.io/scc: anyuid
Status:           Succeeded
IP:               10.217.0.111
IPs:
  IP:           10.217.0.111
Controlled By:  Job/glance-dd2e-account-create
Containers:
  mariadb-account-create:
    Container ID:  cri-o://33eefe1b76b27cf9d1310e91ef2e9d9026ee236db54acee1f40809ea71bf4ced
    Image:         quay.io/podified-antelope-centos9/openstack-mariadb@sha256:d0aee837871a9ef85dba47cac91188541681de2d6f000759f7b6d9658de0b2e0
    Image ID:      quay.io/podified-antelope-centos9/openstack-mariadb@sha256:d0aee837871a9ef85dba47cac91188541681de2d6f000759f7b6d9658de0b2e0
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/sh
      -c
      #!/bin/bash
      export DatabasePassword=${DatabasePassword:?"Please specify a DatabasePassword variable."}
      
      mysql -h openstack.glance-kuttl-tests.svc -u root -P 3306 -e "GRANT ALL PRIVILEGES ON glance.* TO 'glance_dd2e'@'localhost' IDENTIFIED BY '$DatabasePassword';GRANT ALL PRIVILEGES ON glance.* TO 'glance_dd2e'@'%' IDENTIFIED BY '$DatabasePassword';"
      
      
      # search for the account.  not using SHOW CREATE USER to avoid displaying
      # password hash
      username=$(mysql -h openstack.glance-kuttl-tests.svc -u root -P 3306 -NB -e "select user from mysql.user where user='glance_dd2e' and host='localhost';" )
      
      if [[ ${username} != "glance_dd2e" ]]; then
          exit 1
      fi
      
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Sat, 22 Nov 2025 03:52:59 +0000
      Finished:     Sat, 22 Nov 2025 03:52:59 +0000
    Ready:          False
    Restart Count:  0
    Environment:
      MYSQL_PWD:         <set to the key 'DbRootPassword' in secret 'osp-secret'>          Optional: false
      DatabasePassword:  <set to the key 'DatabasePassword' in secret 'glance-db-secret'>  Optional: false
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-n9gc6 (ro)
Conditions:
  Type                        Status
  PodReadyToStartContainers   False 
  Initialized                 True 
  Ready                       False 
  ContainersReady             False 
  PodScheduled                True 
Volumes:
  kube-api-access-n9gc6:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
    ConfigMapName:           openshift-service-ca.crt
    ConfigMapOptional:       <nil>
QoS Class:                   BestEffort
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason          Age    From               Message
  ----    ------          ----   ----               -------
  Normal  Scheduled       9m40s  default-scheduler  Successfully assigned glance-kuttl-tests/glance-dd2e-account-create-r4b4c to crc
  Normal  AddedInterface  9m39s  multus             Add eth0 [10.217.0.111/23] from ovn-kubernetes
  Normal  Pulled          9m39s  kubelet            Container image "quay.io/podified-antelope-centos9/openstack-mariadb@sha256:d0aee837871a9ef85dba47cac91188541681de2d6f000759f7b6d9658de0b2e0" already present on machine
  Normal  Created         9m39s  kubelet            Created container mariadb-account-create
  Normal  Started         9m39s  kubelet            Started container mariadb-account-create
