[openstack-dev] [Nova] Issue while spawning a new VM

Qiao,Liyong liyong.qiao at intel.com
Thu Jan 7 07:49:20 UTC 2016


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:*/Error during following call to agent:/*['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', 'external-ids:vm-uuid=7b10291a-3043-4b88-99c7-45cece0fa55c']\n"]


so can you please check if neutron works well?

BTW, I don't think no host found is due to RAM issue.

Just my 2 cents.

Thanks, Eli.


On 2016年01月07日 15:36, Fawaz Mohammed wrote:
> Hi Manda,
>
> 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.
>
>
> On Thu, Jan 7, 2016 at 11:04 AM, manda phaneendra 
> <mphaneendra at gmail.com <mailto:mphaneendra at gmail.com>> wrote:
>
>     Hi,
>
>     When i am trying to spawn a VM, i am getting the below error in
>     nova conductor log (nova conductor log is attached )
>     Inline image 1
>
>     This is the error i am getting in the horizon UI page
>     /*Error: * 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.]. /
>     /
>     /
>     /
>     /
>     My ENV details :
>     /
>     /
>     This problem started coming after i install the OVS patch using
>     the bash file:
>     https://raw.githubusercontent.com/priteshk/ovs/nsh-v8/
>     third-party/start-ovs.sh
>     /
>     /
>     I have gone through web and found the below problems can cause
>     this issue.
>     1. When Nova compute node is not running.
>         In my env, nova compute node is running:
>     Inline image 2
>
>     2. I am using qemu as hypervisor
>          in /etc/nova/nova.conf
>           [libvirt]
>            inject_partition = -2
>            live_migration_uri = qemu+ssh://root1@%s/system
>            use_usb_tablet = False
>            cpu_mode = none
>            virt_type = qemu
>
>     3. Enough RAM is available to spawn a nano VM with cirros image.
>     Inline image 3
>
>     Please help how to solve this problem.
>     Please let me know any other information or logs are required to
>     find the root cause and solve this problem.
>
>     Thanks in advance :)
>
>     -- 
>     Thanks & regards,
>     Phaneendra Manda.
>
>
>
>
>     __________________________________________________________________________
>     OpenStack Development Mailing List (not for usage questions)
>     Unsubscribe:
>     OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>     <http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-- 
BR, Eli(Li Yong)Qiao

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160107/a4e985f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 287171 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160107/a4e985f7/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 172026 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160107/a4e985f7/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 53270 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160107/a4e985f7/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: liyong_qiao.vcf
Type: text/x-vcard
Size: 123 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160107/a4e985f7/attachment-0001.vcf>


More information about the OpenStack-dev mailing list