Bug 1834775 - [abrt] koji: adapters.py:415:send:ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))
Summary: [abrt] koji: adapters.py:415:send:ConnectionError: ('Connection aborted.', ga...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: koji
Version: epel7
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:e35b76a249d494318be06f2798f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-12 11:56 UTC by Frank Büttner
Modified: 2024-07-09 15:40 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 15:40:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (2.17 KB, text/plain)
2020-05-12 11:56 UTC, Frank Büttner
no flags Details
File: dso_list (69 bytes, text/plain)
2020-05-12 11:56 UTC, Frank Büttner
no flags Details
File: environ (4.31 KB, text/plain)
2020-05-12 11:56 UTC, Frank Büttner
no flags Details
File: machineid (135 bytes, text/plain)
2020-05-12 11:56 UTC, Frank Büttner
no flags Details

Description Frank Büttner 2020-05-12 11:56:25 UTC
Description of problem:
koji cli don't catch the error, when for the xml server the dns entry is mising.

Version-Release number of selected component:
koji-1.20.1-1.el7

Additional info:
reporter:       libreport-2.1.11.1
cmdline:        /usr/bin/python2 /usr/bin/koji -d --profile=mdc list-targets
executable:     /usr/bin/koji
kernel:         3.10.0-1062.18.1.el7.x86_64
pkg_fingerprint: 6A2F AEA2 352C 64E5
pkg_vendor:     Fedora Project
reproducible:   Not sure how to reproduce the problem
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
adapters.py:415:send:ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Traceback (most recent call last):
  File "/usr/bin/koji", line 333, in <module>
    rv = locals()[command].__call__(options, session, args)
  File "/usr/lib/python2.7/site-packages/koji_cli/commands.py", line 3841, in anon_handle_list_targets
    activate_session(session, goptions)
  File "/usr/lib/python2.7/site-packages/koji_cli/lib.py", line 581, in activate_session
    ensure_connection(session)
  File "/usr/lib/python2.7/site-packages/koji_cli/lib.py", line 110, in ensure_connection
    ret = session.getAPIVersion()
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2187, in __call__
    return self.__func(self.__name, args, opts)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2683, in _callMethod
    return self._sendCall(handler, headers, request)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2601, in _sendCall
    return self._sendOneCall(handler, headers, request)
  File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2644, in _sendOneCall
    r = self.rsession.post(handler, **callopts)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 529, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 486, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 598, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 415, in send
    raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', gaierror(-2, 'Name or service not known'))

Local variables in innermost frame:
chunked: False
stream: True
err: ProtocolError('Connection aborted.', gaierror(-2, 'Name or service not known'))
url: '/'
verify: True
self: <requests.adapters.HTTPAdapter object at 0x7f12410bc310>
request: <PreparedRequest [POST]>
cert: None
timeout: <urllib3.util.timeout.Timeout object at 0x7f12410bc790>
proxies: {}
conn: <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f12410bc7d0>

Comment 1 Frank Büttner 2020-05-12 11:56:30 UTC
Created attachment 1687662 [details]
File: backtrace

Comment 2 Frank Büttner 2020-05-12 11:56:32 UTC
Created attachment 1687663 [details]
File: dso_list

Comment 3 Frank Büttner 2020-05-12 11:56:34 UTC
Created attachment 1687664 [details]
File: environ

Comment 4 Frank Büttner 2020-05-12 11:56:37 UTC
Created attachment 1687665 [details]
File: machineid

Comment 5 Kevin Fenzi 2020-08-02 19:39:14 UTC
This looks like it cannot connect to the hub. Whats in your 'mdc' profile? Does the fedora fedora profile work ok?

I'd say this is a network issue between you and the mdc hub or some issue with the mdc hub...

Comment 6 Troy Dawson 2024-07-09 15:40:13 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.  EPEL 7 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.


Note You need to log in before you can comment on or make changes to this bug.