Re: [bitfolk] IPv6 VPN with tinc

Top Page

Reply to this message
Author: Chris Tallon
Date:  
Subject: Re: [bitfolk] IPv6 VPN with tinc
ed up so they never do terminate. If I leave it, I get repeated kernel
warnings that the reboot process has been delayed for more than 120 seconds. I
waited over 300 seconds (the time specified in XENDOMAINS_STOP_MAXWAIT) but it
doesn't time out and recover.

My xendomains file contains:

XENDOMAINS_SYSRQ=""
XENDOMAINS_USLEEP=100000
XENDOMAINS_CREATE_USLEEP=5000000
XENDOMAINS_MIGRATE=""
XENDOMAINS_SAVE=
XENDOMAINS_SHUTDOWN="--halt --wait"
XENDOMAINS_SHUTDOWN_ALL="--all --halt --wait"
XENDOMAINS_RESTORE=false
XENDOMAINS_AUTO=/etc/xen/auto
XENDOMAINS_AUTO_ONLY=false
XENDOMAINS_STOP_MAXWAIT=300


I disabled the save and restore options because I am using PCI passthrough and
trying to restore a saved VM caused the machine to crash at boot.

I'm wondering if these problems are something to do with me using xl as most of
the examples and references to the settings mention xm.

Do you have any suggestions why this hanging or why the "--wait" in xendomains
doesn't seem to be having any effect please?

Thanks,
Paul.

------=_Part_317832_1667139265.1354535110836
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
 </head><body style="">



  <div> 
   <div>
    Hi,
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    The following applies to a Xen installation on my own hardware, not Bitfolk VMs. I have therefore marked it O/T. I hope nobody minds. I&#39;ve tried the Xen-Users list and not had any luck.
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    The install is an Ubuntu 12.04-x64 host with two Ubuntu 12.04-x64 guests and one Windows server 2008 R2 guest with the signed PV drivers. I&#39;m using the XL toolkit.
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    I&#39;m suffering an issue where the machine gets stuck at the &#34;Will now reboot&#34; line when the host is rebooted while the guests are still running. If I shut all the guests down using &#34;xl shutdown&#34; the guests do terminate properly (after about 30 seconds). If I then do a reboot on the host, it completes cleanly.
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    If I don&#39;t shutdown the guests, I have observed some possibly strange behaviour during the host shutdown before it hangs. In the shutdown progress I see:
   </div> 
   <div>
    &#160;
   </div> 
   <div style="margin-left: 30px;">
    &#62; Stopping xenconsoled
   </div> 
   <div style="margin-left: 30px;">
    &#62; WARNING not stopping xenstored as it cannot be restarted
   </div> 
   <div style="margin-left: 30px;">
    &#62; Shutting down Xen domains: Linuxguest1 (shut) Linuxguest1 (shut) Linuxguest2 (shut) Linuxguest2 (shut) Windowsguest (shut) SHUTDOWN_ALL * [done]
   </div> 
   <div style="margin-left: 30px;">
    &#160;
   </div> 
   <div>
    The things I think are strange are that the two Linux guests are listed twice in the shutdown line despite each only being running once and that it blows straight through the line saying &#34;[done]&#34; without waiting for the guests to terminate. It then appears to unmount the discs before all the guests have wrapped up so they never do terminate. If I leave it, I get repeated kernel warnings that the reboot process has been delayed for more than 120 seconds. I waited over 300 seconds (the time specified in XENDOMAINS_STOP_MAXWAIT) but it doesn&#39;t time out and recover.
   </div> 
   <div>
    &#160;
   </div> 
   <div>
    My xendomains file contains:
   </div> 
   <div>
    &#160;
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_SYSRQ=&#34;&#34;
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_USLEEP=100000
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_CREATE_USLEEP=5000000
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_MIGRATE=&#34;&#34;
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_SAVE=
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_SHUTDOWN=&#34;--halt --wait&#34;
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_SHUTDOWN_ALL=&#34;--all --halt --wait&#34;
   </div> 
   <div style="margin-left: 30px;">
    XENDOMAINS_RESTORE=false
   </div> 
   <div sty