[openstack-dev] nova-api fails to start

Krishanu Dhar rony.kris at gmail.com
Thu Nov 7 19:11:04 UTC 2013


thanks man, incidentally i ran into your post too and it got me going.
However, I was wondering if the fix should go in stack.sh.stack.sh


On Fri, Nov 8, 2013 at 12:32 AM, Cazzolato, Sergio J <
sergio.j.cazzolato at intel.com> wrote:

>  Hi, I had the same issue and fixed that doing a chwon and changing the
> ownership to my user of the files in /etc/nova where the owner was the user
> nova.
>
>
>
> In my case the files were: api-paste.ini and policy.json
>
>
>
> I posted the solution there too:
>
>
>
>
> http://stackoverflow.com/questions/19843239/getting-nova628die-trying-to-start-openstack-nova-module
>
>
>
> Thanks
>
>
>
>
>
> *From:* Krishanu Dhar [mailto:rony.kris at gmail.com]
> *Sent:* Thursday, November 07, 2013 3:40 PM
> *To:* OpenStack Development Mailing List (not for usage questions)
> *Subject:* Re: [openstack-dev] nova-api fails to start
>
>
>
> Any other recommendations on how to have a successful devstack
> installation?
>
>
>
> On Thu, Nov 7, 2013 at 11:37 PM, Krishanu Dhar <rony.kris at gmail.com>
> wrote:
>
> below is an error that's probably the cause...
>
> 2013-11-07 23:24:14.758 TRACE nova IOError: [Errno 13] Permission denied:
> '/etc/nova/api-paste.ini'
> 2013-11-07 23:24:14.758 TRACE nova
> n-api failed to start
>
> krish at krish-VirtualBox:/opt/stack/nova$ ls -l /etc/nova/api-paste.ini
> -rw------- 1 nova nova 4260 Apr 23  2013 /etc/nova/api-paste.ini
>
> isn't it expected to fail if the file is owned by "nova"... weird.
>
>
>
>
>
>
>
> On Thu, Nov 7, 2013 at 11:18 PM, Krishanu Dhar <rony.kris at gmail.com>
> wrote:
>
> it did not even start the process in my case.
>
> I tried looking up email threads in google and looks like quite a few have
> run into this before, but couldn't find a working fix.
>
>
>
> On Thu, Nov 7, 2013 at 11:15 PM, Telles Nobrega <tellesnobrega at gmail.com>
> wrote:
>
> Weird, i had the same problem, but when i kill the processes it works
>
>
>
> On Thu, Nov 7, 2013 at 2:34 PM, Krishanu Dhar <rony.kris at gmail.com> wrote:
>
> Nothing was left behind.
>
> #ps aux|grep -ie nova did not return anything.
>
>
>
> On Thu, Nov 7, 2013 at 11:01 PM, Telles Nobrega <tellesnobrega at gmail.com>
> wrote:
>
> Did you check if there are any nova process left running?
>
>
>
> On Thu, Nov 7, 2013 at 2:28 PM, Krishanu Dhar <rony.kris at gmail.com> wrote:
>
> Appreciate the responses. But there is something wrong with this. I ran
> unstack.sh again and retried the installation. it failed with the same
> message.
>
> So, what are my options right now?
>
>
>
> On Thu, Nov 7, 2013 at 7:31 PM, Telles Nobrega <tellesnobrega at gmail.com>
> wrote:
>
> Sometimes after ./unstack is ran, some process are still runnning for
> nova.
>
> Try running this to kill them all (ps aux | grep -ie nova | awk '{print
> $2}' | xargs kill -9) and try ./stack again
>
>
>
> On Thu, Nov 7, 2013 at 9:14 AM, Noorul Islam K M <noorul at noorul.com>
> wrote:
>
>   Krishanu Dhar <rony.kris at gmail.com> writes:
>
> > Hi,
> >
> > I was trying to install the devstack and it failed while starting the
> nova
> > api. below is a snippet from the console. Is it a bug?
> >
> >
> > + screen -S stack -p n-api -X stuff 'cd /opt/stack/nova &&
> > /usr/local/bin/nova-a'i || echo "n-api failed to start" | tee
> > "/opt/stack/status/stack/n-api.failure"
> > + echo 'Waiting for nova-api to start...'
> > Waiting for nova-api to start...
> > + wait_for_service 60 http://10.0.2.15:8774
> > + local timeout=60
> > + local url=http://10.0.2.15:8774
> > + timeout 60 sh -c 'while ! curl --noproxy '\''*'\'' -s
> > http://10.0.2.15:8774 >/dev/null; do sleep 1; done'
> > + die 628 'nova-api did not start'
> > + local exitcode=0
> > + set +o xtrace
> > [Call Trace]
> > ./stack.sh:1084:start_nova_api
> > /home/krish/devstack/lib/nova:628:die
> > [ERROR] /home/krish/devstack/lib/nova:628 nova-api did not start
> > krish at krish-VirtualBox:~/devstack$
>
> Did you try "screen -x stack" ?
>
> Regards,
> Noorul
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
>
> --
>
> ------------------------------------------
> Telles Mota Vidal Nobrega
> Developer at PulsarOpenStack Project - HP/LSD-UFCG
>
>
>
>   --
> Krishanu
>
>
>
>
>
> --
>
> ------------------------------------------
> Telles Mota Vidal Nobrega
> Developer at PulsarOpenStack Project - HP/LSD-UFCG
>
>
>
>   --
> Krishanu
>
>
>
>
>
> --
>
> ------------------------------------------
> Telles Mota Vidal Nobrega
> Developer at PulsarOpenStack Project - HP/LSD-UFCG
>
>
>
>   --
> Krishanu
>
>
>
>   --
> Krishanu
>
>
>
>
> --
> Krishanu
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Krishanu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131108/95295fe8/attachment.html>


More information about the OpenStack-dev mailing list