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

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


  • To: Marc Willmann | F7 Media GmbH <mw@xxxxx>, "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Ronny Wagner <r.wagner@xxxxxxxxx>
  • Date: Sat, 7 Apr 2018 18:32:25 +0000
  • Accept-language: de-DE, en-US
  • Authentication-results: as01.licoho.de/7AA0F9C079; dkim=pass (1024-bit key; insecure) header.d=licoho.de header.i=@licoho.de header.b=BlPAGBDY; dkim-adsp=pass; dkim-atps=neutral
  • Delivery-date: Sat, 07 Apr 2018 18:34:03 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=licoho.de; h=from:to:subject :date:message-id:references:in-reply-to:content-type :content-transfer-encoding:mime-version; q=dns; s=dkim; b=CxRDAM toLM6Gy1qDglj3qqyp/tq+UnN4gVG3PmJP0lTMedELpjgQer6yBkoyGUTzLVmLli i2kOLmxZ00paS/6IZpMmPZvc4Nzm9zheweC/YWDIBP9NlInY1W922gwgRLVaCaTR yNOrh2vvHsrx0DFQH5Xv7xzp7BphSCpckQrQA=
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Thread-index: AQHS/tIujyY8ZxdQCkSMkBlAHjDMDqP3P1rA
  • Thread-topic: [Xen-users] hotplug issues using xen with debian 9 (stretch)

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@xxxxxxxxxxxxx> Im Auftrag von Marc Willmann | 
F7 Media GmbH
Gesendet: Montag, 17. Juli 2017 09:39
An: xen-users@xxxxxxxxxxxxx
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@xxxxxxxxxxxxx
https://lists.xen.org/xen-users
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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