![]() We're using a hardcoded 15 seconds timeout when canceling WMI jobs. Some jobs may not be cancelable, some may take longer to stop. For example, Nova instances may end up in error state after attempting to delete them as this hardcoded timeout gets exceeded. That being considered, we're now adding a config option for this, also increasing the default timeout to 2 minutes. Ideally, Nova should pass a timeout here. Still, by adding a config option at the os-win level, it's easier to backport this to older releases, also providing a default for any kind of WMI job. Change-Id: I797366c40a3a4bb74fe925bd10697f227e22915c Closes-Bug: #1790890 |
||
---|---|---|
doc/source | ||
etc | ||
os_win | ||
releasenotes | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
lower-constraints.txt | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
os-win
Windows / Hyper-V library for OpenStack projects.
This library contains Windows / Hyper-V specific code commonly used in OpenStack projects. The library can be used in any other OpenStack projects where it is needed.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/os-win
- Source: http://git.openstack.org/cgit/openstack/os-win
- Bugs: http://bugs.launchpad.net/os-win
How to Install
os-win is released on Pypi, meaning that it can be installed and upgraded via pip. To install os-win, run the following command:
pip install os-win
To upgrade os-win, run the following command:
pip install -U os-win
Note that the first OpenStack release to use os-win is Mitaka. Previous releases do not benefit from this library.
Tests
You will have to install the test dependencies first to be able to run the tests.
C:\os_win> pip install -r requirements.txt
C:\os_win> pip install -r test-requirements.txt
You can run the unit tests with the following command.
C:\os_win> nosetests os_win\tests\unit
How to contribute
To contribute to this project, please go through the following steps.
- Clone the project and keep your working tree updated.
- Make modifications on your working tree.
- Run unit tests.
- If the tests pass, commit your code.
- Submit your code via
git review
. - Check that Jenkins and the Microsoft Hyper-V CI pass on your patch.
- If there are issues with your commit, ammend, and submit it again
via
git review
. - Wait for the patch to be reviewed.
Features
os-win is currently used in the following OpenStack projects:
- nova
- cinder
- compute-hyperv
- networking-hyperv
- ceilometer
- os-brick