-
Notifications
You must be signed in to change notification settings - Fork 0
openstack redhat install storops
Ryan Liang edited this page Dec 21, 2018
·
1 revision
-
If using
qcow2image, the default user iscloud-user. Use the OpenStack ssh key to login. -
Create a new user
stackwith passwordwelcome.
$ sudo useradd stack
$ sudo passwd stack
$ sudo visudo- Modify
/etc/ssh/sshd_configto allow login via password
Entry name is PasswordAuthentication.
$ 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 updatecurl -OJL https://github.com/emc-openstack/storops/releases/download/r1.0.0/python2-storops-1.0.0-1.el7.noarch.rpmrpm -qp python2-storops-1.0.0-1.el7.noarch.rpm --requires# 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