You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've run into the following error twice now when following the directions for deploying to managed openshift under IBM Cloud.
I create the container per the directions, log into the container, it performs the complete VPC and ROKS creation with PortWorx and then ultimately fails with the following errors:
module.cpd[0].null_resource.download_cpd_cli: Creation complete after 4s [id=3696503445249558462]
module.cpd[0].null_resource.login_cluster: Creating...
module.cpd[0].null_resource.login_cluster: Provisioning with 'local-exec'...
module.cpd[0].null_resource.login_cluster (local-exec): Executing: ["/bin/sh" "-c" "\necho 'Remove any existing olm-utils-play container' \npodman rm --force olm-utils-play\n\necho 'Run login-to-ocp command'\n\n./cpd/cpd-cli manage login-to-ocp --server https://c115-e.us-south.containers.cloud.ibm.com:32506 -u 'admin' -p '' || ./cpd/cpd-cli manage login-to-ocp --server https://c115-e.us-south.containers.cloud.ibm.com:32506 --token='sha256~Sp5BnFAl5Zdcq7Qs55DdKKpOq_f9gb8GAoGIXNtWy9M'\n\nna || oc login https://c115-e.us-south.containers.cloud.ibm.com:32506 -u 'admin' -p '' --insecure-skip-tls-verify=true || oc login --server='https://c115-e.us-south.containers.cloud.ibm.com:32506' --token='sha256~Sp5BnFAl5Zdcq7Qs55DdKKpOq_f9gb8GAoGIXNtWy9M'\n \nsleep 60\n\n"]
module.cpd[0].null_resource.login_cluster (local-exec): Remove any existing olm-utils-play container
module.cpd[0].null_resource.login_cluster (local-exec): /bin/sh: 3: podman: not found
module.cpd[0].null_resource.login_cluster (local-exec): Run login-to-ocp command
module.cpd[0].null_resource.login_cluster (local-exec): [INFO] 2022-10-03T13:03:42.875378Z Checking architecture: amd64
module.cpd[0].null_resource.login_cluster (local-exec): [INFO] 2022-10-03T13:03:42.875397Z Checking podman or docker
module.cpd[0].null_resource.login_cluster (local-exec): [ERROR] 2022-10-03T13:03:42.875528Z Command exception: Neither podman nor docker is installed. Please install first.
module.cpd[0].null_resource.login_cluster (local-exec): [ERROR] 2022-10-03T13:03:42.876157Z RunPluginCommand:Execution error: exit status 1
module.cpd[0].null_resource.login_cluster (local-exec): [INFO] 2022-10-03T13:03:42.951775Z Checking architecture: amd64
module.cpd[0].null_resource.login_cluster (local-exec): [INFO] 2022-10-03T13:03:42.951797Z Checking podman or docker
module.cpd[0].null_resource.login_cluster (local-exec): [ERROR] 2022-10-03T13:03:42.951856Z Command exception: Neither podman nor docker is installed. Please install first.
module.cpd[0].null_resource.login_cluster (local-exec): [ERROR] 2022-10-03T13:03:42.953170Z RunPluginCommand:Execution error: exit status 1
module.cpd[0].null_resource.login_cluster (local-exec): /bin/sh: 9: na: not found
module.cpd[0].null_resource.login_cluster (local-exec): Authentication required for https://c115-e.us-south.containers.cloud.ibm.com:32506 (openshift)
module.cpd[0].null_resource.login_cluster (local-exec): Username: admin
module.cpd[0].null_resource.login_cluster (local-exec): Password:
module.cpd[0].null_resource.login_cluster (local-exec): Login failed (401 Unauthorized)
module.cpd[0].null_resource.login_cluster (local-exec): Verify you have provided correct credentials.
module.cpd[0].null_resource.login_cluster (local-exec): Logged into "https://c115-e.us-south.containers.cloud.ibm.com:32506" as "IAM#kramerro@us.ibm.com" using the token provided.
module.cpd[0].null_resource.login_cluster (local-exec): You have access to 63 projects, the list has been suppressed. You can list all projects with ' projects'
module.cpd[0].null_resource.login_cluster (local-exec): Using project "default".
module.cpd[0].null_resource.login_cluster: Still creating... [10s elapsed]
module.cpd[0].null_resource.login_cluster: Still creating... [20s elapsed]
module.cpd[0].null_resource.login_cluster: Still creating... [30s elapsed]
module.cpd[0].null_resource.login_cluster: Still creating... [40s elapsed]
module.cpd[0].null_resource.login_cluster: Still creating... [50s elapsed]
module.cpd[0].null_resource.login_cluster: Still creating... [1m0s elapsed]
module.cpd[0].null_resource.login_cluster: Creation complete after 1m2s [id=6444117423432478374]
module.cpd[0].null_resource.cpd_foundational_services: Creating...
module.cpd[0].null_resource.cpd_foundational_services: Provisioning with 'local-exec'...
module.cpd[0].null_resource.cpd_foundational_services (local-exec): Executing: ["/bin/sh" "-c" "echo \"Deploy all catalogsources and operator subscriptions for cpfs,cpd_platform\" &&\nbash cpd/scripts/apply-olm.sh ./cpd 4.5.0 cpfs,cpd_platform &&\necho \"Applying CR for cpfs,cpd_platform\" &&\nbash cpd/scripts/apply-cr.sh ./cpd 4.5.0 cpfs,cpd_platform zen portworx portworx-shared-gp3 portworx-metastoredb-sc &&\necho \"Enable CSV injector\" &&\noc patch namespacescope common-service --type='json' -p='[{\"op\":\"replace\", \"path\": \"/spec/csvInjector/enable\", \"value\":true}]' -n ibm-common-services\n"]
module.cpd[0].null_resource.cpd_foundational_services (local-exec): Deploy all catalogsources and operator subscriptions for cpfs,cpd_platform
module.cpd[0].null_resource.cpd_foundational_services (local-exec): [INFO] 2022-10-03T13:04:44.701432Z Checking architecture: amd64
module.cpd[0].null_resource.cpd_foundational_services (local-exec): [INFO] 2022-10-03T13:04:44.701447Z Checking podman or docker
module.cpd[0].null_resource.cpd_foundational_services (local-exec): [ERROR] 2022-10-03T13:04:44.701483Z Command exception: Neither podman nor docker is installed. Please install first.
module.cpd[0].null_resource.cpd_foundational_services (local-exec): [ERROR] 2022-10-03T13:04:44.702800Z RunPluginCommand:Execution error: exit status 1
module.cpd[0].null_resource.cpd_foundational_services (local-exec): **********************************
module.cpd[0].null_resource.cpd_foundational_services (local-exec): Deploying catalog Sources & subscription failed for cpfs,cpd_platform
module.cpd[0].null_resource.cpd_foundational_services (local-exec): **********************************
Error: Error running command 'echo "Deploy all catalogsources and operator subscriptions for cpfs,cpd_platform" &&
bash cpd/scripts/apply-olm.sh ./cpd 4.5.0 cpfs,cpd_platform &&
echo "Applying CR for cpfs,cpd_platform" &&
bash cpd/scripts/apply-cr.sh ./cpd 4.5.0 cpfs,cpd_platform zen portworx portworx-shared-gp3 portworx-metastoredb-sc &&
echo "Enable CSV injector" &&
oc patch namespacescope common-service --type='json' -p='[{"op":"replace", "path": "/spec/csvInjector/enable", "value":true}]' -n ibm-common-services
': exit status 1. Output: Deploy all catalogsources and operator subscriptions for cpfs,cpd_platform
[INFO] 2022-10-03T13:04:44.701432Z Checking architecture: amd64
[INFO] 2022-10-03T13:04:44.701447Z Checking podman or docker
[ERROR] 2022-10-03T13:04:44.701483Z Command exception: Neither podman nor docker is installed. Please install first.
[ERROR] 2022-10-03T13:04:44.702800Z RunPluginCommand:Execution error: exit status 1
**********************************
Deploying catalog Sources & subscription failed for cpfs,cpd_platform
**********************************
It can't find podman or docker inside the container. Even installing docker it fails because it obviously cannot spin up the container required for cpd-cli. How was this ever supposed to work?
The text was updated successfully, but these errors were encountered:
I've run into the following error twice now when following the directions for deploying to managed openshift under IBM Cloud.
I create the container per the directions, log into the container, it performs the complete VPC and ROKS creation with PortWorx and then ultimately fails with the following errors:
It can't find podman or docker inside the container. Even installing docker it fails because it obviously cannot spin up the container required for cpd-cli. How was this ever supposed to work?
The text was updated successfully, but these errors were encountered: