Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SoftwareDeployments #400

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions collect-config-setup/fragments/install_config_agent_yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ set -eux
if ! yum info os-collect-config; then
# if os-collect-config package is not available, first check if
# the repo is available but disabled, otherwise install the package
# from epel
# from centos or rdoproject
if yum repolist disabled|grep rhel-7-server-openstack-$OSP_VERSION-rpms; then
subscription-manager repos --enable="rhel-7-server-openstack-$OSP_VERSION-rpms"
if [ "$OSP_VERSION" -lt 10 ] ; then
subscription-manager repos --enable="rhel-7-server-openstack-$OSP_VERSION-director-rpms"
fi
else
elif yum info centos-release-openstack-liberty; then
yum -y install centos-release-openstack-liberty
else
yum -y install https://rdoproject.org/repos/openstack-pike/rdo-release-pike.rpm
fi
fi
yum -y install os-collect-config python-zaqarclient os-refresh-config os-apply-config openstack-heat-templates python-oslo-log python-psutil
yum -y install os-collect-config python-zaqarclient os-refresh-config os-apply-config openstack-heat-templates python-oslo-log python-psutil openstack-heat-agents
#yum-config-manager --disable 'epel*'