Last active
December 9, 2015 15:56
-
-
Save dmsimard/9ba4e52de736adac2ca0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Workaround for known issues installing Packstack for OpenStack Mitaka RDO Test days | |
# https://etherpad.openstack.org/p/rdo-test-days-mitaka-m1 | |
yum -y install yum-plugin-priorities | |
# Add Mitaka repositories | |
curl http://trunk.rdoproject.org/centos7/delorean-deps.repo |tee /etc/yum.repos.d/delorean-deps.repo | |
curl http://trunk.rdoproject.org/centos7/current/delorean.repo |tee /etc/yum.repos.d/delorean.repo | |
# Install packstack and dependencies | |
yum -y install openstack-packstack patch git | |
##################### | |
# Start Workarounds | |
##################### | |
# https://bugzilla.redhat.com/show_bug.cgi?id=1285314 | |
pushd /usr/lib/python2.7/site-packages/ | |
curl http://paste.openstack.org/raw/480961/ |tee aodh.patch | |
patch -p1 <aodh.patch | |
popd | |
# https://review.openstack.org/#/c/250472 | |
# Pull the latest aodh... pymongo support not merged in OPM yet | |
pushd /usr/share/openstack-puppet/modules/ | |
rm -rf aodh | |
git clone https://github.com/openstack/puppet-aodh.git aodh | |
popd | |
##################### | |
# End Workarounds | |
##################### | |
# Run packstack | |
packstack --allinone --provision-demo=y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment