[Bug 795427] Re: Upgrade Libvirt up to 0.9.1 generates new bug with Virt-Manager

Boris Derzhavets 795427 at bugs.launchpad.net
Tue Jun 21 09:31:56 UTC 2011


************************************************
On fresh alpha1 + (apt-get update;apt-get upgrade)
************************************************
100 % reproducible on vda device /dev/sdb5

F15 guest installed first on /dev/sdb5 . Removed via VM. 
Attempt to to install Natty on same /dev/sdb5 via VM
loads old instance of F15. 
 

root at boris-System-P5Q3:~# ps -ef | grep kvm
root      3242     2  0 12:28 ?        00:00:00 [kvm-irqfd-clean]
113       8367     1  9 13:18 ?        00:00:29 /usr/bin/kvm -S -M pc-0.14 -enable-kvm -m 1024 -smp 2,sockets=2,cores=1,threads=1 -name Natty -uuid a79f051c-b5b9-1180-82a0-c7b364e3df72 -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Natty.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=readline -rtc base=utc -no-reboot -boot dc -drive file=/dev/sdb5,if=none,id=drive-virtio-disk0,boot=on,format=raw -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0 -drive file=/mnt/home/boris/UbuntuDesk11.04.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -netdev tap,fd=18,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:00:09:cc,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -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
root      8375     2  0 13:18 ?        00:00:00 [kvm-pit-wq]
root      8785  5455  0 13:23 pts/1    00:00:00 grep --color=auto kvm
root at boris-System-P5Q3:~# cd /proc/8367
root at boris-System-P5Q3:/proc/8367# ls
attr        cmdline          environ  latency   mountinfo   oom_adj        root       stack    task
autogroup   comm             exe      limits    mounts      oom_score      sched      stat     wchan
auxv        coredump_filter  fd       loginuid  mountstats  oom_score_adj  schedstat  statm
cgroup      cpuset           fdinfo   maps      net         pagemap        sessionid  status
clear_refs  cwd              io       mem       numa_maps   personality    smaps      syscall
root at boris-System-P5Q3:/proc/8367# cat cmdline
/usr/bin/kvm-S-Mpc-0.14-enable-kvm-m1024-smp2,sockets=2,cores=1,threads=1-nameNatty-uuida79f051c-b5b9-1180-82a0-c7b364e3df72-nodefconfig-nodefaults-chardevsocket,id=charmonitor,path=/var/lib/libvirt/qemu/Natty.monitor,server,nowait-monchardev=charmonitor,id=monitor,mode=readline-rtcbase=utc-no-reboot-bootdc-drivefile=/dev/sdb5,if=none,id=drive-virtio-disk0,boot=on,format=raw-devicevirtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0-drivefile=/mnt/home/boris/UbuntuDesk11.04.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw-deviceide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0-netdevtap,fd=18,id=hostnet0-devicevirtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:00:09:cc,bus=pci.0,addr=0x3-chardevpty,id=charserial0-deviceisa-serial,chardev=charserial0,id=serial0-usb-vnc127.0.0.1:0-vgacirrus-deviceintel-hda,id=sound0,bus=pci.0,addr=0x4-devicehda-duplex,id=sound0-codec0,bus=sound0.0,cad=0-devicevirtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6

root at boris-System-P5Q3:~# virsh list
 Id Name                 State
----------------------------------
  4 Natty                running

root at boris-System-P5Q3:~# virsh dumpxml 4
<domain type='kvm' id='4'>
  <name>Natty</name>
  <uuid>a79f051c-b5b9-1180-82a0-c7b364e3df72</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='x86_64' machine='pc-0.14'>hvm</type>
    <boot dev='cdrom'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/kvm</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/sdb5'/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/home/boris/UbuntuDesk11.04.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' unit='0'/>
    </disk>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:00:09:cc'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes'/>
    <sound model='ich6'>
      <alias name='sound0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
  <seclabel type='dynamic' model='apparmor'>
    <label>libvirt-a79f051c-b5b9-1180-82a0-c7b364e3df72</label>
    <imagelabel>libvirt-a79f051c-b5b9-1180-82a0-c7b364e3df72</imagelabel>
  </seclabel>
</domain>

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/795427

Title:
  Upgrade Libvirt up to 0.9.1 generates new bug with Virt-Manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/795427/+subscriptions



More information about the Ubuntu-server-bugs mailing list