← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1734723] [NEW] Install and configure (Ubuntu) in glance

 

Public bug reported:

The documentation about prerequisites for Glance installation, is
incomplete for all distros (see
https://docs.openstack.org/glance/pike/install/install-
ubuntu.html#prerequisites):

currently is:

    To create the database, complete these steps:

    Use the database access client to connect to the database server as
the root user:

    # mysql

it should be:

    To create the database, complete these steps:

    Use the database access client to connect to the database server as
the root user:

    # mysql

    Create the glance database:

    MariaDB [(none)]> CREATE DATABASE glance;

    Grant proper access to the glance database:

    MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
      IDENTIFIED BY 'GLANCE_DBPASS';
    MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
      IDENTIFIED BY 'GLANCE_DBPASS';

    Replace GLANCE_DBPASS with a suitable password.

    Exit the database access client.

This bug tracker is for errors with the documentation, use the following
as a template and remove or add fields as you see fit. Convert [ ] into
[x] to check boxes:

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following
resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: 15.0.1.dev1 on 'Mon Aug 7 01:28:54 2017, commit 9091d26'
SHA: 9091d262afb120fd077bae003d52463f833a4fde
Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/install-ubuntu.rst
URL: https://docs.openstack.org/glance/pike/install/install-ubuntu.html

** Affects: glance
     Importance: Undecided
         Status: New

** Description changed:

- The documentation about creating the Glance DB is incomplete:
+ The documentation about prerequisites for Glance installation, is
+ incomplete for all distros (see
+ https://docs.openstack.org/glance/pike/install/install-
+ ubuntu.html#prerequisites):
  
  currently is:
  
-     To create the database, complete these steps:
+     To create the database, complete these steps:
  
-     Use the database access client to connect to the database server as
+     Use the database access client to connect to the database server as
  the root user:
  
-     # mysql
- 
+     # mysql
  
  it should be:
  
-     To create the database, complete these steps:
+     To create the database, complete these steps:
  
-     Use the database access client to connect to the database server as
+     Use the database access client to connect to the database server as
  the root user:
  
-     # mysql
+     # mysql
  
-     Create the glance database:
+     Create the glance database:
  
-     MariaDB [(none)]> CREATE DATABASE glance;
+     MariaDB [(none)]> CREATE DATABASE glance;
  
-     Grant proper access to the glance database:
+     Grant proper access to the glance database:
  
-     MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
-       IDENTIFIED BY 'GLANCE_DBPASS';
-     MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
-       IDENTIFIED BY 'GLANCE_DBPASS';
+     MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
+       IDENTIFIED BY 'GLANCE_DBPASS';
+     MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
+       IDENTIFIED BY 'GLANCE_DBPASS';
  
-     Replace GLANCE_DBPASS with a suitable password.
+     Replace GLANCE_DBPASS with a suitable password.
  
-     Exit the database access client.
- 
+     Exit the database access client.
  
  This bug tracker is for errors with the documentation, use the following
  as a template and remove or add fields as you see fit. Convert [ ] into
  [x] to check boxes:
  
  - [ ] This doc is inaccurate in this way: ______
  - [ ] This is a doc addition request.
- - [ ] I have a fix to the document that I can paste below including example: input and output. 
+ - [ ] I have a fix to the document that I can paste below including example: input and output.
  
  If you have a troubleshooting or support issue, use the following
  resources:
  
-  - Ask OpenStack: http://ask.openstack.org
-  - The mailing list: http://lists.openstack.org
-  - IRC: 'openstack' channel on Freenode
+  - Ask OpenStack: http://ask.openstack.org
+  - The mailing list: http://lists.openstack.org
+  - IRC: 'openstack' channel on Freenode
  
  -----------------------------------
  Release: 15.0.1.dev1 on 'Mon Aug 7 01:28:54 2017, commit 9091d26'
  SHA: 9091d262afb120fd077bae003d52463f833a4fde
  Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/install-ubuntu.rst
  URL: https://docs.openstack.org/glance/pike/install/install-ubuntu.html

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1734723

Title:
  Install and configure (Ubuntu) in glance

Status in Glance:
  New

Bug description:
  The documentation about prerequisites for Glance installation, is
  incomplete for all distros (see
  https://docs.openstack.org/glance/pike/install/install-
  ubuntu.html#prerequisites):

  currently is:

      To create the database, complete these steps:

      Use the database access client to connect to the database server
  as the root user:

      # mysql

  it should be:

      To create the database, complete these steps:

      Use the database access client to connect to the database server
  as the root user:

      # mysql

      Create the glance database:

      MariaDB [(none)]> CREATE DATABASE glance;

      Grant proper access to the glance database:

      MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' \
        IDENTIFIED BY 'GLANCE_DBPASS';
      MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \
        IDENTIFIED BY 'GLANCE_DBPASS';

      Replace GLANCE_DBPASS with a suitable password.

      Exit the database access client.

  This bug tracker is for errors with the documentation, use the
  following as a template and remove or add fields as you see fit.
  Convert [ ] into [x] to check boxes:

  - [ ] This doc is inaccurate in this way: ______
  - [ ] This is a doc addition request.
  - [ ] I have a fix to the document that I can paste below including example: input and output.

  If you have a troubleshooting or support issue, use the following
  resources:

   - Ask OpenStack: http://ask.openstack.org
   - The mailing list: http://lists.openstack.org
   - IRC: 'openstack' channel on Freenode

  -----------------------------------
  Release: 15.0.1.dev1 on 'Mon Aug 7 01:28:54 2017, commit 9091d26'
  SHA: 9091d262afb120fd077bae003d52463f833a4fde
  Source: https://git.openstack.org/cgit/openstack/glance/tree/doc/source/install/install-ubuntu.rst
  URL: https://docs.openstack.org/glance/pike/install/install-ubuntu.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1734723/+subscriptions


Follow ups