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

[Xen-users] hotplug issues using xen with debian 9 (stretch)


  • To: xen-users@xxxxxxxxxxxxx
  • From: Marc Willmann | F7 Media GmbH <mw@xxxxx>
  • Date: Mon, 17 Jul 2017 09:38:52 +0200
  • Delivery-date: Mon, 17 Jul 2017 07:40:09 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi. I'm using XEN on several machines since a long while and am quite
happy with it. Now, another server comes around and I'm kind of stuck.

debian 9 (stretch), clean install, all updates applied.
xen 4.8 from the debian repository.

The dom0 is up and running, I am able to build guests, but cannot fire
them up.

libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/vif-route online [5555] exited with error status 1
libxl: error: libxl_device.c:1225:device_hotplug_child_death_cb: script:
/etc/xen/scripts/vif-route failed; error detected.
libxl: error: libxl_create.c:1461:domcreate_attach_devices: unable to
add nic devices
libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus:
/etc/xen/scripts/vif-route offline [5625] exited with error status 1
libxl: error: libxl_device.c:1225:device_hotplug_child_death_cb: script:
/etc/xen/scripts/vif-route failed; error detected.
libxl: error: libxl.c:1575:libxl__destroy_domid: non-existant domain 9
libxl: error: libxl.c:1534:domain_destroy_callback: unable to destroy
guest with domid 9
libxl: error: libxl.c:1463:domain_destroy_cb: destruction of domain 9 failed


This happens either if I use the brige or (what I want to) the route. If
I disable the network line in the cfg file, the guest comes up and I may
access him with xl console. But - obviously - this is not the way I want
my servers run. ;)

There seems to be a harm using the hotplug; so I tried to play around
with the run_hotplug_script directive in /etc/xen/xl.conf, but without
success. Currently in this config file is the one and only active line: 

vif.default.script="vif-route"

The domU-configuration looks like:

#
# Configuration file for the Xen instance my.guest, created
# by xen-tools 4.7 on Sun Jul 16 11:54:50 2017.
#

#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-4.9.0-3-amd64'
extra       = 'elevator=noop'
ramdisk     = '/boot/initrd.img-4.9.0-3-amd64'

vcpus       = '1'
memory      = '4096'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'phy:/dev/xen-guests/my.guest-disk,xvda2,w',
                  'phy:/dev/xen-guests/my.guest-swap,xvda1,w',
              ]

#
#  Physical volumes
#

#
#  Hostname
#
name        = 'my.guest'

#
#  Networking
#
vif         = [ 'ip=x.x.x.x ,mac=yy:yy:yy:yy:yy:yy
,script=/etc/xen/scripts/vif-route']

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


###########

As far as I see is there a discrepancy in the version number of the
xen-tools (4.7 according to the cfg) and the xen (4.8). Is this maybe
part of the problem?

The guest is at the moment a testing box freshly created with
xen-create-image and nothing important in it yet. But I would like to
change that, so any hint is greatly appreciated. :)

Thanks in advance

Marc


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

 


Rackspace

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