python-glanceclient/glanceclient
Brian Rosmaita 79543a67ed 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
2018-04-04 13:51:40 -04:00
..
common Removed the --no-ssl-compression parameter which is deprecated 2017-07-25 18:51:38 +05:30
tests Make image-create-via-import fail faster 2018-04-04 13:51:40 -04:00
v1 help text for container_format, disk_format 2017-07-06 13:09:44 +05:30
v2 Make image-create-via-import fail faster 2018-04-04 13:51:40 -04:00
__init__.py Enable flake8 checks 2015-07-21 17:08:27 +03:00
_i18n.py Remove log translations 2017-03-21 07:19:21 +08:00
client.py Use import_versioned_module from oslo.utils 2016-12-06 09:35:55 +00:00
exc.py py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
shell.py Remove deprecated ssl options 2018-01-17 08:50:57 +08:00