Skip to content

Instantly share code, notes, and snippets.

@mrda
Created October 4, 2016 11:14
Show Gist options
  • Save mrda/1734c027b6c9f6ba05330bdf8d8bebc8 to your computer and use it in GitHub Desktop.
Save mrda/1734c027b6c9f6ba05330bdf8d8bebc8 to your computer and use it in GitHub Desktop.
Deploying Ironic off MASTER in September 2016
Starting off, U14.04 or U16.04. Accept no substitutes.
apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y && apt-get install -y ack-grep screen
git clone https://github.com/openstack/openstack-ansible.git
cd openstack-ansible
# Apply OSA patches (cherrypick)
rabbitmq for ironic: Cherrypick https://review.openstack.org/#/c/375107
Ironic service info: Cherrypick https://review.openstack.org/#/c/375387
# Enable Ironic in the AIO
sed -i -e '/- name: heat.yml.aio/ a \ - name: ironic.yml.aio' tests/bootstrap-aio.yml
# Use git to grab roles, instead of galaxy
export ANSIBLE_ROLE_FETCH_MODE=git-clone
./scripts/bootstrap-ansible.sh
# Apply OSA-Ironic patches
git fetch https://git.openstack.org/openstack/openstack-ansible-os_ironic refs/changes/59/375459/1 && git cherry-pick FETCH_HEAD
# Enable Ironic in Nova
# Set nova_virt_type to "ironic" in /etc/ansible/roles/os_nova/defaults/main.yml
./scripts/bootstrap-aio.sh
cd playbooks/
openstack-ansible setup-everything.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment