On Wed, Oct 30, 2013 at 8:25 AM, <
croel...@gmail.com> wrote:
> Did some more digging. The log shows that network.service gets restarted for
> every NIC in the system after the nic is renamed by udev. By the time it
> gets to NIC 6 it complains that start requests were too quickly.
Yes: when I implemented dynamic interface configuration, I had it
trigger a restart of the interface by kicking the `network.service`
thing. I tested multiple interfaces, but obviously not enough to hit
that failure mode. :(
Directly calling ifup from the udev script ended up causing more
trouble than it was worth -- the dhclient instances ended up killed by
systemd if they took too long, which they did when the interface was
present, cabled, but no DHCP server was responding.
My fallback plan was to add NetworkManager to the microkernel, since
that is the upstream default model, and ask it to "manage" the
interfaces rather than using the legacy network.service.
That should be a little more robust, but more "developer effort
intensive" to get working. I updated
https://github.com/puppetlabs/razor-el-mk/issues/4 to reflect that.
Thanks for testing this, and I am sorry it didn't work out in the real
world. I noted the NIC count in that ticket, and will try to
reproduce the failure on my testbench before I update the MK, so that
I know it resolves the problem. :)
--
Daniel Pittman
⎋ Puppet Labs Developer –
http://puppetlabs.com
♲ Made with 100 percent post-consumer electrons