/srv/irclogs.ubuntu.com/2017/06/26/#cloud-init.txt

=== rangerpbzzzz is now known as rangerpb
=== rangerpb is now known as rangerpbzzzz
smoserbah14:23
smoserhow do i un-delete https://trello.com/c/BDxqarbu14:23
smoseror un-archive14:23
smoser"send to board". obvious14:24
smoserhttp://help.trello.com/article/795-archiving-and-deleting-cards14:24
dpb1smoser: after you update the bug for #1697545, let's talk about the open MPs on #16918915:41
dpb1#169148915:41
smoserk15:42
=== rangerpb is now known as baude
=== baude is now known as rangerpb
powersjsmoser: let me know when you have a new test case for http://pad.lv/1687712, then we can wrap up SRU testing16:34
ubot5`Launchpad bug 1687712 in cloud-init "cc_disk_setup: fs_setup with cmd doesn't work" [Medium,Confirmed]16:34
smoserpowersj, still working on it. :-(16:40
powersjok16:41
smoserpowersj, updated https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/168771217:25
ubot5`Ubuntu bug 1687712 in cloud-init "cc_disk_setup: fs_setup with cmd doesn't work" [Medium,Confirmed]17:25
powersjsmoser: thx! I'll give it a shot shortly17:26
=== shardy is now known as shardy_afk
=== shardy_afk is now known as shardy
harlowjasmoser 'cloud-init summit '19:58
harlowjawoa19:58
harlowjalol19:58
harlowja*woah19:58
smoserthe big time20:01
powersjsmoser: still running into issues with your updated SRU template, mount -a fails due to wrong fs type, bad option, bad superblock on /dev/sdc120:04
powersjcloud config: https://paste.ubuntu.com/24958336/20:04
powersjlog: https://paste.ubuntu.com/24958331/20:04
powersjwoops wrong cloud-config, that's without cmd one sec20:04
powersjthis one: https://paste.ubuntu.com/24958364/20:05
smoserpowersj, ok. so that i guess is expected. :-(20:10
smoseri was testing on openstack.20:11
smoserconfig preference goes20:11
smosersystem (files in /etc/cloud)20:11
smoserdatasource (DataSourceAzure 'BUILTIN_CLOUD_CONFIG')20:11
smoseruser-data20:11
smoseryou provided via 'system', which then got trumped in the fs_setup section the fs_setup section by azure.20:12
powersjah20:12
smoser:-(20:12
smoseri think that you would get he desired behavior if you did it via user-data20:12
smoser(openstack datasource does not have provide fs_setup config)20:13
powersjhmm ok I know how to first launch an instance with a config, but not afterwards. Let me look around.20:13
smoserwell, if you launch with the config20:14
smoserit will fail the first time20:14
smoser(thats the bug)20:14
smoserthen you can20:14
powersjright20:14
smoserrm -Rf /var/lib/cloud /var/log/cloud-init*20:14
smoserand reboot20:14
smoserand it should dtrt20:14
powersjafter enabling proposed?20:14
smoser(well, after upgrading20:14
smoseryeah)20:14
powersjok20:14
powersjalright I'll go that route20:15
powersjI forget about the preferences hierarchy20:15
smoserwell, azure is the only datasource that does that20:15
rharper=(20:15
rharperI fought that and lost20:16
smoserrharper, http://paste.ubuntu.com/24958427/20:20
rharperthat;s just renaming20:21
rharpersince it runs at Local as well ?20:21
smoseri think thats probalby why your network config was running twice. i'd have to see a log.20:21
smoseronly runs at local20:21
rharperoh20:21
rharperI didn't think we could do that20:21
smoserthe big difference there is line 3020:21
rharperI thought we always need to run at net time when attempting to consume metadata20:21
rharpersmoser: I had a separate class with just enough to run local but the class gets picked after local, and when net ran, it didn't have the right class, so instead I changed the Net class to have network_config, and then let it run in both local and net;  the assumption was that AzureNet could *not* run at local time (ie, it's metadata it reads may not be available if networking is *not* up, which is the case for init --lo20:23
rharpercal)20:23
smoseri'll poke some more20:25
smoserwhy did i not get any errors on that.20:26
rharperI don't no20:26
rharperI didn't get errors when Net didn't do anything20:26
rharperso, it's possible my assumption is not correct anymore20:26
rharperin which case, I'm all for running to completion (consuming metadata) at local time20:26
smoserwell this is what i commented in the MP about20:29
rharpersmoser: some quick reading that made me cautious (agent_command requiring bouncing network, get_metadata_from_fabric, which calls into WALA shim,20:29
smoserat least i ghoutht i did20:29
rharperreading the Shim object, it appears to do a dhcp and read data out of it20:29
rharperthat implies some level of networking;  I would then expect that in local mode we can write config, and then at init net; attempt to bring networking up and read the lease file, etc.20:30
smoserwell, net doesn't bring up networking20:31
smoserits already up20:31
rharperright20:31
smoserthe azure datasource is a  mess in that it may actually *bounce* the interface20:31
smosermy comments last week and an inline comment in 'get_data'20:32
rharpersure; for this first round, I was hoping to change as little of the DS as possible to make things work;20:32
smoseri think youo've changed that a bunch now. but we'll have to do something like that i think20:32
rharperdo something like what?20:33
smoser2 options20:37
smosereither get_data handles doing a dhcp and then appropriate tear down20:38
smoseror get_data just does local things and 'activate' does the remainder20:38
smoserthe second is less invasive at the moment20:39
powersjsmoser: rharper: dpb1: SRU verification complete.20:40
dpb1woohoo!20:40
dpb1someone do a 21 gun salute20:40
rharpersmoser: vs the partial get_data I have now ?20:44
smoser\o.20:46
smoserrharper, i'm looking at f31c8a02f75fcb1aeafe665dc6b240a0ff542a0520:49
smoseris that right?20:49
rharpergit top  hash ?20:51
smoseryes20:52
rharperI've pushed two commits to fix up your items of spelling and such20:52
smoser" the partial get_data I have now" confused me. as i think get_data is most of everything20:52
rharperbut otherwise that's the right hash20:52
rharperdo you want to do a hangout ?20:52
smoserprobably should20:52

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