<div dir="ltr">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?<br></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Fri, Nov 15, 2013 at 4:39 PM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@freescale.com" target="_blank">trinath.somanchi@freescale.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">In the nova.conf and neutron.conf enable verbose=True, Debug=True.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Also, look into logging configurations in the same files.<u></u><u></u></span></p><div class="im">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Trinath Somanchi - B39208<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#548dd4">trinath.somanchi@</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#548dd4">freescale</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#548dd4">.com</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
| extn: 4048<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Krishanu Dhar [mailto:<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>]
<br>
<b>Sent:</b> Friday, November 15, 2013 4:27 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions); <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>; Somanchi Trinath-B39208<br>
<b>Subject:</b> Re: [openstack-dev] Launching openstack instance results in state ERROR<u></u><u></u></span></p>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I do not see the log files there. No logs were generated. How do i enable logging?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Nov 15, 2013 at 3:06 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@freescale.com" target="_blank">trinath.somanchi@freescale.com</a>> wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Check the nova-api and nova-compute logs.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Did u check the Horizon based launch of VMs ?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Check neutron/server.log for Ports creation.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">--</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Trinath Somanchi - B39208</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#548dd4"><a href="mailto:trinath.somanchi@freescale.com" target="_blank">trinath.somanchi@freescale.com</a></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">
| extn: 4048</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Krishanu Dhar [mailto:<a href="mailto:rony.kris@gmail.com" target="_blank">rony.kris@gmail.com</a>]
<br>
<b>Sent:</b> Friday, November 15, 2013 3:04 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a>; OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] Launching openstack instance results in state ERROR</span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
</div>
<p class="MsoNormal">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?<br>
<br>
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<br>
<br>
+--------------------------------------+------------------------------------------+<br>
| Property | Value |<br>
+--------------------------------------+------------------------------------------+<br>
| OS-DCF:diskConfig | MANUAL |<br>
| OS-EXT-AZ:availability_zone | nova |<br>
| OS-EXT-SRV-ATTR:host | None |<br>
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |<br>
| OS-EXT-SRV-ATTR:instance_name | instance-00000007 |<br>
| OS-EXT-STS:power_state | 0 |<br>
| OS-EXT-STS:task_state | scheduling |<br>
| OS-EXT-STS:vm_state | building |<br>
| OS-SRV-USG:launched_at | None |<br>
| OS-SRV-USG:terminated_at | None |<br>
| accessIPv4 | |<br>
| accessIPv6 | |<br>
| adminPass | is4MdBtkrbXf |<br>
| config_drive | |<br>
| created | 2013-11-15T09:24:02Z |<br>
| flavor | m1.small |<br>
| hostId | |<br>
| id | d81b6b0a-0f49-42da-8f04-7b8d80a95faa |<br>
| image | cirros-0.3.1-x86_64-uec-kernel |<br>
| key_name | KEY_NAME |<br>
| metadata | {u'description': u'wfa'} |<br>
| name | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa |<br>
| os-extended-volumes:volumes_attached | [] |<br>
| progress | 0 |<br>
| security_groups | [{u'name': u'default'}] |<br>
| status | BUILD |<br>
| tenant_id | 0d245da50cdd471caf352e2c639f6a7f |<br>
| updated | 2013-11-15T09:24:02Z |<br>
| user_id | d4bad940f05c4f14a9a3abfcab6128cf |<br>
+--------------------------------------+------------------------------------------+<br>
<br>
<br>
<br>
krish@krish-VirtualBox:~/devstack$ nova list<br>
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed<br>
import gobject._gobject<br>
+--------------------------------------+------------------------------------------+--------+------------+-------------+----------+<br>
| ID | Name | Status | Task State | Power State | Networks |<br>
+--------------------------------------+------------------------------------------+--------+------------+-------------+----------+<br>
| bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | test-bb4d340e-7bfa-453b-a13d-30be9a6a4fc2 | ERROR | None | NOSTATE | |<br>
| d81b6b0a-0f49-42da-8f04-7b8d80a95faa | test-d81b6b0a-0f49-42da-8f04-7b8d80a95faa | ERROR | None | NOSTATE | |<br>
+--------------------------------------+------------------------------------------+--------+------------+-------------+----------+<br>
<br clear="all">
<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
-- <br>
Krishanu <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <br>
Krishanu <u></u><u></u></p>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Krishanu
</div>