/srv/irclogs.ubuntu.com/2016/05/16/#cloud-init.txt

=== jgrimm-afk is now known as jgrimm
larsksharlowja or smoser: can someone confirm the minimum python version required by cloud-init?  It looks like the answer is "2.6" but want to be sure.13:55
smoserlarsks, harlowja says that 2.6 is busted in trunk.14:00
smoserand he intendes to fix that. it shouldnt be much.14:00
smoseri would like to support 2.6 but less than that i have no plan.14:01
larsksAwesome, thanks.14:02
larsksSomeone is asking about cloud-init for RHEL 5 (python 2.4), and I wanted to be able say no with authority :)14:03
smoserlarsks, i think realistically speaking that requires some epel stuff to get python2.614:06
smoserits just *so* old14:06
larsksYeah, absolutely.14:06
Odd_BlokeShip a cloud-init package that bricks their machine; problem solved.14:12
Odd_Bloke^_^14:12
gamenameHi guys. I'm trying to something simple.  I have a script which gets copied to the instance scripts as "part-001".  However, i need to test it by re-running init and that requires me to remove the "instance" dir where that file is now living. So, how does one test?15:04
gamenameCome to think of it, where does a script live before it gets copied to the instance?  That is, where does the script "foo.sh" which becomes "part-001" live before being copied to the instance subdir in /var/lib?15:08
Odd_Blokegamename: What cloud/data source are you using?15:09
gamenameOdd_Bloke I'm using terraform to copy the user-data.15:10
gamenameInitially copy it, that is.15:10
harlowjalarsks smoser https://code.launchpad.net/~harlowja/cloud-init/cloud-init-net-refactor has the 2.6 fixes17:47
harlowjasomeone just needs to merge that :-P17:47
rharperharlowja: hi;  so network_state isn't "designed" as I'm sure you can tell.  The constraints at the time were something roughly similar to the openstack network_metadata; but distinctly *not* network_metadata from openstack for uninteresting, yet important (internally at least) reasons.  I'm more than happy to look at modifying the internal structure to be something more useful for net-config <-> network-state <-> render18:54
rharpered-format conversions.  In my initial stab at netword output, I've already needed to do some changes when parsing to map device types to the various "network", "netdev", "links" concepts that networkd has that eni doesn't18:54
harlowjarharper what were the 'yet important (internally at least) reasons.' ?19:43
harlowjarharper did smoser talk to u about a tiny-lib for that network conversions stuffs19:45
smoserfudge19:48
smoserrharper, i need to talk to you :)19:48
naccheh19:48
rharperharlowja: that it not _be_ the openstack format19:55
rharper*sigh*19:55
rharpersmoser: here now if you want to do g+19:55
smoserk. give me a bit.19:56
rharpersure19:56
harlowjaif u need me on g+ just let me know :-P19:57
harlowjarharper any more details ;)19:57
harlowjaspilllll the beans, lol19:57
rharperharlowja: that said, I want to spend some time thinking about the attributes we'd like in that internal state, with an eye toward the various output formats we need to support;  something that's currently hard to do is things like networkd's  .network with a match rule which applies to any interface that matches;  that doesn't map cleanly to an inteface-name indexed state19:58
harlowjaya, thus why i sorta think a tiny-lib could focus on that19:59
rharperharlowja: hehe; I'm sure you can imaging the usual sort of reasons and one or more of those applies19:59
harlowjalol19:59
rharperI've not looked at all of the other config formats we support or network configs we 'write out,  sysconfig seems simple enough but I've not looked at it exhaustively;  cloud-init targets many other OS types, so it would be useful to capture their sorts of requirements and syntax;20:00
harlowjaya, any freebsd folks around :-P20:01
rharperI don't think we'd need to implement those backends (I'd prefer an interested party to contribute those)20:01
rharperheeh20:01
harlowjayup20:01
harlowjai've volunteered for the sysconfig one (not hard, just gotta figure out the mapping)20:02
rharperbut I'd want to make sure our internal structure supported things;  IMO, the key items "devices/links", "networks/subnets",  and "matching/templating" covers I think most of what we'd need20:02
harlowjalikely involves knowing more about the sysconfig mapping than i currently know20:02
rharperusually; I've become all-to-familiar with eni and it's helpers (bridge-utils/ifenslave/vconfig)20:02
harlowja:-p20:03
harlowjasmoser rharper so what was the decision :-P20:42
copumpkinwhat's the role of /var/lib/cloud/seed/nocloud/{user,meta,vendor}-data ?22:10
copumpkinoh, I see22:21
harlowjasmoser https://code.launchpad.net/~harlowja/cloud-init/cloud-init-fix-test-times/+merge/294854 should have the fixed test times23:09
harlowjaretries and timeouts triggering it.23:09

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