Cloud Pak for Data

Cloud Pak for Data

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  Problems with CP4D installation

    Posted 05/13/20 03:18 PM

    Hi,

    I am trying to install CP4D on OpenShift, following the instructions on: https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_current/cpd/install/rhos-install.html

    Upon entering the command:

    ./cpd-linux --repo ../repo.yaml --assembly lite --namespace cp4d --transfer-image-to docker-registry-default.10.205.0.4.nip.io/cp4d --cluster-pull-prefix docker-registry.default.svc:5000/cp4d --ask-push-registry-credentials

    I get a warning:
    [INFO] [2020-05-13 06:11:11-0390] No storage class provided, default to static provisioning

    As the storage class is NFS based I tried several options, but I am unable to figure out what to put here, does anyone know?

    And an error:
    [v] [2020-05-13 06:11:56-0908] Error trying to reuse blob sha256:bdb299bbb0dd3e702dfbbb75ac15ded4d971f0e669ebd5fddf0d0a70d750fa5f at destination: pinging docker registry returned: Get https://docker-registry-default.10.205.0.4.nip.io/v2/: x509: certificate is valid for console.icp4d.sandbox.cloud.viqtordavis.com, ip-10-205-0-4.eu-central-1.compute.internal, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, openshift, openshift.default, openshift.default.svc, openshift.default.svc.cluster.local, 10.205.0.4, 172.30.0.1, not docker-registry-default.10.205.0.4.nip.io

    I tried logging into my local OpenShift repository and got the same error:
    docker login docker-registry-default.10.205.0.4.nip.io
    Username: cp4dadmin
    Password: 
    Error response from daemon: Get https:/ /docker-registry-default.10.205.0.4.nip.io/v1/users/: x509: certificate is valid for console.icp4d.sandbox.cloud.viqtordavis.com, ip-10-205-0-4.eu-central-1.compute.internal, kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, openshift, openshift.default, openshift.default.svc, openshift.default.svc.cluster.local, 10.205.0.4, 172.30.0.1, not docker-registry-default.10.205.0.4.nip.io

    Anyone seen this before, and were you able to solve it?

    Regards,

    Bart



    ------------------------------
    Bart Bakker
    MDM Specialist
    Viqtor Davis Netherlands
    ------------------------------

    #CloudPakforDataGroup


  • 2.  RE: Problems with CP4D installation

    Posted 05/13/20 04:30 PM
    Hi,

    1) How is your NFS storage class defined ? Did you follow steps like:
    https://medium.com/faun/openshift-dynamic-nfs-persistent-volume-using-nfs-client-provisioner-fcbb8c9344e

    2) Since you are using nip.io, most likely your certificate is not valid, therefore you need to add --insecure-skip-tls-verify flag.

    Thanks

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