OpenStack Compute (Nova)

Running nova-manage as the correct user is awkward

Reported by Soren Hansen on 2011-07-04
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Wishlist
Soren Hansen

Bug Description

nova-manage should be run as the nova user. Having to type "sudo -u nova nova-manage" is really annoying. nova-manage should sort this out on its own. Something like reexecuting itself using sudo to the owner of nova.conf.

Thierry Carrez (ttx) on 2011-07-05
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed

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

Changed in nova:
assignee: nobody → Soren Hansen (soren)
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/3777
Committed: http://github.com/openstack/nova/commit/e9fd01e58b6a83b400ce9825f2543cb6ef476f00
Submitter: Jenkins
Branch: master

commit e9fd01e58b6a83b400ce9825f2543cb6ef476f00
Author: Soren Hansen <email address hidden>
Date: Sat Feb 4 00:02:41 2012 +0100

    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

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2012-02-29
Changed in nova:
milestone: none → essex-4
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-04-05
Changed in nova:
milestone: essex-4 → 2012.1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers