Learning OpenStack Networking
上QQ阅读APP看书,第一时间看更新

Installing and configuring Glance components

To install Glance, run the following command from the controller node:

    # apt install glance

Update the database connection string in the glance-api configuration file found at /etc/glance/glance-api.conf to use the MySQL Glance database:

[database]
...
connection = mysql+pymysql://glance:glance@controller01/glance

Repeat the process for the glance-registry configuration file found at /etc/glance/glance-registry.conf:

[database]
...
connection = mysql+pymysql://glance:glance@controller01/glance