diff options
author | Chris Dent <cdent@anticdent.org> | 2019-01-31 10:50:10 +0000 |
---|---|---|
committer | Chris Dent <cdent@anticdent.org> | 2019-04-28 20:06:15 +0000 |
commit | 70a2879b2c75377f728f8faec8bd581613061230 (patch) | |
tree | 672f653a5f8026fdc13308eb94d4009e40f8c074 /tox.ini | |
parent | 760fc2de32057817bafc0a1512a735dab1c7c68a (diff) | |
download | nova-70a2879b2c75377f728f8faec8bd581613061230.tar.gz |
Delete the placement code
This finalizes the removal of the placement code from nova.
This change primarily removes code and makes fixes to cmd,
test and migration tooling to adapt to the removal.
Placement tests and documention were already removed in
early patches.
A database migration that calls
consumer_obj.create_incomplete_consumers in nova-manage has been
removed.
A functional test which confirms the default incomplete
consumer user and project id has been changes so its its use of
conf.placement.incomplete_* (now removed) is replaced with a
constant. The placement server, running in the functional
test, provides its own config.
placement-related configuration is updated to only register those
opts which are relevant on the nova side. This mostly means
ksa-related opts. placement-database configuration is removed
from nova/conf/database.
tox.ini is updated to remove the group_regex required by the
placement gabbi tests. This should probably have gone when the
placement functional tests went, but was overlooked.
A release note is added which describes that this is cleanup,
the main action already happened, but points people to the
nova to placement upgrade instructions in case they haven't
done it yet.
Change-Id: I4181f39dea7eb10b84e6f5057938767b3e422aff
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -93,7 +93,7 @@ commands = # special way. See the following for more details. # http://stestr.readthedocs.io/en/latest/MANUAL.html#grouping-tests # https://gabbi.readthedocs.io/en/latest/#purpose - stestr --test-path=./nova/tests/functional --group_regex=nova\.tests\.functional\.api\.openstack\.placement\.test_placement_api(?:\.|_)([^_]+) run {posargs} + stestr --test-path=./nova/tests/functional run {posargs} stestr slowest # TODO(gcb) Merge this into [testenv:functional] when functional tests are gating @@ -132,11 +132,6 @@ envdir = {toxworkdir}/shared commands = oslopolicy-sample-generator --config-file=etc/nova/nova-policy-generator.conf -[testenv:genplacementpolicy] -envdir = {toxworkdir}/shared -commands = - oslopolicy-sample-generator --config-file=etc/nova/placement-policy-generator.conf - [testenv:cover] # TODO(stephenfin): Remove the PYTHON hack below in favour of a [coverage] # section once we rely on coverage 4.3+ |