| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: If49c46819bfae39cf9924003bf5fa7020fd0f1f1
|
|
|
|
| |
Change-Id: Id1d9471d8e2516cfa5852d012210c258cde935b0
|
|
|
|
| |
Change-Id: I9ffebb718b1a27bd5370fb8d8514564b803e3d78
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Ensure that the cookie is correctly set.
Change-Id: I65e75306fe8470030b97268395c062001aaed6fc
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Mocked/reduced various sleeps that got triggered on certain tests that
caused the tests to run unnecessary slow.
Closes-Bug: #1286729
Change-Id: Ib24be3d9aaa2b71d137ae4f0a9adc4986a49bdca
|
|/ /
| |
| |
| | |
Change-Id: Ib3d12f23888a474e1db9bce0982e56ae7397ceca
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds a new function download_stream_optimized_data, that facilates the
transfers of stream-optimized file data obtained via additional
processing of the data from the image server. One use case for it is
when image is actually an OVA, which is a tar archive containing the
VMDK disk of interest, using roughly the following code flow:
image_data = image_service.download(context, image_id)
tar = process_image_data_as_tar(image_data)
file_obj = tar.extractfile(disk_name)
imported_vm = download_stream_optimized_data(context, timeout,
file_obj, ...)
In addition, corrected the FileReadWriteTask to really read in 64k
chunks like it intended to by passing the size parameter to read().
This will prevent the above file_obj's data from being slurped in one
go.
Closes-Bug: #1286708
Change-Id: I85c7f9079c89ba3b65a11741e8b0c8d64f62a3cd
|
|/
|
|
|
|
| |
The constructor's argument is 'create_session', not '_create_session'
Change-Id: I65555ce909a95047113eeafd123c0fb4836a36ea
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds following PBM related utility methods:
* Get all profiles
* Get profile ID by profile name
* Filter hubs by profile
* Convert datastores to hubs
* Filter datastores by hubs
Change-Id: I47524f28edfa4325340046cf266184771ea4e3dc
|
|
|
|
|
|
|
|
| |
This change defines a SOAP based client to invoke VMware PBM APIs.
It also make necessary changes in VMwareAPISession to expose the
PBM client to the drivers.
Change-Id: Ic715cf8795e178ce8d99d492501935658ad9b2a7
|
|
|
|
| |
Change-Id: I601ace053bf38a23aec8eeb6d43a0189c3342786
|
|
|
|
|
|
|
|
| |
To support Python3, unicode() calls has been replaced by
six.text_type
Change-Id: Iae216e449a18f1d1108faa73ed6585d154c0cb2e
Closes-Bug: #1285952
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Importing oslo.vmware to another OpenStack project gives the
ArgsAlreadyParsedError: arguments already parsed: cannot register CLI
option exception.
This happens because openstack/common/log.py registers CLI options
after the project using oslo.vmware parses its configuration.
This patch addresses this issue by removing any dependency on
log.py, using logging from the standard python library instead.
Change-Id: Id2bddb8a7efc2a53399e2a2278dba4605da083d8
Closes-Bug: #1284837
|
|/
|
|
|
|
|
|
| |
We don't need vim modelines in each source file, it can be set in
user's vimrc.
Change-Id: Ib52a71276d514ca01dd1e21d754c6c150c94a2a5
Closes-Bug: #1229324
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In certain cases the exception handling for backend errors
would be handled too broadly. This patch elevates the backend exception
to the application so that it can treat specific errors.
In the application we can now handle the following specific exceptions:
- FileAlreadyExists - for example when moving a directory to a directory
that already exists
- InvalidProperty - for example when using neutron and opaque networks
are not supported
- AlreadyExists - for example a port group already exists
- NotAuthenticated - for example the operation is denied as because a
session is not established
- CannotDeleteFile - the file cannot be deleted
- FileFault - a file access exception
- FileLocked - an attempt is made to lock a file that is
already in use
- FileNotFound - the specific file does not exist
Change-Id: I789165f3879ec5df73f72c2737377e0fcfc99656
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is lot of common code between VMware drivers for nova and cinder;
for e.g., session management and VIM API invocation code. The new
VMware driver for glance and the telemetry agent for vSphere are also
planning to use this common code. This change moves methods and classes
for image transfer between VMware servers and the image service into
OSLO.
Change-Id: I527122c99b3a03fca6bb22e4817771c91c1a023d
Implements: blueprint vmware-api
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is lot of common code between VMware drivers for nova and cinder;
for e.g., session management and VIM API invocation code. The new
VMware driver for glance and the telemetry agent for vSphere are also
planning to use this common code. This change moves the classes defining
read and write handles for image transfer between VMware servers and
image service into OSLO.
Change-Id: Idd5e0a3e13bb1e752ed577b63a012ca59c461bce
Implements: blueprint vmware-api
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There is lot of common code between VMware drivers for nova and cinder;
for e.g., session management and VIM API invocation code. The new
VMware driver for glance and the telemetry agent for vSphere are also
planning to use this common code. This change moves the classes in
VMware drivers for session and API call management calls into OSLO.
The api module in this change contains classes to invoke VIM APIs.
It supports automatic session re-establishment and retry of API
invocations in case of connection problems or server API call overload.
Change-Id: I74e2be632631f83a97e26c03e33f1d9ae7632e27
Implements: blueprint vmware-api
|
|/
|
|
|
|
|
|
|
|
|
| |
There is lot of common code between VMware drivers for nova and cinder;
for e.g., session management and VIM API invocation code. The new
VMware driver for glance and the telemetry agent for vSphere are also
planning to use this common code. This change moves the classes in
VMware drivers for making VIM API SOAP calls into OSLO.
Change-Id: I115e2d093c19051c507061b50d7ee1d1851fc412
Implements: blueprint vmware-api
|
|
|
|
|
|
|
|
| |
This change adds the eventlet requirement which is needed by
multiple changes.
Change-Id: I58e8a20b7479585c52a021c3907ddd5121cbfc25
Implements: blueprint vmware-api
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is lot of common code between VMware drivers for nova and cinder;
for e.g., session management and VIM API invocation code. The new
VMware driver for glance and the telemetry agent for vSphere are also
planning to use this common code. This change moves the utility methods
for inventory traversal spec creation, managed object property retrieval
etc. defined in various drivers into OSLO.
Change-Id: Ibdd80188ffb0936468545ceec86b67162a111fff
Implements: blueprint vmware-api
|
|
|
|
|
|
|
|
| |
First cut of openstack-common.conf to pick up a few
files needed by the patch series
Change-Id: I148ff1e0e28df8b732a7865e162e5104a4233b7d
Implements: blueprint vmware-api
|
|
|