Ask Your Question

Mr.chun's profile - activity

2019-03-11 08:14:48 -0500 received badge  Famous Question (source)
2019-03-11 08:14:48 -0500 received badge  Notable Question (source)
2019-03-11 08:14:48 -0500 received badge  Popular Question (source)
2019-02-07 00:30:09 -0500 asked a question Couldn`t get keystone authorized after rebooting

Hi guys.

I manage to resolve openstack-helm issue.

After i deployed openstack using the project openstack-helm on my desktop machine.

It worked well before i rebooted my machine.

But after reboot, i can`t get authorized from keystone.

When i try access openstack system over python openstack CLI , it always fail to establish a new connection.

I checked my config such as /etc/nsswitch and /etc/host. But i can`t figure out what is a problem.

If someone knows a solution, plz let me know.

Thank you.

Below is logs.

    stack@stack:~$ openstack stack list
Failed to discover available identity versions when contacting http://keystone.openstack.svc.cluster.local/v3. Attempting to parse version from URL.
Unable to establish connection to http://keystone.openstack.svc.cluster.local/v3/auth/tokens: HTTPConnectionPool(host='keystone.openstack.svc.cluster.local', port=80): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2edcc166d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

stack@stack:~$ kubectl get svc --namespace=kube-system
NAME                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                    AGE
etcd                  ClusterIP   <none>        6666/TCP                   9d
ingress               ClusterIP    <none>        80/TCP,443/TCP,18080/TCP   9d
ingress-error-pages   ClusterIP   None            <none>        80/TCP                     9d
ingress-exporter      ClusterIP    <none>        10254/TCP                  9d
kube-dns              ClusterIP      <none>        53/UDP,53/TCP              9d
tiller-deploy         ClusterIP    <none>        44134/TCP,44135/TCP        9d

stack@stack:~$ kubectl get svc -n openstack
keystone                      ClusterIP     <none>        80/TCP,443/TCP                 9d

stack@stack:~$ nslookup

Name:   keystone.openstack.svc.cluster.local