python-tripleoclient/tripleoclient
Steve Baker f39c1823e7 Refactor image upload command
In preparation for supporting deploys on a glance-less undercloud,
this change refactors the upload command to move all glance
interacting logic into a glance adapter class. This will allow the
adapter abstraction to be used for an 'upload' adapter which only
copies files on the local disk.

This change also does the following:
- moves repeated update-or-upload logic to an adapter method, reducing
  the complexity of take_action
- cleans up the mock usage to consistently use the
  patch decorator - the current approach may be causing unit test
  failures in some environments
- removes the GlanceV1 implementation, since the V1 API was removed in
  Newton(!) this support is just a maintenance burden

Change-Id: Ie28dabaf07ed36adb3e8f07ca8c141f93a9d79cc
Blueprint: nova-less-deploy
Depends-On: https://review.opendev.org/711271
(cherry picked from commit c88da0a632)
2020-03-04 20:56:10 +00:00
..
config undercloud: introduce undercloud_enable_paunch option 2020-02-19 01:08:56 +00:00
tests Refactor image upload command 2020-03-04 20:56:10 +00:00
v1 Refactor image upload command 2020-03-04 20:56:10 +00:00
workflows Merge "Revert "Default to zero verbosity when using Ansible."" into stable/train 2020-02-18 07:14:51 +00:00
__init__.py Add ReNo support 2016-10-08 00:28:43 +00:00
command.py Implement tripleo container image show command 2019-07-17 08:54:30 -04:00
constants.py Increase ssh port timeout 2020-02-27 17:19:16 -07:00
exceptions.py Handle config-download in progress in tripleoclient 2020-01-08 13:59:26 -05:00
export.py Add openstack overcloud export 2019-11-13 17:05:25 +00:00
heat_launcher.py Honor --heat-user argument in heat launcher 2019-12-07 13:34:04 +00:00
noauth_policy.json Add heat_launcher module to help launch heat-all 2017-02-08 15:49:24 -05:00
plugin.py Use OS_CACERT for zaqar's websocket connection 2019-03-11 09:53:06 +02:00
utils.py Refactor image upload command 2020-03-04 20:56:10 +00:00