* move common prerequisities and configure in the common directory * remove lock_path from common configuration, only rdo packages need it -- debian, obs and ubuntu packages configure it by default * use trust_domain_name and trust_domain_admin_name instead of id * update finalize message in obs and rdo IGs * fix bullet-list in filanize services * add x509keypair configuration option Partially-Implements: blueprint projectspecificinstallguides Partially-Implements: blueprint magnum-installation-guide Change-Id: I67376938f1a118c2b1f1f7326c14158178ab71ea
2.6 KiB
- Edit the
/etc/magnum/magnum.conffile:In the
[api]section, configure the host:[api] ... host = controllerIn the
[certificates]section, selectbarbican(orx509keypairif you don't have barbican installed):Use barbican to store certificates:
[certificates] ... cert_manager_type = barbican
Important
Barbican is recommended for production environments.
To store x509 certificates in magnum's database:
[certificates] ... cert_manager_type = x509keypair
In the
[cinder_client]section, configure the region name:[cinder_client] ... region_name = RegionOneIn the
[database]section, configure database access:[database] ... connection = mysql+pymysql://magnum:MAGNUM_DBPASS@controller/magnumReplace
MAGNUM_DBPASSwith the password you chose for the magnum database.In the
[keystone_authtoken]and[trust]sections, configure Identity service access:[keystone_authtoken] ... memcached_servers = controller:11211 auth_version = v3 auth_uri = http://controller:5000/v3 project_domain_id = default project_name = service user_domain_id = default password = MAGNUM_PASS username = magnum auth_url = http://controller:35357 auth_type = password [trust] ... trustee_domain_name = magnum trustee_domain_admin_name = magnum_domain_admin trustee_domain_admin_password = DOMAIN_ADMIN_PASSReplace MAGNUM_PASS with the password you chose for the magnum user in the Identity service and DOMAIN_ADMIN_PASS with the password you chose for the
magnum_domain_adminuser.In the
[oslo_messaging_notifications]section, configure thedriver:[oslo_messaging_notifications] ... driver = messagingIn the
[oslo_messaging_rabbit]section, configure RabbitMQ message queue access:[oslo_messaging_rabbit] ... rabbit_host = controller rabbit_userid = openstack rabbit_password = RABBIT_PASSReplace RABBIT_PASS with the password you chose for the openstack account in RabbitMQ.