Ask Your Question

Queens Octavia Endpoint

asked 2018-12-06 22:42:48 -0500

danigrith gravatar image

updated 2018-12-06 22:43:37 -0500

I'm trying to setup Octavia in my Queens OpenStack deploy. I've setup the Octavia service and have it running. Now I am attempting to create the Octavia endpoint in keystone. Based on this bug: ( I should be able to, however whenever I try, I get the following error:

# openstack endpoint create --region RegionOne load-balancer public
No service with a type, name or ID of 'load-balancer' exists.
# openstack endpoint create --region RegionOne octavia public
No service with a type, name or ID of 'octavia' exists.

Based on this question I should be able to create the service: (

Despite the documentation never mentioning to do it in the first place. Additionally the documentation still says you need the neutron LBaaS configured and according to this: (

You don't need it and can do pure Octavia. What am I missing that Keystone doesn't recognize Octavia as a service?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-12-09 04:13:59 -0500

esxzawq gravatar image

updated 2018-12-09 04:22:23 -0500

it is because you have not created it's service, here is the step by step configurations : ( CentOS 7.5 )

1 - create it's database :

MariaDB [(none)]> create database octavia;

MariaDB [(none)]> GRANT ALL PRIVILEGES ON octavia.* TO 'octavia'@'%' IDENTIFIED BY 'password';

MariaDB [(none)]> GRANT ALL PRIVILEGES ON octavia.* TO 'octavia'@'localhost' IDENTIFIED BY 'password';

2 - create the octavia user in openstack :

openstack user create --domain default --password-prompt octavia

3 - add the admin role to the octavia user :

openstack role add --project service --user octavia admin

4 - create the octavia service :

openstack service create --name octavia --description "OpenStack LoadBalancer" load-balancer

5 - create the endpoints :

openstack endpoint create --region RegionOne load-balancer public

openstack endpoint create --region RegionOne load-balancer admin

openstack endpoint create --region RegionOne load-balancer internal

6 - configure the octavia.conf file

7 - populate the database:

octavia-db-manage upgrade head

8 - start the services or restart if they have been started before :

systemctl start octavia-api.service

systemctl start octavia-worker.service

systemctl start octavia-health-manager.service

systemctl start octavia-housekeeping.service

edit flag offensive delete link more


That was it exactly. I missed creating the service in Keystone. Thank you also very much for the Octavia Setup breakdown. OpenStack's docs would be leagues better for basic setups if they just added these steps in themselves.

danigrith gravatar imagedanigrith ( 2018-12-10 22:14:02 -0500 )edit

You're welcome Yes the octavia doc is not as good as the others , but they are working on it. And also it would be better to add step by step TLS configuration and amphora creation for octavia.conf

esxzawq gravatar imageesxzawq ( 2018-12-11 13:07:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-12-06 22:42:48 -0500

Seen: 164 times

Last updated: Dec 09 '18