openstack redhat install storops - Murray-LIANG/forgetful GitHub Wiki
Install storops rpm on rhel7
Install a RHEL VM.
-
If using
qcow2
image, the default user iscloud-user
. Use the OpenStack ssh key to login. -
Create a new user
stack
with passwordwelcome
.
$ sudo useradd stack
$ sudo passwd stack
$ sudo visudo
- Modify
/etc/ssh/sshd_config
to allow login via password
Entry name is PasswordAuthentication
.
Register subscription
$ sudo subscription-manager register
$ sudo subscription-manager attach --auto
$ sudo subscription-manager repos \
--enable=rhel-7-server-rpms --enable=rhel-7-server-extras-rpms \
--enable=rhel-7-server-rh-common-rpms \
--enable=rhel-ha-for-rhel-7-server-rpms
$ sudo yum update
storops
rpm from github
Download curl -OJL https://github.com/emc-openstack/storops/releases/download/r1.0.0/python2-storops-1.0.0-1.el7.noarch.rpm
Check its dependencies
rpm -qp python2-storops-1.0.0-1.el7.noarch.rpm --requires
Install the dependencies
# Configure the yum repo
$ sudo su -
$ cat > /etc/yum.repos.d/common-candidate.repo << EOF
[common-candidate]
name=common-candidate
baseurl=http://cbs.centos.org/repos/cloud7-openstack-common-candidate/x86_64/os
enabled=1
gpgcheck=0
priority=2
EOF
# Install the packages
sudo yum install -y python-bitmath python-cachez \
python-dateutil python-enum34 python-persist-queue \
python-requests python-retryz