Re: Race condition/bug in cloud-init/dhcp?
A, and there is at least on case, where wrong transaction ID is normal: [I/42 dhcp]: Waiting for IP... [I/42 dhcp]: Waiting for IP... [W/245 dhcp]: Got packet with wrong transaction ID (1658613712, 83593658) OSv sends first discover. DHCP server takes some time, to check if lease is actually free, then it sends offer. In between, OSv send out the second discover, before getting response to the first one, so when getting it, "wrong transaction ID" is reported. -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Race condition/bug in cloud-init/dhcp?
The idea of releasing IP during boot was really bad - any code doing TCP/IP during that time could be affected. I saw problem with nfs-mount.so, for example. Sorry for the inconvenience. Justin -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Race condition/bug in cloud-init/dhcp?
> On 7 Jan 2017, at 08:03, Rick Paynewrote: > I wondered if it was something to do with getting the hostname via > cloud-init, and re-doing the DHCP? I can’t say I’ve tried this before that > recent change went in - if I get a chance later I will do… So looks like I didn’t have Justin’s changes in this build - and now I have, I no longer see the issue. So this can probably be ignored - unless I start seeing it again :) Rick -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Race condition/bug in cloud-init/dhcp?
I’ve started playing with cloud-init, and I’m occasionally seeing things halt during startup. Not very frequently, but frequently enough that it looks like some race condition. The indicator is the DHCP message ‘Got packet with wrong transaction ID’. Anyone else seen this? BSD shrinker: unlocked, running [I/32 dhcp]: Waiting for IP... [I/32 dhcp]: Waiting for IP... [W/212 dhcp]: Got packet with wrong transaction ID (800221411, 1181823109) [I/212 dhcp]: DHCP received hostname: osv [I/212 dhcp]: Server acknowledged IP for interface eth0 eth0: 172.16.12.220 [I/212 dhcp]: Configuring eth0: ip 172.16.12.220 subnet mask 255.255.255.0 gateway 172.16.12.2 MTU 1500 Running from /init/00-cmdline: /usr/mgmt/cloud-init.so --force-probe; Running from /init/30-auto-00: /libhttpserver.so &! could not load libicui18n.so.55 could not load libicuuc.so.55 Probing EC2 ... Looks like we're on EC2 I get nothing else from OSv. At the same time, on the ec2-simulator I get this logged: Serving metadata at local port 80 172.16.12.220 - - [07/Jan/2017 07:58:36] "GET /latest/meta-data/ami-id HTTP/1.0" 200 - 172.16.12.220 - - [07/Jan/2017 07:58:36] "GET /latest/meta-data/public-hostname HTTP/1.0" 200 - I wondered if it was something to do with getting the hostname via cloud-init, and re-doing the DHCP? I can’t say I’ve tried this before that recent change went in - if I get a chance later I will do… Cheers, Rick -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.