Revision history [back]

click to hide/show revision 1
initial version

it is because you have not create it's service, here is the step by step configurations :

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 http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer admin http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer internal http://cumulonimbus.asgard.int:9876

6 - configure the octavia.conf file

7 - populate the database:

octavia-db-manage upgrade head

it is because you have not create created it's service, here is the step by step configurations :

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 http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer admin http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer internal http://cumulonimbus.asgard.int:9876

6 - configure the octavia.conf file

7 - populate the database:

octavia-db-manage upgrade head

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 http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer admin http://cumulonimbus.asgard.int:9876

openstack endpoint create --region RegionOne load-balancer internal http://cumulonimbus.asgard.int:9876

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