[Pkg-libvirt-maintainers] Bug#502117: libvirt-bin: Doesn't create /etc/xen/vm_name after installing a new domU
André Luís Lopes
andrelop at andrelop.org
Mon Oct 13 17:39:18 UTC 2008
Package: libvirt-bin
Version: 0.4.4-3
Severity: important
First of all, I'm not sure to which package this bug belongs. I
noticed the same behaviour using both virt-install and virt-manager, so
I think it may be libvirt's fault.
I have just upgraded to linux-image-2.6.26-1-xen-686 (linux-2.6
source package version 2.6.26-8) and wanted to try its new Xen dom0
support on this machine, an Intel QuadCore under which CentOS 5.2 Xen
runs fine (both dom0 and domU), but I prefer Debian :-)
First, I tried installing CentOS 5.2 as a guest under it, by using
the following virt-install command line :
$ sudo virt-install --paravirt --name centos --ram 512 --file
/dev/vm/centos --nographic --location nfs:192.168.10.133:/install
The guest machine was installed fine. It rebooted, the VM started
again, I logged into it and everything was fine. Then I did a shutdown
inside the machine (using "init 0") and watched the messages from the
various services stopping.
After that, I was taken to the dom0 console and tried to start the
guest again using :
$ sudo xm create /etc/xen/centos
I received a "Error: Unable to open config file: /etc/xen/centos".
Surely, as there was no /etc/xen/centos created during the guest install.
There is, however, a file under /var/lib/xend/domains/<dom_id> called
config.sxp, which seems to have the guest's config but which is not
using the same syntax accepted by Xen's xm command.
I repeated the same install using virt-install two times and got the
same results. Then I repeated the same install using virt-manager and
also got the same results.
Also, It's important to say that when using "xm list", the guest
machine is listed as if it was a running VM, but with no state indicated
in the State column, as can be seen bellow :
$ xm list
Name ID Mem VCPUs State
Time(s)
Domain-0 0 1500 4 r-----
304.1
centos 512 1
28.4
$
The only way to remove the machine and to install it again to repeat
the tests was removing the /var/lib/xend/domains/<dom_id> directory,
removing the /dev/vm/centos LV and recreating it again.
I'm attaching the /var/lib/xend/domains/<dom_id>/config.sxp file for
reference. Let me know if you need any other file.
Regards,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-xen-686 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libvirt-bin depends on:
ii adduser 3.110 add and remove users and groups
ii libavahi-client3 0.6.23-2 Avahi client library
ii libavahi-common3 0.6.23-2 Avahi common library
ii libc6 2.7-14 GNU C Library: Shared libraries
ii libdbus-1-3 1.2.1-3 simple interprocess
messaging syst
ii libgcrypt11 1.4.1-1 LGPL Crypto library -
runtime libr
ii libgnutls26 2.4.2-1 the GNU TLS library -
runtime libr
ii libgpg-error0 1.4-2 library for common error
values an
ii libpolkit-dbus2 0.9-1 library for accessing
PolicyKit vi
ii libpolkit2 0.9-1 library for accessing PolicyKit
ii libreadline5 5.2-3 GNU readline and history
libraries
ii libsasl2-2 2.1.22.dfsg1-23 Cyrus SASL - authentication
abstra
ii libtasn1-3 1.5-1 Manage ASN.1 structures
(runtime)
ii libvirt0 0.4.4-3 library for interfacing
with diffe
ii libxenstore3.0 3.2.1-2 Xenstore communications
library fo
ii libxml2 2.6.32.dfsg-4 GNOME XML library
ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime
Versions of packages libvirt-bin recommends:
ii bridge-utils 1.4-5 Utilities for configuring
the Linu
ii dnsmasq 2.45-1 A small caching DNS proxy
and DHCP
ii iptables 1.4.1.1-4 administration tools for
packet fi
ii netcat-openbsd 1.89-3 TCP/IP swiss army knife
Versions of packages libvirt-bin suggests:
pn policykit <none> (no description available)
-- no debconf information
--
André Luís Lopes
andrelop@{andrelop,debian}.org
http://www.andrelop.org/blog/
Public GPG KeyID : 9D1B82F6
More information about the Pkg-libvirt-maintainers
mailing list