OVS-DPDK failed to boot more than 1 instance on OVS-DPDK setup: os_mem_prealloc: Insufficient free host memory pages available to allocate guest RAM

Bug #1565682 reported by Eran Kuris
This bug report is a duplicate of:  Bug #1543149: Reserve host pages on compute nodes. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Incomplete
Undecided
Unassigned

Bug Description

vm failed

Description of problem:
On OVS-DPDK setup 1 controller & 1 compute with data tenant/network type vlan I failed to boot instances. When create 1 VM it success. From the second vm all vm's failed .When I created multiplae VM's - Instance Count 4 for example
few of the instances will boot as active and few will be failed.
When using DPDK we should boot vm with flavor that use hugepages - :
$ nova flavor-create m1.medium_dpdk 6 2048 20 2
$ nova flavor-key m1.medium_dpdk set "hw:mem_page_size=large"
attached all log
nic type: Ethernet controller: Intel Corporation Ethernet 10G 2P X520 Adapter
driver: ixgbe
Version-Release number of selected component (if applicable):
[root@puma48 ~]# rpm -qa |grep neutro
openstack-neutron-openvswitch-7.0.1-6.el7ost.noarch
python-neutron-7.0.1-6.el7ost.noarch
openstack-neutron-common-7.0.1-6.el7ost.noarch
python-neutronclient-3.1.0-1.el7ost.noarch
openstack-neutron-7.0.1-6.el7ost.noarch
[root@puma48 ~]# rpm -qa |grep dpd
openvswitch-dpdk-2.4.0-0.10346.git97bab959.2.el7.x86_64
dpdk-2.1.0-5.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.https://docs.google.com/document/d/1K_ku6_08ooq46dFLiE7fAJ0ByFdPCb0W_q6kKqF3Y0o/edit
2.
3.

Actual results:

Expected results:

Additional info:

Tags: libvirt
Revision history for this message
Eran Kuris (ekuris) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

What version of nova is this? Mitaka? Liberty?

The failure is coming from libvirt/qemu:

os_mem_prealloc: Insufficient free host memory pages available to allocate guest RAM

tags: added: libvirt
summary: - OVS-DPDK failed to boot more than 1 instance on OVS-DPDK setup
+ OVS-DPDK failed to boot more than 1 instance on OVS-DPDK setup:
+ os_mem_prealloc: Insufficient free host memory pages available to
+ allocate guest RAM
Changed in nova:
status: New → Incomplete
Revision history for this message
Eran Kuris (ekuris) wrote :

Liberty

Revision history for this message
Matt Riedemann (mriedem) wrote :

Looks like this is result of red hat bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1300680

So I'm going to duplicate it against bug 1543149.

Revision history for this message
Eran Kuris (ekuris) wrote :

yes it is duplicate bug with this bugzila

Revision history for this message
Martin Lopes (martinlopes) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.