Bug 704931 - error using virt-install w/ qemu:///session: cannot open /sys/devices/system/cpu/cpu3/online: Permission denied
Summary: error using virt-install w/ qemu:///session: cannot open /sys/devices/system/...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libvirt
Version: 5.7
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: Libvirt Maintainers
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-16 03:29 UTC by zhe peng
Modified: 2011-08-15 19:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-15 19:45:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
debuginfo (3.53 KB, text/plain)
2011-05-16 03:29 UTC, zhe peng
no flags Details

Description zhe peng 2011-05-16 03:29:54 UTC
Created attachment 499076 [details]
debuginfo

Description of problem:
libvirt error when non-root user execute most python-virtinst commands,virt-install virt-image 


Version-Release number of selected component (if applicable):
libvirt-0.8.2-19.el5
python-virtinst-0.400.3-12.el5
kvm-qemu-img-83-231.el5
kvm-83-231.el5


How reproducible:
always

Steps to Reproduce:
1.use a non-root user to login redhat5.7.
2.run command:
[redhat@localhost tmp]$ virt-install --connect=qemu:///session -n test -r 1024 -f /tmp/test.img -s 5 -c /dev/cdrom --accelerate --debug
 

Actual results:
 ERROR    internal error Process exited while reading console log output: libvir: error : cannot open /sys/devices/system/cpu/cpu3/online: Permission denied

Expected results:
 non-root user can install guest via virt-install command.

Additional info:
 virt-image command also meet this issue:
  run command:
 [redhat@localhost tmp]$ virt-image --connect=qemu:///session image.xml --debug
 the error same with virt-install.

Comment 1 RHEL Program Management 2011-06-21 05:25:36 UTC
This request was evaluated by Red Hat Product Management for inclusion in Red Hat Enterprise Linux 5.7 and Red Hat does not plan to fix this issue the currently developed update.

Contact your manager or support representative in case you need to escalate this bug.

Comment 3 Cole Robinson 2011-07-12 23:02:35 UTC
Looks like a libvirt bug with qemu:///session

Comment 4 RHEL Program Management 2011-08-15 19:45:34 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


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