Patch needed to build undercloud on baremetal

Bug #1296847 reported by john Brooker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Invalid
Medium
Nicholas Randon

Bug Description

The use of the undercloud-vm.yaml file is hardcoded in the devtest_undercloud.sh file, requiring that it be manually patched in order to build an undercloud host on baremetal:

~~~~~~~~
diff --git a/scripts/devtest_undercloud.sh b/scripts/devtest_undercloud.sh
index c26fdb3..37fe969 100755
--- a/scripts/devtest_undercloud.sh
+++ b/scripts/devtest_undercloud.sh
@@ -66,9 +66,8 @@ wait_for 60 1 [ "\$(nova hypervisor-stats | awk '\$2==\"count\" { print \$4}')"
 ## #. Deploy an undercloud.
 ## ::

-make -C $TRIPLEO_ROOT/tripleo-heat-templates undercloud-vm.yaml
-heat stack-create -f $TRIPLEO_ROOT/tripleo-heat-templates/undercloud-vm.yaml \
- -P "PowerUserName=${POWER_USER}" \
+make -C $TRIPLEO_ROOT/tripleo-heat-templates undercloud-bm.yaml
+heat stack-create -f $TRIPLEO_ROOT/tripleo-heat-templates/undercloud-bm.yaml \
     -P "AdminToken=${UNDERCLOUD_ADMIN_TOKEN}" \
     -P "AdminPassword=${UNDERCLOUD_ADMIN_PASSWORD}" \
     -P "GlancePassword=${UNDERCLOUD_GLANCE_PASSWORD}" \
@@ -78,8 +77,6 @@ heat stack-create -f $TRIPLEO_ROOT/tripleo-heat-templates/undercloud-vm.yaml \
     -P "BaremetalArch=${NODE_ARCH}" \
     -P "PowerManager=${POWER_MANAGER}" \
     -P "undercloudImage=${UNDERCLOUD_ID}" \
- -P "PowerSSHPrivateKey=${POWER_KEY}" \
- -P "PowerSSHHost=${POWER_HOST}" \
     -P "NeutronPublicInterface=${NeutronPublicInterface}" \
     undercloud
~~~~~~~~~

IMHO this should be controlled by the information in the testenv.json file and the specification of the first node in said json file

Revision history for this message
Ben Nemec (bnemec) wrote :

I think there's some work underway to parameterize more of devtest, so hopefully this can be done as part of that.

Changed in tripleo:
importance: Undecided → Medium
status: New → Triaged
Changed in tripleo:
assignee: nobody → Nicholas Randon (nicholas-randon)
status: Triaged → In Progress
Revision history for this message
Brent Eagles (beagles) wrote :

These scripts are no longer in use.

Changed in tripleo:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.