Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install OpenStack through Rdo in CentOS 6.4.How to install OpenStack

Shulou Source: shulou.com Published: 2022-06-01 18:35:08 11月24日 Update

This article shows you how to install OpenStack through Rdo in CentOS 6.4. the content is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

Turn off the firewall:

Service iptables stop

Chkconfig iptables off

Turn off selinux:

Vi / etc/sysconfig/selinux

SELINUX=disabled

Install the epel source

The source that uses base by default is followed by packstack-allinone will report an error, which is modified here. Backup CentOS-Base.repo

Download domestic sources:

Wget http://lug.ustc.edu.cn/wiki/_export/code/mirrors/help/centos?codeblock=2

Renamed to mv centos?codeblock=2 CentOS-Base.repo

Rpm-Uvh http://mirrors.ustc.edu.cn/epel/6/x86_64/epel-release-6-8.noarch.rpm

(note: you need to remove the HTTPS mode from the epel.)

Yum makecache

Install rdo and Packstack

Wget https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm

Yum install-y rdo-release-icehouse-4.noarch.rpm

Yum-disablerepo= "openstack-icehouse" update (otherwise error: [Errno 14] problem making ssl connection)

Yum makecache-y

Yum update-y

Yum install openstack-packstack-y

Yum install-y puppet openssh-clients tar nc rubygem-json

Under reboot

One-click installation

Packstack-allinone

(it takes a long time to install and you need to wait patiently)

After installation, you can access OpenStack through http:// IP/dashboard with the user name admin, and the password can be found in the keystonerc_admin file under / root/.

Error resolution:

Cinder's volume group 'cinder-v olumes' could not be created

Execute rm-rf / var/lib/cinder/cinder-volumes

Reinstall

Packstack--answer-file=/root/packstack-answers-20150124-183753.txt

HTTP500 error occurred in Keystone

First check whether the hostname of the host file is set to 127.0.0.1, and if there is no problem, execute the following command to synchronize the database to Mysql.

Keystone-manage db_sync

Then re-execute the packstack--answer-file=/root/ packstack-answers-20150124-190848.txt command. Packstack naming can be repeated, but be sure to bring the configuration file from the first installation. Regardless of whether the first installation is successful or not, a configuration file such as packstack-answers-20140701-091539.txt will be generated in the root directory.

Database problem Error: mysqladmin-u root password...

ERROR: Error appeared during Puppet run: 192.77.108.242_mysql.pp

Error: mysqladmin-u root password 'f40e1dec1deb43d3' returned 1 instead of one of [0]

# rpm-qa | grep-I mysql

Mysql-server-5.1.71-1.el6.x86_64

Perl-DBD-MySQL-4.013-3.el6.x86_64

Mysql-5.1.71-1.el6.x86_64

Mysql-libs-5.1.71-1.el6.x86_64

MySQL-python-1.2.3-0.3.c1.1.el6.x86_64

# rpm-e mysql-server-5.1.71-1.el6.x86_64

# rpm-e mysql-5.1.71-1.el6.x86_64

# rm-rf / var/lib/mysql

# packstack-allinone

The above is how to install OpenStack through Rdo in CentOS 6.4. have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Tags: File method content command skill data database knowledge first time error problem report configuration concise success patience concise host can pass backup Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi Linux macOS Microsoft Huawei