Comment 1 for bug 1744824

Revision history for this message
Brian Rosmaita (brian-rosmaita) wrote :

Adding this note from Abhishek about troubleshooting, in case anyone has time to take a look:

I have tried to debug this in my environment but so far not able to find the reason.
While starting the api service from functional tests it fails to load middleware 'rootapp' from api-paste.ini

What I have done is added below lines in tox.ini to enable debugging of functional tests

[testenv:debug-functional]
basepython = python2.7
setenv =
  TEST_PATH = ./glance/tests/functional
commands = oslo_debug_helper {posargs}

and added pdb at
'https://github.com/openstack/glance/blob/master/glance/tests/functional/__init__.py#L770'

While executing each functional test, it creates the temp directory at location /tmp/tmp* where it stores config, paste.ini and other required files.