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

Re: [Xen-users] Unsticking a DomU


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: Eric <epretorious@xxxxxxxxx>
  • Date: Tue, 25 Dec 2012 21:00:29 -0800 (PST)
  • Delivery-date: Thu, 27 Dec 2012 01:37:24 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=M81C1ECK1kb6wn7y0TnwQhUnEF72Q3lzyXMF/FO4FTeUCDEdSKCx8aCtH3CfJRYb108kCsZ/5aA44V+YmwAZ5aDrQ9NCnAET4oL0XgaZ5S+T04wO9Nnz3pV9vjGUKXDGOyDI4ER9/e1NvXWgB4Z0ShPKdSgl5zC9mT6V045MSlY=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Florian Heigl wrote
you could debug that with xenstore-ls maybe; usually I go about
solving it in two steps.
1. xenconsoled restart (if it shows no valid state this will probably not help)
2. xend restart (plus wait for 20 seconds or so)

After this the vm should be gone and the xenstore for this domid
should also be empty.

Florian

Thanks, Florian:

Neither command had an effect. The DomU test4 still appears in the output of xm list (but not in the output of xenstore-ls) and will not start; can not be destroyed, and; can not be deleted.

> xen1:~ # xm list
> Name                                        ID   Mem VCPUs      State   Time(s)
> Domain-0                                     0   502     2     r-----    680.4
> test1                                        3   768     1     -b----     15.7
> test3                                            768     1               179.4
> test4                                            768     1                 0.0
>
> xen1:~ # xm list -l | grep '(name'
>     (name Domain-0)
>     (name test1)
>     (name test3)
>     (name test4)
>
> xen1:~ # xenstore-ls | grep 'name = '
>    name = "Domain-0"
>    name = "test1"
>    name = "Pool-0"
>   pool_name = "Pool-0"
>   name = "Domain-0"
>   pool_name = "Pool-0"
>   name = "test1"

The DomU test1 functions correctly, however. (The DomU test3 is experiencing the same symptoms as test4.)

Ideas? Suggestions?

Eric Pretorious
Truckee, CA


From: Eric <epretorious@xxxxxxxxx>
To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Sent: Saturday, December 22, 2012 8:47 PM
Subject: Unsticking a DomU

I'm not able to start, destroy, or delete a DomU:

> xen1:~ # xm start test4
> Error: Domain is already running
> Usage: xm start <DomainName>
>
> Start a Xend managed domain
>   -p, --paused                   Do not unpause domain after starting it   
>   -c, --console_autoconnect      Connect to the console after the domain   
>                                  is created
>   --vncviewer                    Connect to display via VNC after the      
>                                  domain is created
>   --vncviewer-autopass           Pass VNC password to viewer via stdin and 
>                                  -autopass
>
> xen1:~ # xm console test4
> Error: Domain 'test4' is not started
> Usage: xm console [-q|--quiet] <Domain>
>
> Attach to <Domain>'s console.
>   -q, --quiet                    Do not print an error message if the      
>                                  domain does not exist
>
> xen1:~ # xm list -l test4 | grep status
>     (status 3)
> xen1:~ # xm destroy test4
>
> xen1:~ # xm list -l test4 | grep status
>     (status 3)

None of these commands caused an entry in /var/log/xen/xend.log.

Ideas? Suggestions?

Eric Pretorious
Truckee, CA


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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