RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 834514 (NPIV_SAN_PASSTHROUGH_TO_GUEST) - NPIV - SAN pass-through to the guest
Summary: NPIV - SAN pass-through to the guest
Keywords:
Status: CLOSED DUPLICATE of bug 1349115
Alias: NPIV_SAN_PASSTHROUGH_TO_GUEST
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.3
Hardware: All
OS: Linux
urgent
high
Target Milestone: rc
: ---
Assignee: Ademar Reis
QA Contact: FuXiangChun
URL:
Whiteboard:
Depends On: 726797 879895 910170 1059956
Blocks: 806907 1320621 1349115 1349117
TreeView+ depends on / blocked
 
Reported: 2012-06-22 07:54 UTC by Daniele
Modified: 2023-09-14 23:56 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-31 20:15:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 431454 1 None None None 2022-03-13 13:59:12 UTC
Red Hat Knowledge Base (Solution) 758463 0 None None None 2016-08-08 07:06:56 UTC

Internal Links: 431454

Description Daniele 2012-06-22 07:54:31 UTC
1. Proposed title of this feature request
NPIV - SAN pass-through to the guest

2. Who is the customer behind the request?
Account name: IZB Informatik-Zentrum Munchen-Frankfurt a.M. GmbH & Co. KG
Customer segment:
TAM/SRM customer: yes, TAM customer
Strategic Customer yes/no: yes


3. What is the nature and description of the request?
The customer needs the possibility to NPIV pass through to the guest.

4. Why does the customer need this? (List the business requirements here)
"we need the implementation to pass-through SAN to our instances (guests) directly, so e.g.  we'll be able to do a live migration of our guests."

5. How would the customer like to achieve this? (List the functional
requirements here)


6. For each functional requirement listed in question 5, specify how Red Hat
and the customer can test to confirm the requirement is successfully
implemented.
Be able to pass the NPIV through to the guest (and therefore see the virtual HBA?)

7. Is there already an existing RFE upstream or in Red Hat bugzilla?
Apparently not one for this particular request.

8. Does the customer have any specific timeline dependencies?
There is no specific timeline, but the sooner the better.

9. Is the sales team involved in this request and do they have any additional input?


10. List any affected packages or components.
Libvirt? not sure

11. Would the customer be able to assist in testing this functionality if
implemented?
They would be able to help us testing

Comment 3 Dave Allan 2012-07-19 22:20:53 UTC
(In reply to comment #0)
> 3. What is the nature and description of the request?
> The customer needs the possibility to NPIV pass through to the guest.
> 
> 4. Why does the customer need this? (List the business requirements here)
> "we need the implementation to pass-through SAN to our instances (guests)
> directly, so e.g.  we'll be able to do a live migration of our guests."

It is currently possible to live migrate a guest with storage that is accessed through NPIV, although it is currently quite a manual process.  A brief overview of what's involved is at:

https://www.redhat.com/archives/libvirt-users/2011-July/msg00026.html

Would it be sufficient for the customer's needs to associate the vHBA with the guest so that the setup/teardown of the vHBA happened automatically?

> 6. For each functional requirement listed in question 5, specify how Red Hat
> and the customer can test to confirm the requirement is successfully
> implemented.
> Be able to pass the NPIV through to the guest (and therefore see the virtual
> HBA?)

The vHBA cannot be attached to the guest as Linux userspace has no ability to access an HBA directly.  Note that the vHBAs created with NPIV are not PCI devices, and thus cannot be passed through to guests.  This design is in the linux kernel and cannot be worked around by any userspace component.

In short, I think the implementation that the customer has requested is not likely to be feasible, but I hope that we can provide an alternative implementation which fulfils their needs.

Comment 7 Martin Tessun 2016-03-15 14:07:52 UTC
Just to clarify this:

It is not sufficient to pass Devices presented via N_Port Virtualisation to the guest, but to passthorugh the complete vHBA to be able to independently run the VM (adding new FC-Devices, etc.).

This is how, e.g. IBM LPARs are working. VMWare and afaik also HyperV are also able to passthrough a virtualised adapter.

As far as I digged into the issue, we would need qemu support and libvirt support for that, as it is currently only possible to passthrough targets from the NPIV Adapter.
This scenario btw. can be easily solved by direct lun attachment as well, so this is not the key-usecase for NP(I)V.

Comment 9 Martin Tessun 2016-08-08 07:06:57 UTC
There are also some requests for this in the Solution as well.
I attached the Solution to this BZ, so one can read the Comments there as well.

Comment 13 Ademar Reis 2016-08-31 20:15:02 UTC

*** This bug has been marked as a duplicate of bug 1349115 ***

Comment 15 Red Hat Bugzilla 2023-09-14 23:56:57 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.