-
Notifications
You must be signed in to change notification settings - Fork 0
openstack package storops rpm
Ryan Liang edited this page Feb 11, 2020
·
2 revisions
-
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$ sudo subscription-manager register
$ sudo subscription-manager attach --auto$ sudo yum install -y rpm-build git wget python-pipNOTE: need to upgrade the setuptools using pip. Otherwise, you'll meet the error like error in storops setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
$ sudo pip install setuptools -U# 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 python2-devel python-bitmath python-cachez \
python-dateutil python-ddt python-enum34 python-fasteners \
python-hamcrest python-mock python-persist-queue python-pytest \
python-pytest-xdist python-requests python-retryz python-xmltodictRefer to https://github.com/emc-openstack/storops/tree/develop/utility/rpm_publish