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

[Xen-users] Hacking (downgrading to libvirt 0.7.0) libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 (2.32.12) on top of Ubuntu 10.04 Server


  • To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Thu, 6 May 2010 07:11:27 -0700 (PDT)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 06 May 2010 07:12:50 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type; b=T8ZvP9Wggk5KpIWd0dYpTAqtg9nDsSorZst1i7qsFrWLXHBNFtaICExql1fNYENuRUGG+AoCO9oRRJFD7eExlAlqFjBERSUhJozvszOxCp7hoys4W+N41wIpvSuvAui3NvfIWcQ4Qc8BHwAj5tWWCNiAuRYoHAFG6RT2FRQW0R4=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Due to ongoing issue with virsh compiled against libvirt 0.7.5 when working with Xen 4.0
Hypervisor. I attempted to downgrade libvirt and related stuff  to Ubuntu Karmic's ( well tested version with Xen)

1.Edit /etc/apt/sources.list

Replace:
deb http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ lucid main restricted
   by
deb http://ru.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://ru.archive.ubuntu.com/ubuntu/ karmic main restricted

 Save

# apt-get update
# apt-get install ubuntu-virt-server ubuntu-virt-mgmt ( from Karmic main)

2. Rebuild and reinstall Xen 4.0 & Tools

3. Reboot
KVM modules fails to load

Revert /etc/apt/sources.list back as it was.
# apt-get update
You should get system with working virt-install and virt-manager.
Virsh should behave normal ( virsh list is not empty):

root@ServerLnx:/etc/apt# virsh version
Connecting to uri: xen:///
Compiled against library: libvir 0.7.0
Using library: libvir 0.7.0
Using API: Xen 3.0.1
Running hypervisor: Xen 4.0.0

root@ServerLnx:/etc/apt# virsh list
Connecting to uri: xen:///
 Id Name                 State
----------------------------------
  0 Domain-0             running
  6 VMF12                idle

Boris.





_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.