Re: [openstack-dev] nova-api fails to start
screen -x stack should give you the clue as to why it's failing. In my case it printed 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 all i had to do was change the ownership of the files to the user executing stack.sh and restart the process. On Fri, Nov 8, 2013 at 4:49 PM, Telles Nobrega tellesnobr...@gmail.comwrote: I thought it worked but it actually didn't. I'm trying again On Thu, Nov 7, 2013 at 10:19 PM, Telles Nobrega tellesnobr...@gmail.comwrote: It was a new installation, but i tried a couple more times, removed all the component folders and it worked -- ___ Telles Mota Vidal Nóbrega Undergraduated in Computer Science at Federal University of Campina Grande (UFCG) Developer at PulsarOpenStack Project - HP On 07 Nov 2013, at 17:54, Krishanu Dhar rony.k...@gmail.com wrote: Hey Telies - Were you trying to recreate the failure? or is it a new installation? On Fri, Nov 8, 2013 at 2:13 AM, Telles Nobrega tellesnobr...@gmail.comwrote: Now i have something like your problem, im getting die 609 'nova-api did not start' On Thu, Nov 7, 2013 at 4:11 PM, Krishanu Dhar rony.k...@gmail.comwrote: 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.cazzol...@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.k...@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.k...@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@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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 noo...@noorul.com wrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack
[openstack-dev] nova-api fails to start
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@krish-VirtualBox:~/devstack$ -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
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.k...@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@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.k...@gmail.comwrote: 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 tellesnobr...@gmail.comwrote: 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.k...@gmail.comwrote: Nothing was left behind. #ps aux|grep -ie nova did not return anything. On Thu, Nov 7, 2013 at 11:01 PM, Telles Nobrega tellesnobr...@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.k...@gmail.comwrote: 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 tellesnobr...@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 noo...@noorul.comwrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] nova-api fails to start
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.k...@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.k...@gmail.commailto:rony.k...@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@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.k...@gmail.commailto:rony.k...@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 tellesnobr...@gmail.commailto:tellesnobr...@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.k...@gmail.commailto:rony.k...@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 tellesnobr...@gmail.commailto:tellesnobr...@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.k...@gmail.commailto:rony.k...@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 tellesnobr...@gmail.commailto:tellesnobr...@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 noo...@noorul.commailto:noo...@noorul.com wrote: Krishanu Dhar rony.k...@gmail.commailto:rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.orgmailto:OpenStack-dev@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] nova-api fails to start
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.cazzol...@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.k...@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.k...@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@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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 noo...@noorul.com wrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] nova-api fails to start
Now i have something like your problem, im getting die 609 'nova-api did not start' On Thu, Nov 7, 2013 at 4:11 PM, Krishanu Dhar rony.k...@gmail.com wrote: 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.cazzol...@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.k...@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.k...@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@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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 noo...@noorul.com wrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- -- Telles
Re: [openstack-dev] nova-api fails to start
Hey Telies - Were you trying to recreate the failure? or is it a new installation? On Fri, Nov 8, 2013 at 2:13 AM, Telles Nobrega tellesnobr...@gmail.comwrote: Now i have something like your problem, im getting die 609 'nova-api did not start' On Thu, Nov 7, 2013 at 4:11 PM, Krishanu Dhar rony.k...@gmail.com wrote: 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.cazzol...@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.k...@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.k...@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@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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 noo...@noorul.com wrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@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@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Krishanu ___ OpenStack-dev mailing
Re: [openstack-dev] nova-api fails to start
It was a new installation, but i tried a couple more times, removed all the component folders and it worked -- ___ Telles Mota Vidal Nóbrega Undergraduated in Computer Science at Federal University of Campina Grande (UFCG) Developer at PulsarOpenStack Project - HP On 07 Nov 2013, at 17:54, Krishanu Dhar rony.k...@gmail.com wrote: Hey Telies - Were you trying to recreate the failure? or is it a new installation? On Fri, Nov 8, 2013 at 2:13 AM, Telles Nobrega tellesnobr...@gmail.com wrote: Now i have something like your problem, im getting die 609 'nova-api did not start' On Thu, Nov 7, 2013 at 4:11 PM, Krishanu Dhar rony.k...@gmail.com wrote: 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.cazzol...@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.k...@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.k...@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@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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.k...@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 tellesnobr...@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 noo...@noorul.com wrote: Krishanu Dhar rony.k...@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@krish-VirtualBox:~/devstack$ Did you try screen -x stack ? Regards, Noorul ___ OpenStack-dev mailing list OpenStack-dev@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