]> xenbits.xensource.com Git - osstest/openstack-nova.git/commit
Re-run nova-manage under sudo if unable to read conffile
authorSoren Hansen <soren@linux2go.dk>
Fri, 3 Feb 2012 23:02:41 +0000 (00:02 +0100)
committerSoren Hansen <soren@linux2go.dk>
Fri, 3 Feb 2012 23:26:26 +0000 (00:26 +0100)
commite9fd01e58b6a83b400ce9825f2543cb6ef476f00
tree33da6872d80a694f3796e0528d962835b8d3cf84
parent61c434baa77fa2744cac81f64957da319078614e
Re-run nova-manage under sudo if unable to read conffile

Having to manually sudo to the nova user to make things work is
tedious. Make it so that if we can't read the conffile, we just
re-exec under sudo.

Fixes bug 805695

Change-Id: I322cece80ca757c69147fb3f8474ad137d9bff82
bin/nova-manage
nova/utils.py