Skip to content

Instantly share code, notes, and snippets.

@dmsimard dmsimard/packstack.sh
Last active Dec 9, 2015

Embed
What would you like to do?
#!/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
You can’t perform that action at this time.