OpenStack Heat installation
In this section, we will describe the steps for installing Heat on Ubuntu Linux:
- Change to the super user mode:
- Install Heat packages:
- Create a MySQL database for Heat:
The default connection string to
sqlite_db
needs to be replaced with a new string to the MySQL database. TheHEAT_DBPASS
parameter needs to be replaced with the actual password for theheat
database: - Configure the service user and role:
- Register the service and create the endpoint:
- Create the
heat_stack_user
role: - Install the OpenStack client:
- Create the
heat_stack_owner
role and give role to users (admin
anddemo
) who create Heat stacks: - Edit the
/etc/heat/heat.conf
file: - Replace the connection string, as shown in the following screenshot:
After incorporating the changes, the configuration file
heat.conf
should look like the following screenshot:It is also important to mention the
heat
instance user in the same configuration file under the[DEFAULT]
section.user_instance
is required to access VM via SSH...