-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
Failing to create dummy0 device on RHEL6 #115
Comments
interesting. |
Same happens to me on CentOS 7. This happens to some interface for no particular reason while it works for other interfaces with the same configuration. It has happened both on "physical" interfaces (eth2) and on bridge interfaces. |
spooky 👻 :( |
Here is a stack trace for the problem: network_config { 'eth1':
ensure => present,
family => 'inet',
ipaddress => 'xxx.xxx.xxx.xxx',
method => 'static',
netmask => '255.255.255.0',
onboot => true,
reconfigure => true,
}
I'll look into the issue myself now, but I'm posting this here too in case it helps anyone else |
Found a workaround. It basically crashes because it tries to do stuff with network_config { 'eth1':
ensure => present,
family => 'inet',
ipaddress => '127.0.0.2',
method => 'static',
netmask => '255.255.255.0',
onboot => true,
reconfigure => true,
options => {},
} Hopefully I'll submit a pr to fix that today. The funny thing is, if you apply the worked-around version and then the one without the hash, it won't break. This probably means that this bug only exists for interfaces that have no configuration. |
@robbat2 ping |
Closing due to fix. If it's not fixed, please comment. |
I don't have an environment to test this on anymore (it was in a previous job) |
@robbat2 no problem. Thanks for the report! |
The text was updated successfully, but these errors were encountered: