From b8461f4f0fb937cee3fa99623e1d9c7f5c7cdd27 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 6 Apr 2014 13:48:15 +0200 Subject: [PATCH] Heat installation: minor fixes Update the markup. Add the rm command deleting the sqlite DB on Ubuntu. Change-Id: I8d112220aca76d6edfb98e256ab5be9f0c6f0712 --- doc/install-guide/section_heat-install.xml | 23 +++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/doc/install-guide/section_heat-install.xml b/doc/install-guide/section_heat-install.xml index 9081b53e42..579da677e0 100644 --- a/doc/install-guide/section_heat-install.xml +++ b/doc/install-guide/section_heat-install.xml @@ -37,20 +37,20 @@ HEAT_DBPASS with the password for the database user: # openstack-config --set /etc/heat/heat.conf \ - database connection mysql://heat:HEAT_DBPASS@controller/heat + database connection mysql://heat:HEAT_DBPASS@controller/heat Edit - /etc/heat/heat.conf and change the - [DEFAULT] section. + /etc/heat/heat.conf and modify the + [database] section: [database] # The SQLAlchemy connection string used to connect to the database -connection = mysql://heat:HEAT_DBPASS@controller/heat -... +connection = mysql://heat:HEAT_DBPASS@controller/heat By default, the Ubuntu packages create an SQLite database. Delete the heat.sqlite file that was created in the /var/lib/heat/ directory so that it - does not get used by mistake. + does not get used by mistake: + # rm /var/lib/heat/heat.sqlite Use the password that you set previously to log in as root and @@ -89,10 +89,10 @@ log_dir=/var/log/heat message broker. Edit /etc/heat/heat.conf and modify the [DEFAULT] section: - rabbit_host = controller + rabbit_host = controller rabbit_password = RABBIT_PASS Run the following commands: - # openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_host controller + # openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_host controller # openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_password RABBIT_PASS @@ -110,21 +110,22 @@ rabbit_password = RABBIT_PASS [ec2authtoken] sections to add credentials to the Orchestration Service: [keystone_authtoken] -auth_host = controller +auth_host = controller auth_port = 35357 auth_protocol = http auth_uri = http://controller:5000/v2.0 admin_tenant_name = service admin_user = heat admin_password = HEAT_PASS + [ec2authtoken] auth_uri = http://controller:5000/v2.0 Register the Heat and CloudFormation APIs with the Identity Service so that other OpenStack services can locate - these APIs. Register the service and specify the - endpoint: + these APIs. Register the services and specify the + endpoints: $ keystone service-create --name=heat --type=orchestration \ --description="Orchestration" $ keystone endpoint-create \