/srv/irclogs.ubuntu.com/2013/12/06/#cloud-init.txt

=== ctracey is now known as ctracey|away
=== shardy_afk is now known as shardy
harmwsmoser: (or whoever maintains DataSourceAltCloud.py)15:56
harmwwould this be a nice litle fix in terms of consistency?15:57
harmwhttp://paste.ubuntu.com/6530317/15:57
harmwI noticed this beeing done in one of the other modules15:57
smoser(generally, i dont care for the 'which' business at all15:57
smoserie, execve does exactly that for me.15:58
smoserwhich woudl check that the program is available, but theere is no reason to hard code paths15:58
smoserthat make sense ?15:58
harmwtotally15:58
smoserhard coding paths just breaks stuff.15:58
harmwagreed15:58
harmwthe solution just needs to be consequently applied, thats all :)15:58
smoseryeah.16:00
harlowjahi spandhe !19:39
harlowjahttps://code.launchpad.net/~shraddha-pandhe/cloud-init/debug-module/+merge/198119/comments/459151 (fyi)19:39
harlowjaspandhe ^19:39
harlowjathx smoser  :)19:39
spandhethanks smoser ! Going through the comments.19:41
smoserharlowja, you think those make sense ?19:42
smoserjust more and more i'm trying to namepsace module config19:42
harlowjasure19:42
harlowjai think thats fine with me19:42
harlowja+219:42
harlowja:)19:42
harlowjaspandhe if it doesn't make sense, feel free to ask :)19:46
smoserin fact, if you think i make sense more than 1/2 the time, something is probably wrong.20:03
harlowjahahaha20:07
spandhesmoser: It does make sense :)20:24
harlowjasmoser http://lists.openstack.org/pipermail/openstack-dev/2013-December/021482.html :)20:28
smoseri really think unified guest is just plain silly.20:29
smosererr... unified guest agent.20:29
harlowjapossibly, haha20:29
smoserthere are hunderds of perfectly functional "agents" that run in a guest20:30
smoser * puppet20:30
smoser * chef20:30
smoser * sshd20:30
smoser * jujud20:30
harlowjasure sure20:30
harlowjaguess it depends on the use-case, for that kind of stuff i agree20:30
harlowjaand one to rule them all, seems highly unlikely20:31
harlowja*depends on what the agent is doing i guess*20:32
harlowja*or what the agent wants to do20:32
smoserwhat does "VMs are not accessible from controller." mean?20:32
harlowjamy guess is not accesible easily from control network (which i guess is where savanna runs)20:33
harlowjaso isolated control network from vm network, means savanna can't actually do that ssh20:33
harlowjaalthough not enabling ssh access seems odd20:34
smoseror it maybe means that savanaa has no business being on the control network20:35
smoser:)20:35
harlowjaright20:35
harlowjaso that might be what it means, not 100% sure either, my interpretation, ha20:35
smoserno.20:35
smoseri think your interpretation is right20:35
smoserbut what i'ms aying is "why was savanah not operating on the tenant network"20:36
smoserwhich clearly has access to the tenant machines20:36
harlowjasure, its a good question20:36
harlowjaprobably complicates savanna deployments i would think20:36
harlowjaor would require savanna to open some connection to tenant network before it would do some work20:37
harlowja*which i guess is setup hadoop20:37
harlowjasaid temporary access might not be possible (almost requires something like oauth, which allows limited application access to work on behalf of a user for a given time)20:38
harlowjaso i guess then there idea of we'll just bypass all that with a agent :-P20:39
smoserewll, in this case i'm mainly just arguing that savanah has no business as part of openstack20:39
smoserrather than "juju deploy hadoop"20:39
smoser(which needs no such special access)20:39
smoseror "ansible make me hadoop"20:39
harlowjau won't get any disagreement from me there :-P20:39
harlowjaor create instnaces with tiny hadoop setup userdata script20:40
harlowja:-/20:40
smosertrove somewhat seems more valid.20:40
smoserbut really, i dont see any reason why you need a transport mechanism that is not ipv420:40
smoserit turns out lots of things use ipv420:40
smoserand its pretty reliable20:40
smoseri think i'm even chatting with you over it!20:40
harlowjafor real?20:41
harlowjahaha20:41
harlowjaipv4 -> nsa -> irc20:41
smoserexactly.20:41
harlowjaya, hehe, the amount of projects in openstack that something like juju already does is a little weird, i agree20:42
harlowjajuju, ansible, .... [500+ others]20:42
harlowjaanyways, its openstack, never know what it will do at anytime, haha20:46
smoserright20:47
smoseri dont think juju is special20:47
smoseri just use it because thats what i'm told to use20:47
smoser:)20:47
harlowjaof course20:47
harlowjai don't think rolesdb, pogo (yahoo things) are special either20:47
harlowja*which serve similar purposes as juju20:47
harlowjamachine gets a role [role being a list of packages that it will have, for ex: mysql_server, blah blah], pogo can be used to ensure role gets onto instance...20:48
harlowjayada yada, ha20:48
harmwsmoser: https://code.launchpad.net/~harm-o/cloud-init/freebsd21:32
harmwi've hacked up some code for fbsd21:32
harmwperhaps you can take a peak at it some time :)21:33
smoserharmw, i forget, have you signed the CLA ?21:39
smoserharlowja, ^ https://code.launchpad.net/~harm-o/cloud-init/freebsd/+merge/19813021:40
harmwI'm quite new to bazaar/launchpad when it comes to adding code and such, so i'm a bit clueless on what that means :)21:42
smoserharmw, http://www.canonical.com/contributors21:43
smoseryou have to read the appropriate "individual contributors" or "entities" likn, agree, and then click on "signed online" link and sign it21:43
harmwah, the 'all your base are belong to use' stuff :)21:43
smoseryou'll be asked to sign in with your launchpad id.21:44
smoserharmw, exactly.21:44
smoser:-(21:44
smoserharmw, did sed -n really not work ?21:44
harmwnope21:44
smoseris it just '-n' ?21:44
smoserbecause its not 1987 any more21:45
harmwlet me check on that again21:45
harmw sed '/^[0-9]\+[.][0-9]\+[.][0-9]\+:/ {s/://; p; :a;n; ba; }' ChangeLog21:46
harmwsed: 1: "/^[0-9]\+[.][0-9]\+[.][ ...": unexpected EOF (pending }'s)21:46
smoserhm..21:47
smoserbugs me when a utility from a "full blown unix" is less capable than the one from busybox21:47
harmwhehe21:48
smoseruptime is clever.21:49
harmwyeah well, thats on the list of improvements21:49
harmwsince it's totally whack to include the library stuff like i did there21:50
harmwshould go in a more decent function of some kind21:50
smoseryeah21:50
smoserharmw, there is a bug for "use ip rather than route"21:51
spandheI want to skip some tests while running nosetests. How do I do that?21:51
smoseris ip more portable ?21:51
smoserspandhe, to run only on one file just run like:21:52
smoser nosetests tests/unittests/test_datasource/test_altcloud.py21:52
harmwgood one... its from iproute, afaik thats specificly linux21:53
spandhesmoser: thanks!21:53
harmwhm, -1 for adding a blank line21:54
smoserharmw, hm..21:55
smoserthat looks really nice though over all21:55
harmwthanks :)21:56
smosercan you online resize disks on freebsd?21:56
smoserie, like i an on 3.8+ kernels on linux21:56
smosers/disks/partitions/21:57
harmwit requires a reboot, eg. like centos 6 21:57
harlowjawoah, nicefreebsd21:57
smoserwell, on centos there is cloud-initramfs-growpart21:58
smoser(ie, that works under drakut on centos in initramfs when the partition isnt mounted)21:58
harmwindeed21:58
smoseris there an analog to that in freebsd ?21:58
smosersomething we could make for the initramfs ?21:58
harmwnot that i know of21:58
smoseris thre an initramfs ?21:59
harlowjasmoser now this will bring up the battle of does y! want to keep on enabling the usage of  freebsd :-P21:59
harlowjaif we allow vms with it, then freebsd never die, ha21:59
harlowja*die in yahoo21:59
* smoser used *bsd probably last in like 2001. that was before harlowja could ride a bike.21:59
harlowjalikely21:59
harmwno initramfs on fbsd smoser 22:00
smoserreboots suck22:00
harmwtrue, though freebsd boots quite fast nonetheless :)22:00
smoserharmw, we could make it reboot magically if necessary22:01
harmwalso possible22:01
smoserie, like cloudinit/config/cc_package_update_upgrade_install.py does22:01
smoserif it grew the root, then just reboot, and things continue on where you last left off.22:01
harmwah, instant reboot on the spot?22:02
smoseryeah.22:02
harmwwould be good enough22:02
smoserthat module there does that if a package upload marks 'reboot-required'22:03
smosers/upload/upgrade/22:03
harmwyea, im going over the source now22:03
harmw*reading22:03
smoseri'm heading out for th eweekend.22:06
smoserthanks again, harmw and spandhe .22:06
harmwsurething22:06
smoserharmw, please read/sign the cla22:06
harmwalready did that22:06
smoserah. great.22:06
smoserhave a nice weekend all22:06
harmwsame to you22:06
spandhesmoser: enjoy your weekend!22:09

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