Change-Id: I0f0f15cb204daf12fbc12384f04a2cd9618c4bef
| ... | ... |
@@ -143,9 +143,7 @@ function configure_tempest {
|
| 143 | 143 |
image_uuid_alt="$IMAGE_UUID" |
| 144 | 144 |
fi |
| 145 | 145 |
images+=($IMAGE_UUID) |
| 146 |
- # TODO(stevemar): update this command to use openstackclient's `openstack image list` |
|
| 147 |
- # when it supports listing by status. |
|
| 148 |
- done < <(glance image-list --status=active | awk -F'|' '!/^(+--)|ID|aki|ari/ { print $3,$2 }')
|
|
| 146 |
+ done < <(openstack image list --property status=active | awk -F'|' '!/^(+--)|ID|aki|ari/ { print $3,$2 }')
|
|
| 149 | 147 |
|
| 150 | 148 |
case "${#images[*]}" in
|
| 151 | 149 |
0) |