Rate This Document
Findability
Accuracy
Completeness
Readability

Creating the Glance Database

Glance provides a catalog service for storing and querying virtual drive images of VM instances. Nova compute service components can use this service when VM instances are running.

Perform the following operations on the controller node.

  1. Access the MySQL database.
    1
    mysql -u root -p
    
  2. Create a Glance database.
    1
    CREATE DATABASE glance;
    
  3. Grant Glance access permission, and set the PASSWORD to the password of the glance user to access the database.
    1
    2
    GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' IDENTIFIED BY 'PASSWORD';
    GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' IDENTIFIED BY 'PASSWORD';
    

  4. Exit the database.
    exit