OpenStackClient plugin for Placement service
Go to file
Bence Romsics 253fd92b29 Do not depend on jenkins user in devstack gate
As announced on openstack-dev [1] openstack-infra images no longer have
the jenkins user. The functional (devstack gate based) test suite of the
osc-placement repo depended on the jenkins user in its post_test_hook.
Because of that dependecy all functional test suite runs of
osc-placement started to fail after [2] was merged.

We fix the functional test suite of osc-placement by no longer
hardcoding the jenkins user.

Ideally we would not need root in post_test_hook. However it seems
devstack installs globally (as root) the master branch of osc-placement
(in develop mode) resulting the following directory being owned by root:

/opt/stack/new/osc-placement/osc_placement.egg-info/

When 'tox -e functional' tries to install the commit under test of
osc-placement in the tox functional venv (also in develop mode from the
same repo directory) but as a non-privileged user that conflicts with
the previous global installation.

It'd be nice to remove the need for root altogether, but at the moment
I don't know how to do that.

[1] http://lists.openstack.org/pipermail/openstack-dev/
           2018-February/127800.html
[2] https://review.openstack.org/514485/

Change-Id: I966fb6d16b0086fc5fe345fdb695dbbed2eb4299
2018-03-19 10:37:16 +01:00
doc/source Usage docs and initial release note for osc-placement 2018-01-24 11:51:54 -05:00
osc_placement Do not depend on jenkins user in devstack gate 2018-03-19 10:37:16 +01:00
releasenotes Update reno for stable/queens 2018-01-24 22:42:15 +00:00
.coveragerc Initial commit 2017-03-22 11:58:28 +02:00
.gitignore Initial commit 2017-03-22 11:58:28 +02:00
.gitreview Initial commit 2017-03-22 11:58:28 +02:00
.mailmap Initial commit 2017-03-22 11:58:28 +02:00
.testr.conf Initial commit 2017-03-22 11:58:28 +02:00
CONTRIBUTING.rst Initial commit 2017-03-22 11:58:28 +02:00
HACKING.rst Initial commit 2017-03-22 11:58:28 +02:00
LICENSE Initial commit 2017-03-22 11:58:28 +02:00
MANIFEST.in Initial commit 2017-03-22 11:58:28 +02:00
README.rst Update doc link in README.rst 2018-02-08 12:18:25 +08:00
babel.cfg Initial commit 2017-03-22 11:58:28 +02:00
requirements.txt Add missing runtime requirements 2018-01-23 10:49:36 -05:00
setup.cfg CLI for resource classes (v1.2) 2018-01-24 11:35:20 -05:00
setup.py Initial commit 2017-03-22 11:58:28 +02:00
test-requirements.txt Initial commit 2017-03-22 11:58:28 +02:00
tox.ini tox.ini settings for global constraints are out of date 2018-02-12 01:37:01 -05:00

README.rst

osc-placement

OpenStackClient plugin for the Placement service

This is an OpenStackClient plugin, that provides CLI for the Placement service. Python API binding is not implemented - Placement API consumers are encouraged to use the REST API directly, CLI is provided only for convenience of users.