Priority: Major - P3
Resolution: Won't Fix
Affects Version/s: None
Fix Version/s: None
Component/s: Testing Infrastructure
Linked BF Score:136
My laptop is plugged directly into my cable modem to fix Zoom issues.
Now I can't run local JSTests on my laptop. Our JStests are have made some pretty weird choices in how they set themselves up. The --suite=sharding test replica set processes bind to the EXTERNAL-FACING ip addresses of the local host! That's already a problem. This means that during the duration of my jstest, I'm serving one or more hacked up no-auth mongod test-command-enabled instances to the actual whole world, on the well-known mongod port. I think my OS will block incoming but still! That's what the entire localhost 127/8 subnet is for.
Here's the RSConfig lines logged by the test:
That's bad enough.
But why won't the test work? Because my ISP has just kind of assigned me this hostname "aa-bb-cc-dd.isp.com" with DHCP but there's no DNS behind it. If I try to connect to aa-bb-cc-dd.isp.com by name, it doesn't exist (NXDOMAIN).
This is very fragile. If I unplug the ethernet cable I can run jstests again. The cluster hosts can't find each other despite being started by the same launcher at the same time on the same host, and all because of some DHCP settings from my ISP.
That's a problem. This is several problems all at once, really.
(not really sure which team gets this)