Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-09 Thread Chinmaya Dwibedy
Hi Giridhar, Changed the device_type in the alias (in nova.conf) so as to attach physical function to the instance. Now it could ale to assign Intel QAT device to VMs (PCI passthrough). Here are the configuration entries in /etc/nova/nova.conf: pci_alias = {"name": "QuickAssist",

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Alex
Hi Chinmaya, Are you sure that IOMMU is enabled? That’s how it looks like when it’s on: alex@homelab:~$ alex@homelab:~$ dmesg | grep -e DMAR -e IOMMU [0.00] ACPI: DMAR bedb3008 B0 (v01 INTEL DQ67SW 0001 INTL 0001) [0.00] Intel-IOMMU: enabled [0.037894]

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Moshe Levi
From: Chinmaya Dwibedy [mailto:ckdwib...@gmail.com] Sent: Tuesday, June 07, 2016 9:22 AM To: Moshe Levi Cc: openstack@lists.openstack.org Subject: Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Chinmaya Dwibedy
Hi Giridhar, Thank you for your email. There is a check in Nova ( get_device_type in https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py) that determines if a given PCI device is: 1) A normal PCI device, 2) An SR-IOV physical function (PF); or 3) An SR-IOV

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Giridhar Jayavelu
The alias has device_type as "type-PCI" pci_alias = {"name": "QuickAssist", "product_id": "0435", "vendor_id": "8086", "device_type": "type-PCI"} But from the maria DB output, you can see that the devices are "type-PF". Please change the device_type in the alias if you intend to attach physical

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Chinmaya Dwibedy
Hi Moshe, Thank you for your response. Did not find any errors in nova-compute log. Here goes the output. 2016-06-07 02:10:45.181 118672 INFO nova.compute.resource_tracker [req-5f0325a6-2dd8-4a25-b518-9143cc0aac0c - - - - -] Auditing locally available compute resources for node localhost

Re: [Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-07 Thread Moshe Levi
Can you look if you have errors in the nova-computes log? Also check if you passed the PciPassthroughFilter in the nova-scheduler log From: Chinmaya Dwibedy [mailto:ckdwib...@gmail.com] Sent: Tuesday, June 07, 2016 8:29 AM To: openstack@lists.openstack.org Subject: [Openstack] Issue with

[Openstack] Issue with assignment of Intel’s QAT Card to VM (PCI-passthrough) using openstack-mitaka release on Cent OS 7.2 host

2016-06-06 Thread Chinmaya Dwibedy
Hi All, I want the Intel’s QAT Card to be used for PCI Passthrough device. But to implement PCI-passthrough, when I launch a VM using a flavor configured for passthrough, it gives the below errors in nova-conductor.log and instance goes into Error state. Note that, I have installed