Unit tests fail with ConfigNotFound: Could not find config at $state_path/etc/nova/api-paste.ini
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
High
|
Unassigned | ||
oslo-incubator |
Fix Released
|
High
|
Ben Nemec |
Bug Description
Steps to replicate:
- Ubuntu 10.04 running devstack
- cd to /opt/stack/nova
- Check out nova at master (7093b847f62430
- tox -e py27
Many tests fail with this error message. For example:
=======
FAIL: nova.tests.
tags: worker-2
-------
Empty attachments:
stdout
pythonlogging:'': {{{
AUDIT [nova.service] Starting conductor node (version 2014.1)
INFO [nova.virt.driver] Loading compute driver 'nova.virt.
AUDIT [nova.service] Starting compute node (version 2014.1)
AUDIT [nova.compute.
AUDIT [nova.compute.
AUDIT [nova.compute.
AUDIT [nova.compute.
INFO [nova.compute.
AUDIT [nova.service] Starting cert node (version 2014.1)
AUDIT [nova.service] Starting consoleauth node (version 2014.1)
INFO [nova.network.
AUDIT [nova.service] Starting network node (version 2014.1)
AUDIT [nova.service] Starting scheduler node (version 2014.1)
WARNING [nova.cells.
AUDIT [nova.service] Starting cells node (version 2014.1)
}}}
stderr: {{{
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
nova/servicegro
super(API, self)._
}}}
Traceback (most recent call last):
File "nova/tests/
super(
File "nova/tests/
super(
File "nova/tests/
self.
File "nova/tests/
self.osapi = service.
File "nova/service.py", line 349, in __init__
self.loader = loader or wsgi.Loader()
File "nova/wsgi.py", line 489, in __init__
raise exception.
ConfigNotFound: Could not find config at $state_
=======
Changed in nova: | |
status: | New → Confirmed |
tags: | added: testing |
Changed in nova: | |
assignee: | Juan Manuel Ollé (juan-m-olle) → nobody |
Changed in oslo: | |
milestone: | none → icehouse-rc1 |
Changed in oslo: | |
milestone: | icehouse-rc1 → icehouse-3 |
Changed in oslo: | |
status: | Triaged → Fix Committed |
Changed in oslo: | |
status: | Fix Committed → Fix Released |
Changed in oslo: | |
milestone: | icehouse-3 → 2014.1 |
Changing in the tox.ini file solve the problem for me
[testenv]
sitepackages = False
I am pleased to make the change if this doesn't impact jenkins