Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-36153

Openshift installer raises the following error: couldn't get current server API group list: Get "https://api.qshift.snowdrop.dev:6443/api?timeout=32s": tls: failed to verify certificate

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • No
    • None
    • None
    • None
    • None
    • -
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      The OpenShift installer raises the following error during the process to create a cluster on OpenStack - RHOS-D
      
      DEBUG OpenShift Installer 4.14.31                  
      DEBUG Built from commit e3955191fd56cfcc0ef1d20d38d56a462a9f9138 
      INFO Waiting up to 20m0s (until 11:56AM CEST) for the Kubernetes API at https://api.qshift.snowdrop.dev:6443... 
      DEBUG Loading Agent Config...                      
      DEBUG Still waiting for the Kubernetes API: Get "https://api.qshift.snowdrop.dev:6443/version": tls: failed to verify certificate: x509: certificate is valid for kubernetes, kubernetes.default, kubernetes.default.svc, kubernetes.default.svc.cluster.local, openshift, openshift.default, openshift.default.svc, openshift.default.svc.cluster.local, 172.30.0.1, not api.qshift.snowdrop.dev 

      Remark: I was able using the same config as provided hereafter and installer to create a cluster the 24th of June 2024.

      Version-Release number of selected component (if applicable):

      openshift-installer: 4.14.31, 4.15.19    

      Config file

      additionalTrustBundlePolicy: Proxyonly
      apiVersion: v1
      baseDomain: snowdrop.dev
      compute:
      - architecture: amd64
        hyperthreading: Enabled
        name: worker
        platform:
          openstack:
            type: ocp4.control
        replicas: 3
      controlPlane:
        architecture: amd64
        hyperthreading: Enabled
        name: master
        platform: {}
        replicas: 3
      metadata:
        name: qshift
      networking:
        clusterNetwork:
        - cidr: 10.128.0.0/14
          hostPrefix: 23
        machineNetwork:
        - cidr: 172.208.0.0/16
        networkType: OVNKubernetes
        serviceNetwork:
        - 172.30.0.0/16
      platform:
        openstack:
          clusterOSImage: rhcos-4.15.0
          apiFloatingIP: 10.0.179.59
          ingressFloatingIP: 10.0.179.223
          cloud: psi
          defaultMachinePlatform:
            type: ocp4.control
          externalDNS: null
          externalNetwork: provider_net_cci_14
      publish: External
      pullSecret: '{"auths":{"cloud.openshift.com":<SKIPPED>'
      sshKey: |
        ssh-rsa AAAAB3NzaC1yc2EAAA...Xgo5ShzJ ajc102@localhost.localdomain    

              mdemaced Maysa De Macedo Souza
              cmoullia Charles Moulliard
              None
              None
              Itshak Brown Itshak Brown
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: