<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Li,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for the response. This really resolved my issue of launching the instance.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">One issue I am seeing now is my instance is showing the IP – 123.0.0.14 [ demo subnet ] in dashboard but I am not able to see the IP address on eth0 of guest VM.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I tried manually getting the IP using dhclient but seems like dhclient is not installed in cirros tiny flavour image.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Can you help resolve this issue?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Chetan Bali<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-IN"> Li, Chen
[mailto:chen.li@intel.com] <br>
<b>Sent:</b> 22 January 2015 08:04<br>
<b>To:</b> Chetan Bali; openstack@lists.openstack.org<br>
<b>Subject:</b> RE: unable to launch instance on icehouse 3 node setup<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">I don’t know the error in dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:ZH-CN">But this looks like nova can’t create directory:<o:p></o:p></span></p>
<p class="MsoNormal">OSError: [Errno 13] Permission denied: '/var/lib/nova/instances/6bde1525-5c72-4d5d-815e-1205ed0e6bde'<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN">Check yourdirectory :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"> ll
</span>/var/lib/nova/instances/<span style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN">If it looks like:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"> drwxr-xr-x 6 root root 4096 Jan 6 14:44 ./<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN">Edit it:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"> Chown -R nova:nova
</span>/var/lib/nova/instances/<span style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ZH-CN">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:ZH-CN">-chen<span style="color:#1F497D"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN"> Chetan
Bali [<a href="mailto:chetan.bali@aricent.com">mailto:chetan.bali@aricent.com</a>]
<br>
<b>Sent:</b> Thursday, January 22, 2015 10:17 AM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] unable to launch instance on icehouse 3 node setup<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a setup with 3 node architecture with [ 1 controller + 1 compute + 1 network node ].<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My services are in running state for all nova and neutron.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">When I try to launch a instance from demo user, I am getting “no valid host found” error in dashboard.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">While seeing nova-compute.log in compute node, I see following errors:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">2015-01-22 07:31:36.963 10485 AUDIT nova.compute.manager [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Starting instance...<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.106 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Attempting claim: memory
512 MB, disk 1 GB, VCPUs 1<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.106 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Total memory: 11935 MB,
used: 1024.00 MB<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] memory limit: 17902.50
MB, free: 16878.50 MB<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Total disk: 905 GB, used:
1.00 GB<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] disk limit not specified,
defaulting to unlimited<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Total CPUs: 4 VCPUs, used:
1.00 VCPUs<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] CPUs limit not specified,
defaulting to unlimited<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:37.107 10485 AUDIT nova.compute.claims [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Claim successful<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 ERROR nova.compute.manager [req-d75088cb-bb2d-4249-baba-e4fd5763675c d1d5dde0e1074187a8de213989099cb0 9626b042b482469486fa7103c35d1203] [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Instance failed to spawn<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1720, in _spawn<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] block_device_info)<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2246, in spawn<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] admin_pass=admin_password)<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 2560, in _create_image<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] fileutils.ensure_tree(libvirt_utils.get_instance_path(instance))<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] File "/usr/lib/python2.7/dist-packages/nova/openstack/common/fileutils.py", line 37, in ensure_tree<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] os.makedirs(path)<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] File "/usr/lib/python2.7/os.py", line 157, in makedirs<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] mkdir(name, mode)<o:p></o:p></p>
<p class="MsoNormal">2015-01-22 07:31:38.040 10485 TRACE nova.compute.manager [instance: 6bde1525-5c72-4d5d-815e-1205ed0e6bde] OSError: [Errno 13] Permission denied: '/var/lib/nova/instances/6bde1525-5c72-4d5d-815e-1205ed0e6bde'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal">Chetan Bali<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:ZH-CN">"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain
privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you
are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage
from virus." <o:p></o:p></span></p>
</div>
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what
it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this
message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."
</body>
</html>