Uploaded image for project: 'openstack-k8s'
  1. openstack-k8s
  2. OSPK8-643

Post Deployment Openstack client error: "Could not find versioned identity endpoints"

XMLWordPrintable

    • False
    • None
    • False
    • Important

       

      Live env: Titan131

       

      ERROR :

       

      [cloud-admin@openstackclient ~]$ openstack network list
      Failed to discover available identity versions when contacting https://overcloud.osptest.test.metalkube.org:13000. Attempting to parse version from URL.
      Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to https://overcloud.osptest.test.metalkube.org:13000: HTTPSConnectionPool(host='overcloud.osptest.test.metalkube.org', port=13000): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f42877ba6d8>: Failed to establish a new connection: [Errno 113] No route to host',))

      Story so far :

       

      Finished a successful deployment of hybrid sriov-dpdk , then when trying to ssh to the openstack client it was unavailable :

       

      oc exec -it -n openstack openstackclient bash
      error: cannot exec into a container in a completed pod; current phase is Failed

      I then deleted the openstack client pod and waited for its recreaction.

       

      It spun up but the openstack client command fails everytime with the first above error.

      Some debug info:

      kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
      error: cannot exec into a container in a completed pod; current phase is Failed
      [root@titan131 ~]# oc get pods
      NAME                                                              READY   STATUS                   RESTARTS   AGE
      002c4cfec23fd3a625ac3ce17163b150c1ec4a53644edaeb5a29a3f4fbk6s2b   0/1     Completed                0          38h
      deploy-openstack-default-qc5j2                                    0/1     Completed                0          37h
      openstack-666564b7b7-hthkf                                        2/2     Running                  0          38h
      openstackclient                                                   0/1     Error                    0          38h
      osp-director-operator-controller-manager-7cd6fc9dc5-9d55v         2/2     Running                  0          38h
      osp-director-operator-index-2kh7r                                 1/1     Running                  0          38h
      virt-launcher-controllersriov-0-p9b6h                             0/1     ContainerStatusUnknown   1          38h
      virt-launcher-controllersriov-1-wgg9d                             1/1     Running                  0          38h
      virt-launcher-controllersriov-2-jc2cc                             0/1     ContainerStatusUnknown   1          38h[root@titan131 ~]# oc describe openstackclient
      Name:         openstackclient
      Namespace:    openstack
      Labels:       ooo-subnetname/ctlplane=true
                    ooo-subnetname/external=true
                    ooo-subnetname/internal_api=true
                    osnetconfig-ref=openstacknetconfig
      Annotations:  <none>
      API Version:  osp-director.openstack.org/v1beta1
      Kind:         OpenStackClient
      Metadata:
        Creation Timestamp:  2022-11-18T18:05:47Z
        Generation:          1
        Managed Fields:
          API Version:  osp-director.openstack.org/v1beta1
          Fields Type:  FieldsV1
          fieldsV1:
            f:metadata:
              f:ownerReferences:
                .:
                k:{"uid":"4afd42d6-4b2e-49a7-abd1-70213f53cfd8"}:
            f:spec:
              .:
              f:caConfigMap:
              f:cloudName:
              f:deploymentSSHSecret:
              f:networks:
              f:runGID:
              f:runUID:
              f:storageClass:
          Manager:      manager
          Operation:    Update
          Time:         2022-11-18T18:05:47Z
          API Version:  osp-director.openstack.org/v1beta1
          Fields Type:  FieldsV1
          fieldsV1:
            f:status:
              .:
              f:conditions:
              f:netStatus:
                .:
                f:openstackclient-0:
                  .:
                  f:annotatedForDeletion:
                  f:ctlplaneIP:
                  f:hostRef:
                  f:hostname:
                  f:ipaddresses:
                    .:
                    f:ctlplane:
                    f:external:
                    f:internal_api:
                  f:networkDataSecretName:
                  f:provisioningState:
                  f:userDataSecretName:
          Manager:      manager
          Operation:    Update
          Subresource:  status
          Time:         2022-11-18T18:05:57Z
        Owner References:
          API Version:           osp-director.openstack.org/v1beta2
          Block Owner Deletion:  true
          Controller:            true
          Kind:                  OpenStackControlPlane
          Name:                  overcloud
          UID:                   4afd42d6-4b2e-49a7-abd1-70213f53cfd8
        Resource Version:        28444807
        UID:                     7cddb6dd-9182-4025-8956-4b8a2cab5773
      Spec:
        Ca Config Map:          cacerts
        Cloud Name:             overcloud
        Deployment SSH Secret:  osp-controlplane-ssh-keys
      [cloud-admin@openstackclient openstack]$ openstack network list
      Failed to discover available identity versions when contacting https://overcloud.osptest.test.metalkube.org:13000. Attempting to parse version from URL.
      Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to https://overcloud.osptest.test.metalkube.org:13000: HTTPSConnectionPool(host='overcloud.osptest.test.metalkube.org', port=13000): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa52fffd6d8>: Failed to establish a new connection: [Errno 113] No route to host',))
      [cloud-admin@openstackclient openstack]$ ping overcloud.osptest.test.metalkube.org
      PING overcloud.osptest.test.metalkube.org (10.46.86.195) 56(84) bytes of data.
      From openstackclient (10.46.86.250) icmp_seq=1 Destination Host Unreachable
      From openstackclient (10.46.86.250) icmp_seq=2 Destination Host Unreachable
      From openstackclient (10.46.86.250) icmp_seq=3 Destination Host Unreachable 

       

              pkomarov pini komarov
              pkomarov pini komarov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: