summaryrefslogtreecommitdiffstats
path: root/ci/generate-environment.sh
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2017-09-20 19:45:45 -0400
committerTaseer Ahmed <taseer94@gmail.com>2017-10-11 11:45:13 +0500
commit237664a32c2212953733f0f808810543c440d123 (patch)
treedabed9bdb900d9c352825beccbb13a7bab057566 /ci/generate-environment.sh
parentd45e5a980fc4f75f0f9abed929705da32e9f2fcf (diff)
Adding FUEL Support
Changes to Ubuntu 17.04 to overcome issue in 4.4 kernel on ARM for hotplug of cinder volumes. Adds support for FUEL MCP certificate for SSL communication with OpenStack. Hard codes the target device to /dev/vdc for FUEL as /dev/vdb is reserved for the OpenStack config drive. Change-Id: I17dae23f455448f632e0921dbdae45824bbeaa61 Signed-off-by: mbeierl <mark.beierl@dell.com>
Diffstat (limited to 'ci/generate-environment.sh')
-rwxr-xr-xci/generate-environment.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/ci/generate-environment.sh b/ci/generate-environment.sh
index c65dc17..79bd20f 100755
--- a/ci/generate-environment.sh
+++ b/ci/generate-environment.sh
@@ -16,6 +16,7 @@ fi
ssh_options="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no"
export INSTALLER=`./detect_installer.sh`
+TARGET="/dev/vdb"
case $INSTALLER in
joid)
@@ -36,6 +37,12 @@ case $INSTALLER in
# juju status | grep hardware: | grep tags | grep -v virtual
NETWORK=ext-net
;;
+ fuel)
+ CINDER_BACKEND=LVM
+ CINDER_NODES=4
+ NETWORK=floating_net
+ TARGET="/dev/vdc"
+ ;;
apex)
INSTALLER_IP=`sudo virsh domifaddr undercloud | grep ipv4 | awk '{print $4}' | cut -d/ -f1`
CINDER_BACKEND=ceph
@@ -54,4 +61,5 @@ export CINDER_BACKEND=$CINDER_BACKEND
export CINDER_NODES=$CINDER_NODES
export INSTALLER=$INSTALLER
export NETWORK=$NETWORK
-EOF \ No newline at end of file
+export TARGET=$TARGET
+EOF