Keystone not binding on 35357


Going along the course and im having issues setting up keystone. I've defined the endpoints using "keystone-manage bootstrap..." command but i get an error went attempting to create a project in the next step. Further investigation has revealed that apache is binding and listening on 500 but not 35357

root@controller:/home/max# keystone-manage bootstrap --bootstrap-password openstack --bootstrap-admin-url http://controller:35357/v3/ --bootstrap-internal-url http://controller:5000/v3/ --bootstrap-public-url http://controller:5000/v3/ --bootstrap-region-id RegionOne

root@controller:/home/max# ss -tupan | grep "5000\|35357"
tcp LISTEN 0 128 *:5000 *:* users:(("apache2",pid=3548,fd=6),("apache2",pid=3547,fd=6),("apache2",pid=3539,fd=6))

root@controller:/home/max# openstack project create test --domain default
Failed to discover available identity versions when contacting http://controller:35357/v3. Attempting to parse version from URL.
Unable to establish connection to http://controller:35357/v3/auth/tokens: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: /v3/auth/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7feb21228350>: Failed to establish a new connection: [Errno 111] Connection refused',))

  • post-author-pic
    Maxime L

    Forgot to mention, Its on Ubuntu 18.04. they changed a lot of things this version so that might have something to do with it.

  • post-author-pic
    Sean G

    Check if you have a firewall or something that might be blocking the network connection. 

  • post-author-pic
    Maxime L

    ufw is off although i dont think a firewall would prevent the port itself from listening.

    max@controller:~$ sudo ufw status
    Status: inactive
    max@controller:~$ sudo ss -tupan | grep 35357

Looking For Team Training?

Learn More