Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Tried to add ether multiple times #73

Open
tonyle72 opened this issue May 31, 2023 · 0 comments
Open

RuntimeError: Tried to add ether multiple times #73

tonyle72 opened this issue May 31, 2023 · 0 comments

Comments

@tonyle72
Copy link
Contributor

I'm getting the following error when polling interfaces via ifcfg:

Traceback (most recent call last):
  . . .
  File "/usr/local/lib/python3.8/dist-packages/ifcfg/__init__.py", line 70, in interfaces
    return Parser(ifconfig=ifconfig).interfaces
  File "/usr/local/lib/python3.8/dist-packages/ifcfg/parser.py", line 34, in __init__
    self.parse(self.ifconfig_data)
  File "/usr/local/lib/python3.8/dist-packages/ifcfg/parser.py", line 91, in parse
    raise RuntimeError(
RuntimeError: Tried to add ether=02:42:8d:9b:07:ec multiple times to docker0, it was already: 02:42:39:b2:29:bb

This may be related to issues #34 and #59 as it appears to be complaining about docker0's gateway:

$ ifconfig
docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        . . .
        ether 02:42:39:b2:29:bb  txqueuelen 0  (Ethernet)
        . . .

docker_gwbridge: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        . . .
        ether 02:42:8d:9b:07:ec  txqueuelen 0  (Ethernet)
        . . .

How to proceed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant