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 1010944 - SCSI and USB should not be in the list of disk buses in VM details when running as user
Summary: SCSI and USB should not be in the list of disk buses in VM details when runni...
Keywords:
Status: CLOSED DUPLICATE of bug 1258691
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: 7.1
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-23 10:53 UTC by hyao@redhat.com
Modified: 2016-04-26 14:23 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-06 09:48:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description hyao@redhat.com 2013-09-23 10:53:14 UTC
Description
SCSI and USB should not be in the list of disk bus of VM details by usermode on rhel6.5.
Also vmdk should not be in the list of storage format.

Version:
# rpm -qa libvirt virt-manager
libvirt-0.10.2-26.el6.x86_64
virt-manager-0.9.0-19.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. View the VM details by root in virt-manager and check the lists of disk bus and storage format.
IDE and Virtio are in the list of disk bus.
qcow2,qed,and raw are in the list.

2. View the VM details by not root in virt-manager and check the lists of disk bus and storage format.
SCSI,USB,IDE and Virtio are in the list of disk bus.
vmdk,qcow2,qed,and raw are in the list.


Actual results:
As description.

Expected results:
SCSI and USB should not be in the list of disk bus of VM details by usermode on rhel6.5.
Also vmdk should not be in the list of storage format.

Comment 2 hyao@redhat.com 2013-09-24 03:00:45 UTC
correct the component to virt-manager

Comment 5 Martin Kletzander 2013-09-27 07:58:04 UTC
I suspect you are connecting to qemu://system as a user, right?  If not, please specify.

Comment 6 hyao@redhat.com 2013-09-27 08:39:22 UTC
hi Martin, 
I connect to qemu:///session not qemu:///system

Steps
Login in the host with user name test
Launch virt-manager by commands
[test@7 ~]$ virt-manager
or
[test@7 ~]$ virt-manager qemu:///session

Check the details of the disk of a vm. 
SCSI ,USB, IDE and Virtio are in the list of disk bus.
qcow2,qed,vmdk and raw are in the list.

Let me know if you still need more info and you can contact with me on IRC by hyao.

Comment 7 Dave Allan 2013-10-01 17:48:15 UTC
You need to specify -c to make virt-manager connect to a specific URI, can you confirm behavior with virt-manager -c qemu:///session ?

Comment 8 Cole Robinson 2013-10-02 13:29:37 UTC
(In reply to Dave Allan from comment #7)
> You need to specify -c to make virt-manager connect to a specific URI, can
> you confirm behavior with virt-manager -c qemu:///session ?

Not entirely true, you just need to do that _once_ and then it persists in the list

vmmConnection:rhel6_defaults needs to change from is_qemu_system to is_qemu and it will cover this, we just aren't enforcing the RHEL limits for qemu session

Comment 9 hyao@redhat.com 2013-10-08 06:38:52 UTC
(In reply to Dave Allan from comment #7)
> You need to specify -c to make virt-manager connect to a specific URI, can
> you confirm behavior with virt-manager -c qemu:///session ?

I've used virt-manager -c qemu:///session to launch virt-manager by non root user, then create a new VM and check the disk Advanced options

SCSI,USB,IDE and Virtio are in the list of disk bus.
vmdk,qcow2,qed,and raw are in the list.

Comment 13 Pavel Hrdina 2015-11-06 09:48:33 UTC
Closing as duplicate, the referenced bug fixes the difference between system and session mode.

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


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