<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:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@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;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        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;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:ZH-CN">Hi,<o:p></o:p></span></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">I don’t know the error in dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span 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"><span lang="EN-IN">OSError: [Errno 13] Permission denied: '/var/lib/nova/instances/6bde1525-5c72-4d5d-815e-1205ed0e6bde'<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN">Check yourdirectory :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN">        ll
</span><span lang="EN-IN">/var/lib/nova/instances/</span><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN">If it looks like:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" 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 lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN">Edit it:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN">        Chown -R nova:nova
</span><span lang="EN-IN">/var/lib/nova/instances/</span><span lang="EN-IN" style="mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="mso-fareast-language:ZH-CN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="mso-fareast-language:ZH-CN">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" style="mso-fareast-language:ZH-CN">-chen</span><span lang="EN-IN" style="color:#1F497D;mso-fareast-language:ZH-CN"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" 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 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN"> Chetan Bali [mailto:chetan.bali@aricent.com]
<br>
<b>Sent:</b> Thursday, January 22, 2015 10:17 AM<br>
<b>To:</b> openstack@lists.openstack.org<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"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-IN">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">I have a setup with 3 node architecture with [ 1 controller + 1 compute + 1 network node ].<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">My services are in running state for all nova and neutron.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">When I try to launch a instance from demo user, I am getting “no valid host found” error in dashboard.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">While seeing nova-compute.log in compute node, I see following errors:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN">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></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN">Chetan Bali<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-IN" 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>
</body>
</html>