/srv/irclogs.ubuntu.com/2016/08/17/#cloud-init.txt

Odd_Blokeharlowja: Storing a database becomes problematic if there is more than one source of Python modules, surely?09:55
Odd_Blokeharlowja: Consider the case where I activate a --system-site-packages virtualenv for the first time in six months after a bunch of changes to the system Python packages.09:56
Odd_Blokeharlowja: Or the case where I have a Python library in my local directory.09:56
Odd_BlokeOr really any case where I modify PYTHONPATH. :p09:56
=== rangerpbzzzz is now known as rangerpb
=== rtheis_ is now known as rtheis
rharpersmoser: on my trusty image, the procps service applies the cloud-init ipv6 priv extensions after network config (as designed); and clears existing ipv6 ips.   During boot we apply an ipv6 address to an interface (via udev event, call ifup on bond0.108 which sets ipv6 ip), the sysctl from procps service runs once the network is up; we switch from default mode of tmpaddr=2 to tempaddr=0 which ends up wiping the ipv6 addre16:10
rharperss that was previously set;  note the recent comment on the bug https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1068756 for why this doesn't break in xenial16:10
smoserthat is a pretty dense one line irc statement16:11
rharperyeah16:11
smoserthat seems busted.16:13
smoserto apply the change (and wipe ip addresses) after they've been configured16:13
smoserdoenst it ?16:13
rharperread the comments on the bug; there's some trusty kernel patch that triggers the wipe16:13
rharperyeah16:14
rharperso, from utopic on, we dropped it16:14
rharperbut good ol trusty keeps on keeping on16:14
rharperand here I was cursing at ifupdown when it wasn't its fault16:15
smoseri have found this bug before16:19
smoserpretty certain once when one of the maas team was doing ipv6 stuff i found it.16:20
smoserhttps://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/135225516:21
smoserrharper, there, comment 5 would have saved you a couple days16:21
smoser:-(16:21
smoseri'm really sorry, rharper16:22
rharperheh16:22
rharperwell, the comment in the sysctl file16:22
rharperhelped16:22
smoseryeah, rharper so its even awesomeer than you thought16:23
rharpersmoser: in #lxd, stgraber says that it's a mistake that it was dropped16:23
smoserbecause if you switch the order of the stanzas, it can work i think.16:23
rharperright, for some reason if I bring up bond0.208 (only v4) and then the 108 with v4+v6; that worked (without disabling the v6 change in tempname)16:26
rharperbut that's racy; possible if we can get the procps sysctl to re-trigger networking; I don't know...16:27
rharperor if we could set the v6 tempname to 0 earlier (rather than procps service)16:27
=== nacc_ is now known as nacc
smoserhttps://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1379427 is mentioned from the other bug.16:52
smoserkey statement there:16:53
smoser"The result is that things that were waiting on 'static-network-up', expecting that would provide them with expected networking are not actually guaranteed anything other than the first stanza for each interface."16:53
smoserugh...16:53
harlowjaOdd_Bloke surely said things are solveable :-P17:53
harlowjaand scanning all the things isn't exactly a good solution :-P17:53
harlowjaleast python could do is cache some stuff17:53
harlowjahash(sys.pythonpath) ---> make a file of entrypoints per hash?17:53
harlowjaand use that hash if possible going forward, blah blah17:54
rharpersorta like ld.so.cache17:54
harlowjaya, some crap like that17:58
smoserwell, but where would it put that ?18:19
smoserit does seem to sanely cache , but the first pass per python interpretor fills that cache.18:20
smoser /sbin/ldconfig  is wrought with failure paths too18:20
rharperbut it mostly just works18:21
rharperwe're not in new territory; so it's best to dig at previous proposals in this space18:22
rharpergoogle has shown me plenty of folks with the idea; not many actual attempts or details;18:22
cn28hcan anybody tell me what the "Ssh Authkey Fingerprints" plugin does? is that responsible for installing the public ssh keys for cloud-user (or whatever user you've chosen)?18:41
cn28hasking because we saw it fail unexpectedly18:41
cn28h(we're not injecting any ssh keys)18:41
cn28hI don't think it's a big deal, but want to understand.. and if one plugin fails, will cloud-init continue processing the rest?18:42
cn28hhm.. reading the code it looks rather like it's actually displaying the keys that were injected in pretty tables18:51
cn28hnot actually injecting keys18:51
smosercn28h, i have seen a race condition on it i think.  but often times you see that failures as a result of something else failing.20:54
smoserif you saw it and can reproduce, i'd love to see a /var/log/cloud-init.log20:55
* smoser out20:55
=== rangerpb is now known as rangerpbzzzz

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!