This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: Iabebb3bc357f071586ff49e6ee8ae65bc098e1a6
Modifying find_extension() and register_extension() in vim_util
to use request_handler() in service module. Currently these
methods call vSphere APIs directly and hence suds web faults
are not translated.
Change-Id: Ic0ef099a3c94962bb6895473dcdf69e66112e482
Closes-bug: 1703478
Since we have removed log translations completely, we should also add
hacking rule to prevent future mistakes
Change-Id: I8df524e23ab072d198cbc256e8018671e5f32764
There are some special elements like VirtualMachineEmptyProfileSpec
which are allowed to be empty and should not be pruned.
Change-Id: Icf09849083c5a83cf69ec3cb6216697870527096
Currently when selecting host for image upload, hosts in maintenance
mode will also be included.
This commit adds a check for available hosts to make sure these
hosts excluded from the list.
Change-Id: I46e4a879245e4f9258178738da9920b34b65a187
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ibfea7ba6692ccf633ccd96a3c4dbb3d7328725a6
Previously, we were only mocking the call to
suds.reader.DocumentReader.download, and this call is removed in
later versions of suds-jurko (see
46f1501e66).
Updating the mock patch to work with both the current and
later version of suds-jurko.
Change-Id: Iaa0b68fd2ad0ef6934410bcf5bebf9957a63d11e
Adding unit tests for ServiceMessagePlugin.add_attribute_for_value()
to cover cases where node name is 'removeKey'.
Change-Id: I0f6f0bfe1b20258efe05932e6a1756a29d315767
We need to pass into VersionInfo what one would expect from running:
setup.py --name
Right now we pass in say oslo_context and pbr fails if there is no .git in
the python source tree
Closes-Bug: #1662266
Change-Id: I0e4e20a91b640c21f9ee008dc6cf4055d40bc4d5
When setting a removeKey the VC would return an error indicating that it
"Unable to determine type of Any". We need to update this to ensure that
the type set is a string or an integer. This is due to the fact that it
can be both.
Change-Id: I494a1d19341f30f22803a3fe6baf020a67ad6b08
The openstack.org pages now support https and our references to
the site should by default be one signed by the organization.
Change-Id: Icea6f111373df87cb92d242811fb938efe4ee1a1
We use SOAP headers to set 'opID' for all service calls and
'vcSessionCookie' for PBM service calls. Commit 6a6336 introduced
regression in setting the vcSessionCookie. This patch fixes this by
setting all headers in one place.
Change-Id: If9630a14d6275f30275825f1822f2cf9af2959a7
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.
Change-Id: I067d84b89167c5e84373cb0656348d3e7a573a45
'Waiting for function _invoke_api to return' doesn't give any
information and only makes log files hard to read.
Also reduce logging when polling NFC leases.
Change-Id: I08653a0f529a186405695cbcfb9fc9018c93f856
The operation ID is a random string which can be added in the SOAP
headers of the remote request. vCenter and ESX will append this opID to
every log message associated with the remote request. This allows
administrators to correlate log messages for particular operation across
different systems (OpenStack -> vCenter -> ESX).
There is also addition keyword argument 'skip_op_id' which allows
callers to disable logging the opID if set to True.
Example for correlating logs for CreateVM_Task on devstack, vCenter and
ESX: http://paste.openstack.org/show/592614/
Change-Id: I75cb71c7c58b4ee9cd36fc977eb2a18a911f161f
This patch fixes the following issues with Glance v2 image meta-
data update:
* Glance v2 doesn't support updating image size. The size will
be set by the glance service and there is no need to update it.
* We need to convert the image version to string before update
because Glance v2 doesn't support integer values for properties.
This patch also deprecates the image version kwarg because it is
not used by VMware drivers.
Change-Id: I0da5958cbde8be2008ee00602e6e9561bf167bfd
Closes-bug: #1611288
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 oslo.vmware.
Change-Id: I6d20d90191f5b0e9dce17affd7aca40081cf7cc7