Os-dpm [1] is a shared library between nova-dpm and networking-dpm.
For now it contains the common config options between those 2
projects.
This patch switches over to use os-dpm. Config options that where
duplicates between nova-dpm and os-dpm, are now removed from
nova-dpm. This affects
* hmc
* hmc_password
* hmc_username
* cpc_object_id
Change-Id: If0b877101a9603ce04a5e0aaba3d4b9359b8d0fd
Closes-Bug: #1661315
Since commit 8f82f0a4 ReadTheDocs (RTD) wasn't able to build the docs.
The stacktrace from the RTD build show this error:
ExtensionError: Could not import extension oslo_config.sphinxconfiggen
(exception: No module named oslo_config.sphinxconfiggen)
The reason is, that RTD *doesn't* use tox targets to create the docs.
It also cannot be configured to use tox. It uses it's own chain of
commands to build, like these (simplified) commands:
$ python -mvirtualenv nova-dpm/envs/latest
$ python nova-dpm/envs/latest/bin/pip install -r test-requirements.txt
$ python nova-dpm/envs/latest/bin/sphinx-build -T -E \
-b readthedocs . _build/html
This means RTD is not able to pull in the dependencies we specified in
the "tox.ini" base target:
[testenv]
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
-egit+https://github.com/openstack/nova#egg=nova
The needed python package is "oslo.config", which gets pulled into our
tox targets via the specified dependency to nova, that's why the initial
commit didn't fail the docs testing job.
This change adds "oslo.config" to "test-requirements.txt".
An alternative approach would have been to introduces a dedicated
"docs-requirements.txt" file, which will only be used by building docs.
On the other hand, this wouldn't work in upstream testing jobs,
because they don't call `tox -e docs` but the command
`tox -evenv -- python setup.py build_sphinx` and having the docs
deps in the "venv" tox target doesn't help.
Closes bug: 1660572
Change-Id: I0ee08daacb21a4b1e82c035be49b3a84b4f3c7fb
* It's the initial commit based on coockiecutter template
* Upstream nova is installed using tox_install.sh as install_command
* zhmcclient is installed via tox dependencies as zhmcclient is not
listed in global openstack requirements and therefore cannot be
listed in requirements.txt
Partial-Bug: #1644216
Change-Id: Ic53e59ebdcb574f4e9fb9d09471c9ddff9bb1759