Permission denied error in unit tests

Bug #1301027 reported by Salvatore Orlando
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Joe Gordon
Havana
Fix Released
High
Ihar Hrachyshka
Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/84562

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Fix proposed to branch: master
Review: https://review.openstack.org/84568

Changed in neutron:
assignee: Kevin Benton (kevinbenton) → Joe Gordon (jogo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (milestone-proposed)

Fix proposed to branch: milestone-proposed
Review: https://review.openstack.org/84569

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/84608

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/84568
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f59e5fff820c1cf6900100d058622b8b1cbb03ca
Submitter: Jenkins
Branch: master

commit f59e5fff820c1cf6900100d058622b8b1cbb03ca
Author: Joe Gordon <email address hidden>
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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/84661

Alan Pevec (apevec)
Changed in neutron:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/havana)

Reviewed: https://review.openstack.org/84661
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8cb9d895675f2a89c6b741da4b594f416fbeee5a
Submitter: Jenkins
Branch: stable/havana

commit 8cb9d895675f2a89c6b741da4b594f416fbeee5a
Author: Joe Gordon <email address hidden>
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.

    Conflicts:
     neutron/tests/base.py

    Change-Id: I253c5ea85c51eff94399da0b9462d10a9c509a0f
    Closes-Bug: #1301027
    (cherry picked from commit f59e5fff820c1cf6900100d058622b8b1cbb03ca)

Thierry Carrez (ttx)
Changed in neutron:
milestone: none → icehouse-rc2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (milestone-proposed)

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 <email address hidden>
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
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-rc2 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.