[BGP][devstack] Install bgp failed because of Permission denied

Bug #1595795 reported by Dongcan Ye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Ryan Tidwell

Bug Description

Environment:
OS: Ubuntu 14.04
Code repo: master

Install Neutron bgp in DevStack failed.
http://paste.openstack.org/show/521784/

Tags: l3-bgp
Dongcan Ye (hellochosen)
Changed in neutron:
assignee: nobody → Dongcan Ye (hellochosen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-dynamic-routing (master)

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

Changed in neutron:
status: New → In Progress
Revision history for this message
Ryan Tidwell (ryan-tidwell) wrote :

I've never had trouble with this. On my systems I've never needed sudo privileges to access /etc/neutron. Is it possible this is just a misconfiguration somehow? Did you touch /etc/neutron as a privileged user at some point and change the permissions?

Changed in neutron:
status: In Progress → Incomplete
Revision history for this message
Dongcan Ye (hellochosen) wrote :

@Ryan, I reinstall devstack in an new OS.
First time, meet the following error info:
http://paste.openstack.org/show/524203/

Then I run ./unstack.sh and ./stack.sh, the error info appears:
http://paste.openstack.org/show/524209/

I did't know the relationship between this two errors.

Revision history for this message
Yang Yu (yuyangbj) wrote :

@Dongcan Ye

You can refer to the document https://review.openstack.org/#/c/335871/ to enable the neutron-dynamic-routing.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-dynamic-routing (master)

Change abandoned by Dongcan Ye (<email address hidden>) on branch: master
Review: https://review.openstack.org/333668
Reason: Thanks for all review.

Dongcan Ye (hellochosen)
Changed in neutron:
status: Incomplete → Confirmed
Changed in neutron:
assignee: Dongcan Ye (hellochosen) → Ryan Tidwell (ryan-tidwell)
status: Confirmed → In Progress
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Hmm, if I read the instructions in https://review.openstack.org/#/c/335871/ correctly, this will try to install neutron-dynamic-routing on top of nova-network, i.e. without neutron being enabled. Maybe that is bound to be broken anyway?

Revision history for this message
Ryan Tidwell (ryan-tidwell) wrote :

Yeah, reading the docs with fresh eyes it does sort of skip over the step of enabling neutron and disabling nova-network. BGP won't work unless neutron is running, so I suppose it's understood that neutron is a pre-requisite. That in turn would mean that nova-network should be disabled. It certainly wouldn't hurt to show a more complete example of the local.conf snippets you might use that illustrates enabling neutron and disabling nova-network.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron-dynamic-routing (master)

Reviewed: https://review.openstack.org/333668
Committed: https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/commit/?id=1d7155cc0cf602eb00d6882ff21ee27b9fa40cf9
Submitter: Jenkins
Branch: master

commit 1d7155cc0cf602eb00d6882ff21ee27b9fa40cf9
Author: Dongcan Ye <email address hidden>
Date: Fri Jun 24 10:59:05 2016 +0800

    Fix bug for Permission denied

    Permission denied for creating directory '/etc/neutron', here we
    use root privilege for creating the directory, then set the owner
    as STACK_USER.

    Change-Id: I2133d3f92dcec7e3187a6382ded233ac1f36fee7
    Closes-Bug: #1595795

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron-dynamic-routing 9.0.0.0b3

This issue was fixed in the openstack/neutron-dynamic-routing 9.0.0.0b3 development milestone.

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.