Add parity with neutronclient which could list
security groups filtering by one or multiple
security group ids.
Change-Id: Iabafad39fe2b54a0c5fa6fe23f1e8ce3c0eab991
We can delete only keypairs of the user, which is invoking project
cleanup, while others will remain. On the other hand we might also drop
keypairs, which are still active in other projects, since KP is not
project related, but user related.
Change-Id: Iaef2ff204c2e65feda8cf30c3e5497e22dc33059
Nova API doesn't require name and admin password as mandatory
arguments for rebuilding server. Make them optional for SDK too.
Change-Id: I002101b21827005a7945fcc3669ccca1481204a5
When we can't authorize at minimum wrap keystoneauth1 error, instead of
generating new problem by looking into not existing property of the
exception.
This error masks the cause of real failure resulting in huge stack
traces on connection problems (epsecially valid for Ansible modules).
Change-Id: I8548fa6fc7daa4101e86c839ec3c7b44fed29511
Has a nice side effect of no longer failing when a machine or any
port do not exist. Also stop using a deprecated method.
The wait argument is deprecated since it never had any effect: node
deletion is synchronous.
Change-Id: I63ea929540f22c2b73faf4a1f767e30ecc1dd5dd
Introduce support of python 3.8 and move tox and jobs to py38.
jsonschema 3.2.0 [1] support python 3.8
[1] https://github.com/Julian/jsonschema/pull/627
Change-Id: Ibcfa044dd0f3b29fd290559795ea1d98e194e886
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems
Update Sphinx version as well.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I334380cd63f408c8307fec06e8569b599d23e2f9
In some cases it is desired to extend stat metrics with additional tags
based on the selected connection (i.e. "environment"). Statsd does not
support tags, so add this only to influxdb for now.
Fix establishing connection from parameters when passing influx_config.
When exception happens, we need to also generate metric to be able to
see errors (i.e. timeout happening from Ansible)
I know there are no tests for that area so far at all, this will come later.
Change-Id: Ie0862f04eb224345559f9092cd0a9d8ffa43bef3
create_image() does not work properly with some vendor deployments,
the reported checksum is different than the local checksum.
glanceclient did not enforce the checksum validation by default, this
will not be a surprise to apps migrating from that library.
Change-Id: I4147122e744cc2224ced89f6ac931e81b76e50a7
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
We're python3 now. While we're at it, fix six.StringIO to
io.StringIO (it matched the from six grep) and reorder imports
where we're touching them anyway.
Change-Id: I02c348d497bac4cb671ce1d9e8d11274b0ee8573
We don't need to depend directly on python-subunit.
In python3 we don't need safe_hasattr.
We don't use testrepository.
In lower constraints, os-client-config and mox3 are
transitive depends that we do not care about so don't
need to track lower pins for them.
futures and ipaddress were removed from requirements
but not from lc.
Finally, remove future from lc and from __future__
since we're python3 only.
Change-Id: Ic22079f78f77221e83986e5a835457dbefc3ded7
The field was owner in the original shade image normalize contract.
It's also owner in glance, and in python-openstackclient.
Unfortunately we've made a release with this set to owner_id, so
what we need to do now is support this new owner_id thing else
we'll break people.
Change-Id: Ic074e4faed5cc391b8aff6b2e1a451f095d00024
We do this in list, but we should really also do it in
translate response - because seriously this can never work.
Change-Id: Ic97499b9fe1b563049da59899c34dbd810fe1509
Keystone actually support filtering services by name for a long time,
but it was never documented in the api-ref, here is the patch for the
keystone api documentation : https://review.opendev.org/#/c/726580/
We need to be able to use this filter in the SDK too.
Change-Id: I634a0d867aa2b2f3495e8267488b12a2123a4f05
Story: 2007652
Task: 39716
There is a search path that we should check the next file if the first
file we find is not readable.
Change-Id: Ib638fe74210257f9175e28c1ccfff4493ef32873
Story: 2007645
Task: 39704
Under swift we have only endpoints/account/container/object resources, and
regular scheme of the resource from url detection doesn't work.
Change-Id: I03c7da8a579471c362e4124deeff43d67cdb986e