Cloud Pak for Data

Can't install CP4D 3.5.2 on Openshift cluter

  • 1.  Can't install CP4D 3.5.2 on Openshift cluter

    Posted Mon July 12, 2021 09:34 AM

    I'm trying to install cp4d into an Openshift cluster, however, I'm getting this error when installing:

    [ERROR] [2021-07-10 14:03:52-0687] Error writing blob: Error initiating layer upload to /v2/cpd-meta-ops/influxdb/blobs/uploads/ in default-route-openshift-image-registry.apps.hpdevocp.cp.fyre.ibm.com: error parsing HTTP 405 response body: invalid character 'M' looking for beginning of value: "Method not allowed\n"
    [ERROR] [2021-07-10 14:03:52-0688] 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/influxdb:3.5.2-x86_64-97 after 4 retries. Abort


    This is the content of my repo.yaml 

    fileservers:
      - 
        url: "https://raw.github.com/IBM/cloud-pak/master/repo/cpd/3.5"
    registry:
      - 
        url: cp.icr.io/cp/cpd
        name: base-registry
        namespace: ""
        username: cp
        apikey: ************* (hidden)


    this is the command I've run:

    ./cpd-cli install --repo ./repo.yaml \
    --assembly lite \
    --namespace ${NAMESPACE} \
    --storageclass ${STORAGE_CLASS} \
    --override-config ocs \
    --target-registry-username ${REGISTRY_USERNAME} \
    --target-registry-password ${REGISTRY_PASSWORD} \
    --transfer-image-to default-route-openshift-image-registry.apps.hpdevocp.cp.fyre.ibm.com/${NAMESPACE} \
    --cluster-pull-prefix image-registry.openshift-image-registry.svc:5000/${NAMESPACE} \
    --latest-dependency \
    --insecure-skip-tls-verify \
    --verbose \
    --accept-all-licenses
    


    Can someone help?



    ------------------------------
    Rafael Felipe Craveiro Teixeira
    ------------------------------