image builder is not giving error for invalid service type
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Trove Integration |
Fix Committed
|
Medium
|
Shalini khandelwal |
Bug Description
1. Use incorrect service type for kickstart command
/trove-
2. It should giving proper error like "root is not a valid service_type" but is not giving correct error.
*******
Building an image for use with development and integration tests.
*******
*******
Actually building the image, this can take up to 15 minutes
*******
/home/ubuntu/.ssh already exists
Keyfile already exists in authorized_keys - skipping
+ true
+ case "$1" in
+ shift
+ break
+ export DIB_IMAGE_
+ DIB_IMAGE_
+ '[' '' = 1 -a /home/ubuntu/
+ source /opt/stack/
++ source /opt/stack/
+++ '[' -f /etc/debian_version ']'
++++ dpkg --print-
+++ _ARCH=amd64
+++ ARCH=amd64
+++ export ARCH
+++ export DIB_NO_TMPFS=0
+++ DIB_NO_TMPFS=0
+++ export DIB_MIN_TMPFS=2
+++ DIB_MIN_TMPFS=2
+++ _BASE_ELEMENT_
+++ ELEMENTS_
+++ export ELEMENTS_
+++ ELEMENTS_
+++ export DIB_OFFLINE=
+++ DIB_OFFLINE=
+++ [[ :/usr/local/
+++ [[ :/usr/local/
+++ [[ :/usr/local/
++ FS_TYPE=ext4
++ IMAGE_TYPE=qcow2
++ IMAGE_NAME=
+ source /opt/stack/
++ _DISPLAYED_
+ source /opt/stack/
+ '[' 0 == 1 ']'
+ arg_to_elements ubuntu vm heat-cfntools ubuntu-guest ubuntu-root
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools ubuntu-guest'
+ for arg in '"$@"'
+ IMAGE_ELEMENT=' ubuntu vm heat-cfntools ubuntu-guest ubuntu-root'
+ '[' '' '!=' 1 ']'
+ IMAGE_ELEMENT='base ubuntu vm heat-cfntools ubuntu-guest ubuntu-root'
+ '[' 0 == 1 ']'
+ echo 'Building elements: base ubuntu vm heat-cfntools ubuntu-guest ubuntu-root'
Building elements: base ubuntu vm heat-cfntools ubuntu-guest ubuntu-root
++ /opt/stack/
ERROR: Element 'ubuntu-root' not found in '/home/
+ IMAGE_ELEMENT=
Changed in trove-integration: | |
assignee: | nobody → Shalini khandelwal (shalini-khandelwal) |
Changed in trove-integration: | |
importance: | Undecided → Medium |
milestone: | none → juno-1 |
Fix proposed to branch: master /review. openstack. org/92058
Review: https:/