Project

General

Profile

Actions

Bug #60245

open

crash: File "mgr/cephadm/utils.py", in resolve_ip: type=socket.SOCK_STREAM)

Added by Telemetry Bot 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

4dd9ed534c9450f5ecdb912328eafd899649a6014402981a3d7e40703be2799d


Description

http://telemetry.front.sepia.ceph.com:4000/d/jByk5HaMz/crash-spec-x-ray?orgId=1&var-sig_v2=21d7572db1f0bf533d2d67a9e26394cec68a295fa9e15d945b71e5ea05d30619

Sanitized backtrace:

    File "mgr/cephadm/utils.py", in resolve_ip: type=socket.SOCK_STREAM)
    File "/lib64/python3.6/socket.py", in getaddrinfo: for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
    socket.gaierror: [Errno -2] Name or service not
    During handling of the above exception, another exception
    Traceback (most recent call
    File "mgr/cephadm/module.py", in __init__: self.inventory = Inventory(self)
    File "mgr/cephadm/inventory.py", in __init__: ip = resolve_ip(cast(str, v.get('addr')))
    File "mgr/cephadm/utils.py", in resolve_ip: raise OrchestratorError(f"Cannot resolve ip for host {hostname}: {e}")

Crash dump sample:
{
    "archived": "2023-01-02 23:11:16.933159",
    "backtrace": [
        "  File \"/usr/share/ceph/mgr/cephadm/utils.py\", line 115, in resolve_ip\n    type=socket.SOCK_STREAM)",
        "  File \"/lib64/python3.6/socket.py\", line 745, in getaddrinfo\n    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):",
        "socket.gaierror: [Errno -2] Name or service not known",
        "\nDuring handling of the above exception, another exception occurred:\n",
        "Traceback (most recent call last):",
        "  File \"/usr/share/ceph/mgr/cephadm/module.py\", line 493, in __init__\n    self.inventory = Inventory(self)",
        "  File \"/usr/share/ceph/mgr/cephadm/inventory.py\", line 77, in __init__\n    ip = resolve_ip(cast(str, v.get('addr')))",
        "  File \"/usr/share/ceph/mgr/cephadm/utils.py\", line 122, in resolve_ip\n    raise OrchestratorError(f\"Cannot resolve ip for host {hostname}: {e}\")",
        "<redacted>" 
    ],
    "ceph_version": "17.2.5",
    "crash_id": "2023-01-02T16:44:54.313751Z_61f36fbb-0ffb-4586-9915-2adcbcfd5449",
    "entity_name": "mgr.261ed4b7d85ce0cbcef18cd58c8e84e3ced98805",
    "mgr_module": "cephadm",
    "mgr_module_caller": "ActivePyModule::load",
    "mgr_python_exception": "OrchestratorError",
    "os_id": "centos",
    "os_name": "CentOS Stream",
    "os_version": "8",
    "os_version_id": "8",
    "process_name": "ceph-mgr",
    "stack_sig": "4c163829351bb6f0dd9be276f8feb806f0e2ce716f0da4fb6f9b02df0461d397",
    "timestamp": "2023-01-02T16:44:54.313751Z",
    "utsname_machine": "x86_64",
    "utsname_release": "5.4.0-135-generic",
    "utsname_sysname": "Linux",
    "utsname_version": "#152-Ubuntu SMP Wed Nov 23 20:19:22 UTC 2022" 
}

Actions #1

Updated by Telemetry Bot 12 months ago

  • Crash signature (v1) updated (diff)
  • Crash signature (v2) updated (diff)
  • Affected Versions v17.2.5 added
Actions

Also available in: Atom PDF