/srv/irclogs.ubuntu.com/2014/08/22/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
=== harlowja is now known as harlowja_away
harmwsmoser: don't forget your promise :P10:23
smoserharmw, i'll look at that right now.13:06
smoserare you going to paris ods ?13:06
harmwno, afraid not13:27
smoserbooo13:29
harmw:)13:43
harmwsmoser: let me know if you need feedback on reviewing that merger, I haven't got much time though14:07
smoserk14:12
harmw30minutes left :P14:59
harmwsmoser: I think LP is broken17:50
harmwit still didn't send me any notification about an accepted merge request :>17:50
smoser:)17:50
smoserit should have sent you some info though17:51
smoseri've been going through bugs in cloud-init all day.17:51
smoseri do sitll paln to get on that mp thoug h today.17:51
harmwhaha17:51
harmwwell, I don't think I've ever submitted bugs to c-i17:51
harmwhence I didn't get any mail today :p17:51
harmwbut nice, fixing bugs is also needed :)17:52
TTimohttps://code.launchpad.net/~cloud-init-dev/cloud-init/trunk <- th17:53
TTimothis the main source, right?17:53
harmwyep17:53
TTimoI might try to submit my problem with not being able to use NoCloud and a seed as a bug17:54
TTimobring some closure to the issue, well at least for me :)17:54
harmwgo ahead :)17:54
=== zz_gondoi is now known as gondoi
smoserharmw, you still there?18:15
harlowjasmoser harmw if u guys want, https://code.launchpad.net/~harlowja/cloud-init/schema-validate/+merge/231950 , probably useful for documentation purposes and validation and all that...18:49
harlowjacan be progressively expanded to include other modules18:49
smoseri'm ok with that. i like it even :)18:52
smoserharlowja, if we can make jsonschema usage optional that would be goodl18:53
smoserie, wherever it loaded it it would just try/except importerror18:53
smoserand if not there, then say "looks good to me"18:53
harlowjahmmmm, and then no do validation?18:53
harlowjak18:53
harlowjathats easy with that way of decorating stuff18:53
harlowjaif done correctly we can suck these schemas into the docs somehow18:55
smoseryeah. i really like that harlowja 18:56
smoseryeah, if jsonschema isn't available, then dont' do validation. 18:56
smoseri'm only thinking that i still care some about precise.18:57
smoserand probably other linuxes dont have jsonschema18:57
smoserRaginBajin, you there?18:57
RaginBajinyep18:57
smosergood18:58
harlowjasmoser k, updated with optionalness18:58
smoserso lookoing at your mp18:58
smoserRaginBajin, i dont like lazy unmount18:58
smoserit just seems prone to error.18:58
RaginBajinWhich part do you mean 18:58
smosercloud-init admittedly should not do this... but during search-for-datasource it often mounts and unmounts devices18:59
harlowjasmoser i think i might have a new cloud-init contributor guy that might want to/be ok with flushing out all the rest of the modules there18:59
smoserand if a lazy unmount happened, and then another came in and mounted...18:59
smoserthen i think unexpected behavior18:59
smoserRaginBajin, why did you add "lazy mode" for umount18:59
RaginBajinbecause in FreeBSD there is no such thing as the -l option19:00
smoserbut we didn't use -l before19:00
smoserso you didnt' have to do anything19:00
RaginBajinit's in the code that I pulled. 19:00
RaginBajinhttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/util.py#L130219:01
RaginBajin umount_cmd = ["umount", '-l', umount]19:01
smoserstop showing me that i'm wrong!19:01
RaginBajinha sorry19:01
RaginBajinIf there is a better way, I'm all ears. That's the only way I could think that would make that option work 19:02
RaginBajinI figured my crappy code would be critiqued and shown a better way. 19:03
smoserbah. that code blames to harlowja 19:04
smoserharlowja, why did we 'umount -l'19:04
harlowjahmmm19:04
harlowjaerrr19:04
harlowjanot sure, lol19:04
RaginBajinWell probably because in linux it's makes systems less angry a bit.. You say just get rid of it so I can't see it, and when I'm no longer in the directory or something is using it do the work in the background19:06
RaginBajininstead FreeBSD wants to choke you out till you umount it cleaning19:06
RaginBajincleanly* 19:06
smoserRaginBajin, yeah, i understand why you want lazy19:07
smoserbut i explicitly think its a bad idea here.19:07
smoseri want it unmounted now!19:07
harlowjamaybe we should have that contextmanager have a lazy=True or lazy=False option?19:08
harlowjasmoser didn't u add http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/550/cloudinit/util.py?start_revid=550#L697 ;)19:10
harlowjabefore JH arrived, lol19:10
harlowja;)19:11
harlowjaback-in-them-olden-days19:12
smoseri'm not making this stuff up, harlowja 19:12
smoserhttp://paste.ubuntu.com/8116527/19:12
smoseri mak ea lot of stuff up. but i dont htink i'm making htis up19:13
harlowja;)19:13
smoseryou even snuck it in19:13
harlowjalol19:14
smoseranyway. i'm gonna take it out.19:14
harlowjahttp://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/517 ?19:14
harlowjalol19:14
smoserRaginBajin, so there is no 'mount -t auto' ?19:15
RaginBajincorrect19:16
smoserhm.. yeah, that looks bad, harlowja 19:16
smoserwhy would i have done that.19:16
harlowja:-P19:16
RaginBajinYou have to be explicit in everything. But they don't even name their cdrom like everyone else. iso9660 vs cd966019:17
harlowjasmoser u were young back in 201119:18
harlowjatimes were differnent19:18
RaginBajinhad more hair, etc right?19:18
smoserthat is true.19:18
smoseri hate you all. 19:18
smosernext time i say that one of you is wrong, just accept it.19:19
smoserrather than proving that it is me that is wrong19:19
harlowjalol19:19
smoser;)19:19
smoserRaginBajin, what does platform.system() show ?19:37
smosercan you let me into a system RaginBajin ? i guess i can just luanch one on ec2...19:37
RaginBajin'FreeBSD'19:39
smoserthanks.19:44
smoserseems like a better long term thinking idea to be able to specify a list of types19:44
smoserRaginBajin, so if its not a cdrom19:45
smoserif its not a cd device19:45
smoserthen we'd not try to mount with -t19:45
RaginBajinIt's a CDROM device19:45
RaginBajinbut it's called something else. 19:46
smosernot always.19:46
RaginBajinatleast in freebsd19:46
smoserthe config drive does not have to be a cdrom 19:46
smoserand it can be vfat formated19:46
RaginBajinright. 19:46
smoserso it could just be /dev/sdb with either iso9660 format or vfat format19:46
smoserRaginBajin, ok. lets say i booted this "freebsd" thing..19:50
smoserhow would i a.) do anything19:50
smoserb.) install python19:50
RaginBajinpython should come already installed. 19:51
RaginBajinIt shoudl work like your linux box 19:51
RaginBajinjust a little bit more explicitness is needed most of the time. 19:51
smoser$ python -c 'import platform; print(platform.system())'19:51
smoserpython: not found19:51
smoserhttp://www.daemonology.net/freebsd-on-ec2/19:51
RaginBajincheck /usr/local/bin/python19:52
RaginBajinactually. 19:52
RaginBajin   /usr/local/bin/python2.719:52
RaginBajinso you may have to create a symlink to /usr/local/bin/python 19:52
smosergood user experience, that :)19:53
smoserRaginBajin, are you wliling to fix things up a bit ?20:10
RaginBajinabsolutely Just let me know what you need. I'm a little tight for time today, but over the weekend I can 20:10
smoserk20:10
smoseri'll put comments in there.20:10
smoserRaginBajin, do we have a prayer at mounting windows 20:21
smoserer... vfat on freebsd20:21
smoserRaginBajin, thank you20:28
RaginBajinsmoser I'm not sure about windows or vfat.  I don't know if it has support. I assume it does20:45
smoseri dont know.20:46
smoserdo my comments make sense?20:46
RaginBajinI haven't looked at them just yet 20:56
smoserk20:57
smoserharmw, finally, smoser looked at your MP.21:06
=== gondoi is now known as zz_gondoi

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