From: Steven Haigh Subject: Re: Inplace upgrading 4.4.x -> 4.5.0 Date: Thu, 19 Feb 2015 10:09:40 +1100 Message-ID: <54E51BB4.8060704@crc.id.au> References: <54D7176D.30101@crc.id.au> <441844878.20150209095955@eikelenboom.it> <54D8794C.5050401@crc.id.au> <1423473366.23098.16.camel@citrix.com> <54D87F9D.4090803@crc.id.au> <1424263125.27775.41.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0927454775350537910==" Return-path: In-Reply-To: <1424263125.27775.41.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0927454775350537910== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FtJ3rugsms7GH0D7aQ3iKhEEkXCbKLQTx" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FtJ3rugsms7GH0D7aQ3iKhEEkXCbKLQTx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 j= ump >>> through some hoops to make sure multiple tools packages can be instal= led >>> in parallel and the correct ones selected for the currently running >>> hypervisor. >> >> Hmmm - that sounds very hacky :\ >=20 > 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: >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D xl info =3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >> libxl: error: libxl.c:5044:libxl_get_physinfo: getting physinfo: >> Permission denied >=20 > EPERM is essential "tools/hypervisor version mismatch" in most contexts= =2E >=20 > [...] >> So, this leads me to wonder - as I'm sure MANY people get bitten by th= is >> - how to control (at least to shutdown) DomUs after an in-place upgrad= e? >=20 > 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. >=20 >> Even if no other functions are implemented other than shutdown, I woul= d >> call that an acceptable functionality. At least this way, you're not >> hard killing running VMs on reboot. >=20 > 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. >=20 > 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. --=20 Steven Haigh Email: netwiz@crc.id.au Web: http://www.crc.id.au Phone: (03) 9001 6090 - 0412 935 897 --FtJ3rugsms7GH0D7aQ3iKhEEkXCbKLQTx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU5Ru+AAoJEEGvNdV6fTHcJb8QAJbjhbjvIKs8F1mVWc0yuZHt 8w2+PVH164E42CadMarQkYD2hcV7NKVTG+lQNFFssM04b1AVToM+9nhkiAFnS47Y O7jxksJODCIT+CRDBGvkvKEdh9X3xvX/ykL6fLmMiuwP9FJp27OJFbs0pTcrqr2F 8hbM5q9Ra9SFi0PqSu5i5NGKIIAt9YV7oE8qPPxSW7NrIbbRS5TgWY2Jw1G+0JCm OizUz87XFEptQ6dm/1jcq4jY0QRl345TbjHIMPGtUcaFv80aCdDGHgpuapGG7yKU fZL9Yez9HP6mBhYyY1G5gajsId+x+Q+RqBWOOw+imHYvrniR6Ey8EDjVth6L4Q5Y ewFZom1zp/9oVt7feRQvISJqKgCkN4z1ZMhDMLAHmXAqIIC0xQyC8tY7hhyVsbkv kufXC+xIxYu38mJeXHRnJtHT5RhEPMEg4PBLLacOjAknPYYUMe3IcYeJkONXKrGU xT2f073tymYRSY6vSQKHwEFB3qdncDqQKxpGSNeflo6HYgbJrZ9ZDSxgokj6LSGY HQykRqyoEXYuImSJuTo0IiSqhOrvo01f+yUKokGsK8bmJzppekrPYnZaD7jP8Aop eDjsVx1LteGNaC7EH5XkvfQLsk1YJGJi3NCVICCsFOTDYlk02Q0VimNJf6/4SRdD Y4d/t/a3i41P0MQokf31 =Yva8 -----END PGP SIGNATURE----- --FtJ3rugsms7GH0D7aQ3iKhEEkXCbKLQTx-- --===============0927454775350537910== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0927454775350537910==--