Bug 1406711 - GNS3 server reply method not found
Summary: GNS3 server reply method not found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gns3-server
Version: 25
Hardware: All
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Othman Madjoudj
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-21 09:56 UTC by Julien Duponchelle
Modified: 2017-04-18 19:59 UTC (History)
2 users (show)

Fixed In Version: gns3-server-1.5.3-2.fc26
Clone Of:
Environment:
Last Closed: 2017-04-18 19:59:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Julien Duponchelle 2016-12-21 09:56:18 UTC
Description of problem:
The GNS3 server is not working


Version-Release number of selected component (if applicable):
gns3 1.5.1

How reproducible: Always


Steps to Reproduce:
1. Start gns3server
2. Open a browser to http://localhost:3080

Actual results:
You get an error method not allowed


Expected results:
GNS3 informations pages

Additional info:
The problem is related to aiohttp. The version 1.5.1 of GNS3 doesn't support aiohttp 0.22. 

An 1.5.3 of GNS3 will be released in the coming weeks with support for aiohttp 1.2 (but it doesn't support aiohttp < 1.2)

Comment 1 Julien Duponchelle 2016-12-21 10:02:20 UTC
Temporary fix:
sudo pip3 install aiohttp==0.21.5

Comment 2 Othman Madjoudj 2016-12-21 18:59:33 UTC
I have 1.5.2 which is in testing repo, while response to GET http://127.0.0.1:3080/ is HTTP/1.1 405 Method Not Allowed, it seems to work correctly, here's an output from gns3,  python3-aiohttp is 1.0.5


2016-12-21 19:54:34 INFO http_client.py:421 Connection to http://127.0.0.1:3080
2016-12-21 19:54:34 DEBUG http_client.py:576 GET http://127.0.0.1:3080/v1/version {}
2016-12-21 19:54:34 DEBUG http_client.py:711 Decoding response from http://Hr1ASjH6L8QEQgQVm4YosITX6Q1SL1IZbqZy3KRVGMvIiuOkP9T3tOiD7AWbZsKL@127.0.0.1:3080/v1/version response 2
00
2016-12-21 19:54:34 DEBUG http_client.py:718 {
    "local": true,  
    "version": "1.5.2"
}
2016-12-21 19:54:34 DEBUG http_client.py:576 POST http://127.0.0.1:3080/v1/projects {'name': 'unsaved', 'temporary': True, 'project_id': None, 'path': None}
2016-12-21 19:54:34 DEBUG http_client.py:711 Decoding response from http://Hr1ASjH6L8QEQgQVm4YosITX6Q1SL1IZbqZy3KRVGMvIiuOkP9T3tOiD7AWbZsKL@127.0.0.1:3080/v1/projects response 
201
2016-12-21 19:54:34 DEBUG http_client.py:718 {
    "location": "/home/athmane/GNS3/projects",
    "name": "unsaved",
    "path": "/home/athmane/GNS3/projects/c710f714-6430-49b4-b691-3376166af1eb",
    "project_id": "c710f714-6430-49b4-b691-3376166af1eb",
    "temporary": true
}
2016-12-21 19:54:34 INFO project.py:299 Server project path is /home/athmane/GNS3/projects/c710f714-6430-49b4-b691-3376166af1eb
2016-12-21 19:54:34 DEBUG http_client.py:576 GET http://127.0.0.1:3080/v1/projects/c710f714-6430-49b4-b691-3376166af1eb/notifications {}
2016-12-21 19:54:34 DEBUG http_client.py:576 POST http://127.0.0.1:3080/v1/projects/c710f714-6430-49b4-b691-3376166af1eb/dynamips/vms {'startup_config_content': '!\nservice tim
estamps debug datetime msec\nservice timestamps log datetime msec\nno service password-encryption\n!\nhostname %h\n!\nip cef\nno ip domain-lookup\nno ip icmp rate-limit unreach
able\nip tcp synwait 5\nno cdp log mismatch duplex\n!\nline con 0\n exec-timeout 0 0\n logging synchronous\n privilege level 15\n no login\nline aux 0\n exec-timeout 0 0\n logg
ing synchronous\n privilege level 15\n no login\n!\n!\nend\n', 'idlesleep': 30, 'auto_delete_disks': True, 'system_id': 'FTX0945W0MY', 'iomem': 5, 'nvram': 256, 'slot0': 'GT961
00-FE', 'disk0': 0, 'mmap': True, 'sparsemem': True, 'platform': 'c3745', 'exec_area': 64, 'idlepc': '0x60a81124', 'idlemax': 500, 'ram': 256, 'image': 'c3745-advipservicesk9-m
z.124-25d.bin', 'name': 'R1', 'disk1': 0}
2016-12-21 19:54:34 DEBUG project.py:385 Event received: {'event': {'memory_usage_percent': 25.0, 'cpu_usage_percent': 9.3}, 'action': 'ping'}
2016-12-21 19:54:34 DEBUG http_client.py:711 Decoding response from http://Hr1ASjH6L8QEQgQVm4YosITX6Q1SL1IZbqZy3KRVGMvIiuOkP9T3tOiD7AWbZsKL@127.0.0.1:3080/v1/projects/c710f714-
6430-49b4-b691-3376166af1eb/dynamips/vms response 201
2016-12-21 19:54:34 DEBUG http_client.py:718 {
    "auto_delete_disks": true,
    "aux": null,
    "clock_divisor": 8,
    "console": 5000,
    "disk0": 0,
    "disk1": 0,
    "dynamips_id": 1,

Comment 3 Othman Madjoudj 2017-04-01 22:59:08 UTC
Update are taking longer than expected, you can try this repo for now:


sudo dnf copr enable athmane/gns3

sudo dnf update gns3-server gns3-gui


NB. Some Python libs required by GNS3 will be updated as well

Comment 4 Fedora Update System 2017-04-12 21:25:17 UTC
gns3-server-1.5.3-2.fc26 gns3-gui-1.5.3-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a69ac5c50d

Comment 5 Fedora Update System 2017-04-13 17:21:46 UTC
gns3-gui-1.5.3-1.fc26, gns3-server-1.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-a69ac5c50d

Comment 6 Fedora Update System 2017-04-18 19:59:05 UTC
gns3-gui-1.5.3-1.fc26, gns3-server-1.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.


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