All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Haigh <netwiz@crc.id.au>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Inplace upgrading 4.4.x -> 4.5.0
Date: Thu, 19 Feb 2015 10:09:40 +1100	[thread overview]
Message-ID: <54E51BB4.8060704@crc.id.au> (raw)
In-Reply-To: <1424263125.27775.41.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 2640 bytes --]

On 18/02/2015 11:38 PM, Ian Campbell wrote:
> 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.

Anything that helps out here is a good thing.

>> 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.

In large scale organisations (10+ systems), then yes, I'd say you're
probably right. This problem hits those who are smaller than that
however. I could list countless people who have been bitten by this in
the past - the majority of which are small businesses / hobbyists that
don't have the kind of equipment to do any of the above.

The expected upgrade path for those types is "yum -y update && reboot"

As we know, this falls over in a heap - however I don't think it is
beyond the realms of expectation for this to work.

-- 
Steven Haigh

Email: netwiz@crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

      reply	other threads:[~2015-02-18 23:09 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
2015-02-18 23:09             ` Steven Haigh [this message]

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=54E51BB4.8060704@crc.id.au \
    --to=netwiz@crc.id.au \
    --cc=Ian.Campbell@citrix.com \
    --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.