[Bug 1618812] Re: nova-scheduler autopkgtest fails

Dimitri John Ledkov launchpad at surgut.co.uk
Fri Sep 2 14:06:45 UTC 2016


actually i think it is racy. nova-common is not finished setting up the
sqlite database and migrating yet, however nova-scheduler has already
attempted to start, and failed.

Looking at the tests they might be all racy. And I don't think it's very
autopackgy to install packages with apt inside the test.

Instead, imho, all daemons should be declared as separate tests stanzas,
with individual dependencies. And the test command would be simply to
call and test daemons one by one. This also avoids conflicts (e.g.
various compute backends) and no longer requires root access. And really
daemons should be available after installation.

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1618812

Title:
  nova-scheduler autopkgtest fails

Status in nova package in Ubuntu:
  Triaged

Bug description:
  nova has auto package test checking that daemons are started out of
  the box.

  debian/tests/nova-daemons checks a bunch of them.

  However nova-scheduler fails to start with CantStartEngineError No
  sql_connection parameter is established.

  Either sql needs to be setup for nova-schedular test, or nova-
  scheduler should be dropped from the basic nova-daemons test.

  See attached journal entries.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1618812/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list