K
K
KrylCW2013-11-17 08:32:19
VMware
KrylCW, 2013-11-17 08:32:19

Why doesn't libvirt work on Ubuntu 12.04 under VMWare Workstation 10?

Hello,
I want to try to learn how to manage lxc containers using libvirt.
To do this, I installed a freshly downloaded Ubuntu Server 12.04 on VMWare Workstation 10, while installing from the packages I chose only OpenSSH. After installing and booting the OS, I install libvirt-bin.

[email protected]:~$ sudo apt-get install libvirt-bin
...
The following NEW packages will be installed:
  bridge-utils cgroup-lite dnsmasq-base ebtables gawk libapparmor1 libavahi-client3 libavahi-common-data libavahi-common3 libnetfilter-conntrack3
  libnuma1 libsigsegv2 libvirt-bin libvirt0 libxenstore3.0 libxml2-utils libyajl1
...
[email protected]:~$ apt-cache policy libvirt-bin
libvirt-bin:
  Installed: 0.9.8-2ubuntu17.15
  Candidate: 0.9.8-2ubuntu17.15
  Version table:
 *** 0.9.8-2ubuntu17.15 0
        500 http://ru.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        100 /var/lib/dpkg/status


Immediately after installation, virsh starts up (I did not check the performance of internal commands).
When you try to restart or stop the OS, acpid: exiting is displayed in the console, everything is fine in the syslog (the syslog itself successfully completes) and the system remains in limbo (the console is still running, some processes hang) indefinitely, only reset saves. But if you first turn off libvirt with the sudo service libvirt-bin stop command, the virtual machine copes with rebooting and shutting down itself.
After rebooting the OS, virsh does not start and does not output anything to the console, it just hangs. There is nothing suspicious in the syslog, /var/log/libvirt/libvirtd.log is empty.
At the same time, working in a virtual environment directly with lxc, everything works.

I want to get a working libvirt, or at least find out about the impossibility of running it (even for working with lxc) in a virtual environment from a reliable source.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question