NetBSD Problem Report #45108

From www@NetBSD.org  Thu Jun 30 21:01:40 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5F02C63C7F9
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 30 Jun 2011 21:01:40 +0000 (UTC)
Message-Id: <20110630210139.56D2963BC12@www.NetBSD.org>
Date: Thu, 30 Jun 2011 21:01:39 +0000 (UTC)
From: ccatrian@eml.cc
Reply-To: ccatrian@eml.cc
To: gnats-bugs@NetBSD.org
Subject: xend process doesn't obey SIGTERM
X-Send-Pr-Version: www-1.0

>Number:         45108
>Category:       port-xen
>Synopsis:       xend process doesn't obey SIGTERM
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 30 21:05:00 +0000 2011
>Closed-Date:    Mon Oct 22 15:05:38 +0000 2018
>Last-Modified:  Mon Oct 22 15:05:38 +0000 2018
>Originator:     Cesar Catrian Carreno
>Release:        5.99.52
>Organization:
>Environment:
NetBSD core 5.99.52 NetBSD 5.99.52 (SAT @ CORE) #0: Sat Jun 25 02:16:06 CLT 2011  cetrox@core:/home/src/netbsd-current/obj/sys/arch/amd64/compile/SAT amd64
>Description:
I have issues with xend.

xend process doesn't shutdown by running /etc/rc.d/xend stop. The process remains active and it have to be killed -9 to be shutdown.

By creating a new domainU doesn0t recognize the bridge:
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VBD.set_device not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VBD.set_type not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: session.get_all_records not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: event.get_record not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: event.get_all not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VM.get_auto_power_on not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VM.set_auto_power_on not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VIF.get_network not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VIF.set_device not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VIF.set_MAC not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: VIF.set_MTU not found
[2011-06-30 12:44:54 3716] WARNING (XendAPI:695) API call: debug.get_all not found

The xend process then exits with signal 11 and restart, but the xm command exits with failure.

[2011-06-30 16:01:00 9081] DEBUG (image:636) vcpus          = 1
[2011-06-30 16:01:00 9081] DEBUG (image:637) features       =
[2011-06-30 16:01:00 14639] CRITICAL (SrvDaemon:231) Xend died due to signal 11!  Restarting it.

This is the command that I used to create the VM:

root@core $ xm create xm-debianpi.cfg install=true install-kernel=./vmlinuz install-ramdisk=./initrd.gz
Using config file "./xm-debianpi.cfg".
Install Mirror: http://ftp.debian.org/debian
Install Suite: lenny
Installer: http://ftp.debian.org/debian/dists/lenny/main/installer-i386/current/images
WARNING: Installer kernel and ramdisk are not authenticated.
Fetching ./vmlinuz
Fetching ./initrd.gz
command line is "debian-installer/exit/always_halt=true -- quiet console=hvc0"
Xend has probably crashed!  Invalid or missing HTTP status code.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Sun, 08 Jul 2018 17:25:59 +0000
State-Changed-Why:
Does this still happen with NetBSD 8.0_RC2 and xen 4.8?


From: =?utf-8?Q?C=C3=A9sar=20Catri=C3=A1n=20C=2E?= <ccatrian@eml.cc>
To: gnats-bugs@gnats.netbsd.org
Cc: 
Subject: Re: port-xen/45108
Date: Mon, 22 Oct 2018 10:54:49 -0300

 Please close the PR, the problem is gone.


 Regards
 --=20
   C=C3=A9sar Catri=C3=A1n C.

State-Changed-From-To: feedback->closed
State-Changed-By: bouyer@NetBSD.org
State-Changed-When: Mon, 22 Oct 2018 15:05:38 +0000
State-Changed-Why:
Submitter says the problem is fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.