summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-nova/nova.init
Commit message (Collapse)AuthorAgeFilesLines
* nova: create /var/run/nova in initscriptsBruce Ashfield2013-12-191-2/+6
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* python-nova: run services as nova user instead of rootBruce Ashfield2013-11-281-1/+2
| | | | | | | | | | | | | | | | | | With this change we now run both the nova controller services and compute node agents as the dedicated "nova" user. Changes to configuration were made to relocated locks and logs to nova writeable directories. Wherever possible configuration files and directories have been changed to nova instead of root (with the notable exception of rootwrap configuration). nova has also been granted sudo privileges to run rootwrap commands. And finally, a libvirt system group has been created and nova added to that group. This allows the compute agent to communicate with libvirtd via the "libvirt" group while keeping permissions tight. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* nova: generate per-service initscriptsBruce Ashfield2013-11-251-0/+72
Rather than use the catch-all "nova-all" initscript, we switch to one initscript per-service. The old nova-all is still installed, but not linked as an initscript, so it can be used as a fallback. In addition to per-service initscripts, we switch to generating those initscripts from a common template script. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>