permission denied error in setup-network

Bug #1260292 reported by Kui Shi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
Undecided
Kui Shi

Bug Description

On fresh-installed Ubuntu 12.04, git clone the triple-o, then run devtest.sh with common user will get following error:

/home/kui/.cache/tripleo/tripleo-incubator/scripts/setup-network
++ dirname /home/kui/.cache/tripleo/tripleo-incubator/scripts/setup-network
+ BASE=/home/kui/.cache/tripleo/tripleo-incubator/scripts/../
+ BRIDGE_SUFFIX=
+ BRIDGE_NAME=brbm
+ sudo ovs-vsctl list-br
+ grep 'brbm$'
brbm
+ virsh net-list --persistent
+ grep 'brbm '
+ virsh net-list --inactive --persistent
+ grep 'brbm '
 brbm inactive yes yes
+ virsh net-undefine brbm
Network brbm has been undefined

+ virsh net-define /dev/fd/63
++ sed s/brbm/brbm/ /home/kui/.cache/tripleo/tripleo-incubator/scripts/..//templates/brbm.xml
Network brbm defined from /dev/fd/63

+ virsh net-autostart brbm
Network brbm marked as autostarted

+ virsh net-start brbm
error: Failed to start network brbm
error: cannot create file '/var/lib/libvirt/network/brbm.xml.new': Permission denied

Revision history for this message
Kui Shi (skuicloud) wrote :

This error is emitted by tripleo-incubator/scripts/setup-network. should we add "sudo" for the command "virsh" ?

Changed in tripleo:
assignee: nobody → Kui Shi (skuicloud)
Revision history for this message
James Slagle (james-slagle) wrote :

Ubuntu 12.04 isn't really supported. Can you try 13.04 or 13.10 and report back if you still have a problem?

We need to update the docs to more clearly state what is and isn't supported.

Changed in tripleo:
status: New → Triaged
Revision history for this message
Kui Shi (skuicloud) wrote :

I use Ubuntu 13.10 64B to run devtest.sh, it works fine. But there needs some updates for the footnote(Setting Up Squid Proxy) in http://docs.openstack.org/developer/tripleo-incubator/devtest.html.

I change the default squid3.conf according the following link, it works fine:
https://github.com/skuicloud/openstack-ironic-devenv/blob/master/squid3-conf.diff

Revision history for this message
Robert Collins (lifeless) wrote :

Please submit patches via review.openstack.org, we can't take patches in the bug tracker.

Revision history for this message
Robert Collins (lifeless) wrote :

However, it looks like your initial bug report is wontfix; so file a new one (or just a patch) about the squid thing.

Changed in tripleo:
status: Triaged → Won't Fix
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.