Cloud Pak for Data Group

Expand all | Collapse all

deploymentof CP4DATA fails on a ROCKS cluster on IBM CLOUD

  • 1.  deploymentof CP4DATA fails on a ROCKS cluster on IBM CLOUD

    Posted Wed May 12, 2021 10:03 PM
    I am trying to deploy CP4DATA for a PoC with IBM MAS (Maximo V8.3) on a ROCKS cluster

    Procedure I am following

    ./cpd-cli adm --assembly lite --repo repo.yaml --namespace zen --apply --accept-all-licenses  (Execution OK)

    oc adm policy add-role-to-user cpd-admin-role "IAM#vincent.cailly@fr.ibm.com" --role-namespace=zen -n zen (execution OK)

     route=$(oc get route -n openshift-image-registry| awk '/image-registry[[:space:]]/ { print $2 }')
     echo $route
    image-registry-openshift-image-registry.vccluster-21cfe565fa294c2a42c6449b6a7486c1-0000.eu-de.containers.appdomain.cloud


    ./cpd-cli adm --assembly lite --repo repo.yaml --namespace zen --apply --accept-all-licenses (execution OK)

    ./cpd-cli install --repo ./repo.yaml --accept-all-licenses –version 3.5.0 --assembly lite --namespace zen --storageclass ibmc-file-gold-gid --transfer-image-to image-registry-openshift-image-registry.vccluster-21cfe565fa294c2a42c6449b6a7486c1-0000.eu-de.containers.appdomain.cloud/zen --cluster-pull-prefix image-registry.openshift-image-registry.svc:5000/zen --insecure-skip-tls-verify --target-registry-username $(oc whoami) --target-registry-password $(oc whoami -t) --latest-dependency   (execution FAILs)

    Ectract of the output of the last commande  / Error Messages

    [INFO] [2021-05-12 20:08:58-0877] Applying all secrets in namespace zen
    [INFO] [2021-05-12 20:08:58-0878] Generated image pull secrets in YAML directory

    [INFO] [2021-05-12 20:08:58-0935] Adding image pull secrets to all SAs in namespace zen
    [INFO] [2021-05-12 20:08:58-0936] Linked secrets to all SAs


    Assembly lite x86_64 will be installed/upgraded to version 3.5.2

    The following modules will be installed:
    Module |Version |From Assembly
    0010-infra x86_64 |3.5.2 |lite x86_64
    0015-setup x86_64 |3.5.2 |lite x86_64
    0020-core x86_64 |3.5.2 |lite x86_64

    *** Transferring all required images ***

    [INFO] [2021-05-12 20:08:58-0948] Transferring image influxdb:3.5.2-x86_64-97 from repository base-registry: cp.icr.io/cp/cpd
    [INFO] [2021-05-12 20:08:58-0948] Transferring image privatecloud-usermgmt:3.5.2-x86_64-97 from repository base-registry: cp.icr.io/cp/cpd
    [INFO] [2021-05-12 20:08:58-0948] Transferring image zen-metastoredb:3.5.2-x86_64-97 from repository base-registry: cp.icr.io/cp/cpd
    [INFO] [2021-05-12 20:09:00-0706] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:00-0815] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:00-0822] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:07-0374] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:07-0546] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:07-0706] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:14-0270] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:14-0430] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:14-0544] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:21-0109] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:21-0174] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:21-0287] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:27-0810] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:27-0939] Failed. Retrying in 5 seconds...
    [INFO] [2021-05-12 20:09:28-0239] Failed. Retrying in 5 seconds...
    [ERROR] [2021-05-12 20:09:32-0812] Unable to obtain the digest from the source docker://cp.icr.io/cp/cpd/zen/privatecloud-usermgmt:3.5.2-x86_64-97: Error resolving image source reference for docker://cp.icr.io/cp/cpd/zen/privatecloud-usermgmt:3.5.2-x86_64-97 - Error reading manifest 3.5.2-x86_64-97 in cp.icr.io/cp/cpd/zen/privatecloud-usermgmt: manifest unknown: manifest unknown
    [ERROR] [2021-05-12 20:09:32-0813] worker 2 received error Error in handling image request regarding privatecloud-usermgmt:3.5.2-x86_64-97 from registry docker://cp.icr.io/cp/cpd/zen/privatecloud-usermgmt:3.5.2-x86_64-97 after 4 retries. Abort
    [ERROR] [2021-05-12 20:09:32-0943] Unable to obtain the digest from the source docker://cp.icr.io/cp/cpd/zen/influxdb:3.5.2-x86_64-97: Error resolving image source reference for docker://cp.icr.io/cp/cpd/zen/influxdb:3.5.2-x86_64-97 - Error reading manifest 3.5.2-x86_64-97 in cp.icr.io/cp/cpd/zen/influxdb: manifest unknown: manifest unknown
    [ERROR] [2021-05-12 20:09:32-0944] worker 1 received error Error in handling image request regarding influxdb:3.5.2-x86_64-97 from registry docker://cp.icr.io/cp/cpd/zen/influxdb:3.5.2-x86_64-97 after 4 retries. Abort
    [ERROR] [2021-05-12 20:09:33-0242] Unable to obtain the digest from the source docker://cp.icr.io/cp/cpd/zen/zen-metastoredb:3.5.2-x86_64-97: Error resolving image source reference for docker://cp.icr.io/cp/cpd/zen/zen-metastoredb:3.5.2-x86_64-97 - Error reading manifest 3.5.2-x86_64-97 in cp.icr.io/cp/cpd/zen/zen-metastoredb: manifest unknown: manifest unknown
    [ERROR] [2021-05-12 20:09:33-0242] worker 0 received error Error in handling image request regarding zen-metastoredb:3.5.2-x86_64-97 from registry docker://cp.icr.io/cp/cpd/zen/zen-metastoredb:3.5.2-x86_64-97 after 4 retries. Abort
    [INFO] [2021-05-12 20:09:33-0760] Collecting cpd install information
    [INFO] [2021-05-12 20:09:33-0842] Collecting operator pod log information
    [INFO] [2021-05-12 20:09:33-0907] Pod cpd-install-operator not found
    [INFO] [2021-05-12 20:09:33-0909] Collecting tiller pod log information
    [INFO] [2021-05-12 20:09:33-0950] cpd tiller pod not found
    [INFO] [2021-05-12 20:09:33-0950] Collecting configmap information
    [INFO] [2021-05-12 20:09:34-0012] Creating the diag tarball
    [WARNING] [2021-05-12 20:09:34-0014] Unable to collect the install/upgrade diag info: Failed to stat file /home/vcailly/masv8/installer/cp4d/cpd-cli-workspace/install-diag/operator.log: stat /home/vcailly/masv8/installer/cp4d/cpd-cli-workspace/install-diag/operator.log: no such file or directory
    [ERROR] [2021-05-12 20:09:34-0015] Exiting due to error (Error in handling image request regarding privatecloud-usermgmt:3.5.2-x86_64-97 from registry docker://cp.icr.io/cp/cpd/zen/privatecloud-usermgmt:3.5.2-x86_64-97 after 4 retries. Abort). Please check /home/vcailly/masv8/installer/cp4d/cpd-cli-workspace/logs/CPD-2021-05-12T20-08-45.log for details
    [ERROR] 2021-05-12T20:09:34.022735Z Execution error: exit status 1


    ------------------------------
    Vincent Cailly
    ------------------------------


  • 2.  RE: deploymentof CP4DATA fails on a ROCKS cluster on IBM CLOUD

    Posted Thu May 13, 2021 03:07 AM

    Hi,

    Can you share your repo.yaml structure ?

    Does it have the following content?:

    url: cp.icr.io/cp/cpd
    name: base-registry
    namespace: ""
    username: cp

    Is your namespace in the yaml by any chance set to 'zen' ?   - it should be empty

    Thanks



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



  • 3.  RE: deploymentof CP4DATA fails on a ROCKS cluster on IBM CLOUD

    Posted Sat May 15, 2021 05:28 AM
    Thanks Thomas
    I have removed the namespace in the repo.yaml file, and now it woks

    ------------------------------
    Vincent Cailly
    ------------------------------