There are still failures when tempest runs because
of recent changes with glanceclient, but at least
this patch gets the tools/configure_tempest working
again.
Change-Id: I73a5042dac2c930998663c478fb2ccd907c3ef87
| ... | ... |
@@ -67,11 +67,11 @@ fi |
| 67 | 67 |
# We ignore ramdisk and kernel images and set the IMAGE_UUID to |
| 68 | 68 |
# the first image returned and set IMAGE_UUID_ALT to the second, |
| 69 | 69 |
# if there is more than one returned... |
| 70 |
-IMAGE_LINES=`glance index` |
|
| 70 |
+IMAGE_LINES=`glance image-list` |
|
| 71 | 71 |
IFS="$(echo -e "\n\r")" |
| 72 | 72 |
IMAGES="" |
| 73 | 73 |
for line in $IMAGE_LINES; do |
| 74 |
- IMAGES="$IMAGES `echo $line | grep -v "^\(ID\|--\)" | grep -v "\(aki\|ari\)" | cut -d' ' -f1`" |
|
| 74 |
+ IMAGES="$IMAGES `echo $line | grep -v "^\(ID\|+--\)" | grep -v "\(aki\|ari\)" | cut -d' ' -f2`" |
|
| 75 | 75 |
done |
| 76 | 76 |
# Create array of image UUIDs... |
| 77 | 77 |
IFS=" " |