=== bahama- is now known as bahamat | ||
=== bahamat is now known as bahama- | ||
=== nikolay_ is now known as hjckr | ||
=== nikolay_ is now known as hjckr | ||
=== stw__ is now known as stw | ||
=== bahama- is now known as bahamat | ||
meena | hope smoser doesn't think this review https://github.com/canonical/cloud-init/pull/2043#pullrequestreview-1320148515 was not-nice | 16:13 |
---|---|---|
-ubottu:#cloud-init- Pull 2043 in canonical/cloud-init "send dhcp-client-identifier with dhclient command for InfiniBand ports" [Open] | 16:13 | |
smoser | i didn't think it was not nice; And I, for one, welcome our infiniband overlords | 18:51 |
holmanb | InfiniBand is great. Some of our InfiniBand code, however.... | 18:57 |
holmanb | https://github.com/canonical/cloud-init/blob/5d1d2544ab1f070ab9810779ba914298d44c06b2/cloudinit/net/__init__.py#L908 | 18:58 |
meena | holmanb: we have maybe 120 lines of infiniband related code, and i hate every single character in it | 18:59 |
holmanb | heh | 20:12 |
minimal | holmanb: ah, the is_virtual stuff is being reverted? I guess I can stop writing testcases for it on Alpine lol | 20:18 |
meena | minimal: i guess that can stay, but the current user is being reverted for sure | 20:20 |
minimal | meena: well the #2045 PR is removing your is_virtual for FreeBSD | 20:21 |
meena | I worked so hard on that ;( | 20:21 |
meena | (on outsourcing the fixing of tests of that pr) | 20:22 |
minimal | also looks like in general is only a single DS specified (or DS + 'None') then that DS is assumed (so no 'None' fallback?) | 20:23 |
minimal | meena: yeah same for me, writing is_virtual for Alpine was straightforward but I've spent ages on getting tests for it working lol | 20:24 |
holmanb | minimal: meena: that's the proposal as it stands now, with this fix we won't need those functions | 20:29 |
meena | holmanb: what's get_proc_env(1) do? | 20:31 |
holmanb | eh, I didn't write that stuff | 20:33 |
holmanb | looks like https://github.com/canonical/cloud-init/blob/main/cloudinit/util.py#L2374 | 20:33 |
holmanb | meena: actually, wait - that's a funky way to get env vars in python | 20:34 |
meena | nah, that's a funky way of getting envvars in Linux | 22:26 |
meena | most other Unices have gotten rid of /proc, because it's an unholy mess | 22:27 |
meena | but also, what kind of env does pid 1 have, anyway?? | 22:27 |
holmanb | meena: just to double check - was there any reason for is_virtual() besides openstack baremetal support? | 22:49 |
meena | holmanb: not thati know, but if there comes reason again, we can easily resurrect it | 22:50 |
holmanb | meena: I thought that the PR was prompted by the openstack PR, but if not I don't want to remove it | 22:50 |
holmanb | cool, thx | 22:50 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!