Openstack commands fail on the Undercloud with stackrc sourced
Issue
openstack baremetal node list
returns:
Failed to discover available identity versions when contacting https://[provisioning ip address]. Attempting to parse version from URL. Could not determine a suitable URL for the plugin
curl [ip address of provisioning]
returns
curl: (60) Peer’s Certificate has expired
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a “bundle” of certificate Authority (CA) public keys (CA certs). If the default using the –cacert option.
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (It might be expired, or the name might not match the domain name in the URL)
If you’d like to turn off curl’s verification of the certificate, use the -k (or –insecure) option
Environment
- Red Hat OpenStack Platform 13
- Red Hat OpenStack Platform 16
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.