[openstack-dev] Launching openstack instance results in state ERROR
Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject +--+--+++-+--+ | ID | Name | Status | Task State | Power State | Networks | +--+--+++-+--+ | bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | test-bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | ERROR | None | NOSTATE | | | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | ERROR | None | NOSTATE | | +--+--+++-+--+ -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Launching openstack instance results in state ERROR
I do not see the log files there. No logs were generated. How do i enable logging? On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: Check the nova-api and nova-compute logs. Did u check the Horizon based launch of VMs ? Check neutron/server.log for Ports creation. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 3:04 PM *To:* openst...@lists.openstack.org; OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Launching openstack instance results in state ERROR Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject +--+--+++-+--+ | ID | Name | Status | Task State | Power State | Networks | +--+--+++-+--+ | bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | test-bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | ERROR | None | NOSTATE | | | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | ERROR | None | NOSTATE | | +--+--+++-+--+ -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Krishanu
Re: [openstack-dev] Launching openstack instance results in state ERROR
the logs do not get generated with verbose and debug set to True. This is weird. I do not see anything else that prevents from generating logs...Any other recommendations? On Fri, Nov 15, 2013 at 4:39 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: In the nova.conf and neutron.conf enable verbose=True, Debug=True. Also, look into logging configurations in the same files. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 4:27 PM *To:* OpenStack Development Mailing List (not for usage questions); openst...@lists.openstack.org; Somanchi Trinath-B39208 *Subject:* Re: [openstack-dev] Launching openstack instance results in state ERROR I do not see the log files there. No logs were generated. How do i enable logging? On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: Check the nova-api and nova-compute logs. Did u check the Horizon based launch of VMs ? Check neutron/server.log for Ports creation. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 3:04 PM *To:* openst...@lists.openstack.org; OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Launching openstack instance results in state ERROR Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed import gobject._gobject +--+--+++-+--+ | ID | Name | Status
Re: [openstack-dev] Launching openstack instance results in state ERROR
I finally found the error it's generating. Not from the log files through, but from Horizon UI. Error: Failed to launch instance test2: Please try again later [Error: Timeout while waiting on RPC response - topic: network, RPC method: get_instance_nw_info info: unknown]. Now, how do I fix RPC time out issue? On Fri, Nov 15, 2013 at 5:01 PM, Krishanu Dhar rony.k...@gmail.com wrote: the logs do not get generated with verbose and debug set to True. This is weird. I do not see anything else that prevents from generating logs...Any other recommendations? On Fri, Nov 15, 2013 at 4:39 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: In the nova.conf and neutron.conf enable verbose=True, Debug=True. Also, look into logging configurations in the same files. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 4:27 PM *To:* OpenStack Development Mailing List (not for usage questions); openst...@lists.openstack.org; Somanchi Trinath-B39208 *Subject:* Re: [openstack-dev] Launching openstack instance results in state ERROR I do not see the log files there. No logs were generated. How do i enable logging? On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: Check the nova-api and nova-compute logs. Did u check the Horizon based launch of VMs ? Check neutron/server.log for Ports creation. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 3:04 PM *To:* openst...@lists.openstack.org; OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Launching openstack instance results in state ERROR Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list
Re: [openstack-dev] Launching openstack instance results in state ERROR
Atatched is the nova conf file On Fri, Nov 15, 2013 at 5:16 PM, Denis Makogon dmako...@mirantis.comwrote: Could you please post nova config file? It would be easier to tell if its misconfigured Regards, Denis Makogon. 2013/11/15 Krishanu Dhar rony.k...@gmail.com the logs do not get generated with verbose and debug set to True. This is weird. I do not see anything else that prevents from generating logs...Any other recommendations? On Fri, Nov 15, 2013 at 4:39 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: In the nova.conf and neutron.conf enable verbose=True, Debug=True. Also, look into logging configurations in the same files. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 4:27 PM *To:* OpenStack Development Mailing List (not for usage questions); openst...@lists.openstack.org; Somanchi Trinath-B39208 *Subject:* Re: [openstack-dev] Launching openstack instance results in state ERROR I do not see the log files there. No logs were generated. How do i enable logging? On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: Check the nova-api and nova-compute logs. Did u check the Horizon based launch of VMs ? Check neutron/server.log for Ports creation. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 3:04 PM *To:* openst...@lists.openstack.org; OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Launching openstack instance results in state ERROR Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion
Re: [openstack-dev] Launching openstack instance results in state ERROR
How do i restart nova and neutron? Do you ahve the commands? On Fri, Nov 15, 2013 at 5:24 PM, Srinivasa T N seen...@linux.vnet.ibm.comwrote: Did you do restart of nova and neutron after the below changes? Regards, Seenu. On 11/15/2013 05:01 PM, Krishanu Dhar wrote: the logs do not get generated with verbose and debug set to True. This is weird. I do not see anything else that prevents from generating logs...Any other recommendations? On Fri, Nov 15, 2013 at 4:39 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: In the nova.conf and neutron.conf enable verbose=True, Debug=True. Also, look into logging configurations in the same files. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 4:27 PM *To:* OpenStack Development Mailing List (not for usage questions); openst...@lists.openstack.org; Somanchi Trinath-B39208 *Subject:* Re: [openstack-dev] Launching openstack instance results in state ERROR I do not see the log files there. No logs were generated. How do i enable logging? On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi trinath.soman...@freescale.com wrote: Check the nova-api and nova-compute logs. Did u check the Horizon based launch of VMs ? Check neutron/server.log for Ports creation. -- Trinath Somanchi - B39208 trinath.soman...@freescale.com | extn: 4048 *From:* Krishanu Dhar [mailto:rony.k...@gmail.com] *Sent:* Friday, November 15, 2013 3:04 PM *To:* openst...@lists.openstack.org; OpenStack Development Mailing List (not for usage questions) *Subject:* [openstack-dev] Launching openstack instance results in state ERROR Hi, I am trying to launch an instance from an image and everytime it results in a state ERROR. Below is a snippet. Can someone help please? krish@krish-VirtualBox:~/devstack$ nova boot --flavor 2 --image dfb5f3af-de73-43e4-8927-c317540543e7 --num-instances 2 --key_name KEY_NAME --security_groups default --meta description=test test +--+--+ | Property | Value| +--+--+ | OS-DCF:diskConfig| MANUAL | | OS-EXT-AZ:availability_zone | nova | | OS-EXT-SRV-ATTR:host | None | | OS-EXT-SRV-ATTR:hypervisor_hostname | None | | OS-EXT-SRV-ATTR:instance_name| instance-0007| | OS-EXT-STS:power_state | 0| | OS-EXT-STS:task_state| scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | adminPass| is4MdBtkrbXf | | config_drive | | | created | 2013-11-15T09:24:02Z | | flavor | m1.small | | hostId | | | id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | image| cirros-0.3.1-x86_64-uec-kernel | | key_name | KEY_NAME | | metadata | {u'description': u'wfa'} | | name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | | os-extended-volumes:volumes_attached | [] | | progress | 0| | security_groups | [{u'name': u'default'}] | | status | BUILD| | tenant_id| 0d245da50cdd471caf352e2c639f6a7f | | updated | 2013-11-15T09:24:02Z | | user_id | d4bad940f05c4f14a9a3abfcab6128cf | +--+--+ krish@krish-VirtualBox:~/devstack$ nova list /usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion
[openstack-dev] Script to operate on trove
Hi, I have to query the network and fetch details of all the hardware devices present in the datacenter and maintain the details in the back-end db. I plan to use trove as the back-end database. I have code written to get the details from the devices, but not sure how to perform operations in the open stack db. Can someone help me with a sample code that creates/updates tables in trove please? Thanks, Krish ___ 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
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
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
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] Manual to build an application on open stack
Thank you Denis. While I look at trove, I had another question to the community on the front end UI. Do we have support for integrating a flex based application with open stack? On Nov 3, 2013 1:54 PM, Denis Makogon dmako...@mirantis.com wrote: I'd suggest you to take a look at OpenStack Trove for backend deployment. Also, i've seen at github ReST based OpenStack client written on java. If you need any help, you are free to ask community. Regards, Denis M. 2013/11/3 Krishanu Dhar rony.k...@gmail.com Thanks Denis. So,this is what I am planning. An application; I was thinking of writing it up in java 'coz I ain't that good in python. It could be accessed either via a web browser or an app could be downloaded to a desktop. Brief set of functionalities... 1. A db backend to store information retrieved from devices in the network. (MySQL may be) 2. Add devices to it for management (eg: switch, storage array, server) 3. Perform tasks on these devices. (eg: create, delete, modify logical objects) On Nov 2, 2013 4:32 PM, Denis Makogon dmako...@mirantis.com wrote: Ok, i got it. I'd suggest you to describe whole copcent of your application (if it is not commercial secret) and let community lead you to right direction. There simple rules of developing with OpenStack: 1. Python based. 2. Clinet/Server interaction 3. ReST 4. Test coverage. Inner test or Tempest. 2013/11/2 Krishanu Dhar rony.k...@gmail.com Sorry for being vague in my previous email. Thanks for the link, I'll go through it. I am trying to build an app that resides on the cloud and would want to perform some basic storage management operations. On Sat, Nov 2, 2013 at 3:07 PM, Denis Makogon dmako...@mirantis.comwrote: It depends on what kind of application your are building. There serveral way of developing something above openstack services. I hope this wikinpage would help you a bit https://wiki.openstack.org/wiki/Documentation 2013/11/2 Krishanu Dhar rony.k...@gmail.com Hi, I wanted to build an application on openstack and wanted help on how do i go about doing it? Since i am absolutely new to the stack I was wondering if their is a developer's manual or something of that sort. All I have done so far is started the installation of devstack. I am typing this email while the installation is progressing in the background. Thanks for you time and help. krish -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ 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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
[openstack-dev] Manual to build an application on open stack
Hi, I wanted to build an application on openstack and wanted help on how do i go about doing it? Since i am absolutely new to the stack I was wondering if their is a developer's manual or something of that sort. All I have done so far is started the installation of devstack. I am typing this email while the installation is progressing in the background. Thanks for you time and help. krish -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] Manual to build an application on open stack
Sorry for being vague in my previous email. Thanks for the link, I'll go through it. I am trying to build an app that resides on the cloud and would want to perform some basic storage management operations. On Sat, Nov 2, 2013 at 3:07 PM, Denis Makogon dmako...@mirantis.com wrote: It depends on what kind of application your are building. There serveral way of developing something above openstack services. I hope this wikinpage would help you a bit https://wiki.openstack.org/wiki/Documentation 2013/11/2 Krishanu Dhar rony.k...@gmail.com Hi, I wanted to build an application on openstack and wanted help on how do i go about doing it? Since i am absolutely new to the stack I was wondering if their is a developer's manual or something of that sort. All I have done so far is started the installation of devstack. I am typing this email while the installation is progressing in the background. Thanks for you time and help. krish -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ 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] Manual to build an application on open stack
Thanks Denis. So,this is what I am planning. An application; I was thinking of writing it up in java 'coz I ain't that good in python. It could be accessed either via a web browser or an app could be downloaded to a desktop. Brief set of functionalities... 1. A db backend to store information retrieved from devices in the network. (MySQL may be) 2. Add devices to it for management (eg: switch, storage array, server) 3. Perform tasks on these devices. (eg: create, delete, modify logical objects) On Nov 2, 2013 4:32 PM, Denis Makogon dmako...@mirantis.com wrote: Ok, i got it. I'd suggest you to describe whole copcent of your application (if it is not commercial secret) and let community lead you to right direction. There simple rules of developing with OpenStack: 1. Python based. 2. Clinet/Server interaction 3. ReST 4. Test coverage. Inner test or Tempest. 2013/11/2 Krishanu Dhar rony.k...@gmail.com Sorry for being vague in my previous email. Thanks for the link, I'll go through it. I am trying to build an app that resides on the cloud and would want to perform some basic storage management operations. On Sat, Nov 2, 2013 at 3:07 PM, Denis Makogon dmako...@mirantis.comwrote: It depends on what kind of application your are building. There serveral way of developing something above openstack services. I hope this wikinpage would help you a bit https://wiki.openstack.org/wiki/Documentation 2013/11/2 Krishanu Dhar rony.k...@gmail.com Hi, I wanted to build an application on openstack and wanted help on how do i go about doing it? Since i am absolutely new to the stack I was wondering if their is a developer's manual or something of that sort. All I have done so far is started the installation of devstack. I am typing this email while the installation is progressing in the background. Thanks for you time and help. krish -- Krishanu ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ 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 ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev ___ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev