Project

General

Profile

Bug #43738

cephadm: conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64

Added by Sebastian Wagner 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Low
% Done:

0%

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

Description

  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/__init__.py", line 123, in __enter__
    self.begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 420, in begin
    super(CephLab, self).begin()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 263, in begin
    self.execute_playbook()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 290, in execute_playbook
    self._handle_failure(command, status)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/task/ansible.py", line 314, in _handle_failure
    raise AnsibleFailedError(failures)

failure_reason: '86 and libstoragemgmt-1.8.1-2.el8.x86_64
  file /usr/share/man/man5/lsmd.conf.5.gz
  conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64

Error Summary
-------------
''}}Traceback (most recent call last):  
File "/home/teuthworker/src/git.ceph.com_git_ceph-cm-ansible_master/callback_plugins/failure_log.py",  line 44, in log_failure
    log.error(yaml.safe_dump(failure))  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/__init__.py",  line 309, in safe_dump
    return dump_all([data], stream, Dumper=SafeDumper, **kwds)  
File  "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/__init__.py",  line 281, in dump_all    
    dumper.represent(data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 29, in represent
    node = self.represent_data(data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 58, in represent_data
    node = self.yaml_representers[data_types[0]](self, data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 227, in represent_dict
    return self.represent_mapping(u''tag:yaml.org,2002:map'', data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 125, in represent_mapping
    node_value = self.represent_data(item_value)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 58, in represent_data    
    node = self.yaml_representers[data_types[0]](self, data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 227, in represent_dict    
    return self.represent_mapping(u''tag:yaml.org,2002:map'',  data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 125, in represent_mapping    
    node_value = self.represent_data(item_value)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 58, in represent_data    
    node = self.yaml_representers[data_types[0]](self, data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 227, in represent_dict    
    return self.represent_mapping(u''tag:yaml.org,2002:map'',  data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 125, in represent_mapping    
    node_value = self.represent_data(item_value)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 58, in represent_data    
    node = self.yaml_representers[data_types[0]](self,  data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 227, in represent_dict    
    return self.represent_mapping(u''tag:yaml.org,2002:map'',  data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 125, in represent_mapping    
    node_value = self.represent_data(item_value)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 68, in represent_data    
    node = self.yaml_representers[None](self, data)  
File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/yaml/representer.py",  line 251, in represent_undefined    
    raise RepresenterError("cannot represent an object", data)RepresenterError: (''cannot represent an object'', u''/'')Failure
  object was: {''smithi161.front.sepia.ceph.com'': {''_ansible_no_log'': False, ''changed'':
  False, u''results'': [], u''rc'': 1, u''invocation'': {u''module_args'': {u''install_weak_deps'':
  True, u''autoremove'': False, u''lock_timeout'': 0, u''download_dir'': None, u''install_repoquery'':
  True, u''enable_plugin'': [], u''update_cache'': False, u''disable_excludes'': None,
  u''exclude'': [], u''installroot'': u''/'', u''allow_downgrade'': False, u''name'':
  [u''@core'', u''@base'', u''dnf-utils'', u''git-all'', u''sysstat'', u''libedit'',
  u''boost-thread'', u''xfsprogs'', u''gdisk'', u''parted'', u''libgcrypt'', u''fuse-libs'',
  u''openssl'', u''libuuid'', u''attr'', u''ant'', u''lsof'', u''gettext'', u''bc'',
  u''xfsdump'', u''blktrace'', u''usbredir'', u''podman'', u''podman-docker'', u''libev-devel'',
  u''valgrind'', u''nfs-utils'', u''ncurses-devel'', u''gcc'', u''git'', u''python3-nose'',
  u''python3-virtualenv'', u''genisoimage'', u''qemu-img'', u''qemu-kvm-core'', u''qemu-kvm-block-rbd'',
  u''libacl-devel'', u''dbench'', u''autoconf''], u''download_only'': False, u''bugfix'':
  False, u''list'': None, u''disable_gpg_check'': False, u''conf_file'': None, u''update_only'':
  False, u''state'': u''present'', u''disablerepo'': [], u''releasever'': None, u''disable_plugin'':
  [], u''enablerepo'': [], u''skip_broken'': False, u''security'': False, u''validate_certs'':
  True}}, u''failures'': [], u''msg'': u''Unknown Error occured: Transaction check
  error:
  file /usr/lib/tmpfiles.d/libstoragemgmt.conf conflicts between attempted  installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64
  file  /usr/share/doc/libstoragemgmt/NEWS conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686  and libstoragemgmt-1.8.1-2.el8.x86_64
  file /usr/share/man/man1/lsmcli.1.gz conflicts  between attempted installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64
  file  /usr/share/man/man1/lsmd.1.gz conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64
  file /usr/share/man/man1/simc_lsmplugin.1.gz  conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686 and libstoragemgmt-1.8.1-2.el8.x86_64
  file  /usr/share/man/man5/lsmd.conf.5.gz conflicts between attempted installs of libstoragemgmt-1.6.2-9.el8.i686  and libstoragemgmt-1.8.1-2.el8.x86_64

http://qa-proxy.ceph.com/teuthology/swagner-2020-01-20_14:55:57-rados-wip-swagner-testing-distro-basic-smithi/4688381/teuthology.log

  • os_type: rhel
  • os_version: '8.0'
  • description: rados/cephadm/{fixed-2.yaml mode/packaged.yaml msgr/async-v1only.yaml start.yaml supported-random-distro$/{rhel_8.yaml} tasks/rados_api_tests.yaml}

As this is an ansible error, I'm not sure if this is a cephadm issue. Any clues?

History

#1 Updated by Sebastian Wagner 9 months ago

  • Description updated (diff)

#2 Updated by Sebastian Wagner 9 months ago

  • Description updated (diff)

#3 Updated by Sebastian Wagner 9 months ago

  • Description updated (diff)

#5 Updated by David Galloway 9 months ago

  • Project changed from Orchestrator to ceph-cm-ansible
  • Category deleted (cephadm)
  • Assignee set to David Galloway
  • Priority changed from High to Low

Here's a workaround for the time being: https://github.com/ceph/ceph-cm-ansible/pull/522

Changing priority to Low and assigning to myself so I can revert this PR when upstream RHEL fixes it.

Also available in: Atom PDF