Several issues to be aware of during OpenStack installation

Source: Internet
Author: User

General installation steps refer to http://blog.chinaunix.net/uid-22414998-id-3265685.html?page=2;

But there are some minor problems:

1.

Open the/etc/glance/glance-registry-paste.ini file and make the same edits at the end of the file as described above.

Then, modify the Glance database connection as MySQL, edit/etc/glance/glance-registry.conf, and find the "sql_connection =" sentence as follows:

Sql_connection = Mysql://glancedbadmin:[email protected]/glance

But actually can not find such a statement, only Sqllite and other statements, directly replace this statement to sql_connection= ....

2.

Create a glance schema in the MySQL database to synchronize:

sudo glance-manage Version_control 0

sudo glance-manage db_sync

When executing these two statements, the first one is changed to sudo glance-manage Db_version_control 0

Execution of the second statement will cause an error: CRITICAL glance [-] valueerror:tables "Migrate_version"
Has non UTF8 collation, please make sure all tables is Charset=utf8;

Workaround: Modify the database table amount encoding

Mysql-u Root-p Glance
mysql> ALTER TABLE migrate_version convert to Character set UTF8 collate utf8_unicode_ci;
mysql> flush Privileges;
Mysql> quit;

Reference: http://www.9itop.cn/thread-30905-1-1.html

3.

Several issues to be aware of during OpenStack installation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.