Bug 1498547

Summary: [abrt] gns3-server: resolve(): __init__.py:857:resolve:pkg_resources.DistributionNotFound: The 'yarl<0.10,>=0.9.8' distribution was not found and is required by gns3-server
Product: [Fedora] Fedora Reporter: Leon <Duppie007>
Component: gns3-serverAssignee: Othman Madjoudj <athmanem>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: athmanem
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e093e9ec32a01e57e6a5d413d9731ad9d3605400
Whiteboard: abrt_hash:0c698e3f3c83e621712560fbe818f98f9197dfec;VARIANT_ID=workstation;
Fixed In Version: gns3-server-2.1.0-0.rc1.fc26 gns3-server-2.1.0-0.rc1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-01 00:04:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Leon 2017-10-04 15:29:00 UTC
Description of problem:
After launching GNS 2.0.3 it fails

Version-Release number of selected component:
gns3-server-2.0.3-7.fc27

Additional info:
reporter:       libreport-2.9.2
cmdline:        /usr/bin/python3 /usr/bin/gns3server --local --log=/home/leon/.config/GNS3/gns3_server.log --pid=/home/leon/.config/GNS3/gns3_server.pid
crash_function: resolve
exception_type: pkg_resources.ContextualVersionConflict
executable:     /usr/bin/gns3server
kernel:         4.13.4-300.fc27.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 resolve in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:862
#2 require in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:971
#3 _build_master in /usr/lib/python3.6/site-packages/pkg_resources/__init__.py:657

Comment 1 Leon 2017-10-04 15:29:07 UTC
Created attachment 1334354 [details]
File: backtrace

Comment 2 Leon 2017-10-04 15:29:09 UTC
Created attachment 1334355 [details]
File: cgroup

Comment 3 Leon 2017-10-04 15:29:11 UTC
Created attachment 1334356 [details]
File: cpuinfo

Comment 4 Leon 2017-10-04 15:29:13 UTC
Created attachment 1334357 [details]
File: environ

Comment 5 Leon 2017-10-04 15:29:15 UTC
Created attachment 1334358 [details]
File: mountinfo

Comment 6 Leon 2017-10-04 15:29:17 UTC
Created attachment 1334359 [details]
File: namespaces

Comment 7 Leon 2017-10-04 15:29:19 UTC
Created attachment 1334360 [details]
File: open_fds

Comment 8 Fedora Update System 2017-10-15 20:43:33 UTC
gns3-server-2.1.0-0.rc1.fc27 gns3-gui-2.1.0-0.rc1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-340afac5e7

Comment 9 Fedora Update System 2017-10-15 21:08:24 UTC
gns3-server-2.1.0-0.rc1.fc26 gns3-gui-2.1.0-0.rc1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac11eb08b7

Comment 10 Fedora Update System 2017-10-15 21:50:06 UTC
gns3-gui-2.1.0-0.rc1.fc26, gns3-server-2.1.0-0.rc1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac11eb08b7

Comment 11 Fedora Update System 2017-10-16 05:22:57 UTC
gns3-gui-2.1.0-0.rc1.fc27, gns3-server-2.1.0-0.rc1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-340afac5e7

Comment 12 Fedora Update System 2017-10-18 19:50:51 UTC
gns3-gui-2.1.0-0.rc1.fc26 gns3-server-2.1.0-0.rc1.fc26 python-aiohttp-cors-0.5.3-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac11eb08b7

Comment 13 Fedora Update System 2017-10-19 19:52:13 UTC
gns3-gui-2.1.0-0.rc1.fc26, gns3-server-2.1.0-0.rc1.fc26, python-aiohttp-cors-0.5.3-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac11eb08b7

Comment 14 Fedora Update System 2017-11-01 00:04:41 UTC
gns3-gui-2.1.0-0.rc1.fc26, gns3-server-2.1.0-0.rc1.fc26, python-aiohttp-cors-0.5.3-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2017-11-11 02:54:05 UTC
gns3-gui-2.1.0-0.rc1.fc27, gns3-server-2.1.0-0.rc1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Leon 2017-11-15 04:09:09 UTC
Hi Support,

GNS3 fails again with Fedora 27 stable release. After upgrade to Fedora 27.

Packages installed:
===================
Package python3-aiohttp-2.3.0-1.fc27.x86_64 is already installed, skipping.
Package python3-aiohttp-cors-0.5.3-2.fc27.noarch is already installed, skipping.
Package python3-aiohttp-negotiate-0.11-3.fc27.noarch is already installed, skipping.

Package gns3-gui-2.1.0-0.rc1.fc27.noarch is already installed, skipping.
Package gns3-net-converter-1.3.0-5.fc27.noarch is already installed, skipping.
Package gns3-server-2.1.0-0.rc1.fc27.noarch is already installed, skipping.
Package gns3-server-doc-2.1.0-0.rc1.fc27.noarch is already installed, skipping.

GNS3 is complaining again about aiohttp version.

Thanks

Br

Leon

Comment 17 Leon 2017-11-15 04:12:26 UTC
[leon@fedora GNS3] $ more gns3_gui.log 
2017-11-15 05:13:07 INFO logger.py:125 Log level: INFO
2017-11-15 05:13:07 INFO main.py:253 GNS3 GUI version 2.1.0rc1
2017-11-15 05:13:07 INFO main.py:254 Copyright (c) 2007-2017 GNS3 Technologies Inc.
2017-11-15 05:13:07 INFO main.py:256 Application started with /usr/bin/gns3
2017-11-15 05:13:13 ERROR local_server.py:486 Local server process has stopped
2017-11-15 05:13:13 ERROR local_server.py:488 Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 657, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 971, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 862, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (aiohttp 2.3.0 (/usr/lib64/python3.6/site-packages), Requirement.parse('aiohttp<2.3.0,>=2.2
.0'), {'gns3-server'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/gns3server", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3038, in <module>
    @_call_aside
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3022, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3051, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 659, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 672, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 857, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'aiohttp<2.3.0,>=2.2.0' distribution was not found and is required by gns3-server

2017-11-15 05:13:39 CRITICAL progress_dialog.py:172 WaitForConnectionWorker thread stopping with an error: Could not connect to 127.
0.0.1 on port 3080: [Errno 111] Connection refused
2017-11-15 05:13:39 CRITICAL __init__.py:173 Could not connect to 127.0.0.1 on port 3080: [Errno 111] Connection refused
[leon@fedora GNS3] $

Comment 18 Othman Madjoudj 2017-11-15 17:06:12 UTC
Unfortunately, it's a known compatibility issue with aiohttp >= 2.3, I reported it but the update was pushed [1]

To get GNS3 working in F27, please do:

sudo dnf install --enablerepo=updates-testing gns3-server gns3-gui
sudo dnf downgrade python3-aiohttp


[1] https://bodhi.fedoraproject.org/updates/FEDORA-2017-9f5ed90143

Comment 19 Leon 2017-11-15 20:11:25 UTC
Many Thanks. All is well again.

Hope it gets resolved and pushed in the mainstream of fedora 27

Br

Leon