Project

General

Profile

Actions

Tasks #13669

open

remove "rhev" packages from apt-mirror's "lab-extras"

Added by Ken Dreyer over 8 years ago. Updated over 7 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:
Actions #1

Updated by Ken Dreyer over 8 years ago

  • Subject changed from remove "rhev" packages from apt-mirror' to remove "rhev" packages from apt-mirror's "lab-extras"
  • Status changed from New to In Progress
  • Assignee set to Ken Dreyer

There are a couple of "rhev" packages that were placed into the "lab-extras" repository on apt-mirror.

We've got to reduce or eliminate the "lab-extras" repository because this is work to maintain the packages here, and there's no GPG-signing or IPv6, etc. In the meantime, we can whittle lab-extras down by removing the "rhev" packages that were placed here.

I've logged into gitbuilder-archive.front.sepia.ceph.com and run the following:

sudo -i

cd /home/apt-mirror/mirror/lab-extras/rhel7/x86_64

chmod 000 \
libcacard-devel-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
libcacard-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
libcacard-tools-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
qemu-img-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
qemu-kvm-common-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
qemu-kvm-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm \
qemu-kvm-rhev-debuginfo-1.5.3-60_ceph.el7.5.x86_64.rpm \
qemu-kvm-tools-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm


So the files are still present, but the web server will not serve them to yum clients.

In a few weeks/months, if the test suite logs do not report yum failures due to this change, then we can assume that no tests rely on these packages any more, and we can delete them from apt-mirror altogether.

(Note that qemu in RHEL 7.1 is built against librbd1, so there is no reason for us to ship our own "qemu-kvm-rhev" package anywhere. See the discussion in #10480 for background.)

Actions #2

Updated by Zack Cerza over 8 years ago

  • Priority changed from Normal to Urgent

This is causing post-reimage provisioning to fail:

http://apt-mirror.sepia.ceph.com/lab-extras/rhel7/x86_64/qemu-img-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.
http://apt-mirror.sepia.ceph.com/lab-extras/rhel7/x86_64/qemu-kvm-common-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.
http://apt-mirror.sepia.ceph.com/lab-extras/rhel7/x86_64/qemu-kvm-rhev-1.5.3-60_ceph.el7.5.x86_64.rpm: [Errno 14] HTTP Error 403 - Forbidden
Trying other mirror.

Error downloading packages:
  10:qemu-kvm-common-rhev-1.5.3-60_ceph.el7.5.x86_64: [Errno 256] No more mirrors to try.
  10:qemu-kvm-rhev-1.5.3-60_ceph.el7.5.x86_64: [Errno 256] No more mirrors to try.
  10:qemu-img-rhev-1.5.3-60_ceph.el7.5.x86_64: [Errno 256] No more mirrors to try.

FATAL: all hosts have already failed -- aborting

Perhaps the files should be moved out of the way.

Actions #3

Updated by Ken Dreyer over 8 years ago

After looking at the logs, the problem was that yum considered Ceph's qemu-kvm-rhev to obsolete the qemu-kvm that we try to install with Ansible:

Package qemu-kvm is obsoleted by qemu-kvm-rhev, trying to install 10:qemu-kvm-rhev-1.5.3-60_ceph.el7.5.x86_64 instead

So even though "qemu-kvm-rhev" is not in the list of packages for Ansible to install, yum tries to install it anyway.

I've moved the RHEV RPMs to /home/apt-mirror/mirror/lab-extras/rhel7-trash and regenerated the rhel7 repository metadata so that yum will have no knowledge of the RHEV packages. I've also done the same with CentOS 7.

Actions #4

Updated by Ken Dreyer over 7 years ago

  • Priority changed from Urgent to Normal

Zack I'm guessing this is fixed now? (I'm resetting the priority back to normal under that assumption...)

Actions

Also available in: Atom PDF