Skip to content

Instantly share code, notes, and snippets.

@JCallicoat
Created January 3, 2018 00:12
Show Gist options
  • Save JCallicoat/cfe1a92418f06c5fb3c7490b4104b4d2 to your computer and use it in GitHub Desktop.
Save JCallicoat/cfe1a92418f06c5fb3c7490b4104b4d2 to your computer and use it in GitHub Desktop.
RPC-O AIO Kilo
DEBIAN_FRONTEND=noninteractive apt-get update ; apt-get -o Dpkg::Options::="--force-confold" upgrade -y ; apt-get -o Dpkg::Options::="--force-confold" install -y git build-essential gcc libssl-dev libffi-dev
git clone -b r11.1.9 --recursive https://github.com/rcbops/rpc-openstack.git /opt/rpc-openstack
cd /opt/rpc-openstack/
git submodule update
sed -i 's/mattwillsher.sshd/willshersystems.sshd/' /opt/rpc-openstack/openstack-ansible/ansible-role-requirements.yml
# rabbitmq affinity must be set to 1 since deploy.sh doesn't change the base hostname and
# all three rabbit containers will try to start an erlang service called rabbit@<same hostname> and
# dpkg will hang forever on post-config when the service can't start due to duplicate erlang service names
# this is why support was previously testing by manually running setup-hosts from OSA first
sed -i 's/rabbit_mq_container: 3/rabbit_mq_container: 1/' openstack-ansible/etc/openstack_deploy/openstack_user_config.yml.aio
sed -i 's|"links/\*\*\*"|"links/***"\n repo_mirror_excludes:\n - "/repos"\n - "/mirror"\n - "/rpcgit"\n - "/openstackgit"\n - "/python_packages"\n - "/lxc-images"|' openstack-ansible/playbooks/repo-clone-mirror.yml
export DEPLOY_AIO="yes"
scripts/deploy.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment