WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] interesting installation problem - interaction between drbd

To: xen-users@xxxxxxxxxxxxxxxxxxx, drbd-user@xxxxxxxxxxxxxxxx
Subject: [Xen-users] interesting installation problem - interaction between drbd and xen
From: Miles Fidelman <mfidelman@xxxxxxxxxxxxxxxx>
Date: Fri, 14 May 2010 20:51:26 -0400
Cc:
Delivery-date: Fri, 14 May 2010 17:52:42 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 SeaMonkey/2.0.4
Hi,

I've been building up a new HA system, running Xen on DRBD devices.

Configuration this applies to:
Debian Lenny
xen-linux-system-2.6.26-2-xen-686 package

|**|drbd8-modules-2.6.26-2-686
drbd8-modules-2.6.26-2-xen-686


As I've been building the system, I ran into an interesting problem, with two symptoms:

1. running VMs would come back up after a reboot, but would hang on simple tasks

2. non-running VMs, set up for auto-start at boot, would not come up

Turns out, that after pouring through a lot of log files, it became clear what 
was happening - as confirmed by a quick look in to /etc/rc2.d (DomO):

server2:/etc/rc2.d# ls
README      S16ssh            S20xend        S70drbd       S99rmnologin
S10rsyslog  S20exim4          S21xendomains  S75heartbeat  S99stop bootlogd
S12acpid    S20openhpid       S23ntp         S89cron
S12dbus     S20smartmontools  S25mdadm       S99rc.local

xendomains was trying to bring up VMs, before drbd devices were initialized - 
leading to all kinds of weirdness. The domains would try to come up, get 
through the boot stages, and then hang as soon as they tried to mount root and 
swap.

Changing S21xendomains to S76xendomains (after both drbd and hearbeat) solved 
the problem.

WHICH LEADS TO A QUESTION:

This isn't really a bug with any one piece of code - it's a bug in the 
interaction, specifically in the naming/ordering of the init package.  And I 
expect that this may be specific to packaging (I'm going to do more digging).  
SO WHERE DO I FILE A BUG REPORT?

Miles Fidelman



--
In theory, there is no difference between theory and practice.
In<fnord>  practice, there is.   .... Yogi Berra



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users