/srv/irclogs.ubuntu.com/2014/09/15/#juju.txt

=== jcsackett_ is now known as jcsackett
=== yo61_ is now known as yo61
lazyPowerfuzzy_: still wrestling with mongodb?01:05
fuzzy_lazyPower: yes01:09
fuzzy_Following, https://maas.ubuntu.com/2012/11/30/lets-shard-something/ using the command "juju add-relation mongos:mongos-cfg configsvr:configsvr" I get "ERROR service "mongos" not found".  What am I doing wrong?01:09
lazyPowerdo you have a service named 'mongos' deployed?01:09
fuzzy_not that I see01:10
fuzzy_that's why the howto doesn't make sense01:10
lazyPowerfuzzy_: are you trying to deploy the sharded/replicated cluster? there is a bundle for it01:12
lazyPowerthat howto looks really old01:12
lazyPowerhttps://jujucharms.com/bundle/mongodb/5/cluster/01:12
lazyPowertake care to note that there are 3 replicated units per shard/configsvr01:12
lazyPowerthats 13 total units listed in that bundle01:13
fuzzy_thank you01:13
=== scuttle|afk is now known as scuttlemonkey
lazyPowerfuzzy_: the mongodb charm is notoriously finicky as well. I've put some elbow grease into it in the past - if you run into any issues with it please file bugs here:   https://bugs.launchpad.net/charms/+source/mongodb01:14
fuzzy_i'm just going to reroll everything and try one more time01:15
lazyPowerok. I typically have to do that when i botch a mongodb deploy as well, start over from scratch01:18
lazyPowerthere appears to be a race condition in teh charm I haven't tracked down on one of the roles.01:18
lazyPowersorry about the weak experience with the charm :( MongoDB has been a problem child for me when triaging/maintaining01:18
lazyPowerI'm open to any suggestions on how we can make it a better experience, any documented cases / examples will definately help as we move forward with the next iteration.01:19
fuzzy_i'm curious why python-yaml ins't part of a machine bootstrap01:19
lazyPowerI've run into this on 2 substrates - DigitalOcean and Linode01:20
lazyPowerits standard on AWS, HPCloud, and Joyent01:20
fuzzy_i figured that is sort of lsb stuff01:20
fuzzy_ah01:20
lazyPoweri think they are using modified cloud images, but i have no data to back up my claim01:20
lazyPowerI've had to go back through and add the python-yaml dependency to any of the python based charms as i run across them testing on DO01:21
fuzzy_you hooked the do api01:21
fuzzy_is it fully automated yet?01:21
lazyPowermostly - its a phaux provider01:21
lazyPowerhttps://github.com/kapilt/juju-digitalocean01:21
fuzzy_because linode does have an api01:21
fuzzy_and it's not hard to hook01:21
lazyPowermhm, i've mentioned this approach to you before01:22
fuzzy_i just didn't know how hard the juju side of it would be01:22
fuzzy_i know you did01:22
fuzzy_i just lost the link01:22
lazyPowerwell that plugin is about all i can reference for you - i'm not familiar enough with core to make a recommendation.01:22
fuzzy_do you use it to admin your do boxes?01:22
lazyPowerhowever hazmat has all teh goods when he's around. he's the author of that plugin.01:22
lazyPoweri do. I've got ~ 6  nodes running on DO right now01:22
fuzzy_hmmmmmmm01:23
lazyPower(including the api server)01:23
=== axw__ is now known as axw
fuzzy_damn that drives a hard bargin01:25
fuzzy_are you using digital oceans private network to do the deed?01:27
fuzzy_lamont:01:27
fuzzy_ack01:27
fuzzy_lazyPower:01:27
lazyPowerI'm watching ;) no need to ping01:27
lazyPowerYeah, it automatically adds the private networking to the droplet.01:27
fuzzy_*sigh* I hope this is worth it01:31
* fuzzy_ crosses fingers01:31
fuzzy_lazyPower: see if you got any digital ocean promo codes for new accounts so you can get hooked up with this01:33
lazyPoweri do actually, 1 moment01:34
lazyPowerhttps://www.digitalocean.com/?refcode=b6ac387b6f36 - $10 free credit with a new account01:34
fuzzy_ok I think I got a do account now01:44
lazyPowerawesome01:44
fuzzy_awww crap01:45
lamontlol01:45
fuzzy_stupid do01:45
lazyPower?01:45
fuzzy_this might not actually work01:45
fuzzy_remember when they screwed up nyc2 for all those weeks last year?01:46
lazyPowermhmm, the juniper upgrade01:46
fuzzy_well i moved everything off of them01:46
fuzzy_but one of the droplets kept running until it racked up a bill01:46
lazyPowerwhoops01:47
fuzzy_and I told them no way I was paying it, I wasn't even using the box it was a left over from an idle01:47
fuzzy_now they just took $5 out of paypal and locked my account01:47
fuzzy_before i could make a droplet01:47
fuzzy_oh nope there it goes01:47
fuzzy_whooo01:47
fuzzy_ok i'm in business01:48
lazyPowerthe DO guys are really reasonable.01:48
lazyPowerEvery time i've reachedo ut or support i get an answer in an hour or less, and 90% of the time its resolution.01:49
lazyPower*out for01:49
fuzzy_actually nope01:49
fuzzy_i'm locked01:49
fuzzy_lets seee01:49
fuzzy_but now i'm limited to 1 droplet01:50
lazyPowerI'd open a ticket and explain whats going on01:51
lazyPowerthey should crank you up to 5 instances for your first month or so01:51
fuzzy_I just did01:52
fuzzy_now I wait01:52
=== scuttlemonkey is now known as scuttle|afk
fuzzy_https://github.com/charms/mongodb when I try juju deploy mongos i get failure02:42
fuzzy_weird it took that time02:43
fuzzy_lazyPower: http://hastebin.com/dadetadepu.sm02:53
fuzzy_it claims to be running, but i can't seem to find the exposed console for mongo02:53
fuzzy_yea i don't get it, netstat on that box shows it's listening to 28017, i made sure to disable it's firewall and i still can't see it remotely02:58
fuzzy_http://hastebin.com/patadakepo.hs03:00
fuzzy_makes no sense03:00
fuzzy_So reading the juju log on mongos/0 i get alot of permission denied.  I think that might be because of ufw03:03
fuzzy_i'm going to tear it down and retry without ufw and ssh configured differently03:03
=== uru_ is now known as urulama
=== MasterPiece_ is now known as MasterPiece
=== MmikeM is now known as Mmike
=== MmikeM is now known as Mmike
=== CyberJacob|Away is now known as CyberJacob
fuzzyyea it was ufw fighting me i got a mongo console lazyPower07:10
=== CyberJacob is now known as CyberJacob|Away
=== wesleyma` is now known as wesleymason
=== Spads_ is now known as Spads
=== Spads_ is now known as Spads
=== jam1 is now known as jam
=== Spads_ is now known as Spads
=== scuttle|afk is now known as scuttlemonkey
=== fabrice is now known as fabrice|lunch
=== roadmr is now known as roadmr_afk
=== lborda is now known as lborda_
=== lborda_ is now known as lborda__
=== fabrice is now known as fabrice|coffee
=== fabrice|coffee is now known as fabrice
=== ianunruh_ is now known as ianunruh
=== tdc_ is now known as tdc
=== roadmr_afk is now known as roadmr
=== makyo_ is now known as Makyo
jamespagegnuoy`, nudge - https://code.launchpad.net/~james-page/charms/trusty/nova-cloud-controller/cluster-sync-fix/+merge/23447515:56
gnuoy`ack15:56
=== seelaman` is now known as seelaman
=== ev__ is now known as ev
=== gnuoy` is now known as gnuoy
=== sarnold_ is now known as sarnold
marcoceppiReview Queue is going down for an upgrade17:07
marcoceppiReview Queue is going down for an upgrade17:08
=== roadmr is now known as roadmr_afk
=== hazmat` is now known as hazmat
=== CyberJacob|Away is now known as CyberJacob
=== roadmr_afk is now known as roadmr
mbruzekHey marcoceppi since we have automated testing now, we should start requiring all new charms to have tests.20:12
whitmbruzek, that's what I thought the policy was... I didn't realize it hadn't been more widely disseminated20:14
marcoceppimbruzek: that's not a bad idea, we should propose this policy to the list20:14
whitjose, sorry about that :[20:14
marcoceppiThere's a bunch of previous talks about it on the list, I'll round them up and make a new post20:15
josewhit: don't worry, not a prob :)20:16
=== CyberJacob is now known as CyberJacob|Away
marcoceppiShould we consider unit testing sufficient?20:49
marcoceppimbruzek lazyPower jose ^? et al20:50
josewhat would you define as unit testing?20:50
marcoceppianything that tests the hooks without being deployed20:51
joseI would be good with something saying 'hey! I deployed mycharm successfully, even though I haven't accessed it it didn't error while deploying+relating!"20:51
josewould that be unit testing?20:51
marcoceppiso, some charms have python unit tests20:52
mbruzekmarcoceppi, I don't see how we can ask authors to write python tests if they don't know it.20:52
marcoceppiwould that be enough to satisify new policy for all chams need tests20:52
marcoceppimbruzek: I'm saying, is unittesting enougth to satisfy testing or should we required functional/integration testing as well?20:53
mbruzekmarcoceppi, could they write a bash deployment or a bundle20:53
marcoceppithat's not unit testing, that's fucntional testoing20:53
marcoceppiand that's basically what we think of testing today, a la bundle/amulet tests20:53
mbruzekmarcoceppi, I think we should unit test at minimum but HIGHLY suggest having a bundle or amulet test that deploys a working unit.20:54
joseI have to leave for uni. Giving some input later.20:54
marcoceppijose: thanks o/20:54
marcoceppimbruzek: right, that's my question, is unittesting enough to satisfy testing requirement in policy20:55
mbruzekyes.20:56
mbruzekI don't like only unit tests because I still may not know how to deploy said charm.20:56
marcoceppicool, I'll wait for feedback from jose and lazyPower and draft teh policy20:56
marcoceppimbruzek: that;'s a readme issue20:56
marcoceppiand nackable based on that alone20:56
mbruzekyes.20:56
=== Guest31361 is now known as wallyworld
=== urulama is now known as urulama-afk
=== CyberJacob|Away is now known as CyberJacob
lazyPowermarcoceppi: i think unit tests or integratino tests at bare minimum. i've been treating it as an either/or21:46
lazyPowermarcoceppi: my reasoning is we still have a ton of bash charms in the store, and bash hasn't exhibited any ground breaking unit test frameworks.21:47
mbruzek+1 lazyPower21:58
=== CyberJacob is now known as CyberJacob|Away
=== ayr_ton is now known as ayr-ton
=== mup_ is now known as mup

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