Hi
I'm trying out my hand in ICP4D as a newbie.
I have setup the Openshift Cluster with icpd4 in AWS following this:
IBM Cloud Pak for Data on the AWS Cloud (deployed in a new VPC).
Now, I am trying to install EDB using the cpd-cli
Installing EDB Postgres Standard (Installing on cluster connected to the internet) command:
./cpd-cli install --repo repo.yaml --assembly edbpg --arch x86_64 --namespace dbx --storageclass aws-efs --transfer-image-to default-route-openshift-image-registry.apps.cp4dbx.xtremedata.cloud/dbx --cluster-pull-prefix image-registry.openshift-image-registry.svc:5000/dbx --target-registry-username=kubeadmin --target-registry-password=$(oc whoami -t) --accept-all-licenses --insecure-skip-tls-verify
Prior to the above command I ran the "
./cpd-cli adm
" command following this :
Setting up the cluster for EDB Postgres Standard (Preparing cluster connected to the internet)
This is my repo.yaml:
---
fileservers:
-
url: "https://raw.github.com/IBM/cloud-pak/master/repo/cpd/3.5"
registry:
-
url: cp.icr.io
name: base-registry
namespace: "cp/cpd"
username: cp
apikey: XXXX
# For EDB operator
- url: cp.icr.io
username: cp
apikey: XXXX
namespace: "cp/cpd"
name: databases-registry
But the installation ends up in giving error after installing few images.
[INFO] [2021-03-30 13:37:22-0698] 9 out of 10 images completed. Most recent image is cpd-operator-init:v1.0.2-x86_64
[INFO] [2021-03-30 13:37:27-0146] Failed. Retrying in 5 seconds...
[INFO] [2021-03-30 13:37:32-0983] Failed. Retrying in 5 seconds...
[INFO] [2021-03-30 13:37:38-0526] Failed. Retrying in 5 seconds...
[INFO] [2021-03-30 13:37:45-0442] Failed. Retrying in 5 seconds...
[ERROR] [2021-03-30 13:37:50-0444] Unable to obtain the digest from the source docker://cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64: Error resolving image source reference for docker://cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64 - Error reading manifest 3.5.0-550-x86_64 in cp.icr.io/cp/cpd/zen-databases-catalog-edbpg: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
[ERROR] [2021-03-30 13:37:50-0446] worker 0 received error Error in handling image request regarding zen-databases-catalog-edbpg:3.5.0-550-x86_64 from registry docker://cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64 after 4 retries. Abort
[INFO] [2021-03-30 13:37:50-0681] Collecting cpd install information
[INFO] [2021-03-30 13:37:50-0709] Collecting operator pod log information
[INFO] [2021-03-30 13:38:03-0997] Collecting tiller pod log information
[INFO] [2021-03-30 13:38:04-0424] Collecting configmap information
[INFO] [2021-03-30 13:38:04-0458] Creating the diag tarball
[INFO] [2021-03-30 13:38:04-0497] Install diag file /ibm/cpdcli/cpd-cli-workspace/CPD-3.5.2-43-2021-03-30T13-38-04.tgz created successfully. Please provide this file for support
[ERROR] [2021-03-30 13:38:04-0720] Exiting due to error (Error in handling image request regarding zen-databases-catalog-edbpg:3.5.0-550-x86_64 from registry docker://cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64 after 4 retries. Abort). Please check /ibm/cpdcli/cpd-cli-workspace/logs/CPD-2021-03-30T13-37-16.log for details
[ERROR] 2021-03-30T13:38:04.722520Z Execution error: exit status 1
I am attaching the logs: CPD-3.5.2-43-2021-03-30T13-57-53.tgz
------------------------------
Netro Sai
------------------------------
#CloudPakforDataGroup