Modify RPM lists for RHEL6
Modifications to the RPM list to make devstack work on RHEL6. Makes various packages only install on Fedora distros; generally letting pip install the missing dependencies on RHEL. Additionally the Qpid package name is different in RHEL6 to Fedora. Also a small re-write of the config file is required to avoid authenication issues. Change-Id: If497099d27aa9cd80e1c1cee1aff2ed6b076d309
This commit is contained in:
parent
41f7485250
commit
64dd03dd78
@ -3,7 +3,7 @@ python-argparse
|
|||||||
python-devel
|
python-devel
|
||||||
python-eventlet
|
python-eventlet
|
||||||
python-greenlet
|
python-greenlet
|
||||||
python-paste-deploy
|
python-paste-deploy #dist:f16,f17,f18
|
||||||
python-routes
|
python-routes
|
||||||
python-sqlalchemy
|
python-sqlalchemy
|
||||||
python-wsgiref
|
python-wsgiref
|
||||||
|
@ -17,8 +17,8 @@ python-migrate
|
|||||||
python-mox
|
python-mox
|
||||||
python-netaddr
|
python-netaddr
|
||||||
python-nose
|
python-nose
|
||||||
python-paste
|
python-paste #dist:f16,f17,f18
|
||||||
python-paste-deploy
|
python-paste-deploy #dist:f16,f17,f18
|
||||||
python-pep8
|
python-pep8
|
||||||
python-routes
|
python-routes
|
||||||
python-sphinx
|
python-sphinx
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
python-greenlet
|
python-greenlet
|
||||||
python-lxml
|
python-lxml #dist:f16,f17,f18
|
||||||
python-paste
|
python-paste #dist:f16,f17,f18
|
||||||
python-paste-deploy
|
python-paste-deploy #dist:f16,f17,f18
|
||||||
python-paste-script
|
python-paste-script #dist:f16,f17,f18
|
||||||
python-routes
|
python-routes
|
||||||
python-setuptools
|
python-setuptools #dist:f16,f17,f18
|
||||||
python-sqlalchemy
|
python-sqlalchemy
|
||||||
python-sqlite2
|
python-sqlite2
|
||||||
python-webob
|
python-webob
|
||||||
sqlite
|
sqlite
|
||||||
|
|
||||||
|
# Deps installed via pip for RHEL
|
@ -28,9 +28,11 @@ python-lockfile
|
|||||||
python-migrate
|
python-migrate
|
||||||
python-mox
|
python-mox
|
||||||
python-netaddr
|
python-netaddr
|
||||||
python-paramiko
|
python-paramiko # dist:f16,f17,f18
|
||||||
python-paste
|
# ^ on RHEL, brings in python-crypto which conflicts with version from
|
||||||
python-paste-deploy
|
# pip we need
|
||||||
|
python-paste # dist:f16,f17,f18
|
||||||
|
python-paste-deploy # dist:f16,f17,f18
|
||||||
python-qpid
|
python-qpid
|
||||||
python-routes
|
python-routes
|
||||||
python-sqlalchemy
|
python-sqlalchemy
|
||||||
|
@ -10,14 +10,16 @@ python-greenlet
|
|||||||
python-iso8601
|
python-iso8601
|
||||||
python-kombu
|
python-kombu
|
||||||
python-netaddr
|
python-netaddr
|
||||||
python-paste
|
#rhel6 gets via pip
|
||||||
python-paste-deploy
|
python-paste # dist:f16,f17,f18
|
||||||
|
python-paste-deploy # dist:f16,f17,f18
|
||||||
python-qpid
|
python-qpid
|
||||||
python-routes
|
python-routes
|
||||||
python-sqlalchemy
|
python-sqlalchemy
|
||||||
python-suds
|
python-suds
|
||||||
rabbitmq-server # NOPRIME
|
rabbitmq-server # NOPRIME
|
||||||
qpid-cpp-server-daemon # NOPRIME
|
qpid-cpp-server-daemon # NOPRIME dist:f16,f17,f18
|
||||||
|
qpid-cpp-server # NOPRIME dist:rhel6
|
||||||
sqlite
|
sqlite
|
||||||
sudo
|
sudo
|
||||||
vconfig
|
vconfig
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
python-setuptools
|
|
||||||
python-gevent
|
python-gevent
|
||||||
python-gflags
|
python-gflags
|
||||||
python-netifaces
|
python-netifaces
|
||||||
|
python-setuptools #dist:f16,f17,f18
|
||||||
python-sphinx
|
python-sphinx
|
||||||
|
@ -8,8 +8,8 @@ python-eventlet
|
|||||||
python-greenlet
|
python-greenlet
|
||||||
python-netifaces
|
python-netifaces
|
||||||
python-nose
|
python-nose
|
||||||
python-paste-deploy
|
python-paste-deploy # dist:f16,f17,f18
|
||||||
python-setuptools
|
python-setuptools # dist:f16,f17,f18
|
||||||
python-simplejson
|
python-simplejson
|
||||||
python-webob
|
python-webob
|
||||||
pyxattr
|
pyxattr
|
||||||
|
@ -57,7 +57,11 @@ function cleanup_rpc_backend {
|
|||||||
fi
|
fi
|
||||||
elif is_service_enabled qpid; then
|
elif is_service_enabled qpid; then
|
||||||
if is_fedora; then
|
if is_fedora; then
|
||||||
|
if [[ $DISTRO =~ (rhel6) ]]; then
|
||||||
|
uninstall_package qpid-cpp-server
|
||||||
|
else
|
||||||
uninstall_package qpid-cpp-server-daemon
|
uninstall_package qpid-cpp-server-daemon
|
||||||
|
fi
|
||||||
elif is_ubuntu; then
|
elif is_ubuntu; then
|
||||||
uninstall_package qpidd
|
uninstall_package qpidd
|
||||||
else
|
else
|
||||||
@ -87,7 +91,16 @@ function install_rpc_backend() {
|
|||||||
rm -f "$tfile"
|
rm -f "$tfile"
|
||||||
elif is_service_enabled qpid; then
|
elif is_service_enabled qpid; then
|
||||||
if is_fedora; then
|
if is_fedora; then
|
||||||
|
if [[ $DISTRO =~ (rhel6) ]]; then
|
||||||
|
install_package qpid-cpp-server
|
||||||
|
|
||||||
|
# RHEL6 leaves "auth=yes" in /etc/qpidd.conf, it needs to
|
||||||
|
# be no or you get GSS authentication errors as it
|
||||||
|
# attempts to default to this.
|
||||||
|
sudo sed -i.bak 's/^auth=yes$/auth=no/' /etc/qpidd.conf
|
||||||
|
else
|
||||||
install_package qpid-cpp-server-daemon
|
install_package qpid-cpp-server-daemon
|
||||||
|
fi
|
||||||
elif is_ubuntu; then
|
elif is_ubuntu; then
|
||||||
install_package qpidd
|
install_package qpidd
|
||||||
sudo sed -i '/PLAIN/!s/mech_list: /mech_list: PLAIN /' /etc/sasl2/qpidd.conf
|
sudo sed -i '/PLAIN/!s/mech_list: /mech_list: PLAIN /' /etc/sasl2/qpidd.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user