 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

20th August 2009, 03:36 PM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 66

|
|
|
Virtual Machine Manager error when add a new virtual machine
Hi all
I try to install a new virtual machine and I get this error can some one help me please.
Here is the error title
Code:
Unable to complete install: 'internal error unable to start guest: qemu: could not open monitor device 'pty'
'
And here are the details
Code:
Unable to complete install '<class 'libvirt.libvirtError'> internal error unable to start guest: qemu: could not open monitor device 'pty'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1501, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.6/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error unable to start guest: qemu: could not open monitor device 'pty'
Thanks in advanced.
Best Regards.
|

1st November 2009, 10:30 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 15

|
|
I have the same problem here.
Quote:
Unable to complete install '<class 'libvirt.libvirtError'> internal error unable to start guest: qemu: could not open monitor device 'pty'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1497, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 541, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.6/site-packages/virtinst/Guest.py", line 633, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.6/site-packages/libvirt.py", line 974, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error unable to start guest: qemu: could not open monitor device 'pty'
|
Any fix?
FWIW, I'm on Fedora 11, dual-headed display on my desktop.
|

1st November 2009, 10:36 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 15

|
|
Looks like the problem is SELinux. I noticed alerts about qemu trying to use terminal. Here are the two alerts that were genearted at the same time:
Quote:
Summary:
SELinux is preventing qemu-system-x86 (svirt_t) "setrlimit" svirt_t.
Detailed Description:
SELinux denied access requested by qemu-system-x86. It is not expected that this
access is required by qemu-system-x86 and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.
Allowing Access:
You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinu...fc5/#id2961385) Or you can disable
SELinux protection altogether. Disabling SELinux protection is not recommended.
Please file a bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.
|
Quote:
Summary:
SELinux prevented pt_chown from using the terminal 1.
Detailed Description:
SELinux prevented pt_chown from using the terminal 1. In most cases daemons do
not need to interact with the terminal, usually these avc messages can be
ignored. All of the confined daemons should have dontaudit rules around using
the terminal. Please file a bug report
(http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this selinux-policy.
If you would like to allow all daemons to interact with the terminal, you can
turn on the allow_daemons_use_tty boolean.
Allowing Access:
Changing the "allow_daemons_use_tty" boolean to true will allow this access:
"setsebool -P allow_daemons_use_tty=1."
Fix Command:
setsebool -P allow_daemons_use_tty=1
|
|

1st November 2009, 10:37 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 15

|
|
|
Confirmed that I can disable SELinux and virt-manager is able to create the instance.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 07:01 (Saturday, 25-05-2013)
|
|
 |
 |
 |
 |
|
|