44 Commits

Author SHA1 Message Date
Matt Riedemann
25dadb94db Remove the CachingScheduler
The CachingScheduler has been deprecated since Pike [1].
It does not use the placement service and as more of nova
relies on placement for managing resource allocations,
maintaining compabitility for the CachingScheduler is
exorbitant.

The release note in this change goes into much more detail
about why the FilterScheduler + Placement should be a
sufficient replacement for the original justification
for the CachingScheduler along with details on how to migrate
from the CachingScheduler to the FilterScheduler.

Since the [scheduler]/driver configuration option does allow
loading out-of-tree drivers and the scheduler driver interface
does have the USES_ALLOCATION_CANDIDATES variable, it is
possible that there are drivers being used which are also not
using the placement service. The release note also explains this
but warns against it. However, as a result some existing
functional tests, which were using the CachingScheduler, are
updated to still test scheduling without allocations being
created in the placement service.

Over time we will likely remove the USES_ALLOCATION_CANDIDATES
variable in the scheduler driver interface along with the
compatibility code associated with it, but that is left for
a later change.

[1] Ia7ff98ff28b7265058845e46b277317a2bfc96d2

Change-Id: I1832da2190be5ef2b04953938860a56a43e8cddf
2018-10-18 17:55:36 -04:00
Matt Riedemann
c9589ed950 Skip test_resize_server_revert_with_volume_attached in nova-lvm
The libvirt driver doesn't support resize for lvm-backed instances
so we need to skip this test to get the nova-lvm job to pass again.

Change-Id: Id752b539babadd187b4c999039cc4ca655437d47
Closes-Bug: #1782607
2018-07-19 12:22:18 -04:00
Zuul
6ee633a971 Merge "Skip more rebuild tests for cells v1 job" 2018-07-15 15:17:21 +00:00
Matt Riedemann
4a1b08365c Skip more rebuild tests for cells v1 job
This skips a couple more tempest rebuild tests for
latent intermittent rebuild race failures
due to status sync delays with cells v1.

Change-Id: Ib2dcbba7f447f54c36877a4e7c29d1b6839a0a80
Related-Bug: #1709985
2018-07-13 15:53:11 +00:00
Zuul
4dbf0a8d50 Merge "Skip ServerShowV247Test.test_update_rebuild_list_server in nova-cells-v1 job" 2018-06-29 02:44:42 +00:00
Matt Riedemann
aa67211acb Make nova-lvm run in check on libvirt changes and compute API tests
This changes the nova-lvm job to run in the check queue on libvirt
driver changes only, and only runs the tempest compute API tests
to save time since we don't need to run things like the cinder,
glance, neutron etc API tests.

Once we're comfortable with the stability of this job we can
make it voting and gating.

This is in response to bug 1771700 which could have been prevented
if we were gating on the nova-lvm job on libvirt changes.

Change-Id: Ieaf00bcb6cb885e544d05b6f7276b6470b123258
Related-Bug: #1771700
2018-06-27 21:28:15 +00:00
Matt Riedemann
3780335b5b Skip ServerShowV247Test.test_update_rebuild_list_server in nova-cells-v1 job
Another rebuild test that intermittently fails the cells v1
job because of latent races with status changes in cells v1.

Change-Id: Ic422a5d7ac795e6e6882f1f0ad82022a7bd42229
Related-Bug: #1709985
2018-06-26 11:02:07 -04:00
Matt Riedemann
530c24596a Skip ServerShowV263Test.test_show_update_rebuild_list_server for cellsv1
Tempest change I48f62d36a871a95601ebf277a2f39a41a873daa8 added
a new rebuild test for microversion 2.63 so we need to exclude that
test also for cells v1 since rebuild is racy in cells v1.

Change-Id: Iff89b9714e2413716bf87db6f0d773787c06eda3
Related-Bug: #1777478
2018-06-18 12:12:07 -04:00
Matt Riedemann
771a736818 Skip ServerShowV254Test.test_rebuild_server in cells v1 job
This adds yet another rebuild test to the blacklist for the
cells v1 job. Rebuild status updates are racy in the cells v1
job because of the async status updates.

Change-Id: I42f08ee2a7282c9cad761bbe0daa111e79678791
Related-Bug: #1709985
2018-05-30 20:18:31 +00:00
Matt Riedemann
927b6ccced Skip ServerActionsTestJSON.test_rebuild_server for cells v1 job
This is another occurrence of a rebuild test randomly timing out
waiting for status changes in the cells v1 job, so blacklist it.
Cells v1 is deprecated and should be gone soon anyway, so we don't
need to waste time hitting stuff like this.

Change-Id: Icb1d33c6e602467e21efe4838cb6edbadab14834
Related-Bug: #1709985
2018-05-09 11:17:28 -04:00
Matt Riedemann
0cfe925dc3 Cleanup tempest-dsvm-cells-rc blacklist
Now that the nova-cells-v1 job is running with neutron
we can remove several explicit blacklist entries for things
that wouldn't work with nova-network and cells v1.

To be clear, these tests won't be added back for nova-cells-v1,
it's just that with the configuration on that job the skips
are handled via config in tempest rather than our blacklist rc
file, which is cleaner.

Depends-On: https://review.openstack.org/549785/
Change-Id: Ib61f159056d229ad190d3f3b61e6d7e3eb6d067f
2018-03-15 09:31:24 -04:00
Zuul
489a8f5bf3 Merge "Add a nova-caching-scheduler job to the experimental queue" 2018-03-07 14:55:55 +00:00
Matt Riedemann
0c9225bece Add a nova-caching-scheduler job to the experimental queue
This adds an experimental queue job to run non-slow tempest
API and scenario tests using the CachingScheduler as the
scheduler driver.

A blacklist is added since there are a few tests that rely on
filters which don't work well with the CachingScheduler.

The CachingScheduler is deprecated, but this is useful to have
when we're making changes to the scheduler or flows within the
code that involve the scheduler, such as the alternate hosts
work.

Change-Id: I8630ea11c3067ed934de2ef27a63432418e98c33
2018-02-16 16:37:09 +00:00
Matt Riedemann
e88688db5e Remove unused tempest-dsvm-lxc-rc
This is no longer used since I94e2898914accea0e973db3788370d70402e75a7.

Change-Id: I3206103a861e38c69c472d41b243f947c5910b0f
2018-01-30 11:18:19 -05:00
Matt Riedemann
f1317c016c Blacklist test_extend_attached_volume from cells v1 job
The cells API doesn't route the os-server-external-events API
and this test relies on that working, so we have to blacklist it.

Change-Id: I92e316cb9cfa5d47c415ba06edf45d7de68677f4
Closes-Bug: #1721644
2017-10-05 17:31:05 -04:00
Matt Riedemann
16e874180e Skip more racy rebuild failing tests with cells v1
These are other rebuild tests that randomly fail the
cells v1 job waiting for state changes due to VIF
races.

Since cells v1 is deprecated, let's just skip this.

Change-Id: Ia00015a8cbb930efd274830b69f296a257578700
Related-Bug: #1709985
2017-09-05 12:08:01 -04:00
Matt Riedemann
9e2a0163d3 Skip test_rebuild_server_in_error_state for cells v1
This test randomly fails due to a timeout in cells v1
jobs and is a latent issue. Since cells v1 is deprecated
and we aren't fixing latent bugs, let's just skip this.

Change-Id: I386df03f406dd0f1847a0d091e070df7786f616e
Related-Bug: #1709985
2017-08-11 12:42:29 -04:00
Anthony PERARD
e44ea07c4d Skip boot from encrypted volume on Xen+libvirt
The Xen toolstack is trying to locate the kernel by running pygrub on
the host (as opposed to in guest) on the disk image, this fails for
encrypted volume.

Skip the Tempest test until this is resolved.

Change-Id: I173ac0ae8ebfb249d75a29e425e90c8928c3da40
Related-Bug: 1702897
2017-07-11 14:32:35 +01:00
Matt Riedemann
0cd67d23bd Don't run ssh validation in cells v1 job
I187e560911f5d5d482eb7959e5174068c4c9a801 enabled
ssh validation by default which uses floating IPs
by default, which isn't support with cells v1.

Since cells v1 is on life support we're going to
just disable ssh validation in this job.

Change-Id: I33f827cf76c7d99a599f9c0c509453cf2af6c2a6
Closes-Bug: #1693949
2017-05-26 20:18:09 -04:00
Anthony PERARD
782d2ce9fe Add exclusion list for tempest for a libvirt+xen job
https://xenbits.xen.org/gitweb/?p=openstack/ci-loop-config.git;a=commit;h=72110826f843cfd1b6b55eba5c4f41b6295ca892

Change-Id: I170647d41e6985ff01b1a42fbdc4b1bd8f577ef7
2017-03-27 17:33:37 +01:00
Matt Riedemann
d125358398 Skip test_stamp_pattern in cells v1 job
test_stamp_pattern was recently unskipped:

I2c13099595d8ee8099e02e3f06096078c7d27c34

It uses security groups which cells v1 does
not support, so we have to skip this test in
the cells v1 job.

Change-Id: Id7e8351026ca86694fc9814002b96260f6ba10f9
Closes-Bug: #1664607
2017-02-14 10:25:24 -05:00
Matt Riedemann
0bffed5119 Add RC file for excluding tempest tests for LVM job
Similar to the RC files for excluding tests in the cells v1
and lxc jobs, this is for an LVM job that's being created.

This list was tested in this change:

Ic511246b36df776c242f0dbf86fe0f6e79ef9e0a

Related to blueprint libvirt-instance-storage

Change-Id: I90cb85a503f95741b8e4f4f2147798d9414ce4ea
2016-05-17 10:25:45 -04:00
Matt Riedemann
696ed21c53 Rely on devstack to skip rescue tests for cells v1
Tempest has a feature toggle for rescue tests which
devstack now disables for cells v1 testing, so we
can remove the regex for the rescue tests in our
blacklist file.

Change-Id: Iab0616d1b13f6a08cbc6131d2b1a182fa720f21a
Depends-On: I234f778c9d264ee2e5fe6050ca6b33283be464f7
2016-04-05 10:39:04 -04:00
Chuck Carmack
b113cb13e9 Change the nova tempest blacklist to use to idempotent ids
Currently, nova blacklists tests by name.  If a name changes,
the regex will not match, and the test will be attempted.
If the test idempotent ids are used instead, the test
will always be skipped.

Change-Id: Iaf189c42c342b4c2d7c77555980ed49914210bf6
Related-bug: 1562323
Closes-bug: 1562945
2016-04-04 20:02:45 +00:00
Matt Riedemann
e86b7fbb99 Update cells blacklist regex for test_server_basic_ops
Tempest change 9bee3b92f1559cb604c8bd74dcca57805a85a97a
renamed a test in our blacklist so update the filter to
handle the old and new name.

The Tempest team is hesitant to revert the change so we
should handle it ourselves and eventually move to using
test uuids for our blacklist, but there might need to
be work in devstack-gate for that first.

Change-Id: Ibab3958044c21568d7fbbe0a298bb40bbbc20df3
Closes-Bug: #1562323
2016-03-27 19:31:32 -04:00
Matt Riedemann
83c1fa6c03 Enable rebuild tests in cellsv1 job
Change 022802997c10fc4ed56b1e1875cd7ccb16cc0688 fixed evacuate/rebuild
in the cells API so enable the rebuild-related tests we were skipping
before.

Related-Bug: #1445629
Related-Bug: #1445631
Related-Bug: #1552046

Change-Id: I15f867d8c6ff280bc68a6abf8b0da6e970c2bb39
2016-03-04 19:58:57 +00:00
Matt Riedemann
0001dc2112 Revert "Add new test_rebuild_instance_with_volume to cells exclude list"
This reverts commit 674531df15d30faea08a58421160816c56b4bfba

The test was breaking more than cells, it was breaking all
shared-storage backend jobs, like ceph, so it was reverted
here:

bbeab27ab8f05ad1287907222fb6b02990021885

Since the test no longer exists, we can remove it from the
blacklist.

Change-Id: Iee028a56f6a27d97011f26966b3584770d5287db
2016-02-10 21:07:22 +00:00
Matthew Treinish
674531df15 Add new test_rebuild_instance_with_volume to cells exclude list
This commit adds a newly added tempest test to the cells exclude list.
The test is always failing on cells and it's because it's doing
operations that don't work with cells turned on. So lets exclude it
for now. Ideally all this skip logic will be in the tempest config and
we don't have to do this anymore.

Closes-Bug: #1543253
Change-Id: Ic9db51a41f95b0d18f97745a0da7e99fdfa21e51
2016-02-08 19:10:52 +00:00
dimtruck
6084711785 (lxc) Updated regex to ignore failing tests
This patch is intended to get the LXC experimental gate job
passing consistently and at least get some reliable and
regular testing of the LXC Nova capabilities.

The skipped tests pass with 3.13.0-58-generic and current
kernel HEAD, however, they do not pass with 3.13.0-76-generic
that is used for our gate testing.

Related-Bug: #1536280

Change-Id: I422094e49c498368f6eec16207379139fdc2936a
2016-01-22 15:25:53 +00:00
Jenkins
baa58e3bf0 Merge "Remove skips for resize tests from tempest-dsvm-cells-rc" 2015-12-01 06:33:22 +00:00
Jenkins
f680989dd7 Merge "cells: skip 5 networking scenario tests that use floating IPs" 2015-11-25 11:48:09 +00:00
Matt Riedemann
ecf0f67aee Remove skips for resize tests from tempest-dsvm-cells-rc
The dependent change disable resize tests in Tempest when running cells
and using non-default flavors (which are not in the cells API database).

So we can remove the skips from the regex for the cells test runs.

Depends-On: I20f46024e45e32c60275703a193a56ae8cfe7eca

Change-Id: Ib5d36c4300a84b48faecb2f8181ac0057d4bb4b8
Related-Bug: #1513925
2015-11-16 14:14:17 -08:00
Sean Dague
876679c08f cells is a sad panda about scheduler hints
The new test_schedule_to_all_nodes test fails in some epic ways in
cells. Not really worth debugging, this is a new test and had just
exposed another cells / devstack issue. Just skip the test.

Change-Id: Icc71e36f4ecb015dff9e806caacd31262f7e17f7
2015-11-14 10:51:20 -05:00
Matt Riedemann
8adc0e30a7 cells: skip 5 networking scenario tests that use floating IPs
These scenario tests run with neutron and rely on assigning floating IPs
which cells v1 doesn't support, so skip them.

Longer term I think we'll have a feature toggle in Tempest to allow
disabling these tests via config but this is quicker and easier for now
to get a cells v1 + neutron job in the experimental queue.

Change-Id: Ieb3b117449f56810f1a41fcf43e737ae919b8945
2015-11-11 14:17:17 -08:00
Sean Dague
387e2b4fbb clean up regex in tempest-dsvm-cells-rc
The current regex contains a lot of slightly off regex
definitions. Most of them don't hurt, and do still match the correct
way, but they make people believe that things like the * at the end of
matches is important (which it is not).

This cleans this up, plus adds a few comments to help people going
forward.

Change-Id: Ica7fc32fd5a756214db987b95d2305bc74cfb6f1
2015-11-09 18:57:35 -05:00
Sean Dague
02de17c72a skip lock_unlock_server test for cells
The cells architecture of doing db replay makes this call
fundamentally racey for cells. The contract is that if you request an
action on a server and it is locked, you get a 409 at the API, and are
done. If you get a 2xx, the resource is not locked, and life is good.

Except in cells, the API db will be updated, and the API will return
all is well. Except the db replay hasn't happened for the cell, so the
additional check in the nova compute for locked blows up.

The fix probably involves the nova-compute check doing a timed retry
under cells because of replication lags.

Change-Id: Ic18407b8372c286d8e258860f3e2bf76eceef2aa
Related-Bug: #1466696
2015-11-09 16:54:19 -05:00
Sylvain Bauza
fa203c3165 Exclude all BDM checks for cells
Since there are some race conditions with the EBS image checking test,
it's better to remove the entire Tempest class tests just until we
figure out what's wrong with the boot from volume stuff

Change-Id: Ice6a718b6d7b27505696a3c55fc02d44d4b187a7
Related-Bug: #1489581
2015-11-06 20:36:38 +01:00
John Garbutt
790d6b31da Add tempest-dsvm-lxc-rc
This is the test exclusion list that will be used by the new
*tempest-dvsm-lxc job.

Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com>

Change-Id: Ic7ad85958ef0ef6576a868b9c4485868523c8e52
2015-10-29 12:26:26 -07:00
Jenkins
411769be8f Merge "Creating instance fail when inject ssh key in cells mode" 2015-09-14 22:19:04 +00:00
Chung Chih, Hung
371be3f4a9 Creating instance fail when inject ssh key in cells mode
The conductor service of compute host will try to find ssh key in child
cells when creating instance. But the ssh key was only stored at parent
api cells. Therefore the conductor service will throw ssh key not found
exception.

There are three solutions:
1. add keypair_type into the instance object, along side keypair_name, etc
2. Sync ssh keypair to every child cell database
3. consider sending a message to the parent cell to fetch the keypair

This commit prefer to use third solution. Because of the data ssh
keypair should be global. And cells v2 split key_pairs table into global
API tables.

Change-Id: I156a1c3cf3e31f34cea5e240b14a9575e9e45239
Closes-Bug: #1443816
2015-09-14 10:55:33 -07:00
Jenkins
f1f799183f Merge "Remove the blacklisted nova-cells shelve tests" 2015-09-06 11:58:28 +00:00
Sylvain Bauza
f45ace1e64 Fix Cells gate test by modifying the regressions regex
Ie4ffd458456d03b0b817b01bbed391f359240db2 changed some TestCases names with
the consequence that those tests were becoming not excluded and consequently
the cells job was failing.

Change-Id: I81ae2918355a02c4e20470a924538d2c7fbafcf6
Closes-Bug: #1492255
2015-09-04 16:24:59 +02:00
Chuck Carmack
4185846831 Remove the blacklisted nova-cells shelve tests
nova-cells does not support the shelve feature.
Since the nova-cells shelve tests are now disabled using
the tempest feature config options, we can remove the
shelve tests from the blacklist.

Change-Id: Iad51bfcff49b7eabc46101bd7f956adfa5958ced
Closes-bug: 1491152
Depends-On: Ibf1f9aaa63e5f17b7d8774b511940ba8421e0887
2015-09-03 14:13:30 +00:00
Matt Riedemann
78ed3ae253 cells: add devstack/tempest-dsvm-cells-rc for gating
We need to whittle down the large regex of excluded tests for the
tempest-dsvm-cells job but we also need to be able to test changes to
the regex, like removing entries that we think are now working.

This change moves the regex from project-config in the
tempest-dsvm-cells job definition to nova so that nova can control and
test the changes on it's own, since project-config is not currently able
to self-test job changes.

project-config change: I8cbc36266eadaf0dbef20e3e83f4874bcfc9ab3a

Change-Id: I2365619de4ba7b43a049771bac90d2deebaa3e9c
2015-06-23 00:47:59 +00:00