Installing and Configuring OpenStack in Oracle® Solaris 11.2

Exit Print View

Updated: April 2015
 
 

Installing Glance

As with the Cinder configuration, setting up Glance will require configuring some authentication information as well as information on the location of the MySQL and RabbitMQ services.

How to Install and Configure Glance

  1. Install the Glance package.
    controller# pkg install glance
  2. Set Glance configuration parameters.

      Uncomment and set the following parameters in each of the following files:

    • /etc/glance/glance-api.conf

    • /etc/glance/glance-cache.conf

    • /etc/glance/glance-registry.conf

    • /etc/glance/glance-scrubber.conf

    auth_uri = http://controller-name:5000/v2.0
    identity_uri = http://controller-name:35357
    admin_tenant_name = service
    admin_user = glance-password
    admin_password = glance
  3. Specify the URI of the MySQL database.

    In both of the files /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf, specify the URI of the MySQL database:

    connection=mysql://glance:glance@controller-name/glance
  4. Specify the location of the RabbitMQ service.

    In /etc/glance/glance-api.conf, set the location of the RabbitMQ service.

    rabbit_host = controller-name
  5. Enable the Glance SMF services.
    controller# svcadm enable glance-db
    controller# svcadm enable glance-api glance-registry glance-scrubber