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
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I11f742b525d8d7328a9d46f0bd46da112e27ad82
This is a trivial re-factor but subsequent patches will increase
complexity of these helpers without clogging up callers with this logic.
Blueprint: multiarch-support
Change-Id: If9b115880e9755f2753a2e53a5869e12a17722a3
The older hacking library has a cap on pbr <2.0, which is causing
issues with the recent 2.0.0 release of pbr. Hacking isn't kept in sync
via the usual proposal bot updates so update it manually to fix the
pep8 gate.
Change-Id: I9f9be32dd85ed3149b33f8cb29a57798d9cd42a5
Related-Bug: #1668848
The 0.13.1 release breaks some documentation jobs
when it tries to build docs with remote images. This has been reported
upstream[0]. The version matches the supported docutils versions for
sphinx. The requirements patch is here: [1]
[0] https://sourceforge.net/p/docutils/bugs/301/
[1] https://review.openstack.org/#/c/409529/
Change-Id: I278a3de03a39ac5562e24dbd95ecb7902def9de0
Add ReNo support to manage release notes.
http://docs.openstack.org/developer/reno/
We'll start using it during Ocata.
Change-Id: Ie8945b6da8c37d5d4e7bc5a09f0d6f75ede9f58f
This new library provides the common logic used by openstack
clients. Replacing the imports from openstackclient and cliff.
Depends-On-External: https://review.rdoproject.org/r/#/c/2088/
Depends-On: I095209c241876c6ab48595962e07144fc5cc34a6
Closes-Bug: #1620964
Change-Id: I103a13ff6c0af94b82f5e48652380adfbf331d34