[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    Re: [Xen-users] hotplug issues using xen with debian 9 (stretch)
From:       Ronny Wagner <r.wagner () licoho ! de>
Date:       2018-04-07 18:32:25
Message-ID: 0a50c614a8df49c8bb4c16a596e24349 () licoho ! de
[Download RAW message or body]

Hi Marc,

do you resolve the problem?

I use the same sytem and i have exact the same problem, and i don't find a solution for the problem.

Ronny

-----Ursprüngliche Nachricht-----
Von: Xen-users <xen-users-bounces@lists.xen.org> Im Auftrag von Marc Willmann | F7 Media GmbH
Gesendet: Montag, 17. Juli 2017 09:39
An: xen-users@lists.xen.org
Betreff: [Xen-users] hotplug issues using xen with debian 9 (stretch)

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@lists.xen.org
https://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic