Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-20 Thread Felipe Reyes
On Thu, 19 Nov 2015 18:37:30 -0700 Joe Topjian wrote: > Hi Adam, > > I've seen this happen due to permission issues. Regardless of running > with sudo, upstart is dropping to the "nova" user. > > I usually debug this by setting a shell on the nova user, > sudoing/su'ing to

Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-20 Thread Joe Topjian
> Yes, most likely is related to permissions. Another good source of > information for troubleshooting is /var/log/upstart/nova-compute.log > Ah yes! Much easier. ___ OpenStack-operators mailing list OpenStack-operators@lists.openstack.org

Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-20 Thread Adam Lawson
Thanks I will remember this! Unfortunately the image is long gone but very good info to keep handy. What exactly does upstart do by the way (as I check the log on a known working image)? //adam *Adam Lawson* AQORN, Inc. 427 North Tatnall Street Ste. 58461 Wilmington, Delaware 19801-2230

Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-20 Thread Kris G. Lindgren
-operators@lists.openstack.org>> Subject: Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly Thanks I will remember this! Unfortunately the image is long gone but very good info to keep handy. What exactly does upstart do by the way (as I check the log on a

Re: [Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-19 Thread Joe Topjian
Hi Adam, I've seen this happen due to permission issues. Regardless of running with sudo, upstart is dropping to the "nova" user. I usually debug this by setting a shell on the nova user, sudoing/su'ing to nova, then running nova-compute from there. It should die with an error message of the

[Openstack-operators] [Nova] Question about starting nova as service versus directly

2015-11-19 Thread Adam Lawson
So I can start Nova on Ubuntu/Icehouse via *$ sudo python /usr/bin/nova-compute* and it runs fine and stays online but it does not run/stay online if I use *$ sudo service nova-compute start/restart*. I guessed it might have been related to rootwrap but I ran out of time to troubleshoot so I