Skip to content

Commit

Permalink
Don't use ephemeral volumes for Ironic agent driver
Browse files Browse the repository at this point in the history
The agent driver (unfortunately) does not support ephemeral volumes
yet. This change sets ephemeral volume size to 0, which is checked
by Tempest when testing ephemeral support.

See also: https://review.openstack.org/#/c/120814/

Change-Id: Iafac1521ff47f881934c4c6e03818486ca574cb8
  • Loading branch information
jimrollenhagen committed Sep 15, 2014
1 parent 47e7f9f commit 2940568
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion devstack-vm-gate.sh
Expand Up @@ -124,7 +124,6 @@ EOF
echo "VIRT_DRIVER=ironic" >>localrc
echo "IRONIC_BAREMETAL_BASIC_OPS=True" >>localrc
echo "IRONIC_VM_COUNT=3" >>localrc
echo "IRONIC_VM_EPHEMERAL_DISK=1" >>localrc
echo "IRONIC_VM_LOG_DIR=$BASE/$LOCALRC_OLDNEW/ironic-bm-logs" >>localrc
echo "DEFAULT_INSTANCE_TYPE=baremetal" >>localrc
if [[ "$DEVSTACK_GATE_IRONIC_BUILD_RAMDISK" -eq 0 ]]; then
Expand All @@ -135,6 +134,10 @@ EOF
echo "IRONIC_ENABLED_DRIVERS=fake,agent_ssh,agent_ipmitool" >>localrc
echo "IRONIC_BUILD_DEPLOY_RAMDISK=False" >>localrc
echo "IRONIC_DEPLOY_DRIVER=agent_ssh" >>localrc
# agent driver doesn't support ephemeral volumes yet
echo "IRONIC_VM_EPHEMERAL_DISK=0" >>localrc
else
echo "IRONIC_VM_EPHEMERAL_DISK=1" >>localrc
fi
fi

Expand Down

0 comments on commit 2940568

Please sign in to comment.