Menu
Online Notes
  • Privacy Policy
Online Notes

Placement services on Controller Node

Posted on October 9, 2020October 20, 2020 by sandeep

Create the database and grant privileges

CREATE DATABASE placement;

GRANT ALL PRIVILEGES ON placement.* TO 'placement'@'localhost' IDENTIFIED BY 'commonpass';

GRANT ALL PRIVILEGES ON placement.* TO 'placement'@'%' IDENTIFIED BY 'commonpass';

FLUSH PRIVILEGES;
exit

Create a placement service user

. admin-openrc
openstack user create --domain default --password-prompt placement

Add the Placement user to the service project with the admin role

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

Create the Placement API entry in the service catalog

openstack service create --name placement --description "Placement API" placement

Create the Placement API service endpoints

openstack endpoint create --region RegionOne placement public http://controller:8778

openstack endpoint create --region RegionOne placement internal http://controller:8778

openstack endpoint create --region RegionOne placement admin http://controller:8778

Install the packages

apt install -y placement-api

Edit the /etc/placement/placement.conf

In the [placement_database] section, configure database access

[placement_database]
connection = mysql+pymysql://placement:commonpass@controller/placement

In the [api] and [keystone_authtoken] sections, configure Identity service access

[api]
auth_strategy = keystone

[keystone_authtoken]
auth_url = http://controller:5000/v3
memcached_servers = controller:11211
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = placement
password = commonpass

Populate the placement database and restart services

su -s /bin/sh -c "placement-manage db sync" placement 
service apache2 restart

18.04 bionic install Openstack placement train ubuntu
Howto Installation Steps

Recent Posts

  • Launching an instance
  • Removing compute node/host from an Openstack deployment
  • Cinder – Block storage services – Storage Nodes
  • Cinder – Block storage service – Controller node
  • Horizon – Dashboard on Controller Node
  • Neutron – Networking service on Compute nodes
  • Neutron – Networking service on Controller node
  • Nova – Compute services on Compute nodes
  • Nova – Compute services on Controller node
  • Placement services on Controller Node

Recent Comments

  • Adding ClamAV Anti-virus checks to existing Postfix, Amavis+Spamassasin configuration – Online Notes on Configuring secure mail server using Postfix with Dovecot, Amavis, Spamassasin, Postgrey and OpenDKIM

Archives

  • October 2020
  • February 2020
  • January 2020
  • December 2019

Categories

  • Howto
  • Installation Steps
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2021 Online Notes | Powered by WordPress & Superb Themes