Name:             keystone-3b31-account-create-6b2rb
Namespace:        manila-kuttl-tests
Priority:         0
Service Account:  galera-openstack
Node:             crc/192.168.126.11
Start Time:       Thu, 02 Oct 2025 09:37:16 +0000
Labels:           batch.kubernetes.io/controller-uid=9f3034c8-54aa-46a0-9969-56bee19018c6
                  batch.kubernetes.io/job-name=keystone-3b31-account-create
                  controller-uid=9f3034c8-54aa-46a0-9969-56bee19018c6
                  job-name=keystone-3b31-account-create
Annotations:      k8s.ovn.org/pod-networks:
                    {"default":{"ip_addresses":["10.217.0.80/23"],"mac_address":"0a:58:0a:d9:00:50","gateway_ips":["10.217.0.1"],"routes":[{"dest":"10.217.0.0...
                  k8s.v1.cni.cncf.io/network-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "10.217.0.80"
                        ],
                        "mac": "0a:58:0a:d9:00:50",
                        "default": true,
                        "dns": {}
                    }]
                  openshift.io/scc: anyuid
Status:           Succeeded
IP:               10.217.0.80
IPs:
  IP:           10.217.0.80
Controlled By:  Job/keystone-3b31-account-create
Containers:
  mariadb-account-create:
    Container ID:  cri-o://f7783373dd044d488c91fb8464d165dc8af1c849c080c8152443c5dd6b937429
    Image:         quay.io/podified-antelope-centos9/openstack-mariadb@sha256:8498ed720d02ce4e7045f7eb0051b138274cddba9b1e443d11e413da3474d3a3
    Image ID:      quay.io/podified-antelope-centos9/openstack-mariadb@sha256:8498ed720d02ce4e7045f7eb0051b138274cddba9b1e443d11e413da3474d3a3
    Port:          <none>
    Host Port:     <none>
    Command:
      /bin/sh
      -c
      #!/bin/bash
      export DatabasePassword=${DatabasePassword:?"Please specify a DatabasePassword variable."}
      
      mysql -h openstack.manila-kuttl-tests.svc -u root -P 3306 -e "GRANT ALL PRIVILEGES ON keystone.* TO 'keystone_3b31'@'localhost' IDENTIFIED BY '$DatabasePassword';GRANT ALL PRIVILEGES ON keystone.* TO 'keystone_3b31'@'%' IDENTIFIED BY '$DatabasePassword';"
      
      
      # search for the account.  not using SHOW CREATE USER to avoid displaying
      # password hash
      username=$(mysql -h openstack.manila-kuttl-tests.svc -u root -P 3306 -NB -e "select user from mysql.user where user='keystone_3b31' and host='localhost';" )
      
      if [[ ${username} != "keystone_3b31" ]]; then
          exit 1
      fi
      
    State:          Terminated
      Reason:       Completed
      Exit Code:    0
      Started:      Thu, 02 Oct 2025 09:37:27 +0000
      Finished:     Thu, 02 Oct 2025 09:37:27 +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 'keystone-db-secret'>  Optional: false
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-4w6cd (ro)
Conditions:
  Type                        Status
  PodReadyToStartContainers   False 
  Initialized                 True 
  Ready                       False 
  ContainersReady             False 
  PodScheduled                True 
Volumes:
  kube-api-access-4w6cd:
    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       3m20s  default-scheduler  Successfully assigned manila-kuttl-tests/keystone-3b31-account-create-6b2rb to crc
  Normal  AddedInterface  3m9s   multus             Add eth0 [10.217.0.80/23] from ovn-kubernetes
  Normal  Pulled          3m9s   kubelet            Container image "quay.io/podified-antelope-centos9/openstack-mariadb@sha256:8498ed720d02ce4e7045f7eb0051b138274cddba9b1e443d11e413da3474d3a3" already present on machine
  Normal  Created         3m9s   kubelet            Created container mariadb-account-create
  Normal  Started         3m9s   kubelet            Started container mariadb-account-create
