Comment 10 for bug 1758149

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-glanceclient (stable/queens)

Reviewed: https://review.openstack.org/559062
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=4211b67e7aa560b97e19945d3bbb07a697628382
Submitter: Zuul
Branch: stable/queens

commit 4211b67e7aa560b97e19945d3bbb07a697628382
Author: Brian Rosmaita <email address hidden>
Date: Thu Mar 22 15:49:44 2018 -0400

    Make image-create-via-import fail faster

    Add checks to the image-create-via-import commmand so that it provides
    better user feedback and doesn't begin the import workflow unless the
    input has a chance of succeeding. Preserves backward compatibility
    with the current image-create command by (1) allowing an image record
    only to be created when no import-method is specified AND no data is
    supplied, and (2) doing the glance-direct workflow when no import-
    method is specified AND data is provided. Also adds the ability for
    the import-method to be set as an env var OS_IMAGE_IMPORT_METHOD.

    Change-Id: I0a225f5471a9311217b5d90ebb5fd415c369129a
    Closes-bug: #1758149
    (cherry picked from commit 79543a67edd7a15aa23426548d3be9ac5b99366d)