Comment 8 for bug 1758149

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

Reviewed: https://review.openstack.org/555550
Committed: https://git.openstack.org/cgit/openstack/python-glanceclient/commit/?id=79543a67edd7a15aa23426548d3be9ac5b99366d
Submitter: Zuul
Branch: master

commit 79543a67edd7a15aa23426548d3be9ac5b99366d
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