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

[Xen-users] Xen 4.1 misc issues



Hi everyone

I'm using Ubuntu 12.04.3 LTS with the Xen hypervisor
installed (package version: 4.1.2-2ubuntu2.10),
and Libvirt v0.10.2.2 (that interacts with Xen through
the libxl driver).

I performed some adjustments to have the required
features:

 - Switch from Xend to libxl:
     I created upstart jobs for xenstored and xenconsoled
     so that necessary daemons are started earlier enough
     and Libvirt can contact the hypervisor through libxl.

 - Add support for Open vSwitch:
     I added the script 'vif-openvswitch', taken from
     the master branch of the GIT repository, to the
     /etc/xen/scripts directory in order to plug network
     interfaces to Open vSwitch switches.

I know that the support for libxl is experimental
in Xen 4.1, but I'm wondering if someone has a solution
to the following issues:

1) On domain destroy, the host configuration is not clean:
   if the flag 'force' is set to 0 some entries in the
   xenstored database are not removed (console, ...)
   if the flag 'force' is set to 1 (as it is done
   in Libvirt), the event 'online' associated to the
   network interface is not triggered and, thus, the
   vif is not removed from the Open vSwitch switch.
   To fix this issue, I temporarily added a call
   to vif-openvswitch into the xen-hotplug-cleanup script.

2) When a domain is started from Libvirt, the console
   source path does not appear in the output of the
   command 'virsh dumpxml instance-00000381'

3) Sometimes, a domU is not started at all. If I start
   a virtual machine from Libvirt through virsh or directly
   through xl, these tools report that the virtual machine
   is running but I see no messages coming from the console
   and the CPU time remains fixed.

I'm attaching some files that may be useful to understand
the problem:

 - libvirt.xml: domain specifications (Libvirt format)
 - domain.xl: domain specifications (Xen format)
 - libvirt_virsh_dumpxml.log: output of the command
   'virsh dumpxml instance-00000381'
 - xl_create.log: output of the command 'xl create -d domain.xl'
 - xl_info.log: output of the command 'xl info'
 - qemu-dm-instance-00000381.log: qemu-dm log
 - syslog_vif6_0.log: vif attach/detach logs from /var/log/syslog
 - xenstore-db-not-clean.log: xenstore db entries not removed
   after 'xl destroy'
 - libvirt_libxl.log: log from /var/log/libvirt/libxl.log
   after the execution of the command 'virsh create libvirt.xml'

Lastly, I want to add that the image I'm using for the tests
is Ubuntu Precise 12.04.3 LTS, taken from the URL:

http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img

and the kernel is taken from the URL:

http://cloud-images.ubuntu.com/precise/current/unpacked/precise-server-cloudimg-amd64-vmlinuz-virtual


Thanks

Roberto Sassu

Attachment: libvirt.xml
Description: Text Data

Attachment: domain.xl
Description: Text document

Attachment: libvirt_virsh_dumpxml.log
Description: Text Data

Attachment: xl_create.log
Description: Text Data

Attachment: xl_info.txt
Description: Text document

Attachment: qemu-dm-instance-00000381.log
Description: Text Data

Attachment: syslog_vif6_0.log
Description: Text Data

Attachment: xenstore-db-not-clean.log
Description: Text Data

Attachment: libvirt_libxl.log
Description: Text Data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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