Update Nova endpoint

asked 2018-09-23 10:40:15 -0600

masgouri gravatar image

I'm currently running Openstack Queens on Ubuntu 18.04. I decided to start using SSL for my API endpoints. I've updated the endpoints, and they are now pointing to an haproxy server that handles all the SSL for me (so there is SSL communication from end-user to the haproxy server, after which it is plain text to the controller and other nodes).

All of my services seem to work except for Nova for some reason. It looks like the endpoints haven't updated properly. When I run 'nova list' it shows the HTTP endpoint, but when I check it against the 'openstack endpoint list' I can see the HTTPS endpoints. Any help would be appreciated.

root@controller-01:~# nova list

ERROR (ConnectFailure): Unable to establish connection to http://controller.domain.com:8774/v2.1/: ('Connection aborted.', BadStatusLine("''",))


root@controller-01:~# openstack endpoint list | grep nova | cut -d '|' -f 4-

nova | compute | True | internal | https://controller.domain.com:8774/v2.1 |

nova | compute | True | admin | https://controller.domain.com:8774/v2.1 |

nova | compute | True | public | https://controller.domain.com:8774/v2.1 |

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-10-02 00:22:54 -0600

updated 2018-11-23 06:29:31 -0600

you should update nova endpoints in Keystone Database or recreate nova endpoint, after update you need to sync the Keystone database and modify endpoints in nova configuration file

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2018-09-23 10:40:15 -0600

Seen: 122 times

Last updated: Nov 23 '18