-
Notifications
You must be signed in to change notification settings - Fork 63
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
Error after enabling VLAN interface #38
Comments
niedbalski
added a commit
to niedbalski/ansible-role-interfaces
that referenced
this issue
Apr 11, 2018
This commit implements an additional ip addr flush on the changed interfaces before running a ifup, this prevents michaelrigart#38 to happen.
Multiple gw sometimes is a problem I would try to take one off and see if it brings it up.
… Il giorno 10 apr 2018, alle ore 19:04, Jorge Niedbalski ***@***.***> ha scritto:
After running a playbook with the following configuration twice:
device: eno2
bootproto: static
mtu: 1500
device: eno2.21
bootproto: static
address: 10.21.x.x
netmask: 255.255.0.0
gateway: 10.21.x.x
device: eno2.22
bootproto: static
address: 10.22.x.x
netmask: 255.255.0.0
gateway: 10.22.x.x
I get the following error message:
"msg": "non-zero return code",
"rc": 1,
"start": "2018-04-11 02:32:45.800879",
"stderr": "ifdown: interface eno2.22 not configured\nifdown: interface eno2.21 not configured\nRTNETLINK answers: File exists\nifup: failed to bring up eno2.21\nRTNETLINK answers: File exists\nifup: failed to bring up eno2.22",
"stderr_lines": [
"ifdown: interface eno2.22 not configured",
"ifdown: interface eno2.21 not configured",
"RTNETLINK answers: File exists",
"ifup: failed to bring up eno2.21",
"RTNETLINK answers: File exists",
"ifup: failed to bring up eno2.22"
],
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After running a playbook with the following configuration twice:
device: eno2
bootproto: static
mtu: 1500
device: eno2.21
bootproto: static
address: 10.21.x.x
netmask: 255.255.0.0
gateway: 10.21.x.x
device: eno2.22
bootproto: static
address: 10.22.x.x
netmask: 255.255.0.0
gateway: 10.22.x.x
I get the following error message:
The text was updated successfully, but these errors were encountered: