Giter Club home page Giter Club logo

docker-gns3-server's People

Contributors

amitie10g avatar dependabot-preview[bot] avatar dependabot[bot] avatar github-actions[bot] avatar jsimonetti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

docker-gns3-server's Issues

virbr0 interface won't get address from BRIDGE_ADDRESS variable

as title, when I sh into the container i can't see the specified variable address assigned to the virtual bridge

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: virbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN qlen 1000
    link/ether 16:da:f3:d4:be:ea brd ff:ff:ff:ff:ff:ff
3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN
    link/ether 02:42:4e:0b:21:d3 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
1997: eth0@if10: <BROADCAST,MULTICAST,UP,LOWER_UP,M-DOWN> mtu 1500 qdisc noqueue state UP
    link/ether 02:42:0a:4c:59:5b brd ff:ff:ff:ff:ff:ff
    inet 10.10.10.1/24 brd 10.76.89.127 scope global eth0
       valid_lft forever preferred_lft forever

docker-compose configuration

  gns3:
    privileged: true
    container_name: gns3
    hostname: gns3
    image: jsimonetti/gns3-server:latest
    network_mode: host
    ports:
      - 8080:80
    environment:
      - BRIDGE_ADDRESS="172.23.89.1/24"
    volumes:
      - ./gns3:/data
    restart: unless-stopped

Link with GNS3 VM

In the preferences, impossible to make communicate gns3 with vmware to load IOS to GNS3 VM. Do you have a procedure?

2.2.19 update

there's a way to update the image or you need to push it?

Error starting appliances

/usr/bin/ubridge: Operation not permitted

i checked the permission, even set it rwx for all groups to no avail

Python 3.8 errors

Hello,
I'm not sure if it's something wrong with my system, but I get python errors:

time="2020-10-14T13:09:48.757869917Z" level=info msg="Starting up"
time="2020-10-14T13:09:48.759375719Z" level=info msg="libcontainerd: started new containerd process" pid=25
time="2020-10-14T13:09:48.759449543Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-10-14T13:09:48.759463302Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-10-14T13:09:48.759575119Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-10-14T13:09:48.759602637Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
time="2020-10-14T13:09:48.790857103Z" level=info msg="starting containerd" revision=c623d1b36f09f8ef6536a057bd658b3aa8632828 version=v1.4.1
time="2020-10-14T13:09:48.821388490Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
time="2020-10-14T13:09:48.821660107Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.822405814Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.aufs"..." error="aufs is not supported (modprobe aufs failed: exit status 1 "modprobe: can't change directory to '/lib/modules': No such file or directory\n"): skip plugin" type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.822442831Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.822825008Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.btrfs"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.822856926Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.devmapper"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.822901276Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
time="2020-10-14T13:09:48.822926629Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.823067012Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.823307619Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.823540264Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2020-10-14T13:09:48.823566525Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
time="2020-10-14T13:09:48.823633993Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
time="2020-10-14T13:09:48.823655365Z" level=info msg="metadata content store policy set" policy=shared
time="2020-10-14T13:09:48.936881878Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
time="2020-10-14T13:09:48.936927904Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
time="2020-10-14T13:09:48.937004312Z" level=info msg="loading plugin "io.containerd.service.v1.introspection-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937052154Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937075202Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937097411Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937122974Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937145603Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937168301Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937194911Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.937216074Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
time="2020-10-14T13:09:48.937420782Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
time="2020-10-14T13:09:48.937587914Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
time="2020-10-14T13:09:48.938075205Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
time="2020-10-14T13:09:48.938110405Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
time="2020-10-14T13:09:48.938168654Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938191911Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938222083Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938243246Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938264967Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938293602Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938318955Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938353527Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938375248Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
time="2020-10-14T13:09:48.938629683Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938664395Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938690167Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938711818Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
time="2020-10-14T13:09:48.938964438Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.sock
time="2020-10-14T13:09:48.939049436Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
time="2020-10-14T13:09:48.939233820Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock
time="2020-10-14T13:09:48.939262735Z" level=info msg="containerd successfully booted in 0.150197s"
time="2020-10-14T13:09:48.963349975Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-10-14T13:09:48.963399075Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-10-14T13:09:48.963433297Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-10-14T13:09:48.963465076Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
time="2020-10-14T13:09:48.964797249Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-10-14T13:09:48.964835034Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-10-14T13:09:48.964885041Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-10-14T13:09:48.964926318Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 567, in _build_master
ws.require(requires)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 775, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (multidict 5.0.0 (/usr/lib/python3.8/site-packages), Requirement.parse('multidict<5.0,>=4.5'), {'aiohttp'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/gns3server", line 33, in
sys.exit(load_entry_point('gns3-server==2.2.15', 'console_scripts', 'gns3server')())
File "/usr/bin/gns3server", line 25, in importlib_load_entry_point
return next(matches).load()
File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
module = import_module(match.group('module'))
File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/lib/python3.8/site-packages/gns3server/main.py", line 29, in
import gns3server.utils.get_resource
File "/usr/lib/python3.8/site-packages/gns3server/utils/get_resource.py", line 19, in
import pkg_resources
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3239, in
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 569, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 582, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'multidict<5.0,>=4.5' distribution was not found and is required by aiohttp

busybox missing in gns3 server version 2.2.46

I know it's not a problem with this repo.

However, I opened an issue because it can be resolved simply by updating the dockerfile until the next version is released.

FROM alpine:3.19.1

# Install the magic wrapper.
ADD ./start.sh /start.sh
ADD ./config.ini /config.ini
ADD ./requirements.txt /requirements.txt
COPY dependencies.json /tmp/dependencies.json

RUN mkdir /data && \
    apk add --no-cache --virtual=build-dependencies jq gcc python3-dev musl-dev linux-headers \
    && jq -r 'to_entries | .[] | .key + "=" + .value' /tmp/dependencies.json | xargs apk add --no-cache \
    && pip install -r /requirements.txt --break-system-packages \
    && apk del --purge build-dependencies

CMD [ "/start.sh" ]

# this new line!!
RUN ln -s /bin/busybox /usr/lib/python3.11/site-packages/gns3server/compute/docker/resources/bin
WORKDIR /data

VOLUME ["/data"]

This temporarily resolves the issue of Docker not running.

KVM missing?

I'm trying to start an appliance on the gn3-server but it returns me this error

KVM acceleration cannot be used (/dev/kvm doesn't exist). It is possible to turn off KVM support in the gns3_server.conf by adding enable_kvm = false to the [Qemu] section.

Unable to load container

Hello,

I am unable to load the gn3 container by using docker on a remote machine. When I try to launch the server web page, I get nothing "site can't be reached" error on the browser. eg http://192.168.3.50:3030 - nothing opens up.

Expected response: should be able to open up GNS3 on a remote site using a custom port (3080 or any other)

This is my docker compose file:

services:
    gns3-server:
      image: jsimonetti/gns3-server:latest
      container_name: gns3
      privileged: false
      environment:
      - BRIDGE_ADDRESS=172.21.1.1/24
      volumes:
       - ./data:/data
      network_mode: host

Log file attached
gns3logs.txt
From the logs, it looks like this is the culprit:

brctl: bridge virbr0: Operation not permitted
ip: ioctl 0x8913 failed: No such device
ip: can't find device 'virbr0'
getsockopt failed strangely: Operation not permitted

OS VM details:
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian


Docker version 20.10.17, build 100c701
Docker Compose version v2.6.0

proxy > traefik as entry point

Hi, do you know how to run your container through a proxy, in my case traefik. I get Configuration error - 'network_mode' and 'networks' cannot be combined"

Here my docker-compose.yml

networks:
  traefik-00:
    name: traefik-00
    external: true

services:
  gns3-server:
    container_name: gns3-server
    hostname: gns3.domain.tld
    image: jsimonetti/gns3-server:latest 
    privileged: true
    restart: always
    environment:
      - BRIDGE_ADDRESS="172.21.1.1/24"
    labels:
      - traefik.enable=true
      - traefik.backend=gns3.domain.tld
      - traefik.frontend.rule=Host:gns3.domain.tld
      - traefik.docker.network=traefik-00
    network_mode: "host"
    networks:
      - traefik-00
    expose:
      - "3080"
    volumes:
      - ./data:/data

Thanks in advance,

Pass in config file on container creation

Hello, I'm relatively new to Docker so forgive me if this is a dumb question. I'd like to be able to configure username and password when I create the container. I've got an automated setup that will be creating these containers so I'd like to do it from the Docker API rather than having to manually enter the container and edit the config. Is this possible?

Thank you so much for this project, btw! It's been a huge help.

Capture traffic with Wireshark

Although is not a problem I would like to post a possible future improvement.
Wireshark is not installed with the GNS3 container.
I would like to ask you to include Wireshark if possible.
Also, I have installed the gns3-gui with python in the host to use it instead the webUI.
However, projects are not saved in /GNS3/projects, they are saved inside the container.
May I ask you to include some information in the README to configure the folder to save projects in host.
I want to thank you to make public your docker image of GNS3 server.

2.2.30 fails to launch

Recently pulled the latest image. Looks like it fails to startup.

Just an FYI,
Issue appears to be in gns3server itself, so I'll look closely and open a bug on their github.

[kazaii ~]$ gns3_server 
brctl: bridge virbr0: File exists
ip: RTNETLINK answers: File exists
time="2022-02-26T16:08:40.943158326Z" level=info msg="Starting up"
time="2022-02-26T16:08:40.943803724Z" level=info msg="libcontainerd: started new containerd process" pid=42
time="2022-02-26T16:08:40.943821267Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-02-26T16:08:40.943826687Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-02-26T16:08:40.943839892Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
time="2022-02-26T16:08:40.943849530Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-02-26T16:08:40Z" level=warning msg="deprecated version : `1`, please switch to version `2`"
time="2022-02-26T16:08:40.954411703Z" level=info msg="starting containerd" revision=1407cab509ff0d96baa4f0eb6ff9980270e6e620 version=v1.5.9
time="2022-02-26T16:08:40.971782029Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
time="2022-02-26T16:08:40.971828547Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972240267Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit status 1 \"modprobe: can't change directory to '/lib/modules': No such file or directory\\n\"): skip plugin" type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972257530Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972325697Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972334213Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972348801Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
time="2022-02-26T16:08:40.972355533Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972372886Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972438929Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972500404Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2022-02-26T16:08:40.972509822Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
time="2022-02-26T16:08:40.972521263Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
time="2022-02-26T16:08:40.972530040Z" level=info msg="metadata content store policy set" policy=shared
time="2022-02-26T16:08:40.972581506Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
time="2022-02-26T16:08:40.972593158Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1
time="2022-02-26T16:08:40.972621100Z" level=info msg="loading plugin \"io.containerd.service.v1.introspection-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972645917Z" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972659993Z" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972671465Z" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972683347Z" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972697283Z" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972711469Z" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972722390Z" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.972733441Z" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
time="2022-02-26T16:08:40.972819271Z" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
time="2022-02-26T16:08:40.972867281Z" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1
time="2022-02-26T16:08:40.973020528Z" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1
time="2022-02-26T16:08:40.973033081Z" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1
time="2022-02-26T16:08:40.973066223Z" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973076332Z" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973087874Z" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973096240Z" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973105286Z" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973121096Z" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973131876Z" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973143308Z" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973153767Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
time="2022-02-26T16:08:40.973262090Z" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973276557Z" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973285023Z" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973294791Z" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1
time="2022-02-26T16:08:40.973418583Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.sock
time="2022-02-26T16:08:40.973457746Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
time="2022-02-26T16:08:40.973490948Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock
time="2022-02-26T16:08:40.973499124Z" level=info msg="containerd successfully booted in 0.019552s"
time="2022-02-26T16:08:40.976893848Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-02-26T16:08:40.976908355Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-02-26T16:08:40.976920648Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
time="2022-02-26T16:08:40.976927932Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-02-26T16:08:40.977327179Z" level=info msg="parsed scheme: \"unix\"" module=grpc
time="2022-02-26T16:08:40.977337589Z" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
time="2022-02-26T16:08:40.977347738Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock  <nil> 0 <nil>}] <nil> <nil>}" module=grpc
time="2022-02-26T16:08:40.977355703Z" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
time="2022-02-26T16:08:40.980916929Z" level=info msg="Loading containers: start."
time="2022-02-26T16:08:41.017118367Z" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set a preferred IP address"
time="2022-02-26T16:08:41.032416564Z" level=info msg="Loading containers: done."
time="2022-02-26T16:08:41.036287700Z" level=info msg="Docker daemon" commit=847da184ad5048b27f5bdf9d53d070f731b43180 graphdriver(s)=vfs version=20.10.11
time="2022-02-26T16:08:41.036345639Z" level=info msg="Daemon has completed initialization"
time="2022-02-26T16:08:41.045228397Z" level=info msg="API listen on /var/run/docker.sock"
Traceback (most recent call last):
  File "/usr/bin/gns3server", line 33, in <module>
    sys.exit(load_entry_point('gns3-server==2.2.30', 'console_scripts', 'gns3server')())
  File "/usr/lib/python3.9/site-packages/gns3server/main.py", line 82, in main
    from gns3server.run import run
  File "/usr/lib/python3.9/site-packages/gns3server/run.py", line 32, in <module>
    from gns3server.web.web_server import WebServer
  File "/usr/lib/python3.9/site-packages/gns3server/web/web_server.py", line 37, in <module>
    from .route import Route
  File "/usr/lib/python3.9/site-packages/gns3server/web/route.py", line 28, in <module>
    from ..controller.controller_error import ControllerError
  File "/usr/lib/python3.9/site-packages/gns3server/controller/__init__.py", line 27, in <module>
    from .project import Project
  File "/usr/lib/python3.9/site-packages/gns3server/controller/project.py", line 35, in <module>
    from .snapshot import Snapshot
  File "/usr/lib/python3.9/site-packages/gns3server/controller/snapshot.py", line 32, in <module>
    from .import_project import import_project
  File "/usr/lib/python3.9/site-packages/gns3server/controller/import_project.py", line 29, in <module>
    from .topology import load_topology
  File "/usr/lib/python3.9/site-packages/gns3server/controller/topology.py", line 31, in <module>
    from ..schemas.topology import TOPOLOGY_SCHEMA
  File "/usr/lib/python3.9/site-packages/gns3server/schemas/topology.py", line 22, in <module>
    from gns3server.schemas.compute import COMPUTE_OBJECT_SCHEMA
ImportError: cannot import name 'COMPUTE_OBJECT_SCHEMA' from 'gns3server.schemas.compute' (/usr/lib/python3.9/site-packages/gns3server/schemas/compute/__init__.py)
[kazaii~]$ 

2.2.25 update

Hello,

2.2.25 client is out but sadly I can't use it since the gns3-server image on Docker Hub is 2.2.22

Help?
Thanks!

Update to 2.2.17

Connecting to a docker container running the latest image will return the following error;
Client version 2.2.17 is not the same as server (controller) version 2.2.15

Could you please update the server version to 2.2.17? Thank you!

IOU not working

Hello,

The docker-gns3-server is very nice, want to explore the possibility to add IOU support.

I use IOS on GNS3-VM or docker without issue, only IOU on docker doesn't work, some of the command to check the file or environment from both as below

on GNS3 VM
Use file command to check the IOU file type
/opt/gns3/images/IOU$ file i86bi-linux-l2-adventerprise-15.1b.bin
i86bi-linux-l2-adventerprise-15.1b.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped

use ldd command to check the required share library
/opt/gns3/images/IOU$ ldd i86bi-linux-l2-adventerprise-15.1b.bin
linux-gate.so.1 (0xf7fc0000)
libcrypto.so.4 => /lib/i386-linux-gnu/libcrypto.so.4 (0xf7cf6000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7cd3000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7bce000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7baf000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf79c0000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf79ba000)
/lib/ld-linux.so.2 (0xf7fc2000)

Use ls command to check the shared library for i386 arch, all the required library are there.
/lib/i386-linux-gnu$ ls
audit libgpg-error.so.0 libpthread.so.0
engines-1.1 libgpg-error.so.0.28.0 libreadline.so.8
gconv libhistory.so.8 libreadline.so.8.0
ld-2.31.so libhistory.so.8.0 libresolv-2.31.so
ld-linux.so.2 libidn2.so.0 libresolv.so.2
libanl-2.31.so libidn2.so.0.3.6 librt-2.31.so
libanl.so.1 libm-2.31.so librt.so.1
libassuan.so.0 libmemusage.so libSegFault.so
libassuan.so.0.8.3 libm.so.6 libsqlite3.so.0
libBrokenLocale-2.31.so libnsl-2.31.so libsqlite3.so.0.8.6
libBrokenLocale.so.1 libnsl.so.1 libssl.so.1.1
libbz2.so.1 libnss_compat-2.31.so libthread_db-1.0.so
libbz2.so.1.0 libnss_compat.so.2 libthread_db.so.1
libbz2.so.1.0.4 libnss_dns-2.31.so libtic.so.6
libc-2.31.so libnss_dns.so.2 libtic.so.6.2
libcrypto.so.1.1 libnss_files-2.31.so libtinfo.so.6
libcrypto.so.4 libnss_files.so.2 libtinfo.so.6.2
libcrypt.so.1 libnss_hesiod-2.31.so libunistring.so.2
libcrypt.so.1.1.0 libnss_hesiod.so.2 libunistring.so.2.1.0
libc.so.6 libnss_nis-2.31.so libutil-2.31.so
libdl-2.31.so libnss_nisplus-2.31.so libutil.so.1
libdl.so.2 libnss_nisplus.so.2 libz.so.1
libgcc_s.so.1 libnss_nis.so.2 libz.so.1.2.11
libgcrypt.so.20 libpcprofile.so
libgcrypt.so.20.2.5 libpthread-2.31.so

on docker-gns3-server
when start IOU, it said Invalid IOU license key detected in iourc file /data/.iourc
the command (same as gns3-VM) output as below:
file command
/home/azureuser/gns3/images/IOU# file i86bi-linux-l3-adventerprisek9-15.4.1T.bin
i86bi-linux-l3-adventerprisek9-15.4.1T.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped
comments: it’s the same as GNS3-VM

ldd command
/home/azureuser/gns3/images/IOU# ldd i86bi-linux-l3-adventerprisek9-15.4.1T.bin
not a dynamic executable
comments: it seems lack of necessary i386 arch shared library

use find command didn’t found the i386 shared libraries.

I’m thinking if the docker missing the i386 shared library which can be further update the docker or it’s intend not to supportIOU at all.

The intention is have the gns3 server running on azure cloud, so I can access the test environment anywhere and anytime.

not sure this should be a feature request or issue. thanks a lot.

DynamipsError

Hi,

I've been using this for many releases, but since the last two I got following error:

2023-01-11 09:39:45 ERROR route.py:221 Node error detected: DynamipsError
Traceback (most recent call last):
File "/usr/lib/python3.10/site-packages/gns3server/web/route.py", line 200, in control_schema
await func(request, response)
File "/usr/lib/python3.10/site-packages/gns3server/handlers/api/compute/dynamips_vm_handler.py", line 72, in create
vm = await dynamips_manager.create_node(request.json.pop("name"),
File "/usr/lib/python3.10/site-packages/gns3server/compute/base_manager.py", line 259, in create_node
await node.create()
File "/usr/lib/python3.10/site-packages/gns3server/compute/dynamips/nodes/c7200.py", line 91, in create
await Router.create(self)
File "/usr/lib/python3.10/site-packages/gns3server/compute/dynamips/nodes/router.py", line 213, in create
self._hypervisor = await self.manager.start_new_hypervisor(working_dir=self.project.module_working_directory(self.manager.module_name.lower()))
File "/usr/lib/python3.10/site-packages/gns3server/compute/dynamips/init.py", line 310, in start_new_hypervisor
await hypervisor.connect()
File "/usr/lib/python3.10/site-packages/gns3server/compute/dynamips/dynamips_hypervisor.py", line 90, in connect
raise DynamipsError("Couldn't connect to hypervisor on {}:{} :{}".format(host, self._port, last_exception))
gns3server.compute.dynamips.dynamips_error.DynamipsError: Couldn't connect to hypervisor on 127.0.0.1:33911 :[Errno 111] Connect call failed ('127.0.0.1', 33911)

Python error

Dear Jeroen Simonetti,

I used successfully a pervious image "sha256: 4fd4df58677926fa38c414aab9e2af8a9c5752b242493c8b305041876ebc3ac7", but after updating to the latest, it fails with some python error. This is the log:

time="2020-01-14T09:43:08.702152895Z" level=info msg="Starting up"
time="2020-01-14T09:43:08.708141805Z" level=info msg="libcontainerd: started new containerd process" pid=25
time="2020-01-14T09:43:08.708219330Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-01-14T09:43:08.708251946Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-01-14T09:43:08.708289870Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-01-14T09:43:08.708353497Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
time="2020-01-14T09:43:08.752598537Z" level=info msg="starting containerd" revision=ff48f57fc83a8c44cf4ad5d672424a98ba37ded6 version=v1.3.2
time="2020-01-14T09:43:08.786628369Z" level=info msg="loading plugin "io.containerd.content.v1.content"..." type=io.containerd.content.v1
time="2020-01-14T09:43:08.786716161Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.btrfs"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787057271Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.btrfs"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787098618Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.devmapper"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787141012Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
time="2020-01-14T09:43:08.787167342Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.aufs"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787883925Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.aufs"..." error="modprobe aufs failed: "modprobe: can't change directory to '/lib/modules': No such file or directory\n": exit status 1: skip plugin" type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787918916Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.native"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.787970040Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.overlayfs"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.788119782Z" level=info msg="loading plugin "io.containerd.snapshotter.v1.zfs"..." type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.788362205Z" level=info msg="skip loading plugin "io.containerd.snapshotter.v1.zfs"..." error="path /data/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
time="2020-01-14T09:43:08.788392377Z" level=info msg="loading plugin "io.containerd.metadata.v1.bolt"..." type=io.containerd.metadata.v1
time="2020-01-14T09:43:08.788432117Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
time="2020-01-14T09:43:08.788453140Z" level=info msg="metadata content store policy set" policy=shared
time="2020-01-14T09:43:08.788606863Z" level=info msg="loading plugin "io.containerd.differ.v1.walking"..." type=io.containerd.differ.v1
time="2020-01-14T09:43:08.788636545Z" level=info msg="loading plugin "io.containerd.gc.v1.scheduler"..." type=io.containerd.gc.v1
time="2020-01-14T09:43:08.788690953Z" level=info msg="loading plugin "io.containerd.service.v1.containers-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788717702Z" level=info msg="loading plugin "io.containerd.service.v1.content-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788753741Z" level=info msg="loading plugin "io.containerd.service.v1.diff-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788778884Z" level=info msg="loading plugin "io.containerd.service.v1.images-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788802211Z" level=info msg="loading plugin "io.containerd.service.v1.leases-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788839507Z" level=info msg="loading plugin "io.containerd.service.v1.namespaces-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788862276Z" level=info msg="loading plugin "io.containerd.service.v1.snapshots-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.788897616Z" level=info msg="loading plugin "io.containerd.runtime.v1.linux"..." type=io.containerd.runtime.v1
time="2020-01-14T09:43:08.789086889Z" level=info msg="loading plugin "io.containerd.runtime.v2.task"..." type=io.containerd.runtime.v2
time="2020-01-14T09:43:08.789248155Z" level=info msg="loading plugin "io.containerd.monitor.v1.cgroups"..." type=io.containerd.monitor.v1
time="2020-01-14T09:43:08.789761566Z" level=info msg="loading plugin "io.containerd.service.v1.tasks-service"..." type=io.containerd.service.v1
time="2020-01-14T09:43:08.789800887Z" level=info msg="loading plugin "io.containerd.internal.v1.restart"..." type=io.containerd.internal.v1
time="2020-01-14T09:43:08.789867586Z" level=info msg="loading plugin "io.containerd.grpc.v1.containers"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.789920038Z" level=info msg="loading plugin "io.containerd.grpc.v1.content"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.789943156Z" level=info msg="loading plugin "io.containerd.grpc.v1.diff"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.789965435Z" level=info msg="loading plugin "io.containerd.grpc.v1.events"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790002591Z" level=info msg="loading plugin "io.containerd.grpc.v1.healthcheck"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790026547Z" level=info msg="loading plugin "io.containerd.grpc.v1.images"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790052459Z" level=info msg="loading plugin "io.containerd.grpc.v1.leases"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790089755Z" level=info msg="loading plugin "io.containerd.grpc.v1.namespaces"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790112174Z" level=info msg="loading plugin "io.containerd.internal.v1.opt"..." type=io.containerd.internal.v1
time="2020-01-14T09:43:08.790351454Z" level=info msg="loading plugin "io.containerd.grpc.v1.snapshots"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790382743Z" level=info msg="loading plugin "io.containerd.grpc.v1.tasks"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790423531Z" level=info msg="loading plugin "io.containerd.grpc.v1.version"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790446439Z" level=info msg="loading plugin "io.containerd.grpc.v1.introspection"..." type=io.containerd.grpc.v1
time="2020-01-14T09:43:08.790798584Z" level=info msg=serving... address=/var/run/docker/containerd/containerd-debug.sock
time="2020-01-14T09:43:08.790904605Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock.ttrpc
time="2020-01-14T09:43:08.791015794Z" level=info msg=serving... address=/var/run/docker/containerd/containerd.sock
time="2020-01-14T09:43:08.791060982Z" level=info msg="containerd successfully booted in 0.039500s"
time="2020-01-14T09:43:08.804270889Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-01-14T09:43:08.804300781Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-01-14T09:43:08.804337239Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-01-14T09:43:08.804455831Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
time="2020-01-14T09:43:08.805305952Z" level=info msg="parsed scheme: "unix"" module=grpc
time="2020-01-14T09:43:08.805340873Z" level=info msg="scheme "unix" not registered, fallback to default scheme" module=grpc
time="2020-01-14T09:43:08.805397306Z" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///var/run/docker/containerd/containerd.sock 0 }] }" module=grpc
time="2020-01-14T09:43:08.805432157Z" level=info msg="ClientConn switching balancer to "pick_first"" module=grpc
time="2020-01-14T09:43:08.877631935Z" level=warning msg="Your kernel does not support cgroup rt period"
time="2020-01-14T09:43:08.877662596Z" level=warning msg="Your kernel does not support cgroup rt runtime"
time="2020-01-14T09:43:08.877674609Z" level=warning msg="Your kernel does not support cgroup blkio weight"
time="2020-01-14T09:43:08.877686621Z" level=warning msg="Your kernel does not support cgroup blkio weight_device"
time="2020-01-14T09:43:08.877952441Z" level=info msg="Loading containers: start."
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 583, in _build_master
ws.require(requires)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 791, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (yarl 1.4.2 (/usr/lib/python3.8/site-packages), Requirement.parse('yarl==1.3.0'), {'gns3-server'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/gns3server", line 6, in
from pkg_resources import load_entry_point
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3252, in
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3235, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 585, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 598, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'yarl==1.3.0' distribution was not found and is required by gns3-server

Do I make some mistake or miss something?
Thanks in advance!

Best Regards,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.