<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Now i have something like your problem, im getting </div><div class="gmail_default"><font face="tahoma, sans-serif">die 609 'nova-api did not start'</font><br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 4:11 PM, Krishanu Dhar <span dir="ltr"><<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">thanks man, incidentally i ran into your post too and it got me going. However, I was wondering if the fix should go in <a href="http://stack.sh.stack.sh" target="_blank">stack.sh.stack.sh</a><br>
</div><div class="gmail_extra"><div><div class="h5">
<br><br><div class="gmail_quote">On Fri, Nov 8, 2013 at 12:32 AM, Cazzolato, Sergio J <span dir="ltr"><<a href="mailto:sergio.j.cazzolato@intel.com" target="_blank">sergio.j.cazzolato@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">In my case the files were: api-paste.ini and policy.json<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I posted the solution there too:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><a href="http://stackoverflow.com/questions/19843239/getting-nova628die-trying-to-start-openstack-nova-module" target="_blank">http://stackoverflow.com/questions/19843239/getting-nova628die-trying-to-start-openstack-nova-module</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Krishanu Dhar [mailto:<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>]
<br>
<b>Sent:</b> Thursday, November 07, 2013 3:40 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] nova-api fails to start<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Any other recommendations on how to have a successful devstack installation?
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 11:37 PM, Krishanu Dhar <<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">below is an error that's probably the cause...<br>
<br>
2013-11-07 23:24:14.758 TRACE nova IOError: [Errno 13] Permission denied: '/etc/nova/api-paste.ini'<br>
2013-11-07 23:24:14.758 TRACE nova <br>
n-api failed to start<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">krish@krish-VirtualBox:/opt/stack/nova$ ls -l /etc/nova/api-paste.ini<br>
-rw------- 1 nova nova 4260 Apr 23 2013 /etc/nova/api-paste.ini<u></u><u></u></p>
</div>
<p class="MsoNormal">isn't it expected to fail if the file is owned by "nova"... weird.<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 11:18 PM, Krishanu Dhar <<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">it did not even start the process in my case.
<u></u><u></u></p>
</div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 11:15 PM, Telles Nobrega <<a href="mailto:tellesnobrega@gmail.com" target="_blank">tellesnobrega@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Weird, i had the same problem, but when i kill the processes it works<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 2:34 PM, Krishanu Dhar <<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">Nothing was left behind. <br>
<br>
#ps aux|grep -ie nova did not return anything.<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 11:01 PM, Telles Nobrega <<a href="mailto:tellesnobrega@gmail.com" target="_blank">tellesnobrega@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Did you check if there are any nova process left running?<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 2:28 PM, Krishanu Dhar <<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<p class="MsoNormal">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.
<br>
<br>
So, what are my options right now?<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 7:31 PM, Telles Nobrega <<a href="mailto:tellesnobrega@gmail.com" target="_blank">tellesnobrega@gmail.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Sometimes after ./unstack is ran, some process are still runnning for nova. <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Tahoma","sans-serif"">Try running this to kill them all (ps aux | grep -ie nova | awk '{print $2}' | xargs kill -9) and try ./stack again</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">On Thu, Nov 7, 2013 at 9:14 AM, Noorul Islam K M <<a href="mailto:noorul@noorul.com" target="_blank">noorul@noorul.com</a>> wrote:<u></u><u></u></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Krishanu Dhar <<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>> writes:<br>
<br>
> Hi,<br>
><br>
> I was trying to install the devstack and it failed while starting the nova<br>
> api. below is a snippet from the console. Is it a bug?<br>
><br>
><br>
> + screen -S stack -p n-api -X stuff 'cd /opt/stack/nova &&<br>
> /usr/local/bin/nova-a'i || echo "n-api failed to start" | tee<br>
> "/opt/stack/status/stack/n-api.failure"<br>
> + echo 'Waiting for nova-api to start...'<br>
> Waiting for nova-api to start...<br>
> + wait_for_service 60 <a href="http://10.0.2.15:8774" target="_blank">http://10.0.2.15:8774</a><br>
> + local timeout=60<br>
> + local url=<a href="http://10.0.2.15:8774" target="_blank">http://10.0.2.15:8774</a><br>
> + timeout 60 sh -c 'while ! curl --noproxy '\''*'\'' -s<br>
> <a href="http://10.0.2.15:8774" target="_blank">http://10.0.2.15:8774</a> >/dev/null; do sleep 1; done'<br>
> + die 628 'nova-api did not start'<br>
> + local exitcode=0<br>
> + set +o xtrace<br>
> [Call Trace]<br>
> ./stack.sh:1084:start_nova_api<br>
> /home/krish/devstack/lib/nova:628:die<br>
> [ERROR] /home/krish/devstack/lib/nova:628 nova-api did not start<br>
> krish@krish-VirtualBox:~/devstack$<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Did you try "screen -x stack" ?<br>
<br>
Regards,<br>
Noorul<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><span style="color:#888888"><br>
<br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
</div>
<p class="MsoNormal"><span style="color:#888888">-- <u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="color:#888888">------------------------------------------<br>
Telles Mota Vidal Nobrega<br>
Developer at PulsarOpenStack Project - HP/LSD-UFCG<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><span style="color:#888888">-- <br>
Krishanu </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">------------------------------------------<br>
Telles Mota Vidal Nobrega<br>
Developer at PulsarOpenStack Project - HP/LSD-UFCG<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><span style="color:#888888">-- <br>
Krishanu </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">------------------------------------------<br>
Telles Mota Vidal Nobrega<br>
Developer at PulsarOpenStack Project - HP/LSD-UFCG<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><span style="color:#888888">-- <br>
Krishanu </span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><span><span style="color:#888888">-- </span></span><span style="color:#888888"><br>
<span>Krishanu </span></span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Krishanu <u></u><u></u></p>
</div>
</div></div></div>
</div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br></div></div><span class="HOEnZb"><font color="#888888">Krishanu
</font></span></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">------------------------------------------<br>Telles Mota Vidal Nobrega<br>Developer at PulsarOpenStack Project - HP/LSD-UFCG</div>
</div>