Project

General

Profile

Actions

Bug #40810

closed

qa: "Command failed on smithi171 with status 1: 'sudo yum install -y kernel'" in rados

Added by Yuri Weinstein almost 5 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
rados
Crash signature (v1):
Crash signature (v2):

Description

Run: http://pulpito.ceph.com/yuriw-2019-07-15_19:24:27-rados-wip-yuri4-testing-2019-07-15-1517-mimic-distro-basic-smithi/
Job: 4121594
Logs: http://qa-proxy.ceph.com/teuthology/yuriw-2019-07-15_19:24:27-rados-wip-yuri4-testing-2019-07-15-1517-mimic-distro-basic-smithi/4121594/teuthology.log

2019-07-15T20:34:41.967 INFO:teuthology.orchestra.run.smithi171.stdout:---> Package selinux-policy.noarch 0:3.13.1-229.el7_6.12 will be an update
2019-07-15T20:34:41.967 INFO:teuthology.orchestra.run.smithi171.stdout:--> Processing Dependency: libsemanage >= 2.5-13 for package: selinux-policy-3.13.1-229.el7_6.12.noarch
2019-07-15T20:34:42.037 INFO:teuthology.orchestra.run.smithi171.stdout:--> Finished Dependency Resolution
2019-07-15T20:34:42.117 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: selinux-policy-3.13.1-229.el7_6.12.noarch (updates)
2019-07-15T20:34:42.118 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: libsemanage >= 2.5-13
2019-07-15T20:34:42.118 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: libsemanage-2.5-11.el7.x86_64 (@base)
2019-07-15T20:34:42.118 INFO:teuthology.orchestra.run.smithi171.stderr:               libsemanage = 2.5-11.el7
2019-07-15T20:34:42.118 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: policycoreutils-2.5-29.el7_6.1.x86_64 (updates)
2019-07-15T20:34:42.119 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: libsepol >= 2.5-10
2019-07-15T20:34:42.119 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: libsepol-2.5-8.1.el7.x86_64 (@base)
2019-07-15T20:34:42.119 INFO:teuthology.orchestra.run.smithi171.stderr:               libsepol = 2.5-8.1.el7
2019-07-15T20:34:42.119 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: policycoreutils-2.5-29.el7_6.1.x86_64 (updates)
2019-07-15T20:34:42.119 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: libsemanage >= 2.5-14
2019-07-15T20:34:42.121 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: libsemanage-2.5-11.el7.x86_64 (@base)
2019-07-15T20:34:42.121 INFO:teuthology.orchestra.run.smithi171.stderr:               libsemanage = 2.5-11.el7
2019-07-15T20:34:42.121 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: policycoreutils-python-2.5-29.el7_6.1.x86_64 (updates)
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: libsemanage-python >= 2.5-14
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: libsemanage-python-2.5-11.el7.x86_64 (@base)
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:               libsemanage-python = 2.5-11.el7
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: policycoreutils-2.5-29.el7_6.1.x86_64 (updates)
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: libselinux-utils >= 2.5-14
2019-07-15T20:34:42.122 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: libselinux-utils-2.5-12.el7.x86_64 (@base)
2019-07-15T20:34:42.123 INFO:teuthology.orchestra.run.smithi171.stderr:               libselinux-utils = 2.5-12.el7
2019-07-15T20:34:42.123 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: kernel-3.10.0-957.21.3.el7.x86_64 (updates)
2019-07-15T20:34:42.123 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: linux-firmware >= 20180911-68
2019-07-15T20:34:42.123 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: linux-firmware-20180220-62.2.git6d51311.el7_5.noarch (@updates)
2019-07-15T20:34:42.123 INFO:teuthology.orchestra.run.smithi171.stderr:               linux-firmware = 20180220-62.2.git6d51311.el7_5
2019-07-15T20:34:42.124 INFO:teuthology.orchestra.run.smithi171.stderr:           Available: linux-firmware-20180220-62.git6d51311.el7.noarch (base)
2019-07-15T20:34:42.124 INFO:teuthology.orchestra.run.smithi171.stderr:               linux-firmware = 20180220-62.git6d51311.el7
2019-07-15T20:34:42.124 INFO:teuthology.orchestra.run.smithi171.stderr:Error: Package: policycoreutils-python-2.5-29.el7_6.1.x86_64 (updates)
2019-07-15T20:34:42.124 INFO:teuthology.orchestra.run.smithi171.stderr:           Requires: setools-libs >= 3.3.8-4
2019-07-15T20:34:42.127 INFO:teuthology.orchestra.run.smithi171.stderr:           Installed: setools-libs-3.3.8-2.el7.x86_64 (@base)
2019-07-15T20:34:42.128 INFO:teuthology.orchestra.run.smithi171.stderr:               setools-libs = 3.3.8-2.el7
2019-07-15T20:34:42.128 INFO:teuthology.orchestra.run.smithi171.stdout: You could try using --skip-broken to work around the problem
2019-07-15T20:34:48.414 INFO:teuthology.orchestra.run.smithi171.stdout: You could try running: rpm -Va --nofiles --nodigest
2019-07-15T20:34:48.501 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-07-15T20:34:48.501 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/kernel.py", line 1250, in task
    version = need_to_install_distro(role_remote)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/kernel.py", line 733, in need_to_install_distro
    stdout=output)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 205, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 437, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi171 with status 1: 'sudo yum install -y kernel'
2019-07-15T20:34:48.502 DEBUG:teuthology.run_tasks:Unwinding manager console_log
Actions #1

Updated by Patrick Donnelly almost 5 years ago

  • Project changed from Ceph to RADOS
  • Subject changed from "Command failed on smithi171 with status 1: 'sudo yum install -y kernel'" in rados to qa: "Command failed on smithi171 with status 1: 'sudo yum install -y kernel'" in rados
Actions #2

Updated by Neha Ojha almost 5 years ago

  • Project changed from RADOS to Infrastructure

I don't think is a RADOS issue.

Actions #3

Updated by David Galloway over 4 years ago

  • Status changed from New to Resolved
  • Assignee set to David Galloway

This was a part of the whole selinux-policy version mismatch issue we saw over the past month.

A few dev versions of Ceph got built on CentOS machines. Those CentOS machines had a version of selinux-policy that was newer than what was available for RHEL.

So package transactions that involved selinux-policy were failing on RHEL. I temporarily resolved this by taking the CentOS version of selinux-policy and putting in the lab-extras repo: http://apt-mirror.front.sepia.ceph.com/lab-extras/rhel7/x86_64/

A couple days/weeks passed and the version of selinux-policy available from Red Hat to RHEL was newer than what was in lab-extras. However, I discovered the lab-extras repo had a priority set in the repo file. This meant that the version available in lab-extras would never be upgraded by any version available from Red Hat. This caused additional jobs to fail in both labs.

I removed the priority from the lab-extras repo: https://github.com/ceph/ceph-cm-ansible/pull/466

I also removed selinux-policy from the lab-extras repo now that newer versions are available via the CDN/RHSM/Red Hat.

Actions

Also available in: Atom PDF