failed loading vm with sr-iov

asked 2016-05-04 15:23:14 -0500

yby-developer gravatar image

Hi,

I'm following this guideline: https://wiki.openstack.org/wiki/SR-IO...

I put only sriovnicswitch in the ml2 mechanism driver, as I only want 1 VM with 1 NIC which is sr-iov, just to see that I'm able to configure it.

I'm getting the following error in /var/log/nova/nova-scheduler.log:

2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher [req-7fe06f93-51a6-4ce3-9bb9-7dd09204f996 02f337c4fce9439990680032088a5f54 8fd9dd2e15e7474f9a98e338e8168c14 - - -] Exceptio n during message handling: PCI device request ({'requests': [InstancePCIRequest(alias_name=None,count=1,is_new=False,request_id=305b0736-9882-4942-93cb-28eab8fafea9,spec=[{physical_network= None}])], 'code': 500}equests)s failed 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher Traceback (most recent call last): 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 142, in _dispatch_a nd_reply 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher executor_callback)) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 186, in _dispatch 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher executor_callback) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 130, in _do_dispatc h 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher result = func(ctxt, *new_args) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 142, in inner 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher return func(args, **kwargs) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/scheduler/manager.py", line 86, in select_destinations 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher filter_properties) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 67, in select_des tinations 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher filter_properties) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/scheduler/filter_scheduler.py", line 163, in _schedule 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher chosen_host.obj.consume_from_instance(instance_properties) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/scheduler/host_manager.py", line 284, in consume_from_ instance 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher self.pci_stats.apply_requests(pci_requests, instance_cells) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher File "/opt/stack/venvs/nova/local/lib/python2.7/site-packages/nova/pci/stats.py", line 234, in apply_requests 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher raise exception.PciDeviceRequestFailed(requests=requests) 2016-05-04 20:19:11.854 41452 ERROR oslo_messaging.rpc.dispatcher PciDeviceRequestFailed: PCI device request ({'requests': [InstancePCIRequest(alias_name=None,count ...

(more)
edit retag flag offensive close merge delete

Comments

This trace doesn't tell me much.

Please have a look at the official manual: http://docs.openstack.org/mitaka/networking-guide/adv-config-sriov.html (http://docs.openstack.org/mitaka/netw...)

Which version of nova are you using ? The stack trace doesn't correspond to the code in latest master.

ludovic-beliveau gravatar imageludovic-beliveau ( 2016-05-05 06:22:18 -0500 )edit