Skip to content

Instantly share code, notes, and snippets.

@dmsimard
Last active December 9, 2015 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmsimard/9ba4e52de736adac2ca0 to your computer and use it in GitHub Desktop.
Save dmsimard/9ba4e52de736adac2ca0 to your computer and use it in GitHub Desktop.
#!/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