| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Currently seek() throws IOError conditionally and tell() returns the
maximum transfer size. This patch fixes these problems.
Change-Id: Ie8bf359457de975a8ae6373a73b5a835e53f2410
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I0bbe7cfc3efc7031b84aa50bda1c661feecb146c
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The details property of the VimFaultException is very important and we
loose this information when we convert VimFaultException to a specific
subclass of VMwareDriverException. This patch fix this by propagating
the details to VMwareDriverException.
Change-Id: I42a50b60fc74383a2c1d9b907125ff17795ce440
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In certain cases the application, for example Nova, may need to treat
a VC exception that is currently not supported by oslo.vmware.
This will enable the application to dynamically add exceptions and then
remove them when oslo.vmware is updated to support the new exception.
The patch also fixes a typo with the exception fault handling.
Change-Id: I332a4ff2ac2c6d4e6ac88bbd067ef0d4e659ffa3
|
|/ /
| |
| |
| | |
Change-Id: Ie6c8406bf55a4fb96373cdd3e1a2f5b3c2aafe59
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch adds a method for copying virtual disk in streamOptimized
format from VMware datastore to a file.
Change-Id: I1e358e6fe310312515bdcdf014f8beaf7a82256d
|
| | |
| | |
| | |
| | | |
Change-Id: If2d33ee5ec4e531791e244201e7b2a5cfd1eab50
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I8d986f058780f52d8cd0d3a725dc95d985277b79
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Once we use the pbr based build to generate files, we prune
the indexes to remove references to code we would like to
hide like the common modules and private modules in conf.py.
We reuse the same excluded_patterns variable that is already
used in Sphinx and filter these modules from autoindex.rst
Closes-Bug: #1364140
Change-Id: I5767e429e63935f055a6f4e82349224ccfa2f497
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: I90cd6a6785cf6062e0a1aa11e61b69281e98668f
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | | |
Change-Id: I64ae9191863564e278a35d42ec9cd743a233028e
Addresses-Bug: #1365061
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add support for handling the aforementioned exception
Change-Id: I2ea5efbd0e37ebada963d9dcce6ff1cf3f229b23
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently lot of unnecessary log lines are generated during API
invocation and image transfer. This patch makes log printing
statement changes to reduce noise in log files.
Change-Id: Ifdd43a9d1d32cb6d8957b9805b56729eb9270daf
|
| |/ / /
|/| | |
| | | |
| | | | |
Change-Id: I4d453e94317cd28b2551d7168b52299b9d51413f
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The session parameter is missing when calling the get_summary
method.
Change-Id: I56649ca5a647c502a3cc5b7103ae1c659cb1c57c
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Icf6bb4bd835f9e83633d18bd905d0b63a101d495
|
|/ / /
| | |
| | |
| | | |
Change-Id: Idf2ac02119add960e7d6aa401c8efe2a39106e6e
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
suds package uses a well-known /tmp/suds directory by default to
store pickled objects. This could be subject to attacks. suds project
is un-maintained and some distros have a local patch that uses
mkdtemp() but still leak directories. It's best to remove the cache
completely. Note that if we really need, we could add a memory
based cached later. we should deal with this security issue first.
Closes-Bug: #1341954
Change-Id: Ieec9d99aa674adf5cbc9be924fef3856cf4e5d66
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The DatastoreURL object represents a URL that can be used to access
a file in a datastore through HTTP(S).
The object comes with several methods that makes the manipulation of
datastore URLs much simpler.
This is needed by Glance and Nova.
Change-Id: I6647ef0acb6afa2cacbe81c3fde2db0453c596ca
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch ports three methods:
- get_connected_hosts
- get_summary
- is_ds_mount_usable
These methods are used in Cinder (see http://goo.gl/yR5psg) and
Glance (see http://goo.gl/aDeyfa).
Change-Id: I568372fef6bb4e3e3d0d6da2c32c2e971b319ad7
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a suds requests results in a fault response, the current
code loses details on that fault in the sequence of exceptions
propagated through the call stack. A NoPermission fault will contain
additional metadata on the privilegeId and object type which
needs to be logged. The fault string will be propagated with this
fix, along with details of a NoPermission fault.
It is possible 'details' to contain unicode values which is handled by
implementing __unicode__() for VimFaultException.
This functionality was added in Nova with commit
62cb0dc6257daac5ec9fd1a90ee5721e6543dd76 and we need the same thing in
oslo.vmware
Change-Id: Ia7ca46bb3f263211ab1fe37585f183edf00461b1
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Change-Id: Id08d5fa4f7ce077102bbf77f4c8c2d6b2bfc4c31
|
| |_|/ /
|/| | |
| | | |
| | | | |
Change-Id: I8e428169e1593beca379a2273d82b1e55e5260d5
|
|\ \ \ \
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This patch ports the Datastore and DatastorePath objects which have
been approved in Nova and will be useful in Glance.
Finally, it adds the units module from oslo-incubator.
Change-Id: Ia519a83ed09fde74be376981f89284af20aa1dab
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The current code will raise a TypeError if the session_id is None:
TypeError: 'NoneType' object has no attribute '__getitem__'
This will happen specifically when _trunc_id is called by
_is_current_session_active.
This patch adds a check to make sure session_id is not None.
Change-Id: Ifc3cc236f36df1a140b864e53e9eb538797e5580
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I3d60dc5796b88f0786a35948c12bfe72d9782b7a
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* [H305] imports not grouped correctly
Change-Id: Ie278f5047090d5ac491c862a157bff6e2c6e1c5f
|
|/ / /
| | |
| | |
| | | |
Change-Id: Id123374f3780b8de7f778937da2ffc9f824c676b
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, Cinder stores the PBM WSDL files in its own repository
(see commit: 10c5c93925abe3d34c4430e0ed852d8358fb2353). Now that other
projects are leveraging SPBM, we need to provide them the ability
to directly access those WSDL files without having to store them or
referencing them.
This patch (strongly inspired by the patch mentioned above) adds two
utility APIs and unit tests for it:
- get_pbm_wsdl_location()
- get_vc_version()
Change-Id: I61abc5879e71a7f5e5f46d2ec88404923e0423d8
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
This patch adds a constant.py file to store the constants needed in
the VMware ecosystem. A new constant is added for the ESX datacenter
path when using http access to datastores.
Change-Id: Ie5b84b3cc3913ab57f7ab487349557781cc4157a
|