Description: rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/on mon_election/connectivity task/test_monitoring_stack_basic}

Log: http://qa-proxy.ceph.com/teuthology/yuriw-2024-04-10_14:20:47-rados-wip-yuri10-testing-2024-03-24-1159-distro-default-smithi/7651151/teuthology.log

Sentry event: https://sentry.ceph.com/organizations/ceph/?query=9125598eaaca4c799c080fd030d3088b

Failure Reason:

HTTPSConnectionPool(host='shaman.ceph.com', port=443): Max retries exceeded with url: /api/search?status=ready&project=ceph&flavor=default&distros=ubuntu%2F22.04%2Fx86_64&ref=wip-yuri10-testing-2024-03-24-1159 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f346bd20910>: Failed to establish a new connection: [Errno 110] Connection timed out'))

  • log_href: http://qa-proxy.ceph.com/teuthology/yuriw-2024-04-10_14:20:47-rados-wip-yuri10-testing-2024-03-24-1159-distro-default-smithi/7651151/teuthology.log
  • archive_path: /home/teuthworker/archive/yuriw-2024-04-10_14:20:47-rados-wip-yuri10-testing-2024-03-24-1159-distro-default-smithi/7651151
  • description: rados/cephadm/workunits/{0-distro/ubuntu_22.04 agent/on mon_election/connectivity task/test_monitoring_stack_basic}
  • duration:
  • email: yweinste@redhat.com
  • failure_reason: HTTPSConnectionPool(host='shaman.ceph.com', port=443): Max retries exceeded with url: /api/search?status=ready&project=ceph&flavor=default&distros=ubuntu%2F22.04%2Fx86_64&ref=wip-yuri10-testing-2024-03-24-1159 (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 110] Connection timed out'))
  • flavor:
  • job_id: 7651151
  • kernel:
    • kdb: 1
    • sha1: distro
  • last_in_suite: False
  • machine_type: smithi
  • name: yuriw-2024-04-10_14:20:47-rados-wip-yuri10-testing-2024-03-24-1159-distro-default-smithi
  • nuke_on_error: True
  • os_type: ubuntu
  • os_version: 22.04
  • overrides:
    • admin_socket:
      • branch: wip-yuri10-testing-2024-03-24-1159
    • ceph:
      • conf:
        • global:
          • mon election default strategy: 3
        • 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\)
        • MON_DOWN
        • mons down
        • mon down
        • out of quorum
      • sha1: bf9c5618cc018927fa77780d25b6deb1f5dc254d
    • ceph-deploy:
      • conf:
        • client:
          • log file: /var/log/ceph/ceph-$name.$pid.log
        • mon:
      • install:
        • ceph:
          • flavor: default
          • sha1: bf9c5618cc018927fa77780d25b6deb1f5dc254d
      • workunit:
        • branch: wip-yuri10-testing-2024-03-24-1159
        • sha1: bf9c5618cc018927fa77780d25b6deb1f5dc254d
    • owner: scheduled_yuriw@teuthology
    • pid:
    • roles:
      • ['host.a', 'mon.a', 'mgr.a', 'osd.0']
      • ['host.b', 'mon.b', 'mgr.b', 'osd.1']
      • ['host.c', 'mon.c', 'osd.2']
    • sentry_event: https://sentry.ceph.com/organizations/ceph/?query=9125598eaaca4c799c080fd030d3088b
    • status: fail
    • success: False
    • branch: wip-yuri10-testing-2024-03-24-1159
    • seed: 8148
    • sha1: bf9c5618cc018927fa77780d25b6deb1f5dc254d
    • subset: 111/120000
    • suite: rados
    • suite_branch: wip-yuri10-testing-2024-03-24-1159
    • suite_path: /home/teuthworker/src/github.com_ceph_ceph-c_bf9c5618cc018927fa77780d25b6deb1f5dc254d/qa
    • suite_relpath: qa
    • suite_repo: https://github.com/ceph/ceph-ci.git
    • suite_sha1: bf9c5618cc018927fa77780d25b6deb1f5dc254d
    • targets:
      • smithi100.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCHpykVFueQ/eoIBMFHNtPnmJkckHqK1jHy8UWuIS4dohsrlHsXEiah3D+n7qXtPlIJ8urzbHLNWnE8VCC2j+lc=
      • smithi170.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBF1U+pOVerzdiP3eoKUiSUIucGSA7GZSw5Xve6HoMSZHkaYzNijOXH+iXvrRnVjVsDjya/PX5hfFSkMz07vEMyw=
      • smithi191.front.sepia.ceph.com: ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBI8vNKN/cEUcj5wrar62P3roRTkM2/k+1nuKZT1gZY5ysPA5Kdvi/htyeACbXqYbz5zSFWHs9jJOliR8NSnUR4w=
    • 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: 1
        • sha1: distro
      • internal.base:
      • internal.archive_upload:
      • internal.archive:
      • internal.coredump:
      • internal.sudo:
      • internal.syslog:
      • internal.timer:
      • pcp:
      • selinux:
      • ansible.cephlab:
      • clock:
      • install:
      • cephadm:
      • cephadm.shell:
        • host.a:
          • set -e set -x ceph orch apply node-exporter ceph orch apply grafana ceph orch apply alertmanager ceph orch apply prometheus sleep 240 ceph orch ls ceph orch ps ceph orch host ls MON_DAEMON=$(ceph orch ps --daemon-type mon -f json | jq -r 'last | .daemon_name') GRAFANA_HOST=$(ceph orch ps --daemon-type grafana -f json | jq -e '.[]' | jq -r '.hostname') PROM_HOST=$(ceph orch ps --daemon-type prometheus -f json | jq -e '.[]' | jq -r '.hostname') ALERTM_HOST=$(ceph orch ps --daemon-type alertmanager -f json | jq -e '.[]' | jq -r '.hostname') GRAFANA_IP=$(ceph orch host ls -f json | jq -r --arg GRAFANA_HOST "$GRAFANA_HOST" '.[] | select(.hostname==$GRAFANA_HOST) | .addr') PROM_IP=$(ceph orch host ls -f json | jq -r --arg PROM_HOST "$PROM_HOST" '.[] | select(.hostname==$PROM_HOST) | .addr') ALERTM_IP=$(ceph orch host ls -f json | jq -r --arg ALERTM_HOST "$ALERTM_HOST" '.[] | select(.hostname==$ALERTM_HOST) | .addr') # check each host node-exporter metrics endpoint is responsive ALL_HOST_IPS=$(ceph orch host ls -f json | jq -r '.[] | .addr') for ip in $ALL_HOST_IPS; do curl -s http://${ip}:9100/metric done # check grafana endpoints are responsive and database health is okay curl -k -s https://${GRAFANA_IP}:3000/api/health curl -k -s https://${GRAFANA_IP}:3000/api/health | jq -e '.database == "ok"' # stop mon daemon in order to trigger an alert ceph orch daemon stop $MON_DAEMON sleep 120 # check prometheus endpoints are responsive and mon down alert is firing curl -s http://${PROM_IP}:9095/api/v1/status/config curl -s http://${PROM_IP}:9095/api/v1/status/config | jq -e '.status == "success"' curl -s http://${PROM_IP}:9095/api/v1/alerts curl -s http://${PROM_IP}:9095/api/v1/alerts | jq -e '.data | .alerts | .[] | select(.labels | .alertname == "CephMonDown") | .state == "firing"' # check alertmanager endpoints are responsive and mon down alert is active curl -s http://${ALERTM_IP}:9093/api/v1/status curl -s http://${ALERTM_IP}:9093/api/v1/alerts curl -s http://${ALERTM_IP}:9093/api/v1/alerts | jq -e '.data | .[] | select(.labels | .alertname == "CephMonDown") | .status | .state == "active"'
    • teuthology_branch: main
    • verbose: True
    • pcp_grafana_url:
    • priority: 99
    • user: yuriw
    • queue:
    • posted: 2024-04-10 14:25:30
    • started: 2024-04-10 20:10:38
    • updated: 2024-04-10 20:23:03
    • status_class: danger
    • runtime: 0:12:25