adding IMAGE_URL breaks stack.sh

Bug #1280356 reported by Gavin B
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Przemyslaw Czesnowicz

Bug Description

If you add something like :

IMAGE_URLS+=",http://uec-images.ubuntu.com/raring/current/raring-server-cloudimg-amd64.tar.gz"

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|' '!/^(+--)|ID|aki|ari/ { print $3,$2 }'
++ 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@gbdevonly:~/devstack$ glance image-list
+--------------------------------------+-------------------------------------+-------------+------------------+------------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+-------------------------------------+-------------+------------------+------------+--------+
| b81f68c0-55b2-4e2a-b1d1-8e1a10700bd6 | raring-server-cloudimg-amd64 | ami | ami | 1476395008 | active |
| 845e9352-535c-4c94-bd0c-6627abeb556b | raring-server-cloudimg-amd64-kernel | aki | aki | 5391024 | active |
| 04bc6c61-9a72-434c-a173-434eb8770699 | tty | ami | ami | 25165824 | active |
| 25764d23-8644-4048-a7b4-2976fb8223d3 | tty-kernel | aki | aki | 4404752 | active |
| 98cb72d1-3892-449e-9aec-f74d70050c66 | tty-ramdisk | ari | ari | 5882349 | active |
+--------------------------------------+-------------------------------------+-------------+------------------+------------+--------+

Changed in devstack:
assignee: nobody → Przemyslaw Czesnowicz (pczesno)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.openstack.org/143113

Changed in devstack:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on devstack (master)

Change abandoned by Ian Wienand (<email address hidden>) on branch: master
Review: https://review.openstack.org/143113
Reason: Lets try and fix both bugs in I3ca4e576aa3fb8992c08ca44900a8c53dd4b4163

Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
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.