adding IMAGE_URL breaks stack.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Przemyslaw Czesnowicz |
Bug Description
If you add something like :
IMAGE_URLS+=",http://
to your localrc file, things don't work as you'd expect. Rather than adding the new URL to a list containing the default image, it replaces the list with the new URL. This would be fine except that stack.sh seems to require the tty image (or something similar).
If it's not there you get :
++ errexit='set +o errexit'
++ set -o errexit
++ ifs='
'
++ declare -a images
++ read -r IMAGE_NAME IMAGE_UUID
+++ glance image-list --status=active
+++ awk '-F|' '!/^(+-
++ case "${#images[*]}" in
++ echo 'Found no valid images to use!'
Found no valid images to use!
++ exit 1
+ clean
+ local r=1
++ jobs -p
+ kill
ubuntu@
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| b81f68c0-
| 845e9352-
| 04bc6c61-
| 25764d23-
| 98cb72d1-
+------
Changed in devstack: | |
assignee: | nobody → Przemyslaw Czesnowicz (pczesno) |
Fix proposed to branch: master /review. openstack. org/143113
Review: https:/