Cloud Pak for Data

 View Only
  • 1.  Installation of EDB failed

    Posted Tue March 30, 2021 02:59 PM
      |   view attached
    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

    Attachment(s)



  • 2.  RE: Installation of EDB failed

    Posted Wed March 31, 2021 03:25 AM

    Hi,

    Can you check if you can pull the image manually?:

    podman login cp.icr.io/cp/cpd
    Username: cp
    Password:
    Login Succeeded!

    podman pull cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64

    If not, that indicates issues with your entitlements.

    Thanks




    ------------------------------
    TOMASZ HANUSIAK
    ------------------------------



  • 3.  RE: Installation of EDB failed

    Posted Wed March 31, 2021 04:34 AM

    [root@ip-10-0-132-140 cpdcli]# podman login cp.icr.io/cp/cpd -u cp -p <Entitlement key>
    Login Succeeded!
    [root@ip-10-0-132-140 cpdcli]# podman pull cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64
    Trying to pull cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64...
    denied: requested access to the resource is denied
    Error: error pulling image "cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64": unable to pull cp.icr.io/cp/cpd/zen-databases-catalog-edbpg:3.5.0-550-x86_64: unable to pull image: Error initializing source 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

    What do you mean by problem with entitlement key? We're using a free trial one and it's nearing it's end, is it the issue?

    Thanks!



    ------------------------------
    Netro Sai
    ------------------------------



  • 4.  RE: Installation of EDB failed

    Posted Wed March 31, 2021 04:44 AM

    Hi,

    This is possible.

    Where did you request the token ?

    Thanks



    ------------------------------
    TOMASZ HANUSIAK
    ------------------------------



  • 5.  RE: Installation of EDB failed

    Posted Wed March 31, 2021 05:51 AM
    https://www.ibm.com/account/reg/us-en/signup?formid=urx-42212

    ------------------------------
    Netro Sai
    ------------------------------



  • 6.  RE: Installation of EDB failed

    Posted Wed March 31, 2021 10:36 AM
    Hi,

    We need to add a statement there that the trial license is only applicable to the Base packaged of CP4D (Included with Cloud Pak for Data).

    https://www.ibm.com/support/knowledgecenter/en/SSQNUZ_3.5.0/svc-nav/head/services.html


    Thanks

    ------------------------------
    TOMASZ HANUSIAK
    ------------------------------



  • 7.  RE: Installation of EDB failed

    Posted Thu April 01, 2021 04:27 AM
    @TOMASZ HANUSIAK by "we" do you mean "us" or IBM? Because I didn't find anything in that link.

    Thanks​

    ------------------------------
    Netro Sai
    ------------------------------



  • 8.  RE: Installation of EDB failed

    Posted Fri April 02, 2021 10:52 AM
    @TOMASZ HANUSIAK - I believe there is some discussion about which premium services are included in the trial. I haven't seen complete consensus on that point. The topic that you indicated cannot be updated until we have agreement. ​

    ------------------------------
    JULIA Montarbo
    ------------------------------