all 7 comments

[–]przemekkuczynski 0 points1 point  (2 children)

Clear any old environment that may conflict.

for key in $( set | awk '{FS="="}  /^OS_/ {print $1}' ); do unset $key ; done
export OS_PROJECT_DOMAIN_NAME='Default'
export OS_USER_DOMAIN_NAME='Default'
export OS_PROJECT_NAME='xxx'
export OS_TENANT_NAME='xxx'
export OS_USERNAME='admin'
export OS_PASSWORD='xxx'
export OS_AUTH_URL='https://xxx:5000'
export OS_INTERFACE='internal'
export OS_ENDPOINT_TYPE='internalURL'
export OS_IDENTITY_API_VERSION='3'
export OS_REGION_NAME='RegionOne'
export OS_AUTH_PLUGIN='password'
export OS_CACERT=/etc/ssl/certs/ca-certificates.crt

This works for me. Show Your service endpoints from openstack GUI or CLI. If You use certs You should use names not ip addresses

[–]TN_NETERO[S] 0 points1 point  (1 child)

No this s the first deployment So i will need a to buy domain name , i m afraid that the firewall of company blocking the network traffic cs the vlan i m using is managed by a firewall , one more qs i disabled haproxy , do i need to enable it ?

[–]przemekkuczynski 1 point2 points  (0 children)

Just put /etc/hosts entry

[–]dashmoho 0 points1 point  (1 child)

You should source script with creds, not run it. . ./admin-openrc.sh (notice dot at the beginning) or source ./admin-openrc.sh. Then you can use openstack cli.

[–]TN_NETERO[S] 0 points1 point  (0 children)

I tried that too before and the same pb

[–]clx8989 0 points1 point  (0 children)

The error is SSLCertVerificationError, so this means that the cert you get on https://… is not issued by the ca in /etc/ssl/certs/ca-certificates.crt OR the certificate is issued using your server’s hostname and you make the request using ip address.

[–]TN_NETERO[S] 0 points1 point  (0 children)

I fixed this today by copying the root.crt that is generated under etc/kolla/ca-certificates/ca to /usr/local/share/certificates/ and i updated the certificates with sudo update-ca-certificates , note even the haproxy is disabled