/srv/irclogs.ubuntu.com/2017/03/29/#cloud-init.txt

=== rangerpbzzzz is now known as rangerpb
smoserrharper, when you get a chance, i'd liek some thoughts on https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/32121814:21
rharpery14:21
smoserpaulmey, sorry for not coming back to you yesterday.14:21
smoseri kind of like cloud-init's paths better than walinux-agent14:22
smoserit seems better to me to namespace these under 'cloud', then populating/polluting the top level /dev/disks/ with somewhat arbitrary things.14:22
smoseri dont think that 'cloud' is the best thing, currently you have things like 'by-name', 'by-id', 'by-partuuid'.... it doesn't seem right to just start throwing in 'azure', 'aws', 'whizbang'14:24
* smoser knows that paulmey is likely still sleeping.14:24
rharpersmoser: replied;  I'm hoping to have both explicit config disable as well as sanity checks in the case config is provided but system can't handle it (no apt, system_is_snappy)14:30
smoserrharper, i dont wnat to do explicit disable if i can avoid it14:30
rharperwhy?14:31
rharperwe clearly have it in many other modules14:31
smoseri'm not opposed to adding generic module disalbe/enable functionality, but i dont want to further polute the inconsistency.14:31
smoserthat you pointed out14:31
smoserof how you'd do that.14:31
rharpercan we agree on what that should look like and follow up with a cleanup ?14:31
rharpermodule_name: disabled14:32
rharperthat matches network: disabled14:32
rharperamong other checks for disabled;14:32
smoserwell, i'd not put 'module_name' in the top level namespace14:33
rharper$module_name14:33
smoserright. but i dont want in top level config N more entries14:33
rharperI'm not following, if someone wants to configure a config module, it requires putting the module key in ?14:34
smosermany of which might conflict with the config entry they use.14:34
smoseri think you're suggesting:14:34
smoser apt_configure: disable14:34
smoserwhile 'apt' is the top level key that the apt_configure reads.14:34
smoserothers will also be inconsistent in that way. there is not a 1:1 mapping of module to config entry. maybe there shoudl be but there is not.14:35
smoseri think i'd rather do a top level:14:35
smoser modules:14:35
smoser    apt_configure: disabled14:35
smoserbut that is similar to what we have in the less useful14:35
smoser  cloud_init_modules: [migrator, ubuntu-init-switch, ...]14:36
rharperyes; I understand;14:36
smoserso there is more bikeshed then i'd care to rush into this fix that i'd hope to get in today14:37
rharperright; then let's take it as-is and we can tee up discussions around that;  I think we poked at a few things we could clean up; and I'd much prefer providing a blacklist of modules that shouldn't run which saves some execution time14:38
smoserrharper, i do think that if you specifically provide apt configuration, that it should fail horrifically or warn at very least . i'd rather fail.16:00
smoserah. i see you responded there to that affect. thanks.16:01
rharperyep16:01
rharpersmoser: I'm fine without explicit config disabled for now; and we'll tee up a discussion for later w.r.t how we can disable modules in a cleaner way that now16:02
smoserrharper, would you quicklyi read https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/32121819:39
smoserand i can pull that one.19:39
rharperk19:57
smoseri think we're probably just going to have to accept failure19:58
smoser https://bugs.launchpad.net/nova/+bug/167494619:58
smoserand spin just turn that into a warning :-(19:58
rharperbleh, one more type19:59
=== rangerpb is now known as rangerpbzzzz
=== rangerpb is now known as rangerpbzzzz

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