CentOS 6 Xen Package Update (including XSA-156)

Home » CentOS-Virt » CentOS 6 Xen Package Update (including XSA-156)
CentOS-Virt 16 Comments

So going forward, we’re moving the CentOS 6 Xen packages from the custom “xen4” repos that were introduced several years ago, to repos based on its position as a sub-project of the Virt Sig. That will make things consistent between all the sigs, as well as between CentOS
6 and 7 Xen packages.

Unfortunately, XSA-156 came up rather suddenly and is a bit blocked by this transition.

So please help us test the new repository structure, so that we can with conscience push the updates to xen4 users in general.

To update to the new repository structure, install the CentOS-release-xen package directly from the new repo:

yum update http://mirror.CentOS.org/CentOS/6/virt/x86_64/xen/CentOS-release-xen-7-11.el6.x86_64.rpm

This should replace the xen4 repositories with the new virt sig repositories. Now do a ‘yum update’:

yum update

This should pull in the Xen 4.4.3-6 package, which contains XSA-156
(and all other packages).

If everything works as planned, we’ll push the new CentOS-release-xen to CentOS-extras, and then everyone else will be moved to the new repos the next time they do an update.

-George

16 thoughts on - CentOS 6 Xen Package Update (including XSA-156)

  • [root@xenh4bis ~]# yum update -y http://mirror.CentOS.org/CentOS/6/virt/x86_64/xen/CentOS-release-xen-7-11.el6.x86_64.rpm Loaded plugins: fastestmirror, presto Setting up Update Process CentOS-release-xen-7-11.el6.x86_64.rpm | 6.0 kB 00:00
    Examining
    /var/tmp/yum-root-DzSL_q/CentOS-release-xen-7-11.el6.x86_64.rpm:
    10:CentOS-release-xen-7-11.el6.x86_64
    Marking /var/tmp/yum-root-DzSL_q/CentOS-release-xen-7-11.el6.x86_64.rpm as an update to 10:CentOS-release-xen-6-4.el6.CentOS.x86_64
    Loading mirror speeds from cached hostfile
    * epel: fedora.mirrors.telekom.ro base | 951 B 00:00
    updates | 951 B 00:00
    Resolving Dependencies
    –> Running transaction check
    —> Package CentOS-release-xen.x86_64 10:6-4.el6.CentOS will be updated
    —> Package CentOS-release-xen.x86_64 10:7-11.el6 will be an update
    –> Processing Dependency:
    /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization for package:
    10:CentOS-release-xen-7-11.el6.x86_64
    –> Processing Dependency:
    /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization for package:
    10:CentOS-release-xen-7-11.el6.x86_64
    –> Finished Dependency Resolution Error: Package: 10:CentOS-release-xen-7-11.el6.x86_64
    (/CentOS-release-xen-7-11.el6.x86_64)
    Requires: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Virtualization
    You could try using –skip-broken to work around the problem
    You could try running: rpm -Va –nofiles –nodigest

  • Do you have the CentOS-extras repo enabled? The key in question is in the CentOS-release-virt-common package, which is in the CentOS-extras repo.

    -George

  • no, i normally keep everything but base,updates (and xen4CentOS on xen machines) disabled. I will retry later today. Thanks

    wolfy

  • Just applied the repo update rpm and the 4.4.3-6 updates – no problems.

    I only saw one unexpected message in the 4.4.3-6 update – snippet below:


    Running Transaction
    Updating : xen-licenses-4.4.3-6.el6.x86_64
    1/10
    Updating : xen-libs-4.4.3-6.el6.x86_64
    2/10
    Updating : xen-hypervisor-4.4.3-6.el6.x86_64
    3/10
    /var/tmp/rpm-tmp.kxFl1h: line 9: fg: no job control Updating grub config
    Updating : xen-runtime-4.4.3-6.el6.x86_64
    4/10
    Stopping xenconsoled Stopping QEMU

    I went to look at the script in /var/tmp, but of course it is cleaned up…
    :}

    didnt seem to bother anything.

    r.

  • Except now on another system I see this problem:

    # yum install virt-manager
    ..
    ..
    ..

    –> Finished Dependency Resolution Error: Package: libvirt-python-0.10.2-54.el6_7.2.x86_64 (updates)
    Requires: libvirt.so.0(LIBVIRT_PRIVATE_0.10.2)(64bit)
    Available: libvirt-client-0.10.2-54.el6.x86_64 (base)
    libvirt.so.0(LIBVIRT_PRIVATE_0.10.2)(64bit)
    Available: libvirt-client-0.10.2-54.el6_7.2.x86_64 (updates)
    libvirt.so.0(LIBVIRT_PRIVATE_0.10.2)(64bit)
    Installed: libvirt-client-1.2.15-3.el6.x86_64 (@CentOS-virt-xen)
    Not found You could try using –skip-broken to work around the problem You could try running: rpm -Va –nofiles –nodigest

    Are we missing a build of libvirt-python 1.2.15 package?

    — Pasi

  • Hello,

    Anyone else seeing this libvirt-python problem with virt-manager and/or virt-viewer ?

    (happens on a freshly installed system, so no earlier libvirt rpms installed)

    Thanks,

    — Pasi

  • It tries to install half of the OS, but it works for me. It seems that your yum does not like that you already have libvirt-client-1.2.15-3.el6.x86_64. Mine is happy to bring in libvirt-{python,client}-0.10.2-54.el6_7.2.x86_64 from updates

    wolfy

  • libvirt-{python,client}-0.10.2-54.el6_7.2.x86_64 are the CentOS core packages, while the libvirt-client-1.2.15-3.el6.x86_64 is the Virt SIG provided one, which has Xen support enabled.

    So I need the 1.2.15-3 versions, but it seems libvirt-python is not included in the Virt SIG built ones..

    So that’s an issue/problem..

    — Pasi

  • Right — for 1.2.12 they decided to have libvirt-python be a completely separate package. I had apparently started getting that package built at some time in the distant past but never finished.

    I’ve cloned & build Fedora’s libvirt-python-1.2.15 (which is pretty much what I did for libvirt-1.2.15); it should show up in buildlogs in an hour or two. Once that’s in, if you go “yum
    –enablerepo=CentOS-virt-xen-testing virt-manager”, it should install.
    (At least, the version in CBS works for me.)

    Let me know if it works.

    Thanks,
    -George

  • Also — I added “install virt-manager” to my smoke-test scripts, and was rather surprised to find out that it succeeds on CentOS 7

  • OK, well in the absence of testing, it works for me, so I’ve tagged it to go to the main repo, and Johnny will be pushing the updated CentOS-release-xen to CentOS-extras tonight or tomorrow.

    -George

  • Sorry for the delay.

    I grabbed libvirt-python-1.2.15-1.el6.x86_64.rpm from:
    http://buildlogs.CentOS.org/CentOS/6/virt/x86_64/xen/

    rpm installed fine. After that virt-manager and virt-viewer installed fine too. virt-manager seems to start/run fine aswell. I’ll play with it more now..

    So the main issue seems to be fixed with that libvirt-python build!

    Thanks a lot,

    — Pasi