From: Ian Campbell <Ian.Campbell@citrix.com>
To: Steven Haigh <netwiz@crc.id.au>
Cc: xen-devel@lists.xen.org
Subject: Re: Inplace upgrading 4.4.x -> 4.5.0
Date: Wed, 18 Feb 2015 12:38:45 +0000 [thread overview]
Message-ID: <1424263125.27775.41.camel@citrix.com> (raw)
In-Reply-To: <54D87F9D.4090803@crc.id.au>
On Mon, 2015-02-09 at 20:36 +1100, Steven Haigh wrote:
> > This sounds like a packaging issue -- Debian's packages for example jump
> > through some hoops to make sure multiple tools packages can be installed
> > in parallel and the correct ones selected for the currently running
> > hypervisor.
>
> Hmmm - that sounds very hacky :\
I've been slowly unpicking the Debian patches and upstreaming bits of
them, I'm not sure if I'll manage to get this stuff upstream though
since it is a bit more invasive than the other stuff.
> Hmmm Andrew is correct, the errors are all:
>
> ============= xl info ==============
> libxl: error: libxl.c:5044:libxl_get_physinfo: getting physinfo:
> Permission denied
EPERM is essential "tools/hypervisor version mismatch" in most contexts.
[...]
> So, this leads me to wonder - as I'm sure MANY people get bitten by this
> - how to control (at least to shutdown) DomUs after an in-place upgrade?
You should evacuate the host before upgrading it, which is what I
suppose most people do as the first step in their maintenance window.
Evacuation might involve migrating VMs to another host (perhaps as part
of a pool rolling upgrade type manoeuvre) or just shutting them down.
> Even if no other functions are implemented other than shutdown, I would
> call that an acceptable functionality. At least this way, you're not
> hard killing running VMs on reboot.
I'd expect that it might be possible to arrange to connect to the VM
console and shut it down from within, or possibly to use the xenstore
CLI tools to initiate the shutdown externally.
After that then you would still end up with some zombie domains since
after they have shutdown actually reaping them would require toolstack
actions to talk to the hypervisor and you'd hit the version mismatch.
Ian.
next prev parent reply other threads:[~2015-02-18 12:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-08 7:59 Inplace upgrading 4.4.x -> 4.5.0 Steven Haigh
2015-02-09 8:35 ` Stefano Stabellini
2015-02-09 8:40 ` Steven Haigh
2015-02-09 8:59 ` Sander Eikelenboom
2015-02-09 9:09 ` Steven Haigh
2015-02-09 9:15 ` Andrew Cooper
2015-02-09 9:16 ` Ian Campbell
2015-02-09 9:36 ` Steven Haigh
2015-02-18 12:38 ` Ian Campbell [this message]
2015-02-18 23:09 ` Steven Haigh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1424263125.27775.41.camel@citrix.com \
--to=ian.campbell@citrix.com \
--cc=netwiz@crc.id.au \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.