<div dir="ltr">Hi,<div><br></div><div>Thank you for your immediate response</div><div><br></div><div><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px">Fawaz Mohammed,  I am trying to spawn a nano VM which will take very less resources.</span><br></div><div><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px">Eli, Thanks for your finding, The problem started coming after installing OVS patch. Before installing this OVS patch everything is fine.</span></div><div><a href="https://raw.githubusercontent.com/priteshk/ovs/nsh-v8/" target="_blank" style="font-size:12.8px">https://raw.githubusercontent.com/priteshk/ovs/nsh-v8/</a><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px"><br></span></div><div><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px">When i check for ERROR is all the logs, I see some errors in neutron dhcp and neutron agent.</span></div><div><span style="color:rgb(51,51,51);font-family:'normal arial',sans-serif;line-height:20px">Error in Neutron Agent : </span></div><div><font color="#333333" face="normal arial, sans-serif"><span style="line-height:20px">2016-01-06 17:57:23.162 ERROR neutron.agent.linux.ovsdb_monitor [req-d280a79d-70df-4dad-9bad-95fcf9a4183c None None] Interface monitor is not active</span></font><br></div><div><font color="#333333" face="normal arial, sans-serif"><span style="line-height:20px"><br></span></font></div><div><font color="#333333" face="normal arial, sans-serif"><span style="line-height:20px">Error in dhcp</span></font></div><div><font color="#333333" face="normal arial, sans-serif"><span style="line-height:20px"><div style="">2016-01-06 17:44:51.136 14547 DEBUG neutron.agent.linux.utils [-] Running command (rootwrap daemon): ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--if-exists', 'del-port', 'tap4b013b8e-99', '--', 'add-port', 'br-int', 'tap4b013b8e-99', '--', 'set', 'Interface', 'tap4b013b8e-99', 'type=internal', 'external_ids:iface-id=4b013b8e-99ea-4c7f-afcd-aba2267edcfc', 'external_ids:iface-status=active', 'external_ids:attached-mac=fa:16:3e:8e:d6:ab'] execute_rootwrap_daemon /opt/stack/neutron/neutron/agent/linux/utils.py:100</div><div style="">2016-01-06 17:44:51.141 14547 ERROR neutron.agent.ovsdb.impl_vsctl [-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--if-exists', 'del-port', u'tap4b013b8e-99', '--', 'add-port', 'br-int', u'tap4b013b8e-99', '--', 'set', 'Interface', u'tap4b013b8e-99', 'type=internal', u'external_ids:iface-id=4b013b8e-99ea-4c7f-afcd-aba2267edcfc', 'external_ids:iface-status=active', u'external_ids:attached-mac=fa:16:3e:8e:d6:ab']. Exception: </div><div style="">---------------------------------------------------------------------------</div><div style="">Unserializable message: ('#ERROR', OSError(2, 'No such file or directory'))</div><div style="">---------------------------------------------------------------------------</div><div style=""><br></div><div style=""><div>2016-01-06 17:44:51.145 14547 ERROR neutron.agent.ovsdb.impl_vsctl [-] Unable to execute ['ovs-vsctl', '--timeout=10', '--oneline', '--format=json', '--', '--columns=ofport', 'list', 'Interface', u'tap4b013b8e-99']. Exception: </div><div>---------------------------------------------------------------------------</div><div>Unserializable message: ('#ERROR', OSError(2, 'No such file or directory'))</div><div>---------------------------------------------------------------------------</div><div><br></div><div><br></div></div></span></font></div><div><span style="font-size:12.8px">Kevin, How to find out the problem with neutron ?</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><br class="">-- <br><div class="gmail_signature"><span style="border-collapse:collapse;font-size:13px"><div>Thanks & regards,</div><div>Phaneendra Manda.</div></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 1:49 PM, Zhenyu Zheng <span dir="ltr"><<a href="mailto:zhengzhenyulixi@gmail.com" target="_blank">zhengzhenyulixi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I think your RAM is OK and it is the problem with neutron, you should check that.</div><div>Obviously your vm have been re-scheduled due to Neutron problem, As you have only one compute node, there will be no more compute nodes, No Valid Host will be thrown.</div><div><br></div><div>Kevin Zheng</div></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 7, 2016 at 3:49 PM, Qiao,Liyong <span dir="ltr"><<a href="mailto:liyong.qiao@intel.com" target="_blank">liyong.qiao@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <pre>hi
seen from your compute node log:

2016-01-06 18:02:48.630 ERROR nova.scheduler.utils [req-b2b1c8af-91ce-4f8f-a8ba-331cf295b4fc admin demo] [instance: 7b10291a-3043-4b88-99c7-45cece0fa55c] Error from last host: controller (node controller): [u'Traceback (most recent call last):\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 1902, in _do_build_and_run_instance\n    filter_properties)\n', u'  File "/opt/stack/nova/nova/compute/manager.py", line 2066, in _build_and_run_instance\n    instance_uuid=instance.uuid, reason=six.text_type(e))\n', u"RescheduledException: Build of instance 7b10291a-3043-4b88-99c7-45cece0fa55c was re-scheduled: <b><i>Error during following call to agent: </i></b>['ovs-vsctl', '--timeout=120', '--', '--if-exists', 'del-port', u'qvo72d62525-21', '--', 'add-port', 'br-int', u'qvo72d62525-21', '--', 'set', 'Interface', u'qvo72d62525-21', u'external-ids:iface-id=72d62525-21a7-4dae-93e0-7c81abd93713', 'external-ids:iface-status=active', u'external-ids:attached-mac=fa:16:3e:cd:f7:c0', 'exter
nal-ids:vm-uuid=7b10291a-3043-4b88-99c7-45cece0fa55c']\n"]</pre>
    <br>
    so can you please check if neutron works well?<br>
    <br>
    BTW, I don't think no host found is due to RAM issue.<br>
    <br>
    Just my 2 cents.<br>
    <br>
    Thanks, Eli.<div><div><br>
    <br>
    <br>
    <div>On 2016年01月07日 15:36, Fawaz Mohammed
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div>
          <div>Hi Manda,<br>
          </div>
          <br>
        </div>
        Your host has 3.7G of RAM, but not all of them available for
        your instances. If your host is in virtualized environment, try
        to increase the RAM size and choose the minimum flavor possible
        for your image. <br>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Jan 7, 2016 at 11:04 AM, manda
          phaneendra <span dir="ltr"><<a href="mailto:mphaneendra@gmail.com" target="_blank">mphaneendra@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
            <div dir="ltr">
              <div class="gmail_quote">
                <div dir="ltr">
                  <div class="gmail_quote">
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>When i am trying to spawn a VM, i am getting
                        the below error in nova conductor log (nova
                        conductor log is attached )</div>
                      <div><img src="cid:part2.03070005.03090400@intel.com" alt="Inline image 1" height="255" width="454"><br clear="all">
                        <div><br>
                        </div>
                        <div>This is the error i am getting in the
                          horizon UI page</div>
                        <div><i><strong>Error: </strong> Failed to
                            perform requested operation on instance
                            "vm1", the instance has an error status:
                            Please try again later [Error: No valid host
                            was found. There are not enough hosts
                            available.].   </i><br>
                        </div>
                        <div><i><br>
                          </i></div>
                        <div><i><br>
                          </i></div>
                        <div>My ENV details : </div>
                        <div><i><br>
                          </i></div>
                        <div>This problem started coming after i install
                          the OVS patch using the bash file:</div>
                        <div>
                          <div><a href="https://raw.githubusercontent.com/priteshk/ovs/nsh-v8/" target="_blank">https://raw.githubusercontent.com/priteshk/ovs/nsh-v8/</a></div>
                          <div>third-party/start-ovs.sh</div>
                        </div>
                        <div><i><br>
                          </i></div>
                        <div>I have gone through web and found the below
                          problems can cause this issue.</div>
                        <div>1. When Nova compute node is not running.</div>
                        <div>    In my env, nova compute node is
                          running:</div>
                        <div>   <img src="cid:part4.08090708.04080507@intel.com" alt="Inline image 2" height="166" width="454"></div>
                        <div><br>
                        </div>
                        <div>2. I am using qemu as hypervisor</div>
                        <div>     in /etc/nova/nova.conf</div>
                        <div>      [libvirt]</div>
                        <div>       inject_partition = -2</div>
                        <div>       live_migration_uri =
                          qemu+ssh://root1@%s/system</div>
                        <div>       use_usb_tablet = False</div>
                        <div>       cpu_mode = none</div>
                        <div>       virt_type = qemu</div>
                        <div><br>
                        </div>
                        <div>3. Enough RAM is available to spawn a nano
                          VM with cirros image. </div>
                        <div><img src="cid:part5.09060307.08080708@intel.com" alt="Inline image 3" height="187" width="454"><br>
                        </div>
                        <div><br>
                        </div>
                        <div>Please help how to solve this problem.</div>
                        <div>Please let me know any other information or
                          logs are required to find the root cause and
                          solve this problem.</div>
                        <div><br>
                        </div>
                        <div>Thanks in advance :)</div>
                        <span><font color="#888888"><span><font color="#888888"><span><font color="#888888">
                                    <div><br>
                                    </div>
                                  </font></span></font></span></font></span></div>
                    </div>
                  </div>
                  <span><font color="#888888"><span><font color="#888888">-- <br>
                          <div><span style="border-collapse:collapse;font-size:13px">
                              <div>Thanks & regards,</div>
                              <div>Phaneendra Manda.</div>
                              <div><br>
                              </div>
                            </span></div>
                        </font></span></font></span></div>
              </div>
              <br>
              <div><span style="border-collapse:collapse;font-size:13px"><br>
                </span></div>
            </div>
            <br>
__________________________________________________________________________<br>
            OpenStack Development Mailing List (not for usage questions)<br>
            Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
            <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a>
<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>
</pre>
    </blockquote>
    <br>
    </div></div><span><font color="#888888"><pre cols="72">-- 
BR, Eli(Li Yong)Qiao</pre>
  </font></span></div>

<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div><div class="gmail_signature"><span style="border-collapse:collapse;font-size:13px"><div><br></div></span></div>
</div></div>