Description: orch:cephadm/upgrade/{1-start-distro/1-start-centos_8.stream_container-tools 2-repo_digest/defaut 3-upgrade/simple 4-wait 5-upgrade-ls agent/on mon_election/classic}

Log: http://qa-proxy.ceph.com/teuthology/gabrioux-2023-01-27_13:45:30-orch:cephadm-wip-guits-testing-2-2023-01-27-0840-quincy-distro-default-smithi/7141628/teuthology.log

Failure Reason:

SELinux denials found on ubuntu@smithi087.front.sepia.ceph.com: ['type=AVC msg=audit(1674958501.038:16992): avc: denied { lock } for pid=94034 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16993): avc: denied { map } for pid=94034 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=525270 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14038): avc: denied { read } for pid=77424 comm="rpm" name="Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16991): avc: denied { open } for pid=94034 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14039): avc: denied { lock } for pid=77424 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.380:216): avc: denied { map } for pid=6377 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=98535 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16991): avc: denied { read } for pid=94034 comm="rpm" name="Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.362:214): avc: denied { open } for pid=6377 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958500.658:16960): avc: denied { read } for pid=699 comm="sssd" name="resolv.conf" dev="sda1" ino=525302 scontext=system_u:system_r:sssd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.362:214): avc: denied { read } for pid=6377 comm="rpm" name="Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.377:215): avc: denied { lock } for pid=6377 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14040): avc: denied { map } for pid=77424 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=98535 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958376.995:14037): avc: denied { search } for pid=6264 comm=72733A6D61696E20513A526567 name="cephtest" dev="sda1" ino=393230 scontext=system_u:system_r:syslogd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=1', 'type=AVC msg=audit(1674958377.352:14038): avc: denied { open } for pid=77424 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1']

  • log_href: http://qa-proxy.ceph.com/teuthology/gabrioux-2023-01-27_13:45:30-orch:cephadm-wip-guits-testing-2-2023-01-27-0840-quincy-distro-default-smithi/7141628/teuthology.log
  • archive_path: /home/teuthworker/archive/gabrioux-2023-01-27_13:45:30-orch:cephadm-wip-guits-testing-2-2023-01-27-0840-quincy-distro-default-smithi/7141628
  • description: orch:cephadm/upgrade/{1-start-distro/1-start-centos_8.stream_container-tools 2-repo_digest/defaut 3-upgrade/simple 4-wait 5-upgrade-ls agent/on mon_election/classic}
  • duration: 0:28:02
  • email: gabrioux@redhat.com
  • failure_reason: SELinux denials found on ubuntu@smithi087.front.sepia.ceph.com: ['type=AVC msg=audit(1674958501.038:16992): avc: denied { lock } for pid=94034 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16993): avc: denied { map } for pid=94034 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=525270 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14038): avc: denied { read } for pid=77424 comm="rpm" name="Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16991): avc: denied { open } for pid=94034 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14039): avc: denied { lock } for pid=77424 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.380:216): avc: denied { map } for pid=6377 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=98535 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958501.038:16991): avc: denied { read } for pid=94034 comm="rpm" name="Packages" dev="sda1" ino=525269 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.362:214): avc: denied { open } for pid=6377 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958500.658:16960): avc: denied { read } for pid=699 comm="sssd" name="resolv.conf" dev="sda1" ino=525302 scontext=system_u:system_r:sssd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.362:214): avc: denied { read } for pid=6377 comm="rpm" name="Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958118.377:215): avc: denied { lock } for pid=6377 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958377.352:14040): avc: denied { map } for pid=77424 comm="rpm" path="/var/lib/rpm/Name" dev="sda1" ino=98535 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1', 'type=AVC msg=audit(1674958376.995:14037): avc: denied { search } for pid=6264 comm=72733A6D61696E20513A526567 name="cephtest" dev="sda1" ino=393230 scontext=system_u:system_r:syslogd_t:s0 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=1', 'type=AVC msg=audit(1674958377.352:14038): avc: denied { open } for pid=77424 comm="rpm" path="/var/lib/rpm/Packages" dev="sda1" ino=98534 scontext=system_u:system_r:setroubleshootd_t:s0 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=1']
  • flavor:
  • job_id: 7141628
  • kernel:
    • kdb: True
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: gabrioux-2023-01-27_13:45:30-orch:cephadm-wip-guits-testing-2-2023-01-27-0840-quincy-distro-default-smithi
  • nuke_on_error: True
  • os_type: centos
  • os_version: 8.stream
  • overrides:
    • admin_socket:
      • branch: wip-guits-testing-2-2023-01-27-0840-quincy
    • ceph:
      • conf:
        • global:
          • mon election default strategy: 1
        • mgr:
          • debug mgr: 20
          • debug ms: 1
          • mgr/cephadm/use_agent: True
        • mon:
          • debug mon: 20
          • debug ms: 1
          • debug paxos: 20
        • osd:
          • debug ms: 1
          • debug osd: 20
      • flavor: default
      • log-ignorelist:
        • \(MDS_ALL_DOWN\)
        • \(MDS_UP_LESS_THAN_MAX\)
      • sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
          • osd default pool size: 2
    • install:
      • ceph:
        • flavor: default
        • sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
    • workunit:
      • branch: wip-guits-testing-2-2023-01-27-0840-quincy
      • sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
  • owner: scheduled_gabrioux@teuthology
  • pid:
  • roles:
    • ['mon.a', 'mon.c', 'mgr.y', 'osd.0', 'osd.1', 'osd.2', 'osd.3', 'client.0', 'node-exporter.a', 'alertmanager.a']
    • ['mon.b', 'mgr.x', 'osd.4', 'osd.5', 'osd.6', 'osd.7', 'client.1', 'prometheus.a', 'grafana.a', 'node-exporter.b']
  • sentry_event:
  • status: fail
  • success: False
  • branch: wip-guits-testing-2-2023-01-27-0840-quincy
  • seed:
  • sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
  • subset:
  • suite:
  • suite_branch: wip-guits-testing-2-2023-01-27-0840-quincy
  • suite_path:
  • suite_relpath:
  • suite_repo:
  • suite_sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
  • targets:
    • smithi087.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCstxzjLBCU6rUuCZ6EtuMbnxyRSSMclqhbatorwRN5oNITQ5kwlO3ugLIl9wV967R7wMUwPPsJcPL2JrYkZbHghpoMXKGpMA9rv4P7Gk/FpBntt/5eWOCyo8x1eyJo4q+j3SoHs8cUB0OR1ELFhAA1Fl8wdmPVWrIXV0XAlkqO2ejOKr8ykDAZ2lJaIa3YjKHU/w+NcwiJ8MDJss5d3NwuMrgZUdgXkuRDlTFA5Iqc2+ubZaBys6B5koyHSw8g+S/Z1ZDmzcoD3f8ZK/1xFSrJZeGBk1Yli+HZ2Wp7iJ6DY4Hso+jAk/Jhin8qUQZE9/+afut0waZl3D1lXJ4fwcNfJV4Gv1b4EN6mS1RwaXdbRKW/xp1x6JhG5uwozSxRUmQOgIpkzTt0DtqZqCy8Bngb+cNR5rQuP4QRIx1eHlvY8/6l/vX9td6PMEQnVbTJMqGSGcWlROmMSRgqCgC9qZ9VLi5a6i0FqGOtj2gtdX8zFcAOFRrOELOZCJ1cySENjFM=
    • smithi161.front.sepia.ceph.com: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDH4sF1ZDp9Hym0yZiwAQ5rVel0kB8yhx9d9IE4mBm8ZAXG6xszDgmbWHKiWGaLwTT4Ft4ymqjJ17U8ElAR+zvrGzJrucAxgj1mXnOeyPFitJzO8Gn5vxCePS0eEZ5Zv8WfkvnUssqYCYSvdPMuX1BVW8FWTLmf32YDPS8diXlLNpGryGNjMURAYcnU9jZnaNJx1exq7wGR3LIofIHqh2liEJGe03sTKb/AJbxIvnXU7D6hcpY7jSfr2bJNBXSAC9VBt62fDh/3mbFEyCnxIHT+G6TI4qVGdoABNGpD6LzMUBj/EvLmz2+tJVkNzTtek/0xsGGVPvFsPiW7QBJM3/sqaH5fiapfMuXVBsPDs7OkLDtUy8E947/xVBirgyK07YKf1toFi+v6hXZWvwKe6QhEW7j0Vd/Z//GXFkitAVELo/PFxI3zvHba69Umhm0l25QAyAIe7d9NI5o6wb5bmjbVt6yn9JUuhDK/8pMECKw88JAltQgxClWBtH3am62UC8s=
  • 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
        • sudo cp /etc/containers/registries.conf.backup /etc/containers/registries.conf
    • cephadm:
      • add_mons_via_daemon_add: True
      • allow_ptrace: False
      • avoid_pacific_features: True
      • cephadm_branch: v15.2.0
      • cephadm_git_url: https://github.com/ceph/ceph
      • image: docker.io/ceph/ceph:v15.2.0
      • conf:
        • global:
          • mon election default strategy: 1
        • mgr:
          • debug mgr: 20
          • debug ms: 1
          • mgr/cephadm/use_agent: True
        • mon:
          • debug mon: 20
          • debug ms: 1
          • debug paxos: 20
        • osd:
          • debug ms: 1
          • debug osd: 20
      • flavor: default
      • log-ignorelist:
        • \(MDS_ALL_DOWN\)
        • \(MDS_UP_LESS_THAN_MAX\)
      • sha1: c362cda3eaa61887e0a68590865d3c775a4d4f3c
      • cluster: ceph
      • cephadm_mode: root
    • cephadm.shell:
      • mon.a:
        • radosgw-admin realm create --rgw-realm=r --default
        • radosgw-admin zonegroup create --rgw-zonegroup=default --master --default
        • radosgw-admin zone create --rgw-zonegroup=default --rgw-zone=z --master --default
        • radosgw-admin period update --rgw-realm=r --commit
        • ceph orch apply rgw r z --placement=2 --port=8000
        • sleep 120
        • ceph config set mon mon_warn_on_insecure_global_id_reclaim false --force
        • ceph config set mon mon_warn_on_insecure_global_id_reclaim_allowed false --force
        • ceph config set global log_to_journald false --force
        • ceph orch upgrade start --image quay.ceph.io/ceph-ci/ceph:$sha1
    • cephadm.shell:
      • mon.a:
        • while ceph orch upgrade status | jq '.in_progress' | grep true && ! ceph orch upgrade status | jq '.message' | grep Error ; do ceph orch ps ; ceph versions ; ceph orch upgrade status ; sleep 30 ; done
        • ceph orch ps
        • ceph versions
        • echo "wait for servicemap items w/ changing names to refresh"
        • sleep 60
        • ceph orch ps
        • ceph versions
        • ceph versions | jq -e '.overall | length == 1'
        • ceph versions | jq -e '.overall | keys' | grep $sha1
        • ceph orch ls | grep '^osd '
    • cephadm.shell:
      • mon.a:
        • ceph orch upgrade ls
        • ceph orch upgrade ls --image quay.io/ceph/ceph --show-all-versions | grep 16.2.0
        • ceph orch upgrade ls --image quay.io/ceph/ceph --tags | grep v16.2.2
  • teuthology_branch: main
  • verbose: True
  • pcp_grafana_url:
  • priority:
  • user:
  • queue:
  • posted: 2023-01-27 13:45:49
  • started: 2023-01-29 01:59:59
  • updated: 2023-01-29 02:37:06
  • status_class: danger
  • runtime: 0:37:07
  • wait_time: 0:09:05