~/src/github.com/openstack-k8s-operators/install_yamls ~/ci-framework-data/artifacts error: the server doesn't have a resource type "openstackversion" bash scripts/validate-marketplace.sh + '[' -z 500s ']' + OPERATOR_NAMESPACE=openshift-marketplace + oc get pods -n openshift-marketplace + grep CrashLoopBackOff + '[' 1 -eq 0 ']' + OPERATORS='openshift-cert-manager-operator kubernetes-nmstate-operator metallb-operator' + for operator in $OPERATORS + n=0 + retries=20 + true + oc get packagemanifests -n openshift-marketplace + grep openshift-cert-manager-operator openshift-cert-manager-operator Red Hat Operators 222d + '[' 0 -eq 0 ']' + break + for operator in $OPERATORS + n=0 + retries=20 + true + oc get packagemanifests -n openshift-marketplace + grep kubernetes-nmstate-operator kubernetes-nmstate-operator Red Hat Operators 222d + '[' 0 -eq 0 ']' + break + for operator in $OPERATORS + n=0 + retries=20 + true + grep metallb-operator + oc get packagemanifests -n openshift-marketplace metallb-operator Red Hat Operators 222d + '[' 0 -eq 0 ']' + break bash scripts/gen-namespace.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests ']' + '[' -z metallb-system ']' + OUT_DIR=/home/zuul/ci-framework-data/artifacts/manifests/metallb-system + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/metallb-system ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/metallb-system + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/namespace.yaml namespace/metallb-system created timeout 500s bash -c "while ! (oc get project.v1.project.openshift.io metallb-system); do sleep 1; done" NAME DISPLAY NAME STATUS metallb-system Active bash scripts/gen-olm-metallb.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op + echo DEPLOY_DIR /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr DEPLOY_DIR /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr + echo INTERFACE INTERFACE + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op operatorgroup.operators.coreos.com/metallb-operator created subscription.operators.coreos.com/metallb-operator-sub created timeout 500s bash -c "while ! (oc get pod --no-headers=true -l control-plane=controller-manager -n metallb-system| grep metallb-operator-controller); do sleep 10; done" No resources found in metallb-system namespace. No resources found in metallb-system namespace. No resources found in metallb-system namespace. No resources found in metallb-system namespace. No resources found in metallb-system namespace. No resources found in metallb-system namespace. metallb-operator-controller-manager-5d89c46689-qqwr8 0/1 ContainerCreating 0 6s oc wait pod -n metallb-system --for condition=Ready -l control-plane=controller-manager --timeout=500s pod/metallb-operator-controller-manager-5d89c46689-qqwr8 condition met timeout 500s bash -c "while ! (oc get pod --no-headers=true -l component=webhook-server -n metallb-system| grep metallb-operator-webhook); do sleep 10; done" metallb-operator-webhook-server-76ff8fdb5c-f46zm 1/1 Running 0 40s oc wait pod -n metallb-system --for condition=Ready -l component=webhook-server --timeout=500s pod/metallb-operator-webhook-server-76ff8fdb5c-f46zm condition met oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/metallb-system/metallb/cr/deploy_operator.yaml metallb.metallb.io/metallb created timeout 500s bash -c "while ! (oc get pod --no-headers=true -l component=speaker -n metallb-system | grep speaker); do sleep 10; done" No resources found in metallb-system namespace. speaker-28v6k 1/2 Running 0 10s oc wait pod -n metallb-system -l component=speaker --for condition=Ready --timeout=500s pod/speaker-28v6k condition met bash scripts/gen-namespace.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests ']' + '[' -z manila-kuttl-tests ']' + OUT_DIR=/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/namespace.yaml namespace/manila-kuttl-tests created timeout 500s bash -c "while ! (oc get project.v1.project.openshift.io manila-kuttl-tests); do sleep 1; done" NAME DISPLAY NAME STATUS manila-kuttl-tests Active oc project manila-kuttl-tests Now using project "manila-kuttl-tests" on server "https://api.crc.testing:6443". bash scripts/gen-input-kustomize.sh + OUT=/home/zuul/ci-framework-data/artifacts/manifests + '[' -z manila-kuttl-tests ']' + '[' -z osp-secret ']' + '[' -z 12345678 ']' + '[' -z 1234567842 ']' + '[' -z 767c3ed056cbaa3b9dfedb8c6f825bf0 ']' + '[' -z sEFmdFjDUqRM2VemYslV5yGNWjokioJXsg8Nrlc3drU= ']' + '[' -z COX8bmlKAWn56XCGMrKQJj7dgHNAOl6f ']' + '[' -z openstack ']' + '[' -z libvirt-secret ']' + DIR=/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input ~/src/github.com/openstack-k8s-operators/install_yamls + cat oc get secret/osp-secret || oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input | oc apply -f - Error from server (NotFound): secrets "osp-secret" not found secret/libvirt-secret created secret/octavia-ca-passphrase created secret/osp-secret created oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists manila;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/heat-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/horizon-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/nova-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr oc rsh openstack-galera-0 mysql -u root --password=12345678 -ss -e "show databases like 'nova_%';" | xargs -I '{}' oc rsh openstack-galera-0 mysql -u root --password=12345678 -ss -e "flush tables; drop database if exists {};" Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator-redis /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/octavia-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists octavia;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/designate-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists designate;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/neutron-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists neutron;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ovn-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ironic-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists ironic;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists ironic_inspector;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/cinder-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists cinder;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/glance-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists glance;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/placement-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists placement;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift: no such file or directory No resources found rm -Rf -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/swift-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/barbican-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists barbican;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/keystone-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists keystone;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/mariadb-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/telemetry-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ceilometer-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists aodh;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr if oc get RabbitmqCluster; then oc delete --ignore-not-found=true RabbitmqCluster --all; fi error: the server doesn't have a resource type "RabbitmqCluster" rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/rabbitmq-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr bash scripts/gen-namespace.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests ']' + '[' -z openstack-operators ']' + OUT_DIR=/home/zuul/ci-framework-data/artifacts/manifests/openstack-operators + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators ']' + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/namespace.yaml Warning: resource namespaces/openstack-operators is missing the kubectl.kubernetes.io/last-applied-configuration annotation which is required by oc apply. oc apply should only be used on resources created declaratively by either oc create --save-config or oc apply. The missing annotation will be patched automatically. namespace/openstack-operators configured timeout 500s bash -c "while ! (oc get project.v1.project.openshift.io openstack-operators); do sleep 1; done" NAME DISPLAY NAME STATUS openstack-operators Active oc project openstack-operators Now using project "openstack-operators" on server "https://api.crc.testing:6443". bash scripts/gen-olm.sh + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' -z quay.io/openstack-k8s-operators/mariadb-operator-index:latest ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op + OPERATOR_CHANNEL=alpha + OPERATOR_SOURCE=mariadb-operator-index + OPERATOR_SOURCE_NAMESPACE=openstack-operators + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op + echo OPERATOR_CHANNEL alpha OPERATOR_CHANNEL alpha + echo OPERATOR_SOURCE mariadb-operator-index OPERATOR_SOURCE mariadb-operator-index + echo OPERATOR_SOURCE_NAMESPACE openstack-operators OPERATOR_SOURCE_NAMESPACE openstack-operators + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op catalogsource.operators.coreos.com/mariadb-operator-index created operatorgroup.operators.coreos.com/openstack created subscription.operators.coreos.com/mariadb-operator created mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/operator /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr bash scripts/clone-operator-repo.sh Cloning repo: git clone -b main https://github.com/openstack-k8s-operators/openstack-operator.git openstack-operator Cloning into 'openstack-operator'... Cloning repo: git clone -b main https://github.com/openstack-k8s-operators/mariadb-operator.git mariadb-operator Cloning into 'mariadb-operator'... Running checkout: git checkout 84fdf59cb2fb Note: switching to '84fdf59cb2fb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 84fdf59 Merge pull request #366 from openstack-k8s-operators/renovate/k8s.io cp /home/zuul/ci-framework-data/artifacts/manifests/operator/mariadb-operator/config/samples/mariadb_v1beta1_galera.yaml /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr bash scripts/gen-service-kustomize.sh +++ dirname scripts/gen-service-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z manila-kuttl-tests ']' + '[' -z Galera ']' + '[' -z osp-secret ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr ']' + '[' -n '' ']' + IMAGE=unused + IMAGE_PATH=containerImage + STORAGE_REQUEST=10G + INTERFACE_MTU=1500 + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr ~/src/github.com/openstack-k8s-operators/install_yamls + cat + [[ Galera == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + IFS=, + read -ra IMAGES + IFS=, + read -ra IMAGE_PATHS + '[' 1 '!=' 1 ']' + (( i=0 )) + (( i < 1 )) + SPEC_PATH=containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 1 )) + '[' -n '' ']' + '[' Galera == OpenStackControlPlane ']' + '[' Galera == Galera ']' + cat + '[' Galera == NetConfig ']' + '[' -n '' ']' + [[ Galera == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + [[ Galera == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./mariadb_v1beta1_galera.yaml + for y in ${yamls[@]} + kustomize edit add resource ./mariadb_v1beta1_galera.yaml + popd ~/src/github.com/openstack-k8s-operators/install_yamls make wait make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-wait.sh + TIMEOUT=500s +++ dirname scripts/operator-wait.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq ']' + pushd /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls + timeout 500s bash -c 'until [ "$(bash ./get-operator-status.sh)" == "Succeeded" ]; do sleep 5; done' + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "mariadb-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "mariadb-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "mariadb-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "mariadb-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "mariadb-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z mariadb ']' + '[' mariadb = rabbitmq-cluster ']' + DEPL_NAME=mariadb-operator-controller-manager ++ oc get -n openstack-operators deployment mariadb-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=1 + '[' 1 '!=' 1 ']' + echo Succeeded + exit 0 + rc=0 + popd ~/src/github.com/openstack-k8s-operators/install_yamls + exit 0 make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' bash scripts/operator-deploy-resources.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr ']' + NEXT_WAIT_TIME=0 + '[' 0 -eq 15 ']' + oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr + oc apply -f - galera.mariadb.openstack.org/openstack created + '[' 0 -lt 15 ']' bash scripts/gen-olm.sh + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' -z quay.io/openstack-k8s-operators/infra-operator-index:latest ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op + OPERATOR_CHANNEL=alpha + OPERATOR_SOURCE=infra-operator-index + OPERATOR_SOURCE_NAMESPACE=openstack-operators + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op + echo OPERATOR_CHANNEL alpha OPERATOR_CHANNEL alpha + echo OPERATOR_SOURCE infra-operator-index OPERATOR_SOURCE infra-operator-index + echo OPERATOR_SOURCE_NAMESPACE openstack-operators OPERATOR_SOURCE_NAMESPACE openstack-operators + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op catalogsource.operators.coreos.com/infra-operator-index created operatorgroup.operators.coreos.com/openstack unchanged subscription.operators.coreos.com/infra-operator created mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/operator /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr bash scripts/clone-operator-repo.sh Cloning repo: git clone -b main https://github.com/openstack-k8s-operators/infra-operator.git infra-operator Cloning into 'infra-operator'... Running checkout: git checkout c2d58c6fc03e Note: switching to 'c2d58c6fc03e'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at c2d58c6 Merge pull request #459 from openstack-k8s-operators/renovate/main-github.com-onsi-ginkgo-v2-2.x cp /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator/config/samples/memcached_v1beta1_memcached.yaml /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr bash scripts/gen-service-kustomize.sh +++ dirname scripts/gen-service-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z manila-kuttl-tests ']' + '[' -z Memcached ']' + '[' -z osp-secret ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr ']' + '[' -n '' ']' + IMAGE=unused + IMAGE_PATH=containerImage + STORAGE_REQUEST=10G + INTERFACE_MTU=1500 + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr ~/src/github.com/openstack-k8s-operators/install_yamls + cat + [[ Memcached == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + IFS=, + read -ra IMAGES + IFS=, + read -ra IMAGE_PATHS + '[' 1 '!=' 1 ']' + (( i=0 )) + (( i < 1 )) + SPEC_PATH=containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 1 )) + '[' -n memcached ']' + cat + '[' Memcached == OpenStackControlPlane ']' + '[' Memcached == Galera ']' + '[' Memcached == NetConfig ']' + '[' -n '' ']' + [[ Memcached == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + [[ Memcached == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./memcached_v1beta1_memcached.yaml + for y in ${yamls[@]} + kustomize edit add resource ./memcached_v1beta1_memcached.yaml + popd ~/src/github.com/openstack-k8s-operators/install_yamls make wait make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-wait.sh + TIMEOUT=500s +++ dirname scripts/operator-wait.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq ']' + pushd /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls + timeout 500s bash -c 'until [ "$(bash ./get-operator-status.sh)" == "Succeeded" ]; do sleep 5; done' + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "infra-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z infra ']' + '[' infra = rabbitmq-cluster ']' + DEPL_NAME=infra-operator-controller-manager ++ oc get -n openstack-operators deployment infra-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=1 + '[' 1 '!=' 1 ']' + echo Succeeded + exit 0 + rc=0 + popd ~/src/github.com/openstack-k8s-operators/install_yamls + exit 0 make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' bash scripts/operator-deploy-resources.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr ']' + NEXT_WAIT_TIME=0 + '[' 0 -eq 15 ']' + oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr + oc apply -f - memcached.memcached.openstack.org/memcached created + '[' 0 -lt 15 ']' bash scripts/gen-olm.sh + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' -z quay.io/openstack-k8s-operators/rabbitmq-cluster-operator-index:latest ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op + OPERATOR_CHANNEL=alpha + OPERATOR_SOURCE=rabbitmq-cluster-operator-index + OPERATOR_SOURCE_NAMESPACE=openstack-operators + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op + echo OPERATOR_CHANNEL alpha OPERATOR_CHANNEL alpha + echo OPERATOR_SOURCE rabbitmq-cluster-operator-index OPERATOR_SOURCE rabbitmq-cluster-operator-index + echo OPERATOR_SOURCE_NAMESPACE openstack-operators OPERATOR_SOURCE_NAMESPACE openstack-operators + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op catalogsource.operators.coreos.com/rabbitmq-cluster-operator-index created operatorgroup.operators.coreos.com/openstack unchanged subscription.operators.coreos.com/rabbitmq-cluster-operator created mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/operator /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq/op /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr bash -c "CHECKOUT_FROM_OPENSTACK_REF=false scripts/clone-operator-repo.sh" Cloning repo: git clone -b patches https://github.com/openstack-k8s-operators/rabbitmq-cluster-operator.git rabbitmq-operator Cloning into 'rabbitmq-operator'... cp /home/zuul/ci-framework-data/artifacts/manifests/operator/rabbitmq-operator/docs/examples/default-security-context/rabbitmq.yaml /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr bash scripts/gen-service-kustomize.sh +++ dirname scripts/gen-service-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z manila-kuttl-tests ']' + '[' -z RabbitmqCluster ']' + '[' -z osp-secret ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr ']' + '[' -n '' ']' + IMAGE=unused + IMAGE_PATH=image + STORAGE_REQUEST=10G + INTERFACE_MTU=1500 + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr ~/src/github.com/openstack-k8s-operators/install_yamls + cat + [[ RabbitmqCluster == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + IFS=, + read -ra IMAGES + IFS=, + read -ra IMAGE_PATHS + '[' 1 '!=' 1 ']' + (( i=0 )) + (( i < 1 )) + SPEC_PATH=image + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 1 )) + '[' -n rabbitmq ']' + cat + '[' RabbitmqCluster == OpenStackControlPlane ']' + '[' RabbitmqCluster == Galera ']' + '[' RabbitmqCluster == NetConfig ']' + '[' -n '' ']' + [[ RabbitmqCluster == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + [[ RabbitmqCluster == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./rabbitmq.yaml + for y in ${yamls[@]} + kustomize edit add resource ./rabbitmq.yaml + popd ~/src/github.com/openstack-k8s-operators/install_yamls make wait make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-wait.sh + TIMEOUT=500s +++ dirname scripts/operator-wait.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + '[' -z openstack-operators ']' + '[' -z rabbitmq ']' + '[' rabbitmq = rabbitmq ']' + OPERATOR_NAME=rabbitmq-cluster + pushd /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls + timeout 500s bash -c 'until [ "$(bash ./get-operator-status.sh)" == "Succeeded" ]; do sleep 5; done' + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "rabbitmq-cluster-operator" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' + '[' rabbitmq-cluster = rabbitmq-cluster ']' + DEPL_NAME=rabbitmq-cluster-operator ++ oc get -n openstack-operators deployment rabbitmq-cluster-operator -o json ++ jq -e .status.availableReplicas + REPLICAS=1 + '[' 1 '!=' 1 ']' + echo Succeeded + exit 0 + rc=0 + popd ~/src/github.com/openstack-k8s-operators/install_yamls + exit 0 make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' bash scripts/operator-deploy-resources.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr ']' + NEXT_WAIT_TIME=0 + '[' 0 -eq 15 ']' + oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr + oc apply -f - rabbitmqcluster.rabbitmq.com/rabbitmq created + '[' 0 -lt 15 ']' bash scripts/gen-olm.sh + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' -z quay.io/openstack-k8s-operators/keystone-operator-index:latest ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op + OPERATOR_CHANNEL=alpha + OPERATOR_SOURCE=keystone-operator-index + OPERATOR_SOURCE_NAMESPACE=openstack-operators + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op + echo OPERATOR_CHANNEL alpha OPERATOR_CHANNEL alpha + echo OPERATOR_SOURCE keystone-operator-index OPERATOR_SOURCE keystone-operator-index + echo OPERATOR_SOURCE_NAMESPACE openstack-operators OPERATOR_SOURCE_NAMESPACE openstack-operators + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op catalogsource.operators.coreos.com/keystone-operator-index created operatorgroup.operators.coreos.com/openstack unchanged subscription.operators.coreos.com/keystone-operator created mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/operator /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr bash scripts/clone-operator-repo.sh Cloning repo: git clone -b main https://github.com/openstack-k8s-operators/keystone-operator.git keystone-operator Cloning into 'keystone-operator'... Running checkout: git checkout 17073bbaef03 Note: switching to '17073bbaef03'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 17073bb Merge pull request #634 from openstack-k8s-operators/renovate/rabbitmq-cluster-operator cp /home/zuul/ci-framework-data/artifacts/manifests/operator/keystone-operator/config/samples/keystone_v1beta1_keystoneapi.yaml /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr bash scripts/gen-service-kustomize.sh +++ dirname scripts/gen-service-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z manila-kuttl-tests ']' + '[' -z KeystoneAPI ']' + '[' -z osp-secret ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr ']' + '[' -n '' ']' + IMAGE=unused + IMAGE_PATH=containerImage + STORAGE_REQUEST=10G + INTERFACE_MTU=1500 + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr ~/src/github.com/openstack-k8s-operators/install_yamls + cat + [[ KeystoneAPI == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + IFS=, + read -ra IMAGES + IFS=, + read -ra IMAGE_PATHS + '[' 1 '!=' 1 ']' + (( i=0 )) + (( i < 1 )) + SPEC_PATH=containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 1 )) + '[' -n '' ']' + '[' KeystoneAPI == OpenStackControlPlane ']' + '[' KeystoneAPI == Galera ']' + '[' KeystoneAPI == NetConfig ']' + '[' -n '' ']' + [[ KeystoneAPI == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + [[ KeystoneAPI == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./keystone_v1beta1_keystoneapi.yaml + for y in ${yamls[@]} + kustomize edit add resource ./keystone_v1beta1_keystoneapi.yaml + popd ~/src/github.com/openstack-k8s-operators/install_yamls make wait make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-wait.sh + TIMEOUT=500s +++ dirname scripts/operator-wait.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq ']' + pushd /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls + timeout 500s bash -c 'until [ "$(bash ./get-operator-status.sh)" == "Succeeded" ]; do sleep 5; done' + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ jq -e .status.availableReplicas ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "keystone-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z keystone ']' + '[' keystone = rabbitmq-cluster ']' + DEPL_NAME=keystone-operator-controller-manager ++ oc get -n openstack-operators deployment keystone-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=1 + '[' 1 '!=' 1 ']' + echo Succeeded + exit 0 + rc=0 + popd ~/src/github.com/openstack-k8s-operators/install_yamls + exit 0 make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' bash scripts/operator-deploy-resources.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr ']' + NEXT_WAIT_TIME=0 + '[' 0 -eq 15 ']' + oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr + oc apply -f - keystoneapi.keystone.openstack.org/keystone created + '[' 0 -lt 15 ']' bash scripts/gen-ceph-kustomize.sh "build" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + bootstrap_ceph ++ oc -n manila-kuttl-tests get nodes --selector=node-role.kubernetes.io/worker= -o 'jsonpath={.items[*].status.addresses[*].address}' + NODES='192.168.126.11 crc' + read -ra values + [[ -z '' ]] + MON_IP=192.168.126.11 + '[' -z '' ']' + CEPH_WORKER=crc + add_ceph_pod + cat + ceph_kustomize + cat + '[' -n '' ']' + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./ceph-pod.yaml + for y in ${yamls[@]} + kustomize edit add resource ./ceph-pod.yaml 2025/10/04 05:04:22 resource ./ceph-pod.yaml already in kustomization file bash scripts/operator-deploy-resources.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + NEXT_WAIT_TIME=0 + '[' 0 -eq 15 ']' + oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr + oc apply -f - Warning: would violate PodSecurity "restricted:latest": host namespaces (hostNetwork=true), allowPrivilegeEscalation != false (container "ceph" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "ceph" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "ceph" must set securityContext.runAsNonRoot=true), runAsUser=0 (pod must not set runAsUser=0), seccompProfile (pod must not set securityContext.seccompProfile.type to "Unconfined") pod/ceph created + '[' 0 -lt 15 ']' bash scripts/gen-ceph-kustomize.sh "isready" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + ceph_is_ready + echo 'Waiting the cluster to be up' Waiting the cluster to be up + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 89 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 88 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 87 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 86 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 85 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 84 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 83 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 82 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 81 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 80 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 79 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 78 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 77 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 76 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 75 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 74 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 73 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 72 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 71 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 70 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 69 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 68 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 67 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 66 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 65 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 64 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 63 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 62 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 61 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 60 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 59 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 58 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 57 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 56 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 55 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 54 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 53 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 52 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 51 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 50 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 49 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 48 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 47 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 46 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 45 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 44 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 43 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 42 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 41 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 40 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 39 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 38 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 37 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 36 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 35 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 34 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 33 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 32 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + sleep 1 + echo -n . .+ (( CEPH_TIMEOUT-- )) + [[ 31 -eq 0 ]] + oc rsh -n manila-kuttl-tests ceph ls /etc/ceph/I_AM_A_DEMO + echo bash scripts/gen-ceph-kustomize.sh "config" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + config_ceph + echo 'Apply Ceph config keys' Apply Ceph config keys + config_keys=(['rgw_keystone_url']='http://keystone-public-manila-kuttl-tests.apps-crc.testing' ['rgw_keystone_verify_ssl']='true' ['rgw_keystone_api_version']='3' ['rgw_keystone_accepted_roles']='"member, Member, admin"' ['rgw_keystone_accepted_admin_roles']='"ResellerAdmin, swiftoperator"' ['rgw_keystone_admin_domain']='default' ['rgw_keystone_admin_project']='service' ['rgw_keystone_admin_user']='swift' ['rgw_keystone_admin_password']='12345678' ['rgw_keystone_implicit_tenants']='true' ['rgw_s3_auth_use_keystone']='true' ['rgw_swift_versioning_enabled']='true' ['rgw_swift_enforce_content_length']='true' ['rgw_swift_account_in_url']='true' ['rgw_trust_forwarded_https']='true' ['rgw_max_attr_name_len']='128' ['rgw_max_attrs_num_in_req']='90') + declare -A config_keys + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_swift_account_in_url true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_implicit_tenants true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_swift_enforce_content_length true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_accepted_admin_roles "ResellerAdmin, swiftoperator"' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_admin_domain default' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_max_attr_name_len 128' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_s3_auth_use_keystone true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_url http://keystone-public-manila-kuttl-tests.apps-crc.testing' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_admin_password 12345678' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_admin_project service' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_accepted_roles "member, Member, admin"' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_admin_user swift' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_verify_ssl true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_max_attrs_num_in_req 90' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_trust_forwarded_https true' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_keystone_api_version 3' Unable to use a TTY - input is not a terminal or the right kind of file + for key in "${!config_keys[@]}" + oc exec -n manila-kuttl-tests -it ceph -- sh -c 'ceph config set global rgw_swift_versioning_enabled true' Unable to use a TTY - input is not a terminal or the right kind of file bash scripts/gen-ceph-kustomize.sh "cephfs" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + create_volume + echo 'Creating cephfs volume' Creating cephfs volume + oc rsh -n manila-kuttl-tests ceph ceph fs volume create cephfs Error EINVAL: filesystem already exists with name 'cephfs' command terminated with exit code 22 + true bash scripts/gen-ceph-kustomize.sh "pools" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + create_pool + '[' 5 -eq 0 ']' + for pool in "${CEPH_POOLS[@]}" + app=rbd + oc rsh -n manila-kuttl-tests ceph ceph osd pool create volumes 4 pool 'volumes' created + [[ volumes = *\c\e\p\h\f\s* ]] + oc rsh -n manila-kuttl-tests ceph ceph osd pool application enable volumes rbd enabled application 'rbd' on pool 'volumes' + for pool in "${CEPH_POOLS[@]}" + app=rbd + oc rsh -n manila-kuttl-tests ceph ceph osd pool create images 4 pool 'images' created + [[ images = *\c\e\p\h\f\s* ]] + oc rsh -n manila-kuttl-tests ceph ceph osd pool application enable images rbd enabled application 'rbd' on pool 'images' + for pool in "${CEPH_POOLS[@]}" + app=rbd + oc rsh -n manila-kuttl-tests ceph ceph osd pool create backups 4 pool 'backups' created + [[ backups = *\c\e\p\h\f\s* ]] + oc rsh -n manila-kuttl-tests ceph ceph osd pool application enable backups rbd enabled application 'rbd' on pool 'backups' + for pool in "${CEPH_POOLS[@]}" + app=rbd + oc rsh -n manila-kuttl-tests ceph ceph osd pool create cephfs.cephfs.meta 4 pool 'cephfs.cephfs.meta' already exists + [[ cephfs.cephfs.meta = *\c\e\p\h\f\s* ]] + app=cephfs + oc rsh -n manila-kuttl-tests ceph ceph osd pool application enable cephfs.cephfs.meta cephfs enabled application 'cephfs' on pool 'cephfs.cephfs.meta' + for pool in "${CEPH_POOLS[@]}" + app=rbd + oc rsh -n manila-kuttl-tests ceph ceph osd pool create cephfs.cephfs.data 4 pool 'cephfs.cephfs.data' already exists + [[ cephfs.cephfs.data = *\c\e\p\h\f\s* ]] + app=cephfs + oc rsh -n manila-kuttl-tests ceph ceph osd pool application enable cephfs.cephfs.data cephfs enabled application 'cephfs' on pool 'cephfs.cephfs.data' bash scripts/gen-ceph-kustomize.sh "secret" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + create_secret ceph-conf-files + SECRET_NAME=ceph-conf-files ++ mktemp -d + TEMPDIR=/tmp/tmp.URrstoTGbY + local client=client.openstack + trap 'rm -rf -- "$TEMPDIR"' EXIT + echo 'Copying Ceph config files from the container to /tmp/tmp.URrstoTGbY' Copying Ceph config files from the container to /tmp/tmp.URrstoTGbY + oc rsync -n manila-kuttl-tests ceph:/etc/ceph/ceph.conf /tmp/tmp.URrstoTGbY WARNING: cannot use rsync: rsync not available in container ceph.conf + echo 'Create OpenStack keyring' Create OpenStack keyring + create_key client.openstack + local client=client.openstack + local caps + local osd_caps + '[' 5 -eq 0 ']' ++ build_caps ++ local CAPS= ++ for pool in "${CEPH_POOLS[@]}" ++ caps='profile rbd pool=volumes' ++ CAPS+='profile rbd pool=volumes,' ++ for pool in "${CEPH_POOLS[@]}" ++ caps='profile rbd pool=images' ++ CAPS+='profile rbd pool=images,' ++ for pool in "${CEPH_POOLS[@]}" ++ caps='profile rbd pool=backups' ++ CAPS+='profile rbd pool=backups,' ++ for pool in "${CEPH_POOLS[@]}" ++ caps='profile rbd pool=cephfs.cephfs.meta' ++ CAPS+='profile rbd pool=cephfs.cephfs.meta,' ++ for pool in "${CEPH_POOLS[@]}" ++ caps='profile rbd pool=cephfs.cephfs.data' ++ CAPS+='profile rbd pool=cephfs.cephfs.data,' ++ echo 'profile rbd pool=volumes,profile rbd pool=images,profile rbd pool=backups,profile rbd pool=cephfs.cephfs.meta,profile rbd pool=cephfs.cephfs.data' + osd_caps='profile rbd pool=volumes,profile rbd pool=images,profile rbd pool=backups,profile rbd pool=cephfs.cephfs.meta,profile rbd pool=cephfs.cephfs.data' + oc rsh -n manila-kuttl-tests ceph ceph auth get-or-create client.openstack mgr 'allow *' mon 'profile rbd' osd 'profile rbd pool=volumes,profile rbd pool=images,profile rbd pool=backups,profile rbd pool=cephfs.cephfs.meta,profile rbd pool=cephfs.cephfs.data' + echo 'Copying OpenStack keyring from the container to /tmp/tmp.URrstoTGbY' Copying OpenStack keyring from the container to /tmp/tmp.URrstoTGbY + oc rsh -n manila-kuttl-tests ceph ceph auth export client.openstack -o /etc/ceph/ceph.client.openstack.keyring + oc rsync -n manila-kuttl-tests ceph:/etc/ceph/ceph.client.openstack.keyring /tmp/tmp.URrstoTGbY WARNING: cannot use rsync: rsync not available in container ceph.client.openstack.keyring + echo 'Replacing openshift secret ceph-conf-files' Replacing openshift secret ceph-conf-files + oc delete secret ceph-conf-files -n manila-kuttl-tests + true + oc create secret generic ceph-conf-files --from-file=/tmp/tmp.URrstoTGbY/ceph.conf --from-file=/tmp/tmp.URrstoTGbY/ceph.client.openstack.keyring -n manila-kuttl-tests secret/ceph-conf-files created + rm -rf -- /tmp/tmp.URrstoTGbY bash scripts/gen-ceph-kustomize.sh "post" +++ dirname scripts/gen-ceph-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z quay.io/ceph/demo:latest-squid ']' + '[' -z manila-kuttl-tests ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr ~/src/github.com/openstack-k8s-operators/install_yamls + CEPH_TIMEOUT=90 + CEPH_HOSTNETWORK=True + CEPH_POOLS=("volumes" "images" "backups" "cephfs.cephfs.meta" "cephfs.cephfs.data") + CEPH_DAEMONS=osd,mds,rgw + CEPH_DATASIZE=2Gi + CEPH_WORKER= + CEPH_MON_CONF= + CEPH_DEMO_UID=0 + OSP_SECRET=osp-secret + RGW_USER=swift + RGW_NAME=ceph ++ oc -n manila-kuttl-tests get ingresses.config/cluster -o 'jsonpath={.spec.domain}' + DOMAIN=apps-crc.testing ++ oc -n manila-kuttl-tests get secrets osp-secret -o 'jsonpath={.data.SwiftPassword}' ++ base64 -d + RGW_PASS=12345678 + [[ True == \f\a\l\s\e ]] + case "$1" in + config_rgw + echo 'Restart RGW and reload the config' Restart RGW and reload the config + oc -n manila-kuttl-tests rsh ceph pkill radosgw + name=client.rgw.ceph + path=/var/lib/ceph/radosgw/ceph-rgw.ceph/keyring + options=' --default-log-to-stderr=true --err-to-stderr=true --default-log-to-file=false' + oc -n manila-kuttl-tests rsh ceph radosgw --cluster ceph --setuser ceph --setgroup ceph ' --default-log-to-stderr=true --err-to-stderr=true --default-log-to-file=false' -n client.rgw.ceph -k /var/lib/ceph/radosgw/ceph-rgw.ceph/keyring bash scripts/gen-olm.sh + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' -z 38.102.83.150:5001/openstack-k8s-operators/manila-operator-index:e3c7f22566557a62ccc84cb9851936e2acb2d597 ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op ']' + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op ']' + mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op + OPERATOR_CHANNEL=alpha + OPERATOR_SOURCE=manila-operator-index + OPERATOR_SOURCE_NAMESPACE=openstack-operators + echo OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op OPERATOR_DIR /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op + echo OPERATOR_CHANNEL alpha OPERATOR_CHANNEL alpha + echo OPERATOR_SOURCE manila-operator-index OPERATOR_SOURCE manila-operator-index + echo OPERATOR_SOURCE_NAMESPACE openstack-operators OPERATOR_SOURCE_NAMESPACE openstack-operators + cat + cat + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op catalogsource.operators.coreos.com/manila-operator-index created operatorgroup.operators.coreos.com/openstack unchanged subscription.operators.coreos.com/manila-operator created mkdir -p /home/zuul/ci-framework-data/artifacts/manifests/operator /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr bash scripts/clone-operator-repo.sh Cloning repo: git clone /home/zuul/src/github.com/openstack-k8s-operators/manila-operator manila-operator Cloning into 'manila-operator'... done. cp /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator/config/samples/manila_v1beta1_manila.yaml /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr bash scripts/gen-service-kustomize.sh +++ dirname scripts/gen-service-kustomize.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + . /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts/common.sh --source-only ++ set -e + '[' -z manila-kuttl-tests ']' + '[' -z Manila ']' + '[' -z osp-secret ']' + '[' -z /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr ']' + '[' -n '' ']' + IMAGE=unused,unused,unused + IMAGE_PATH=manilaAPI/containerImage,manilaScheduler/containerImage,manilaShares/share1/containerImage + STORAGE_REQUEST=10G + INTERFACE_MTU=1500 + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr ']' + pushd /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr ~/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr ~/src/github.com/openstack-k8s-operators/install_yamls + cat + [[ Manila == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + IFS=, + read -ra IMAGES + IFS=, + read -ra IMAGE_PATHS + '[' 3 '!=' 3 ']' + (( i=0 )) + (( i < 3 )) + SPEC_PATH=manilaAPI/containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 3 )) + SPEC_PATH=manilaScheduler/containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 3 )) + SPEC_PATH=manilaShares/share1/containerImage + SPEC_VALUE=unused + '[' unused '!=' unused ']' + (( i++ )) + (( i < 3 )) + '[' -n '' ']' + '[' Manila == OpenStackControlPlane ']' + '[' Manila == Galera ']' + '[' Manila == NetConfig ']' + '[' -n '' ']' + [[ Manila == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + [[ Manila == \O\p\e\n\S\t\a\c\k\C\o\n\t\r\o\l\P\l\a\n\e ]] + kustomization_add_resources + echo merge config dir merge config dir ++ find . -type f -name '*.yaml' ++ grep -v kustomization + yamls=./manila_v1beta1_manila.yaml + for y in ${yamls[@]} + kustomize edit add resource ./manila_v1beta1_manila.yaml + popd ~/src/github.com/openstack-k8s-operators/install_yamls make wait make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-wait.sh + TIMEOUT=500s +++ dirname scripts/operator-wait.sh ++ cd scripts ++ pwd -P + SCRIPTPATH=/home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq ']' + pushd /home/zuul/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls/scripts ~/src/github.com/openstack-k8s-operators/install_yamls + timeout 500s bash -c 'until [ "$(bash ./get-operator-status.sh)" == "Succeeded" ]; do sleep 5; done' + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ jq -e .status.availableReplicas ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas Error from server (NotFound): deployments.apps "manila-operator-controller-manager" not found + REPLICAS= + '[' '' '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=null + '[' null '!=' 1 ']' + exit 1 + '[' -z openstack-operators ']' + '[' -z manila ']' + '[' manila = rabbitmq-cluster ']' + DEPL_NAME=manila-operator-controller-manager ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o json ++ jq -e .status.availableReplicas + REPLICAS=1 + '[' 1 '!=' 1 ']' + echo Succeeded + exit 0 + rc=0 + popd ~/src/github.com/openstack-k8s-operators/install_yamls + exit 0 make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make manila_kuttl_run make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" kubectl-kuttl test --config /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator/kuttl-test.yaml /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator/test/kuttl/tests --namespace manila-kuttl-tests 2025/10/04 05:06:56 kutt-test config testdirs is overridden with args: [ /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator/test/kuttl/tests ] === RUN kuttl harness.go:463: starting setup harness.go:255: running tests using configured kubeconfig. harness.go:278: Successful connection to cluster at: https://api.crc.testing:6443 harness.go:363: running tests harness.go:75: going to run test suite with timeout of 300 seconds for each step harness.go:375: testsuite: /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator/test/kuttl/tests has 3 tests === RUN kuttl/harness === RUN kuttl/harness/manila-basic === PAUSE kuttl/harness/manila-basic === RUN kuttl/harness/manila-multibackend === PAUSE kuttl/harness/manila-multibackend === RUN kuttl/harness/manila-tls === PAUSE kuttl/harness/manila-tls === CONT kuttl/harness/manila-basic logger.go:42: 05:06:56 | manila-basic | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 05:06:56 | manila-basic | Skipping creation of user-supplied namespace: manila-kuttl-tests logger.go:42: 05:06:56 | manila-basic/1-deploy-manila | starting test step 1-deploy-manila logger.go:42: 05:06:56 | manila-basic/1-deploy-manila | running command: [sh -c oc kustomize ../../../../config/samples/layout/cephfs | oc apply -n $NAMESPACE -f - ] logger.go:42: 05:06:56 | manila-basic/1-deploy-manila | manila.manila.openstack.org/manila created logger.go:42: 05:06:57 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:06:58 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:06:59 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:00 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:01 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:02 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:03 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:05 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:06 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:07 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:08 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:09 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:10 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:12 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:13 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:14 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:15 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:16 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:17 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:19 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:20 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:21 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:22 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:23 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:24 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:25 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:27 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:28 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:29 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:30 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:31 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:32 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:34 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:35 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:36 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:37 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:38 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:39 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:41 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:42 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:43 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:44 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:45 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:46 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:48 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:49 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:50 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:51 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:52 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:53 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:55 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:56 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:57 | manila-basic/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:07:57 | manila-basic/1-deploy-manila | test step completed 1-deploy-manila logger.go:42: 05:07:57 | manila-basic/2-scale-up-manila | starting test step 2-scale-up-manila logger.go:42: 05:07:57 | manila-basic/2-scale-up-manila | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "replace", "path": "/spec/manilaAPI/replicas", "value":3}]' ] logger.go:42: 05:07:57 | manila-basic/2-scale-up-manila | manila.manila.openstack.org/manila patched logger.go:42: 05:08:20 | manila-basic/2-scale-up-manila | test step completed 2-scale-up-manila logger.go:42: 05:08:20 | manila-basic/3-scale-down-manila-api | starting test step 3-scale-down-manila-api logger.go:42: 05:08:20 | manila-basic/3-scale-down-manila-api | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "replace", "path": "/spec/manilaAPI/replicas", "value":1}]' ] logger.go:42: 05:08:20 | manila-basic/3-scale-down-manila-api | manila.manila.openstack.org/manila patched logger.go:42: 05:08:20 | manila-basic/3-scale-down-manila-api | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:21 | manila-basic/3-scale-down-manila-api | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:22 | manila-basic/3-scale-down-manila-api | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:24 | manila-basic/3-scale-down-manila-api | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:25 | manila-basic/3-scale-down-manila-api | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:25 | manila-basic/3-scale-down-manila-api | test step completed 3-scale-down-manila-api logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | starting test step 4-scale-up-manila-scheduler logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "replace", "path": "/spec/manilaScheduler/replicas", "value":3}]' ] logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | manila.manila.openstack.org/manila patched logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:25 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:26 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:27 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:28 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:28 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:28 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:29 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:30 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:31 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:32 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:33 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:34 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:35 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:35 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:35 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:36 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:37 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:38 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:39 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:40 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:41 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:42 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:42 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:42 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:43 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:44 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:45 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:46 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:47 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:48 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:49 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:49 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:49 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:50 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:51 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:52 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:53 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:54 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:55 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:56 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:56 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:56 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:57 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:58 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:08:59 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:00 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:01 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:02 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:03 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:04 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:04 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:04 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:05 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:06 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:07 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:08 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | running command: [sh -c set -euxo pipefail tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | ++ oc get -n openstack-operators deployment manila-operator-controller-manager -o 'go-template={{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + imageTuples=OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | ++ echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + for ITEM in $(echo $imageTuples) logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + echo OPERATOR_CONDITION_NAME#manila-operator.v0.0.1 logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + grep RELATED_IMAGE logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | + exit 0 logger.go:42: 05:09:09 | manila-basic/4-scale-up-manila-scheduler | test step completed 4-scale-up-manila-scheduler logger.go:42: 05:09:09 | manila-basic/99-cleanup-manila | starting test step 99-cleanup-manila logger.go:42: 05:09:09 | manila-basic/99-cleanup-manila | test step completed 99-cleanup-manila logger.go:42: 05:09:09 | manila-basic | skipping kubernetes event logging === CONT kuttl/harness/manila-tls logger.go:42: 05:09:09 | manila-tls | Skipping creation of user-supplied namespace: manila-kuttl-tests logger.go:42: 05:09:09 | manila-tls/1-tls_certificates | starting test step 1-tls_certificates logger.go:42: 05:09:09 | manila-tls/1-tls_certificates | Secret:manila-kuttl-tests/combined-ca-bundle created logger.go:42: 05:09:09 | manila-tls/1-tls_certificates | Secret:manila-kuttl-tests/cert-manila-internal-svc created logger.go:42: 05:09:09 | manila-tls/1-tls_certificates | Secret:manila-kuttl-tests/cert-manila-public-svc created logger.go:42: 05:09:09 | manila-tls/1-tls_certificates | test step completed 1-tls_certificates logger.go:42: 05:09:09 | manila-tls/2-manila-deploy | starting test step 2-manila-deploy logger.go:42: 05:09:09 | manila-tls/2-manila-deploy | running command: [sh -c oc kustomize ../../../../config/samples/layout/tls | oc apply -n $NAMESPACE -f - ] logger.go:42: 05:09:10 | manila-tls/2-manila-deploy | manila.manila.openstack.org/manila created logger.go:42: 05:09:10 | manila-tls/2-manila-deploy | test step completed 2-manila-deploy logger.go:42: 05:09:10 | manila-tls/3- | starting test step 3- logger.go:42: 05:09:57 | manila-tls/3- | test step completed 3- logger.go:42: 05:09:57 | manila-tls/4-cleanup-manila | starting test step 4-cleanup-manila logger.go:42: 05:09:57 | manila-tls/4-cleanup-manila | test step completed 4-cleanup-manila logger.go:42: 05:09:57 | manila-tls | skipping kubernetes event logging === CONT kuttl/harness/manila-multibackend logger.go:42: 05:09:57 | manila-multibackend | Ignoring README.md as it does not match file name regexp: ^(\d+)-(?:[^\.]+)(?:\.yaml)?$ logger.go:42: 05:09:57 | manila-multibackend | Skipping creation of user-supplied namespace: manila-kuttl-tests logger.go:42: 05:09:57 | manila-multibackend/1-deploy-manila | starting test step 1-deploy-manila logger.go:42: 05:09:57 | manila-multibackend/1-deploy-manila | running command: [sh -c oc kustomize ../../../../config/samples/layout/multibackend | oc apply -n $NAMESPACE -f - ] logger.go:42: 05:09:57 | manila-multibackend/1-deploy-manila | manila.manila.openstack.org/manila created logger.go:42: 05:09:57 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:09:59 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:00 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:01 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:02 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:03 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:04 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:06 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:07 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:08 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:09 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:10 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:11 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:13 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:14 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:15 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:16 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:17 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:18 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:20 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:21 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:22 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:23 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:24 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:25 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:27 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:28 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:29 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:30 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:31 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:32 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:34 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:35 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:36 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:37 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:38 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:39 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:41 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:42 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:43 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:44 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:45 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:46 | manila-multibackend/1-deploy-manila | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share0 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:10:47 | manila-multibackend/1-deploy-manila | test step completed 1-deploy-manila logger.go:42: 05:10:47 | manila-multibackend/2-scale-up-manila-share | starting test step 2-scale-up-manila-share logger.go:42: 05:10:47 | manila-multibackend/2-scale-up-manila-share | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "replace", "path": "/spec/manilaShares/share1/replicas", "value":1}]' ] logger.go:42: 05:10:47 | manila-multibackend/2-scale-up-manila-share | manila.manila.openstack.org/manila patched logger.go:42: 05:11:09 | manila-multibackend/2-scale-up-manila-share | test step completed 2-scale-up-manila-share logger.go:42: 05:11:09 | manila-multibackend/3-scale-down-manila-share | starting test step 3-scale-down-manila-share logger.go:42: 05:11:09 | manila-multibackend/3-scale-down-manila-share | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "replace", "path": "/spec/manilaShares/share0/replicas", "value":0}]' ] logger.go:42: 05:11:10 | manila-multibackend/3-scale-down-manila-share | manila.manila.openstack.org/manila patched logger.go:42: 05:11:10 | manila-multibackend/3-scale-down-manila-share | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share1 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:11:11 | manila-multibackend/3-scale-down-manila-share | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share1 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:11:12 | manila-multibackend/3-scale-down-manila-share | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share1 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:11:12 | manila-multibackend/3-scale-down-manila-share | test step completed 3-scale-down-manila-share logger.go:42: 05:11:12 | manila-multibackend/4-remove-share | starting test step 4-remove-share logger.go:42: 05:11:12 | manila-multibackend/4-remove-share | running command: [sh -c oc patch manila -n $NAMESPACE manila --type='json' -p='[{"op": "remove", "path": "/spec/manilaShares/share0"}]' ] logger.go:42: 05:11:12 | manila-multibackend/4-remove-share | manila.manila.openstack.org/manila patched logger.go:42: 05:11:12 | manila-multibackend/4-remove-share | running command: [sh -c tupleTemplate='{{ range (index .spec.template.spec.containers 1).env }}{{ .name }}{{ "#" }}{{ .value}}{{"\n"}}{{ end }}' imageTuples=$(oc get -n openstack-operators deployment manila-operator-controller-manager -o go-template="$tupleTemplate") # format of imageTuple is: RELATED_IMAGE_MANILA_# separated by newlines for ITEM in $(echo $imageTuples); do # it is an image if echo $ITEM | grep 'RELATED_IMAGE' &> /dev/null; then NAME=$(echo $ITEM | sed -e 's|^RELATED_IMAGE_MANILA_\([^_]*\)_.*|\1|') IMG_FROM_ENV=$(echo $ITEM | sed -e 's|^.*#\(.*\)|\1|') template='{{.spec.containerImage}}' case $NAME in API) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilaapi manila-api -o go-template="$template") ;; SHARE) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilashares manila-share-share1 -o go-template="$template") ;; SCHEDULER) SERVICE_IMAGE=$(oc get -n $NAMESPACE manilascheduler manila-scheduler -o go-template="$template") ;; esac if [ "$SERVICE_IMAGE" != "$IMG_FROM_ENV" ]; then echo "$NAME image does not equal $VALUE" exit 1 fi fi done exit 0 ] logger.go:42: 05:11:12 | manila-multibackend/4-remove-share | test step completed 4-remove-share logger.go:42: 05:11:12 | manila-multibackend/5-cleanup-manila | starting test step 5-cleanup-manila logger.go:42: 05:11:13 | manila-multibackend/5-cleanup-manila | test step completed 5-cleanup-manila logger.go:42: 05:11:13 | manila-multibackend | skipping kubernetes event logging === NAME kuttl harness.go:406: run tests finished harness.go:514: cleaning up harness.go:571: removing temp folder: "" --- PASS: kuttl (256.39s) --- PASS: kuttl/harness (0.00s) --- PASS: kuttl/harness/manila-basic (133.23s) --- PASS: kuttl/harness/manila-tls (47.77s) --- PASS: kuttl/harness/manila-multibackend (75.38s) PASS make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make manila_cleanup make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z manila ']' ++ grep manila ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true + CSV=manila-operator.v0.0.1 + '[' -n manila-operator.v0.0.1 ']' + oc delete -n openstack-operators csv manila-operator.v0.0.1 --ignore-not-found=true clusterserviceversion.operators.coreos.com "manila-operator.v0.0.1" deleted + oc delete -n openstack-operators subscription manila-operator --ignore-not-found=true subscription.operators.coreos.com "manila-operator" deleted + oc delete -n openstack-operators catalogsource manila-operator-index --ignore-not-found=true catalogsource.operators.coreos.com "manila-operator-index" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make deploy_cleanup make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr | oc delete --ignore-not-found=true -f - rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/manila-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/manila/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists manila;" || true Error from server (NotFound): pods "openstack-galera-0" not found oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/heat-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/heat/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/horizon-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/horizon/cr bash scripts/gen-namespace.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests ']' + '[' -z manila-kuttl-tests ']' + OUT_DIR=/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests ']' + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/namespace.yaml namespace/manila-kuttl-tests unchanged timeout 500s bash -c "while ! (oc get project.v1.project.openshift.io manila-kuttl-tests); do sleep 1; done" NAME DISPLAY NAME STATUS manila-kuttl-tests Active oc project manila-kuttl-tests Now using project "manila-kuttl-tests" on server "https://api.crc.testing:6443". oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/nova-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/nova/cr oc rsh openstack-galera-0 mysql -u root --password=12345678 -ss -e "show databases like 'nova_%';" | xargs -I '{}' oc rsh openstack-galera-0 mysql -u root --password=12345678 -ss -e "flush tables; drop database if exists {};" Defaulted container "galera" out of: galera, mysql-bootstrap (init) oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator-redis /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra-redis/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/octavia-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/octavia/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists octavia;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/designate-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/designate/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists designate;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/neutron-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/neutron/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists neutron;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ovn-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ovn/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ironic-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ironic/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists ironic;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists ironic_inspector;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/cinder-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/cinder/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists cinder;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/glance-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/glance/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists glance;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/placement-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/placement/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists placement;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift: no such file or directory No resources found rm -Rf -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/swift-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/swift/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/barbican-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/barbican/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists barbican;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr | oc delete --ignore-not-found=true -f - keystoneapi.keystone.openstack.org "keystone" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/keystone-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/keystone/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists keystone;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr | oc delete --ignore-not-found=true -f - galera.mariadb.openstack.org "openstack" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/mariadb-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/telemetry-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/ceilometer-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/telemetry/cr oc rsh -t openstack-galera-0 mysql -u root --password=12345678 -e "flush tables; drop database if exists aodh;" || true Defaulted container "galera" out of: galera, mysql-bootstrap (init) Unable to use a TTY - input is not a terminal or the right kind of file oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr | oc delete --ignore-not-found=true -f - memcached.memcached.openstack.org "memcached" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr if oc get RabbitmqCluster; then oc delete --ignore-not-found=true RabbitmqCluster --all; fi NAME ALLREPLICASREADY RECONCILESUCCESS AGE rabbitmq True True 8m6s rabbitmqcluster.rabbitmq.com "rabbitmq" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/rabbitmq-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/rabbitmq/cr make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make ceph_cleanup make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr | oc delete --ignore-not-found=true -f - pod "ceph" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/ceph/cr make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make kuttl_common_cleanup make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z keystone ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep keystone + CSV=keystone-operator.v0.0.1 + '[' -n keystone-operator.v0.0.1 ']' + oc delete -n openstack-operators csv keystone-operator.v0.0.1 --ignore-not-found=true clusterserviceversion.operators.coreos.com "keystone-operator.v0.0.1" deleted + oc delete -n openstack-operators subscription keystone-operator --ignore-not-found=true subscription.operators.coreos.com "keystone-operator" deleted + oc delete -n openstack-operators catalogsource keystone-operator-index --ignore-not-found=true catalogsource.operators.coreos.com "keystone-operator-index" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep rabbitmq-cluster + CSV=rabbitmq-cluster-operator.v0.0.1 + '[' -n rabbitmq-cluster-operator.v0.0.1 ']' + oc delete -n openstack-operators csv rabbitmq-cluster-operator.v0.0.1 --ignore-not-found=true clusterserviceversion.operators.coreos.com "rabbitmq-cluster-operator.v0.0.1" deleted + oc delete -n openstack-operators subscription rabbitmq-cluster-operator --ignore-not-found=true subscription.operators.coreos.com "rabbitmq-cluster-operator" deleted + oc delete -n openstack-operators catalogsource rabbitmq-cluster-operator-index --ignore-not-found=true catalogsource.operators.coreos.com "rabbitmq-cluster-operator-index" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op bash scripts/gen-namespace.sh + '[' -z /home/zuul/ci-framework-data/artifacts/manifests ']' + '[' -z manila-kuttl-tests ']' + OUT_DIR=/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests + '[' '!' -d /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests ']' + cat oc apply -f /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/namespace.yaml namespace/manila-kuttl-tests unchanged timeout 500s bash -c "while ! (oc get project.v1.project.openshift.io manila-kuttl-tests); do sleep 1; done" NAME DISPLAY NAME STATUS manila-kuttl-tests Active oc project manila-kuttl-tests Already on project "manila-kuttl-tests" on server "https://api.crc.testing:6443". oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/infra-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/infra/cr bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z infra ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep infra + CSV=infra-operator.v0.0.1 + '[' -n infra-operator.v0.0.1 ']' + oc delete -n openstack-operators csv infra-operator.v0.0.1 --ignore-not-found=true clusterserviceversion.operators.coreos.com "infra-operator.v0.0.1" deleted + oc delete -n openstack-operators subscription infra-operator --ignore-not-found=true subscription.operators.coreos.com "infra-operator" deleted + oc delete -n openstack-operators catalogsource infra-operator-index --ignore-not-found=true catalogsource.operators.coreos.com "infra-operator-index" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr | oc delete --ignore-not-found=true -f - error: must build at directory: not a valid directory: evalsymlink failure on '/home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr' : lstat /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr: no such file or directory No resources found rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/operator/mariadb-operator /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/mariadb/cr bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z mariadb ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep mariadb + CSV=mariadb-operator.v0.0.1 + '[' -n mariadb-operator.v0.0.1 ']' + oc delete -n openstack-operators csv mariadb-operator.v0.0.1 --ignore-not-found=true clusterserviceversion.operators.coreos.com "mariadb-operator.v0.0.1" deleted + oc delete -n openstack-operators subscription mariadb-operator --ignore-not-found=true subscription.operators.coreos.com "mariadb-operator" deleted + oc delete -n openstack-operators catalogsource mariadb-operator-index --ignore-not-found=true catalogsource.operators.coreos.com "mariadb-operator-index" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op oc kustomize /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input | oc delete --ignore-not-found=true -f - secret "libvirt-secret" deleted secret "octavia-ca-passphrase" deleted secret "osp-secret" deleted rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/manila-kuttl-tests/input bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z metallb ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep metallb + CSV=metallb-operator.v4.18.0-202509240837 + '[' -n metallb-operator.v4.18.0-202509240837 ']' + oc delete -n openstack-operators csv metallb-operator.v4.18.0-202509240837 --ignore-not-found=true clusterserviceversion.operators.coreos.com "metallb-operator.v4.18.0-202509240837" deleted + oc delete -n openstack-operators subscription metallb-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource metallb-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' make cleanup make[1]: Entering directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' error: the server doesn't have a resource type "openstackversion" bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z heat ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep heat + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription heat-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource heat-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/heat/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z horizon ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep horizon + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription horizon-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource horizon-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/horizon/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z nova ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep nova + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription nova-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource nova-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/nova/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z octavia ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep octavia + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription octavia-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource octavia-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/octavia/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z designate ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep designate + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription designate-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource designate-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/designate/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z neutron ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep neutron + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription neutron-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource neutron-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/neutron/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z ovn ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep ovn + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription ovn-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource ovn-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/ovn/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z ironic ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep ironic + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription ironic-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource ironic-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/ironic/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z cinder ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep cinder + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription cinder-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource cinder-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/cinder/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z glance ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep glance + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription glance-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource glance-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/glance/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z placement ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep placement + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription placement-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource placement-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/placement/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z swift ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep swift + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription swift-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource swift-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/swift/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z barbican ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep barbican + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription barbican-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource barbican-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/barbican/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z keystone ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep keystone + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription keystone-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource keystone-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/keystone/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z mariadb ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep mariadb + CSV=mariadb-operator.v0.0.1 + '[' -n mariadb-operator.v0.0.1 ']' + oc delete -n openstack-operators csv mariadb-operator.v0.0.1 --ignore-not-found=true + oc delete -n openstack-operators subscription mariadb-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource mariadb-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/mariadb/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z telemetry ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep telemetry + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription telemetry-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource telemetry-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/telemetry/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z openstack-ansibleee ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep openstack-ansibleee + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription openstack-ansibleee-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource openstack-ansibleee-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/openstack-ansibleee/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z rabbitmq-cluster ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep rabbitmq-cluster + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription rabbitmq-cluster-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource rabbitmq-cluster-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/rabbitmq-cluster/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z infra ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep infra + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription infra-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource infra-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/infra/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z manila ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep manila + CSV= + '[' -n '' ']' + oc delete -n openstack-operators subscription manila-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource manila-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/manila/op bash scripts/operator-cleanup.sh + '[' -z openstack-operators ']' + '[' -z metallb ']' ++ oc get csv --no-headers -o custom-columns=:metadata.name --ignore-not-found=true ++ grep metallb + CSV=metallb-operator.v4.18.0-202509240837 + '[' -n metallb-operator.v4.18.0-202509240837 ']' + oc delete -n openstack-operators csv metallb-operator.v4.18.0-202509240837 --ignore-not-found=true + oc delete -n openstack-operators subscription metallb-operator --ignore-not-found=true + oc delete -n openstack-operators catalogsource metallb-operator-index --ignore-not-found=true rm -Rf /home/zuul/ci-framework-data/artifacts/manifests/openstack-operators/metallb/op make[1]: Leaving directory '/home/zuul/src/github.com/openstack-k8s-operators/install_yamls' ~/ci-framework-data/artifacts