qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qcow2 import error


From: Konstantinos Papadopoulos
Subject: Re: [Qemu-discuss] qcow2 import error
Date: Tue, 11 Jun 2019 15:57:56 +0300

In a way that despite the amend command completed successfully (100%), when
trying again to import the amended qcow2, the problem persists.
Please find below a few further logs while trying to switch on the vm. (*using
the not amended VM*)

 tail -f /var/log/libvirt/qemu/dsc.log

2019-06-11 12:41:58.969+0000: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
/usr/libexec/qemu-kvm -name *dsc* -S -M rhel6.6.0 -no-kvm -m 4096 -realtime
mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid
90708c1a-155d-5b96-a1e0-51ce2bae2935 -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/dsc.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-drive
file=/media/_virtualmachines/aat-1.1.qcow2,if=none,id=drive-ide0-0-0,format=raw,cache=none
-device
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=23,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:57:79:4b,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -vga cirrus
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
char device redirected to /dev/pts/5
2019-06-11 12:42:07.051+0000: shutting down

tail -f /var/log/libvirt/libvirtd.log

2019-06-11 12:43:34.995+0000: 2599: warning : qemuSetupCgroupForVcpu:584 :
Unable to get vcpus' pids.
2019-06-11 12:43:35.085+0000: 2595: error : qemuMonitorIO:615 : internal
error End of file from monitor
2019-06-11 12:43:35.383+0000: 2595: warning :
virSecuritySELinuxRestoreSecurityFileLabel:932 : cannot lookup default
selinux label for /media/_virtualmachines/aat-1.1.qcow2

*using the amended vm*


 tail -f /var/log/libvirt/qemu/dsc-amend.log

2019-06-11 12:53:31.428+0000: starting up
LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin QEMU_AUDIO_DRV=none
/usr/libexec/qemu-kvm -name* dsc-amend* -S -M rhel6.6.0 -no-kvm -m 4096
-realtime mlock=off -smp 4,sockets=4,cores=1,threads=1 -uuid
5c0d8852-eba9-3fdc-77e2-eb1cb233484e -nodefconfig -nodefaults -chardev
socket,id=charmonitor,path=/var/lib/libvirt/qemu/dsc-amend.monitor,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 -device
ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2
-drive
file=/media/_virtualmachines/aat-1.1-amend.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none
-device
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=23,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:21:22:d8,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device
isa-serial,chardev=charserial0,id=serial0 -vnc 127.0.0.1:0 -vga cirrus
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -msg timestamp=on
char device redirected to /dev/pts/5
2019-06-11 12:53:31.807+0000: shutting down

tail -f /var/log/libvirt/libvirtd.log

2019-06-11 12:50:43.444+0000: 2598: warning : qemuSetupCgroupForVcpu:584 :
Unable to get vcpus' pids.
2019-06-11 12:50:50.664+0000: 2595: error : qemuMonitorIO:615 : internal
error End of file from monitor
2019-06-11 12:50:50.951+0000: 2595: warning :
virSecuritySELinuxRestoreSecurityFileLabel:932 : cannot lookup default
selinux label for /media/_virtualmachines/aat-1.1-amend.qcow2

Br



On Tue, Jun 11, 2019 at 3:14 PM Max Reitz <address@hidden> wrote:

> On 11.06.19 12:24, Konstantinos Papadopoulos wrote:
> > Hi,
> > I am creating a qcow2 image using the command
> > qemu-img convert -c -f raw -O qcow2 <source-path>
> > <$destination-path>/aat-1.1.qcow2 -p
> > where my qemu-img version is
> > qemu-img version *2.9.0*(qemu-kvm-rhev-2.9.0-10.el7 (OS version)
> >
> > output of cat /proc/version
> > Linux version 3.10.0-693.1.1.el7.x86_64 (
> > address@hidden) (gcc version 4.8.5 20150623
> > (Red Hat 4.8.5-16) (GCC) ) #1 SMP Thu Aug 3 08:15:31 EDT 2017
> >
> > however when trying to import  aat-1.1.qcow2 it to RHOS using
> > qemu-img version *0.12.1*, Copyright (c) 2004-2008 Fabrice Bellard
> >
> > I get the error below
> >
> > [image: image.png]
> >
> > I have come over several threads and tried out several proposals (using
> > option for version = 0.10) however it did not work.
> > ie
> > qemu-img amend -f qcow2 -o compat=0.10 $src (Where src is the actual
> image
> > file)
>
> In what way did this not work?
>
> Max
>
>

-- 

Konstantinos G. Papadopoulos, Dr-Eng.
Software Development Engineer
Intracom Telecom S.A., IXG
Marinou Antipa 41, Pilaia,
Thessaloniki, Greece, GR 57001
tel   : +30-2310-497459 (int.: 3959)
e-mail: address@hidden
      : address@hidden
      : address@hidden
url   : www.intracom-telecom.com

<address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]