Include option '--human-readable' to 'image show' command.
This option displays image size in human readable format
(such as K, M, G, T,..)
(Re-submitted as the original https://review.openstack.org/#/c/399982/ had
a parent commit not present in Gerrit, was proposed by "OpenStack
Proposal Bot")
Change-Id: I0ef74c2ec978483fe49156c88acf5c369a8fa5c2
Closes-Bug: #1640086
Co-Authored-By: Badhmapriya Boopalan <Badhmapriya.Boopalan@cognizant.com>
Some object fields are allowed to be set to None, in such cases we
shouldn't call any formatters on the field.
For example, a subnet has a field 'service_types' which could be a list
of values but is also nullable.
Change-Id: I6574bdf742c0cd24cc824f08e8ba4c40d390cbe0
Closes-Bug: #1652025
OSC has some additions to OSC_Config that we need to include:
* Updates to initialize_app() and prepare_to_run_command()
Change-Id: I1846f823fb57bb0b43c0f074a24d3de1a8e4a24f
OSC has some additions to OSC_Config that we need to include:
* A fix for bug 1642301 in _auth_default_domain()
* The addition of _validate_auth_ksc() and _validate_auth() that
include current OSC needs. These need to be migrated into os-client-config
in a compatible manner...
Change-Id: I21a6ba3682ef97146db977270315c74c12d7b3b5
Allow users to direct calls using the OpenStackClient to a remote
federated service provider using Keystone 2 Keystone federation.
Change-Id: Icbdb286f840ecd3a57c64ef69b9e55925439b2f1
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove osc-lib.
Change-Id: Ie6b8f7a7c46becc80d6cf9251fbd5eb5c9c707b1
There is no this directory openstack/common which was used to keep codes from
oslo-incubator, we have retired oslo-incubator. Removing openstack/commonfrom
all OpenStack code in favor of the Oslo libraries is a project wide goal
for the Ocata release. So don't use this directory any more. We should drop it
for improving searching efficiency.
Change-Id: Ibbd158ff0c18a27e6208c98b5765dd22676c2f72
Change Ia46c1eea29678824a5934d846a08dbe52f5058d0 reworked the version
information to make it available internally, forgot to update
releasenotes/source/conf.py
Change-Id: I03d745beb18350e77fe688681e86da6c12882d1a
os-client-config is fixing the _validate_auth() issues, we don't
need to anymore. No back-compat is required, only OSC ever expected
this and that version was never released.
Change-Id: Ic0f2887a4aa18c313692850cf624101f9f7cdefb
Keystoneauth now supports passing app_name and app_version when creating
the session to build a sensible user agent string including client
versions. osc-lib and OpenStack Client should be amongst the first to
support this.
Change-Id: Ia46c1eea29678824a5934d846a08dbe52f5058d0
When config is coming from a clouds.yaml file, Python's yaml parser may
turn the version into an int if it is not quoted in the yaml. Ensure
that we set the value to a string before interacting with it.
Also fix a possible string action on a None object.
Change-Id: Ibf02a85d89c95ba76688b3f5c417f861173008d5
Closes-Bug: #1634986
This should have been included with the original
fix, but we should have this in the same release
at least.
Change-Id: I9ab1f06282ec33034e7b6b11863ea9f9234d6fe0
Related-Bug: #1630822
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.
Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.
Change-Id: I5c326881123a01a8dbc9db6f248e4a0550f5410d
The auth config hook can have credentials in it so
we have to mask the config before logging it. To
avoid doing the work of masking the password if we
aren't going to log it, there is a conditional put
around the actual debug statement.
Change-Id: I8e626672ec94fc837610216bccb4354dbdedca17
Closes-Bug: #1630822
Following OpenStack Style Guidelines[1]: http://docs.openstack.org/developer/hacking/#unit-tests-and-assertraises
[H203] Unit test assertions tend to give better messages for more
specific assertions. As a result, assertIsNone(...) is preferred
over assertEqual(None, ...) and assertIs(..., None)
Change-Id: If09f921565a2252f30fd77324c343272293c3a92
In order to support automatically updating the release notes when we
create stable branches, we want the pages to be in a standard order.
This patch updates the order to be reverse chronological, so the most
recent notes appear at the top.
Change-Id: Ib364dcc8eb31275a31c83b68d7914263b183e393
Signed-off-by: Doug Hellmann <doug@doughellmann.com>