Chapter 6. PackStack and Passwords

When PackStack deploys OpenStack, it generates passwords for each of the services. You will be using a subset of these passwords for authentication. This chapter describers the location of the passwords and also the steps to be followed in order to change them.

6.1. Password Locations

This section describes the location of the passwords for each service.

Table 6.1. PackStack and Passwords

Service Location of the Passwords
Identity ~/keystonerc_admin
Compute /etc/nova/nova.conf
OpenStack Networking /etc/neutron/neutron.conf
Image /etc/glance/glance-api.conf
Block Storage /etc/cinder/cinder.conf
Object Storage /etc/swift/proxy-server.conf
MySQL Database ~/.my.cnf
OpenStack Telemetry /etc/ceilometer/ceilometer.conf
Orchestration /etc/heat/heat.conf
Nagios /etc/nagios/passwd

Note

Most of the config files also contain the MySQL passwords for the service in the following format. For example, for the Image service, sql_connection = mysql://glance:12345678abcdefgh@192.0.43.10/glance where,
  • 12345678abcdefgh is the MySQL password for the Image service
  • first instance of glance is the user name
  • the second instance of glance is the database name