Description: rados/cephadm/smoke-roleless/{0-distro/rhel_8.4_container_tools_3.0 0-nvme-loop 1-start 2-services/nfs-ingress-rgw-user 3-final}

Log: http://qa-proxy.ceph.com/teuthology/benhanokh-2021-12-22_16:44:29-rados-GBH_WIP_NCB_expand_device_fix_1-distro-basic-smithi/6579030/teuthology.log

Sentry event: https://sentry.ceph.com/organizations/ceph/?query=23ba7df54ee947a897b115fb99847404

Failure Reason:

{'Failure object was': {'smithi029.front.sepia.ceph.com': {'msg': "Failed to download metadata for repo 'epel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", 'results': [], 'rc': 1, 'invocation': {'module_args': {'name': ['ceph', 'ceph-base', 'ceph-selinux', 'ceph-common', 'ceph-debuginfo', 'ceph-release', 'libcephfs1', 'ceph-radosgw', 'python-ceph', 'python-rados', 'python-rbd', 'python-cephfs', 'librbd1', 'librados2', 'mod_fastcgi'], 'state': 'absent', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'conf_file': 'None', 'disable_excludes': 'None', 'download_dir': 'None', 'list': 'None', 'releasever': 'None'}}, '_ansible_no_log': False, 'changed': False}}, '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_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 306, in safe_dump return dump_all([data], stream, Dumper=SafeDumper, **kwds) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 278, in dump_all dumper.represent(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping(\'tag:yaml.org,2002:map\', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping(\'tag:yaml.org,2002:map\', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 117, in represent_mapping node_key = self.represent_data(item_key) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data)', 'yaml.representer.RepresenterError': "('cannot represent an object', 'invocation')"}

  • log_href: http://qa-proxy.ceph.com/teuthology/benhanokh-2021-12-22_16:44:29-rados-GBH_WIP_NCB_expand_device_fix_1-distro-basic-smithi/6579030/teuthology.log
  • archive_path: /home/teuthworker/archive/benhanokh-2021-12-22_16:44:29-rados-GBH_WIP_NCB_expand_device_fix_1-distro-basic-smithi/6579030
  • description: rados/cephadm/smoke-roleless/{0-distro/rhel_8.4_container_tools_3.0 0-nvme-loop 1-start 2-services/nfs-ingress-rgw-user 3-final}
  • duration: 0:05:52
  • email:
  • failure_reason: {'Failure object was': {'smithi029.front.sepia.ceph.com': {'msg': "Failed to download metadata for repo 'epel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", 'results': [], 'rc': 1, 'invocation': {'module_args': {'name': ['ceph', 'ceph-base', 'ceph-selinux', 'ceph-common', 'ceph-debuginfo', 'ceph-release', 'libcephfs1', 'ceph-radosgw', 'python-ceph', 'python-rados', 'python-rbd', 'python-cephfs', 'librbd1', 'librados2', 'mod_fastcgi'], 'state': 'absent', 'allow_downgrade': False, 'autoremove': False, 'bugfix': False, 'disable_gpg_check': False, 'disable_plugin': [], 'disablerepo': [], 'download_only': False, 'enable_plugin': [], 'enablerepo': [], 'exclude': [], 'installroot': '/', 'install_repoquery': True, 'install_weak_deps': True, 'security': False, 'skip_broken': False, 'update_cache': False, 'update_only': False, 'validate_certs': True, 'lock_timeout': 30, 'conf_file': 'None', 'disable_excludes': 'None', 'download_dir': 'None', 'list': 'None', 'releasever': 'None'}}, '_ansible_no_log': False, 'changed': False}}, '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_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 306, in safe_dump return dump_all([data], stream, Dumper=SafeDumper, **kwds) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/__init__.py", line 278, in dump_all dumper.represent(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 27, in represent node = self.represent_data(data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping(\'tag:yaml.org,2002:map\', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 118, in represent_mapping node_value = self.represent_data(item_value) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 48, in represent_data node = self.yaml_representers[data_types[0]](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 207, in represent_dict return self.represent_mapping(\'tag:yaml.org,2002:map\', data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 117, in represent_mapping node_key = self.represent_data(item_key) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 58, in represent_data node = self.yaml_representers[None](self, data) File "/home/teuthworker/src/git.ceph.com_git_teuthology_95a7d4799b562f3bbb5ec66107094963abd62fa1/virtualenv/lib/python3.6/site-packages/yaml/representer.py", line 231, in represent_undefined raise RepresenterError("cannot represent an object", data)', 'yaml.representer.RepresenterError': "('cannot represent an object', 'invocation')"}
  • flavor:
  • job_id: 6579030
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: benhanokh-2021-12-22_16:44:29-rados-GBH_WIP_NCB_expand_device_fix_1-distro-basic-smithi
  • nuke_on_error: True
  • os_type: rhel
  • os_version: 8.4
  • overrides:
    • admin_socket:
      • branch: GBH_WIP_NCB_expand_device_fix_1
    • ceph:
      • conf:
        • mgr:
          • debug mgr: 20
          • debug ms: 1
        • mon:
          • debug mon: 20
          • debug ms: 1
          • debug paxos: 20
        • osd:
          • debug ms: 1
          • debug osd: 20
          • osd shutdown pgref assert: True
      • log-ignorelist:
        • \(MDS_ALL_DOWN\)
        • \(MDS_UP_LESS_THAN_MAX\)
      • log-whitelist:
        • \(MDS_ALL_DOWN\)
        • \(MDS_UP_LESS_THAN_MAX\)
      • sha1: 0ddea0a93bb5fe35d853b01c4d53dd48ccb49b1e
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • sha1: 0ddea0a93bb5fe35d853b01c4d53dd48ccb49b1e
    • kernel:
      • hwe: True
    • selinux:
      • whitelist:
        • scontext=system_u:system_r:logrotate_t:s0
    • workunit:
      • branch: GBH_WIP_NCB_expand_device_fix_1
      • sha1: 0ddea0a93bb5fe35d853b01c4d53dd48ccb49b1e
  • owner: scheduled_benhanokh@teuthology
  • pid:
  • roles:
    • ['host.a', 'client.0']
    • ['host.b', 'client.1']
  • sentry_event: https://sentry.ceph.com/organizations/ceph/?query=23ba7df54ee947a897b115fb99847404
  • status: dead
  • success: False
  • branch: GBH_WIP_NCB_expand_device_fix_1
  • seed:
  • sha1: 0ddea0a93bb5fe35d853b01c4d53dd48ccb49b1e
  • subset:
  • suite:
  • suite_branch: GBH_WIP_NCB_expand_device_fix_1
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: 0ddea0a93bb5fe35d853b01c4d53dd48ccb49b1e
  • targets:
    • smithi029.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDY32kE9vR2PzAXxbN274rhhmwz0GmWOgn7wDuKZM0OQ79HVEvfwUWqVWXzF0C/HyyroaX/qT2pTxt7zdTzL0P52Nl8/vqMFGyWpzrOxGiBt7hL/O9n0eyLdxjI+2HS/oqkfdcsWBZehAZiMSj+1eX0ie5N8FcnKh2hXyPSIaJWDF2AE589tQysL0ocq2MmLALruyLUS8+zAqvmB1zQ9gr/N5Pnr93wHTO+ulzpvj2QuVvPLkA47mjV+DIjZOsnKKJwPq6/NS3dA97DQYJELkreyWMhoVbJypnhEYQLut3xEgcik2f3ACr5144SZ/8ip5pA1vvGU3/PDnNYHEprfljLqOGU6zkViG3oCKiOLiYahRZhRVPHiwwjQOH6ae/fZa9+laS0XzL7f55/jaWbLezygZ2J8Q8ghU3d0t0c1ASvIjIzAACOIGPpbHhFdpzUn3TKRo1nZVzqaQw/7bTPaK8/nHT7e9+wDoAA+tSob6R7nQYe9WC/1EASGe5+k6cuVtM=
    • smithi118.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCkIKnwCD1HQzLy1rGsJfifamqgJ8/2EPaPqCxpfGDbwtTvLQV27ae/pytHZh9vxE1KuyCvHN8IcW/IJr+Svndm7J5GwUhvBumQXpw6Muipcai5gCgzGEoGBpHydk9AaYRnBM01jdPvVBWHn6s/QpC+oWp4AFBb06FlLZw5f6Y2pisTMRXLw6ypKMeCRs4SRS5Q3ZjgAnrj0X+MRK41zc5YaosPZ446kHowEJiou+iFu+FFRp07giGW+e/KkxLWL1JFUzUS4LJQhzWfJagCjUTFx7ya1RpLpzpTvp/CUxTLuU07oorpXSVVfvLNU9V5TF8JrY7E1TtMAz0GDXG665q5LiEo8HIL2vSp9Av26Hzhn9Qx4jWRvvnfIowaZnSQBQXy4h/548bKnNMEA1LAz1jEqZu/FuzJal5nq5ENie0yY6mEad1uRe+lipCkj01v60W3JyWnNNiYyHjUlMXMHXaq7TxPYfve1n89vkEY21UNbDaxOYgksnOxP/6yuQoh4/0=
  • tasks:
    • internal.check_packages:
    • internal.buildpackages_prep:
    • internal.save_config:
    • internal.check_lock:
    • internal.add_remotes:
    • console_log:
    • internal.connect:
    • internal.push_inventory:
    • internal.serialize_remote_roles:
    • internal.check_conflict:
    • internal.check_ceph_data:
    • internal.vm_setup:
    • kernel:
      • kdb: True
      • sha1: distro
    • internal.base:
    • internal.archive_upload:
    • internal.archive:
    • internal.coredump:
    • internal.sudo:
    • internal.syslog:
    • internal.timer:
    • pcp:
    • selinux:
    • ansible.cephlab:
    • clock:
    • pexec:
      • all:
        • sudo cp /etc/containers/registries.conf /etc/containers/registries.conf.backup
        • sudo dnf -y module reset container-tools
        • sudo dnf -y module install container-tools:3.0
        • sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
    • nvme_loop:
    • cephadm:
      • roleless: True
    • cephadm.shell:
      • host.a:
        • ceph orch status
        • ceph orch ps
        • ceph orch ls
        • ceph orch host ls
        • ceph orch device ls
    • vip:
    • cephadm.shell:
      • host.a:
        • ceph orch device ls --refresh
    • vip.exec:
      • all-hosts:
        • systemctl stop nfs-server
    • cephadm.shell:
      • host.a:
        • ceph orch apply rgw foorgw --port 8800
        • ceph nfs cluster create foo --ingress --virtual-ip {{VIP0}}/{{VIPPREFIXLEN}}
    • vip.exec:
      • host.a:
        • dnf install -y python3-boto3 || apt install -y python3-boto3
        • /home/ubuntu/cephtest/cephadm shell radosgw-admin user create --uid foouser --display-name foo > /tmp/user.json
    • python:
      • host.a: import boto3 import json with open('/tmp/user.json', 'rt') as f: info = json.loads(f.read()) s3 = boto3.resource( 's3', aws_access_key_id=info['keys'][0]['access_key'], aws_secret_access_key=info['keys'][0]['secret_key'], endpoint_url='http://localhost:8800', ) bucket = s3.Bucket('foobucket') bucket.create() bucket.put_object(Key='myobject', Body='thebody')
    • cephadm.shell:
      • host.a:
        • ceph nfs export create rgw --cluster-id foo --pseudo-path /foouser --user-id foouser
    • cephadm.wait_for_service:
      • service: nfs.foo
    • cephadm.wait_for_service:
      • service: ingress.nfs.foo
    • vip.exec:
      • host.a:
        • mkdir /mnt/foo
        • sleep 5
        • mount -t nfs {{VIP0}}:/foouser /mnt/foo
        • test -d /mnt/foo/foobucket
        • find /mnt/foo -ls
        • grep thebody /mnt/foo/foobucket/myobject
        • echo test > /mnt/foo/foobucket/newobject
        • sync
    • python:
      • host.a: import boto3 import json from io import BytesIO with open('/tmp/user.json', 'rt') as f: info = json.loads(f.read()) s3 = boto3.resource( 's3', aws_access_key_id=info['keys'][0]['access_key'], aws_secret_access_key=info['keys'][0]['secret_key'], endpoint_url='http://localhost:8800', ) bucket = s3.Bucket('foobucket') data = BytesIO() bucket.download_fileobj(Fileobj=data, Key='newobject') print(data.getvalue()) assert data.getvalue().decode() == 'test\n'
    • vip.exec:
      • host.a:
        • umount /mnt/foo
    • cephadm.shell:
      • host.a:
        • ceph nfs export rm foo /foouser
        • ceph nfs cluster rm foo
    • cephadm.shell:
      • host.a:
        • stat -c '%u %g' /var/log/ceph | grep '167 167'
        • ceph orch status
        • ceph orch ps
        • ceph orch ls
        • ceph orch host ls
        • ceph orch device ls
        • ceph orch ls | grep '^osd.all-available-devices '
  • teuthology_branch: master
  • verbose: True
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2021-12-22 16:52:35
  • started: 2021-12-23 13:51:48
  • updated: 2021-12-23 14:06:17
  • status_class: danger
  • runtime: 0:14:29
  • wait_time: 0:08:37