Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Glance Installation Problem

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following t\he guide here, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql. Creating 'glance' Database. Initializing the glance database, please wait... runuser: user glance does not exist ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.

Glance Installation Problem

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following t\he guide here, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql. MySql. Creating 'glance' Database. Database. Initializing the glance database, please wait... wait... runuser: user glance does not exist exist ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist exist Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.

Glance Installation Problem

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following t\he guide here, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql. MySql.
Creating 'glance' Database. Database.
Initializing the glance database, please wait... wait...
runuser: user glance does not exist exist
ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist exist
Final sanity check failed.

failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.

Glance Installation Problem

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following t\he the openstack official guide here, online, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql.
Creating 'glance' Database.
Initializing the glance database, please wait...
runuser: user glance does not exist
ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist
Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.

Glance Installation Problem

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following the openstack official guide online, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql.
Creating 'glance' Database.
Initializing the glance database, please wait...
runuser: user glance does not exist
ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist
Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.

User Glance Installation Problemdoesn't exist while setting up glance mysql db

Hello Everyone,

I am trying to install Glance Image Service on my CentOS machine. following the openstack official guide online, I have installed and configured my Identity Service (Keystone) as well as mySql database.

In installing glance, I first configured the location of the database for both the api and registry by the following commands:

# openstack-config --set /etc/glance/glance-api.conf \ DEFAULT sql_connection  mysql://glance:GLANCE_DBPASS@127.0.0.1/glance
# openstack-config --set /etc/glance/glance-registry.conf \ DEFAULT sql_connection mysql://glance:GLANCE_DBPASS@127.0.0.1/glance

I also checked the configuration files and they were updated.

Then I trued creating the database and its tables with the following command:

# openstack-db --init --service glance --password GLANCE_DBPASS

But I am faced with the following error:

Verified Connectivity to MySql.
Creating 'glance' Database.
Initializing the glance database, please wait...
runuser: user glance does not exist
ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' does not exist
Final sanity check failed.

I checked the mySql database and the user 'glance' was already created. It was also created in the Keystone user lists.

Thank you in advance for your time.