← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1301027] Re: Permission denied error in unit tests

 

Reviewed:  https://review.openstack.org/84569
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=ac2718c4aa7b6eb0c0e82df93cf59d890432d652
Submitter: Jenkins
Branch:    milestone-proposed

commit ac2718c4aa7b6eb0c0e82df93cf59d890432d652
Author: Joe Gordon <joe.gordon0@xxxxxxxxx>
Date:   Tue Apr 1 15:06:36 2014 -0700

    Use a temp dir for CONF.state_path
    
    external_pids will defaults to $state_path(/var/lib/neutron)/external/pids
    which isn't accessible when running unit tests so use a tempdir for
    CONF.state_path. This bug arose when oslo.config 1.3.0 came out which
    fixed bug #1282250 (I4324bda6f3de3cdf05f8eb3cf16052c04018dec8) and
    caused this issue.
    
    Change-Id: I253c5ea85c51eff94399da0b9462d10a9c509a0f
    Closes-Bug: #1301027


** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1301027

Title:
  Permission denied error in unit tests

Status in OpenStack Neutron (virtual network service):
  Fix Released
Status in neutron havana series:
  Fix Released

Bug description:
  Unit tests are intermittently failing because of permission denied
  errors on /var/lib/neutron

  It seems tmpdir fixtures  are not being used.

  Logstash query:
  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiUGVybWlzc2lvbiBkZW5pZWQ6ICcvdmFyL2xpYi9uZXV0cm9uJ1wiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI0MzIwMCIsImdyYXBobW9kZSI6ImNvdW50IiwidGltZSI6eyJ1c2VyX2ludGVydmFsIjowfSwic3RhbXAiOjEzOTYzODY2NDIyNzB9

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


References