Merge "Update the glance image-list with openstack image list"

This commit is contained in:
Jenkins 2015-05-25 03:43:38 +00:00 committed by Gerrit Code Review
commit 9ff021f206

View File

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