=== harlowja is now known as harlowja_away | ||
=== harlowja_away is now known as harlowja | ||
=== harlowja is now known as harlowja_away | ||
harmw | smoser: don't forget your promise :P | 10:23 |
---|---|---|
smoser | harmw, i'll look at that right now. | 13:06 |
smoser | are you going to paris ods ? | 13:06 |
harmw | no, afraid not | 13:27 |
smoser | booo | 13:29 |
harmw | :) | 13:43 |
harmw | smoser: let me know if you need feedback on reviewing that merger, I haven't got much time though | 14:07 |
smoser | k | 14:12 |
harmw | 30minutes left :P | 14:59 |
harmw | smoser: I think LP is broken | 17:50 |
harmw | it still didn't send me any notification about an accepted merge request :> | 17:50 |
smoser | :) | 17:50 |
smoser | it should have sent you some info though | 17:51 |
smoser | i've been going through bugs in cloud-init all day. | 17:51 |
smoser | i do sitll paln to get on that mp thoug h today. | 17:51 |
harmw | haha | 17:51 |
harmw | well, I don't think I've ever submitted bugs to c-i | 17:51 |
harmw | hence I didn't get any mail today :p | 17:51 |
harmw | but nice, fixing bugs is also needed :) | 17:52 |
TTimo | https://code.launchpad.net/~cloud-init-dev/cloud-init/trunk <- th | 17:53 |
TTimo | this the main source, right? | 17:53 |
harmw | yep | 17:53 |
TTimo | I might try to submit my problem with not being able to use NoCloud and a seed as a bug | 17:54 |
TTimo | bring some closure to the issue, well at least for me :) | 17:54 |
harmw | go ahead :) | 17:54 |
=== zz_gondoi is now known as gondoi | ||
smoser | harmw, you still there? | 18:15 |
harlowja | smoser 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 |
harlowja | can be progressively expanded to include other modules | 18:49 |
smoser | i'm ok with that. i like it even :) | 18:52 |
smoser | harlowja, if we can make jsonschema usage optional that would be goodl | 18:53 |
smoser | ie, wherever it loaded it it would just try/except importerror | 18:53 |
smoser | and if not there, then say "looks good to me" | 18:53 |
harlowja | hmmmm, and then no do validation? | 18:53 |
harlowja | k | 18:53 |
harlowja | thats easy with that way of decorating stuff | 18:53 |
harlowja | if done correctly we can suck these schemas into the docs somehow | 18:55 |
smoser | yeah. i really like that harlowja | 18:56 |
smoser | yeah, if jsonschema isn't available, then dont' do validation. | 18:56 |
smoser | i'm only thinking that i still care some about precise. | 18:57 |
smoser | and probably other linuxes dont have jsonschema | 18:57 |
smoser | RaginBajin, you there? | 18:57 |
RaginBajin | yep | 18:57 |
smoser | good | 18:58 |
harlowja | smoser k, updated with optionalness | 18:58 |
smoser | so lookoing at your mp | 18:58 |
smoser | RaginBajin, i dont like lazy unmount | 18:58 |
smoser | it just seems prone to error. | 18:58 |
RaginBajin | Which part do you mean | 18:58 |
smoser | cloud-init admittedly should not do this... but during search-for-datasource it often mounts and unmounts devices | 18:59 |
harlowja | smoser 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 there | 18:59 |
smoser | and if a lazy unmount happened, and then another came in and mounted... | 18:59 |
smoser | then i think unexpected behavior | 18:59 |
smoser | RaginBajin, why did you add "lazy mode" for umount | 18:59 |
RaginBajin | because in FreeBSD there is no such thing as the -l option | 19:00 |
smoser | but we didn't use -l before | 19:00 |
smoser | so you didnt' have to do anything | 19:00 |
RaginBajin | it's in the code that I pulled. | 19:00 |
RaginBajin | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/util.py#L1302 | 19:01 |
RaginBajin | umount_cmd = ["umount", '-l', umount] | 19:01 |
smoser | stop showing me that i'm wrong! | 19:01 |
RaginBajin | ha sorry | 19:01 |
RaginBajin | If 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 |
RaginBajin | I figured my crappy code would be critiqued and shown a better way. | 19:03 |
smoser | bah. that code blames to harlowja | 19:04 |
smoser | harlowja, why did we 'umount -l' | 19:04 |
harlowja | hmmm | 19:04 |
harlowja | errr | 19:04 |
harlowja | not sure, lol | 19:04 |
RaginBajin | Well 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 background | 19:06 |
RaginBajin | instead FreeBSD wants to choke you out till you umount it cleaning | 19:06 |
RaginBajin | cleanly* | 19:06 |
smoser | RaginBajin, yeah, i understand why you want lazy | 19:07 |
smoser | but i explicitly think its a bad idea here. | 19:07 |
smoser | i want it unmounted now! | 19:07 |
harlowja | maybe we should have that contextmanager have a lazy=True or lazy=False option? | 19:08 |
harlowja | smoser 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 |
harlowja | before JH arrived, lol | 19:10 |
harlowja | ;) | 19:11 |
harlowja | back-in-them-olden-days | 19:12 |
smoser | i'm not making this stuff up, harlowja | 19:12 |
smoser | http://paste.ubuntu.com/8116527/ | 19:12 |
smoser | i mak ea lot of stuff up. but i dont htink i'm making htis up | 19:13 |
harlowja | ;) | 19:13 |
smoser | you even snuck it in | 19:13 |
harlowja | lol | 19:14 |
smoser | anyway. i'm gonna take it out. | 19:14 |
harlowja | http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/revision/517 ? | 19:14 |
harlowja | lol | 19:14 |
smoser | RaginBajin, so there is no 'mount -t auto' ? | 19:15 |
RaginBajin | correct | 19:16 |
smoser | hm.. yeah, that looks bad, harlowja | 19:16 |
smoser | why would i have done that. | 19:16 |
harlowja | :-P | 19:16 |
RaginBajin | You have to be explicit in everything. But they don't even name their cdrom like everyone else. iso9660 vs cd9660 | 19:17 |
harlowja | smoser u were young back in 2011 | 19:18 |
harlowja | times were differnent | 19:18 |
RaginBajin | had more hair, etc right? | 19:18 |
smoser | that is true. | 19:18 |
smoser | i hate you all. | 19:18 |
smoser | next time i say that one of you is wrong, just accept it. | 19:19 |
smoser | rather than proving that it is me that is wrong | 19:19 |
harlowja | lol | 19:19 |
smoser | ;) | 19:19 |
smoser | RaginBajin, what does platform.system() show ? | 19:37 |
smoser | can you let me into a system RaginBajin ? i guess i can just luanch one on ec2... | 19:37 |
RaginBajin | 'FreeBSD' | 19:39 |
smoser | thanks. | 19:44 |
smoser | seems like a better long term thinking idea to be able to specify a list of types | 19:44 |
smoser | RaginBajin, so if its not a cdrom | 19:45 |
smoser | if its not a cd device | 19:45 |
smoser | then we'd not try to mount with -t | 19:45 |
RaginBajin | It's a CDROM device | 19:45 |
RaginBajin | but it's called something else. | 19:46 |
smoser | not always. | 19:46 |
RaginBajin | atleast in freebsd | 19:46 |
smoser | the config drive does not have to be a cdrom | 19:46 |
smoser | and it can be vfat formated | 19:46 |
RaginBajin | right. | 19:46 |
smoser | so it could just be /dev/sdb with either iso9660 format or vfat format | 19:46 |
smoser | RaginBajin, ok. lets say i booted this "freebsd" thing.. | 19:50 |
smoser | how would i a.) do anything | 19:50 |
smoser | b.) install python | 19:50 |
RaginBajin | python should come already installed. | 19:51 |
RaginBajin | It shoudl work like your linux box | 19:51 |
RaginBajin | just a little bit more explicitness is needed most of the time. | 19:51 |
smoser | $ python -c 'import platform; print(platform.system())' | 19:51 |
smoser | python: not found | 19:51 |
smoser | http://www.daemonology.net/freebsd-on-ec2/ | 19:51 |
RaginBajin | check /usr/local/bin/python | 19:52 |
RaginBajin | actually. | 19:52 |
RaginBajin | /usr/local/bin/python2.7 | 19:52 |
RaginBajin | so you may have to create a symlink to /usr/local/bin/python | 19:52 |
smoser | good user experience, that :) | 19:53 |
smoser | RaginBajin, are you wliling to fix things up a bit ? | 20:10 |
RaginBajin | absolutely Just let me know what you need. I'm a little tight for time today, but over the weekend I can | 20:10 |
smoser | k | 20:10 |
smoser | i'll put comments in there. | 20:10 |
smoser | RaginBajin, do we have a prayer at mounting windows | 20:21 |
smoser | er... vfat on freebsd | 20:21 |
smoser | RaginBajin, thank you | 20:28 |
RaginBajin | smoser I'm not sure about windows or vfat. I don't know if it has support. I assume it does | 20:45 |
smoser | i dont know. | 20:46 |
smoser | do my comments make sense? | 20:46 |
RaginBajin | I haven't looked at them just yet | 20:56 |
smoser | k | 20:57 |
smoser | harmw, 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!