Skip to content

Commit

Permalink
Merge pull request apache#443 from iurygregory/devstack_with_ironic
Browse files Browse the repository at this point in the history
Support to enable Ironic on DevStack
  • Loading branch information
mrhillsman authored Feb 28, 2019
2 parents 1f684e2 + f3a4864 commit 31c9c12
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions roles/create-devstack-local-conf/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,38 @@
executable: /bin/bash
when:
- '"ceph" in enable_services'

- name: create devstack local conf with ironic enabled
shell:
cmd: |
set -e
set -x
cat << EOF >> /tmp/dg-local.conf
enable_plugin ironic https://git.openstack.org/openstack/ironic
DEFAULT_INSTANCE_TYPE: baremetal
OVERRIDE_PUBLIC_BRIDGE_MTU: 1400
VIRT_DRIVER=ironic
BUILD_TIMEOUT=720
IRONIC_BAREMETAL_BASIC_OPS=True
IRONIC_BUILD_DEPLOY_RAMDISK=False
IRONIC_AUTOMATED_CLEAN_ENABLED=False
IRONIC_CALLBACK_TIMEOUT=600
IRONIC_DEPLOY_DRIVER=ipmi
IRONIC_INSPECTOR_BUILD_RAMDISK=False
IRONIC_RAMDISK_TYPE=tinyipa
IRONIC_TEMPEST_BUILD_TIMEOUT=720
IRONIC_TEMPEST_WHOLE_DISK_IMAGE=False
IRONIC_VM_COUNT=1
IRONIC_VM_EPHEMERAL_DISK=1
IRONIC_VM_LOG_DIR=/opt/stack/new/ironic-bm-logs
IRONIC_VM_SPECS_RAM=384
IRONIC_DEFAULT_DEPLOY_INTERFACE=direct
IRONIC_ENABLED_DEPLOY_INTERFACES=iscsi,direct,ansible
SWIFT_ENABLE_TEMPURLS=True
SWIFT_TEMPURL_KEY=secretkey
Q_AGENT=openvswitch
Q_ML2_TENANT_NETWORK_TYPE=vxlan
EOF
executable: /bin/bash
when:
- '"ironic" in enable_services'

0 comments on commit 31c9c12

Please sign in to comment.