← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1491152] [NEW] Don't run shelve tests in tempest if cells is enabled

 

Public bug reported:

Nova controls the tests it runs (or doesn't run) for the cells devstack
tempest job in:

http://git.openstack.org/cgit/openstack/nova/tree/devstack/tempest-dsvm-
cells-rc

There are 3 tests in there that are blacklisted for shelve.

Tempest provides a config option to not run the shelve tests:

http://git.openstack.org/cgit/openstack/tempest/tree/tempest/config.py#n343

We should move that out of the nova rc file and into
devstack/lib/tempest, like what is done for ironic:

https://github.com/openstack-dev/devstack/blob/master/lib/tempest#L526

So in lib/tempest you'd check to see if the n-cells service is running
and if so, initset tempest.conf to not run shelve tests, i.e.:

if is_service_enabled n-cell; then
    iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
fi

** Affects: devstack
     Importance: Undecided
         Status: Confirmed

** Affects: nova
     Importance: Low
     Assignee: Chuck Carmack (chuckcarmack75)
         Status: Triaged


** Tags: low-hanging-fruit

** Also affects: devstack
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1491152

Title:
  Don't run shelve tests in tempest if cells is enabled

Status in devstack:
  Confirmed
Status in OpenStack Compute (nova):
  Triaged

Bug description:
  Nova controls the tests it runs (or doesn't run) for the cells
  devstack tempest job in:

  http://git.openstack.org/cgit/openstack/nova/tree/devstack/tempest-
  dsvm-cells-rc

  There are 3 tests in there that are blacklisted for shelve.

  Tempest provides a config option to not run the shelve tests:

  http://git.openstack.org/cgit/openstack/tempest/tree/tempest/config.py#n343

  We should move that out of the nova rc file and into
  devstack/lib/tempest, like what is done for ironic:

  https://github.com/openstack-dev/devstack/blob/master/lib/tempest#L526

  So in lib/tempest you'd check to see if the n-cells service is running
  and if so, initset tempest.conf to not run shelve tests, i.e.:

  if is_service_enabled n-cell; then
      iniset $TEMPEST_CONFIG compute-feature-enabled shelve False
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1491152/+subscriptions


Follow ups