Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Thierry Carrez
Krishanu Dhar wrote:
> How do i restart nova and neutron? Do you ahve the commands?

Seriously... this list is not a support forum. Its scope is (and only
is) development discussion on the future of OpenStack. We have a number
of avenues for supporting users in their deployment and usage of OpenStack:

OpenStack general ML:
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Ask OpenStack website:
https://ask.openstack.org/

To those answering usage questions here: I know you're just trying to be
helpful, but I'd argue that answering here actually makes the problem
worse for everyone. If you want to help, you should redirect the poster
to the right forums and answer usage questions there instead.

Thank you,

-- 
Thierry Carrez (ttx)

___
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

2013-11-15 Thread Krishanu Dhar
How do i restart nova and neutron? Do you ahve the commands?


On Fri, Nov 15, 2013 at 5:24 PM, Srinivasa T N
wrote:

>  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   |
>> | ke

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Krishanu Dhar
Atatched is the nova conf file


On Fri, Nov 15, 2013 at 5:16 PM, Denis Makogon wrote:

> Could you please post nova config file? It would be easier to tell if its
> misconfigured
>
> Regards, Denis Makogon.
>
>
> 2013/11/15 Krishanu Dhar 
>
>> 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

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Srinivasa T N

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 
<mailto: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
<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
<mailto: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
mailto: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
<mailto:trinath.soman...@freescale.com>| extn: 4048

*From:*Krishanu Dhar [mailto:rony.k...@gmail.com
<mailto:rony.k...@gmail.com>]
*Sent:* Friday, November 15, 2013 3:04 PM
*To:* openst...@lists.openstack.org
<mailto: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
<

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Denis Makogon
Error tells that there is problem with networking configuration while
provisioning, you should check nova-network or neutron logs for more
details.


2013/11/15 Krishanu Dhar 

> 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: ""].
>
> Now, how do I fix RPC time out issue?
>
>
>
>
> On Fri, Nov 15, 2013 at 5: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
>>> | 

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Denis Makogon
Could you please post nova config file? It would be easier to tell if its
misconfigured

Regards, Denis Makogon.


2013/11/15 Krishanu Dhar 

> 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 |
&g

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Krishanu Dhar
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: ""].

Now, how do I fix RPC time out issue?




On Fri, Nov 15, 2013 at 5: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 |
>

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Krishanu Dhar
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 

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Trinath Somanchi
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 
mailto: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<mailto:trinath.soman...@freescale.com> | extn: 
4048

From: Krishanu Dhar [mailto:rony.k...@gmail.com<mailto:rony.k...@gmail.com>]
Sent: Friday, November 15, 2013 3:04 PM
To: openst...@lists.openstack.org<mailto: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
+--+--+++-+--+

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Krishanu Dhar
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 |
>
> +--+--++-

Re: [openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Trinath Somanchi
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


[openstack-dev] Launching openstack instance results in state ERROR

2013-11-15 Thread Krishanu Dhar
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