Issue with launching instance with OVS-DPDK
smooney at redhat.com
Tue Jan 29 14:55:09 UTC 2019
On Mon, 2019-01-28 at 13:17 +0000, David Lake wrote:
> I’ve built an Openstack all-in-one using OVS-DPDK via Devstack.
> I can launch instances which use the “m1.small” flavour (which I have modified to include the hw:mem_size large as per
> the DPDK instructions) but as soon as I try to launch anything more than m1.small, I get this error:
> Jan 28 12:56:52 localhost nova-conductor: #033[01;31mERROR nova.scheduler.utils [#033[01;36mNone req-917cd3b9-8ce6-
> 41af-8d44-045002512c91 #033[00;36madmin admin#033[01;31m] #033[01;35m[instance: 25cfee28-08e9-419c-afdb-4d0fe515fb2a]
> #033[01;31mError from last host: localhost (node localhost): [u'Traceback (most recent call last):\n', u' File
> "/opt/stack/nova/nova/compute/manager.py", line 1935, in _do_build_and_run_instance\n filter_properties,
> request_spec)\n', u' File "/opt/stack/nova/nova/compute/manager.py", line 2215, in _build_and_run_instance\n
> instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 25cfee28-08e9-
> 419c-afdb-4d0fe515fb2a was re-scheduled: internal error: qemu unexpectedly closed the monitor: 2019-01-
> 28T12:56:48.127594Z qemu-kvm: -chardev socket,id=charnet0,path=/var/run/openvswitch/vhu46b3c508-f8,server: info: QEMU
> waiting for connection on: disconnected:unix:/var/run/openvswitch/vhu46b3c508-f8,server\n2019-01-28T12:56:49.251071Z
> qemu-kvm: -object memory-backend-file,id=ram-node0,prealloc=yes,mem-path=/dev/hugepages/libvirt/qemu/4-instance-
> 00000005,share=yes,size=4294967296,host-nodes=0,policy=bind: os_mem_prealloc: Insufficient free host memory pages
> available to allocate guest RAM\n']#033[00m#033[00m
> My Hypervisor is reporting 510.7GB of RAM and 61 vCPUs.
how much of that ram did you allocate as hugepages.
can you provide the output of cat /proc/meminfo
> Build is the latest git clone of Devstack.
More information about the openstack-discuss