Project

General

Profile

Actions

Bug #36653

closed

'sudo yum -y install ceph-mgr' failed

Added by Neha Ojha over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Infrastructure Service
Target version:
-
% Done:

0%

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

Description

2018-10-31T03:15:04.682 INFO:teuthology.orchestra.run.smithi176.stdout:--> Finished Dependency Resolution
2018-10-31T03:15:04.723 INFO:teuthology.orchestra.run.smithi176.stdout:Error: Package: 2:ceph-mgr-14.0.0-4688.gb5c14e5.el7.x86_64 (ceph)
2018-10-31T03:15:04.723 INFO:teuthology.orchestra.run.smithi176.stdout:           Requires: python-jwt
2018-10-31T03:15:04.724 INFO:teuthology.orchestra.run.smithi176.stdout:**********************************************************************
2018-10-31T03:15:04.724 INFO:teuthology.orchestra.run.smithi176.stdout:yum can be configured to try to resolve such errors by temporarily enabling
2018-10-31T03:15:04.724 INFO:teuthology.orchestra.run.smithi176.stdout:disabled repos and searching for missing dependencies.
2018-10-31T03:15:04.725 INFO:teuthology.orchestra.run.smithi176.stdout:To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
2018-10-31T03:15:04.736 INFO:teuthology.orchestra.run.smithi176.stdout:**********************************************************************
2018-10-31T03:15:04.736 INFO:teuthology.orchestra.run.smithi176.stdout:
2018-10-31T03:15:04.736 INFO:teuthology.orchestra.run.smithi176.stdout: You could try using --skip-broken to work around the problem
2018-10-31T03:15:04.738 INFO:teuthology.orchestra.run.smithi176.stderr:Error: Package: 2:ceph-mgr-14.0.0-4688.gb5c14e5.el7.x86_64 (ceph)
2018-10-31T03:15:04.738 INFO:teuthology.orchestra.run.smithi176.stderr:           Requires: python-jwt
2018-10-31T03:15:08.377 INFO:teuthology.orchestra.run.smithi183.stdout: You could try running: rpm -Va --nofiles --nodigest
2018-10-31T03:15:08.506 DEBUG:teuthology.orchestra.run:got remote process result: 1
2018-10-31T03:15:08.507 ERROR:teuthology.contextutil:Saw exception from nested tasks
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/contextutil.py", line 30, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/__init__.py", line 258, in install
    install_packages(ctx, package_list, config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/__init__.py", line 125, in install_packages
    ctx, remote, pkgs[system_type], config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 85, in __exit__
    for result in self:
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 99, in next
    resurrect_traceback(result)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 22, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/install/rpm.py", line 185, in _update_package_list_and_install
    remote.run(args=pkg_install_cmd.format(pkg=cpack).split())
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 193, 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 429, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 161, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 183, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi183 with status 1: 'sudo yum -y install ceph-mgr'

Seeing a lot of failures like this in master: http://pulpito.ceph.com/nojha-2018-10-30_20:17:45-rados-master-distro-basic-smithi/


Related issues 1 (0 open1 closed)

Related to Dashboard - Bug #36633: mgr/dashboard: No module named jwtClosedRicardo Dias

Actions
Actions #1

Updated by Nathan Cutler over 5 years ago

  • Assignee set to David Galloway

This looks like it could be a missing dependency (python-jwt) in the test environment (i.e. the Cobbler images used to provision the smithi machines). The dependency was added by https://github.com/ceph/ceph/pull/22833 which was merged just yesterday.

Assigning to David Galloway in hopes he can help.

Actions #2

Updated by Nathan Cutler over 5 years ago

  • Related to Bug #36633: mgr/dashboard: No module named jwt added
Actions #3

Updated by David Galloway over 5 years ago

This package isn't in epel or any of the default RHEL7 repos.

Where are users expected to get it from?

Actions #5

Updated by David Galloway over 5 years ago

I didn't know anyone was still using the miras :)

I'll capture a new FOG image and it'll be fixed.

Actions #6

Updated by David Galloway over 5 years ago

@Kefu Chai - should be good now.

OVH nodes will still have this problem

Actions #7

Updated by Sebastian Wagner about 5 years ago

is this fixed now?

Actions #8

Updated by David Galloway about 5 years ago

Sebastian Wagner wrote:

is this fixed now?

Based on my last comment, I would hope so. Are you seeing otherwise?

Actions #9

Updated by Sebastian Wagner about 5 years ago

no. let's close this issue then?

Actions #10

Updated by David Galloway about 5 years ago

  • Project changed from mgr to sepia
  • Category set to Infrastructure Service
  • Status changed from New to Resolved

Ah, I didn't see it was in the mgr queue.

https://github.com/ceph/ceph-cm-ansible/pull/419

Actions

Also available in: Atom PDF