Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora/Linux Management Tools (http://www.linux-archive.org/fedora-linux-management-tools/)
-   -   virt-image on F-10 (http://www.linux-archive.org/fedora-linux-management-tools/203333-virt-image-f-10-a.html)

Bryan Kearney 12-01-2008 03:27 PM

virt-image on F-10
 
Have you seen this on F-10? I get the following traceback:

Traceback (most recent call last):
File "/home/bkearney/src/adk2/deps/virtinst--devel/virt-image", line
240, in <module>

main()
File "/home/bkearney/src/adk2/deps/virtinst--devel/virt-image", line
224, in main

dom = guest.start_install(None, progresscb, options.replace)
File
"/home/bkearney/src/adk2/deps/virtinst--devel/virtinst/Guest.py", line
932, in start_install

return self._do_install(consolecb, meter, removeOld, wait)
File
"/home/bkearney/src/adk2/deps/virtinst--devel/virtinst/Guest.py", line
972, in _do_install

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.5/site-packages/libvirt.py", line 892, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)

libvirtError: internal error QEMU quit during console startup
qemu: could not open disk image
/home/bkearney/appliances/sugarxo/sugarxo-sda.raw




And if I run the raw cmd, I get the following:

[root@localhost sugarxo]# /usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name
sugarxo -monitor pty -no-reboot -boot c -drive
file=/home/bkearney/appliances/sugarxo/sugarxo-sda.raw,if=ide,index=0,boot=on
-net nic,macaddr=54:52:00:4b:ac:20,vlan=0 -net
tap,fd=12,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
-vnc 127.0.0.1:0 -k en-us

TUNGETIFF ioctl() failed: Bad file descriptor
char device redirected to /dev/pts/3
char device redirected to /dev/pts/4



I am trying to dig into the exact issue.. i am guessing it is network.
But I was curious if folks had seen this?


-- bk

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Bryan Kearney 12-01-2008 06:03 PM

virt-image on F-10
 
Bryan Kearney wrote:

Have you seen this on F-10? I get the following traceback:

Traceback (most recent call last):
File "/home/bkearney/src/adk2/deps/virtinst--devel/virt-image", line
240, in <module>

main()
File "/home/bkearney/src/adk2/deps/virtinst--devel/virt-image", line
224, in main

dom = guest.start_install(None, progresscb, options.replace)
File "/home/bkearney/src/adk2/deps/virtinst--devel/virtinst/Guest.py",
line 932, in start_install

return self._do_install(consolecb, meter, removeOld, wait)
File "/home/bkearney/src/adk2/deps/virtinst--devel/virtinst/Guest.py",
line 972, in _do_install

self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib/python2.5/site-packages/libvirt.py", line 892, in
createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed',
conn=self)

libvirtError: internal error QEMU quit during console startup
qemu: could not open disk image
/home/bkearney/appliances/sugarxo/sugarxo-sda.raw




And if I run the raw cmd, I get the following:

[root@localhost sugarxo]# /usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name
sugarxo -monitor pty -no-reboot -boot c -drive
file=/home/bkearney/appliances/sugarxo/sugarxo-sda.raw,if=ide,index=0,boot=on
-net nic,macaddr=54:52:00:4b:ac:20,vlan=0 -net
tap,fd=12,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
-vnc 127.0.0.1:0 -k en-us

TUNGETIFF ioctl() failed: Bad file descriptor
char device redirected to /dev/pts/3
char device redirected to /dev/pts/4


Sorry.. this is an selinux error. Should I submit a "make it error
nicely" feature request?


-- bk

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Cole Robinson 12-01-2008 06:10 PM

virt-image on F-10
 
Bryan Kearney wrote:
>> And if I run the raw cmd, I get the following:
>>
>> [root@localhost sugarxo]# /usr/bin/qemu-kvm -S -M pc -m 512 -smp 1 -name
>> sugarxo -monitor pty -no-reboot -boot c -drive
>> file=/home/bkearney/appliances/sugarxo/sugarxo-sda.raw,if=ide,index=0,boot=on
>> -net nic,macaddr=54:52:00:4b:ac:20,vlan=0 -net
>> tap,fd=12,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb
>> -vnc 127.0.0.1:0 -k en-us
>> TUNGETIFF ioctl() failed: Bad file descriptor
>> char device redirected to /dev/pts/3
>> char device redirected to /dev/pts/4
>
> Sorry.. this is an selinux error. Should I submit a "make it error
> nicely" feature request?
>
> -- bk
>

There's already a bug tracking a similar request for virt-manager:

https://bugzilla.redhat.com/show_bug.cgi?id=452671

Though any complete solution will need work at the virtinst level too,
so in my mind it covers both.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools


All times are GMT. The time now is 08:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.