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

=== fuzzy_ is now known as Ponyo
=== urulama-afk is now known as urulama
=== CyberJacob|Away is now known as CyberJacob
=== CyberJacob is now known as CyberJacob|Away
jamespagegnuoy, https://code.launchpad.net/~james-page/charms/trusty/quantum-gateway/fixup-utopic/+merge/23525409:24
jamespagefixup one for juno09:24
jamespagejuno on utopic that is09:24
gnuoyjamespage, \o/   looking now09:24
* fabrice going for lunch with friends09:46
=== fabrice is now known as fabrice|lunch
=== fabrice|lunch is now known as fabrice
JoshStroblhey arosales_ still planning on making some of those modifications to the juju/docs?12:45
=== luca__ is now known as luca
=== ayr_ton is now known as ayr-ton
jcastrohey, who touched openerp last?14:22
jcastrohttp://www.theopensourcerer.com/2014/09/how-to-install-openerp-odoo-8-on-ubuntu-server-14-04-lts/14:22
arosales_JoshStrobl, yes I need to get rolling on the charm guidelines. There was also some ideas to overall the charm walkthrough14:34
=== allenap_ is now known as allenap
=== roadmr_ is now known as roadmr_afk
lazyPowero/ JoshStrobl15:16
=== balloons_ is now known as balloons
=== CyberJacz is now known as CyberJacob
=== TheRealMue is now known as TheMue
=== balloons is now known as Guest35774
=== katco` is now known as katco
=== Guest35774 is now known as balloons_
=== roadmr_afk is now known as roadmr
=== fabrice is now known as fabrice|dinner
lazyPowerJuju Users! How many of you are using DO? We could use YOUR votes! https://www.digitalocean.com/community/projects/juju-digitalocean-provider16:21
arosalescharmer needed for simple review on icon + category16:51
arosaleshttps://code.launchpad.net/~a.rosales/charms/precise/puppet/add-charm-icon-category/+merge/23435916:51
arosaleshttps://code.launchpad.net/~a.rosales/charms/precise/puppetmaster/add-icon-category/+merge/23436216:51
arosaleslittle self promotion, but coming up next on the review16:51
lazyPowerack, thanks arosales - will get these jammed out16:54
lazyPoweraisrael: have a moment to talk about https://code.launchpad.net/~aisrael/charms/trusty/vem/lint-cleanup/+merge/234406? you do? awesome!17:24
aisraellazyPower: bring it17:24
lazyPowerWhen you tested this, were you attempting to test against LXC inside of Vagrant? is that the core of the issue you outline in your comment17:24
aisraelCorrect. As I've discovered the past few days, there's some trickiness to getting some modules to work in the local environment.17:25
lazyPoweryeah, especially this charm17:25
lazyPowerthe VEM charm is a software routing charm that bolts into openstack17:25
* aisrael needs to add a caveats section to the local provider documentation17:25
aisraelSo all I did in the end with that charm is clean up the lint errors and move the tests to run under a virtualenv17:26
lazyPoweri see this. do you have a cloud environment you can use to validate tests?17:29
lazyPowerI typically run tests locally, if they are totally fubar'd i'll attempt at least once in a cloud provider - (aws, or HPCloud) - and if it fails there then i nack it.17:29
lazyPowerniedbalski: ping17:32
aisraellazyPower: Yeah, I do now. I have DO working (and should have AWS soon)17:34
lazyPowerok. just a bit of a caveat when kicking off tests is we cant rely souly on the local provider as charmers. +1 for the feedback and the merge. I'm goign to follow up with niedbalski to kick these tests off in the lab he has access to for the cisco stuff.17:35
lazyPowerthanks again aisrael17:35
aisraelack, good point17:38
=== sarnold_ is now known as sarnold
arosalescharmes some others reviews in the queue that have a community review and/or small change that could use a quick look are:17:55
arosaleshttps://code.launchpad.net/~tvansteenburgh/charms/precise/block-storage-broker/fix-tests/+merge/23416817:55
arosaleshttps://code.launchpad.net/~a.rosales/charms/trusty/mysql/add-default-keys/+merge/23506417:55
arosaleshttps://code.launchpad.net/~jorge/charms/trusty/mysql/fix-proof/+merge/23402017:56
arosaleshttps://code.launchpad.net/~wesmason/charms/precise/mongodb/fix-volumes/+merge/23467017:56
arosalesjcastro: fyi on https://code.launchpad.net/~jorge/charms/trusty/elasticsearch/remove-sets-metadata/+merge/234358 there is outstanding question from noodles on the sets17:57
jcastroI remember this17:57
jcastromarcoceppi, you told me this was old metadata, can you confirm?17:57
arosaleslazyPower:  for some reason auto charm testing didn't pass on https://code.launchpad.net/~a.rosales/charms/trusty/mongodb/jay-wren-faster-install/+merge/234241 but the log is not available. So I am going to re-run locally.17:58
lazyPowerarosales: ack. ty for taking a look at it.18:02
arosaleslazyPower: np. I'll let you know what I find.18:05
arosaleslazyPower: if you have some time during your review I also posted some reviews above that have some community reviews on them and/or small changes that could use a charm to take a look.18:06
lazyPowerarosales: werent' those tests giving you a headache at teh sprint, and you needed/wanted me to take a look at them?18:06
lazyPowerack, will look at this directly after gitlab. nearing completion of the MP testing18:07
arosaleslazyPower: I thought I got some help on them, but let me see what bundle tester is saying.18:07
marcoceppijcastro: which is old metadata? sets?18:11
jcastroyeah18:11
jcastrothe one you had me remove18:11
jcastrothat's what the MP is about18:11
arosalesmarcoceppi: this is related to the MP @ https://code.launchpad.net/~jorge/charms/trusty/elasticsearch/remove-sets-metadata/+merge/23435818:15
marcoceppiarosales: right, I've left a comment18:16
* arosales fail should have checked first18:16
arosalesmarcoceppi: thanks!18:16
arosalesmarcoceppi: per your comment in https://code.launchpad.net/~jorge/charms/trusty/elasticsearch/remove-sets-metadata/+merge/234358 could you ack that MP?18:17
jcastrowow, pyju, that is old18:18
lazyPowerwhoa, firs ttime i've seen this out of the gitlab charm in MONTHS18:20
lazyPowerhttp://ec2-54-167-177-28.compute-1.amazonaws.com/18:20
lazyPowerhi5 to the contributor that fixed this18:20
lazyPowermbruzek: good looking out, i think you empowered this fix. https://bugs.launchpad.net/charms/+source/gitlab/+bug/136059418:23
mupBug #1360594: install hook failed - curl init.d/gitlab does not handle redirect <audit> <gitlab (Juju Charms Collection):Fix Released by martin-hilton> <https://launchpad.net/bugs/1360594>18:23
mbruzeklazyPower: both curl -L and wget worked.  Thanks lazyPower18:25
=== balloons_ is now known as balloons
mwenninghi juju team, I'm trying to bootstrap juju on a maas node here, I see the node come up and then disconnect from the network18:49
mwenningThere is an error on the console Cannot find device "br0"  ; Error getting hardware address for "br0"18:50
mwenningapparently the error causes it to not bring eth0 back up so I juju can't contact it after that18:51
mwenningAnyone seen this?18:51
natefinchmwenning: sorry, no idea, and searching for bugs doesn't bring up much19:01
natefinchmwenning: maybe try in #maas ?19:01
natefinchmarcoceppi: do you have any time today to talk about testing charms?19:02
mbruzekmwenning: check for syntax errors in /etc/network/interfaces19:02
mwenningnatefinch, thx.   I'm looking at #1271144, somewhat similar to what I'm seeing.19:02
mupBug #1271144: br0 not brought up by cloud-init script with MAAS provider <canonical-is> <cloud-installer> <landscape> <local-provider> <lxc> <maas> <regression>19:02
mup<juju-core:Fix Released by axwalk> <juju-core (Ubuntu):Fix Released> <juju-core (Ubuntu Trusty):Confirmed> <https://launchpad.net/bugs/1271144>19:02
mbruzekmwenning: I had a problem where eth0 would not come up on its own and it turned out to be a incorrect key in that file.19:03
mwenningnatefinch, I can actually start the node up OK in maas19:03
marcoceppinatefinch: I do19:04
marcoceppiI always have time for charm testing19:04
natefinchmwenning: what version of juju are you using?19:05
mwenningnatefinch, 1.20.719:05
natefinchmwenning: nice19:06
natefinchmarcoceppi: mostly I have no idea what I'm doing testing a charm.  Like... do I really have to install the thing?  That seems like it's destined to be a problem, especially for a charm like mine that takes 20+ minutes to install, depending on where it's being deployed19:07
natefinchmwenning: at the bottom of that bug, a developer is asking if the primary network interface is called something other than eth0... if so, you need to set the network-bridge attribute in environments.yaml (to whatever the primary interface is)19:09
marcoceppinatefinch: so there are varying forms of testing. A blanket that will cover all types of charms is integration testing which does actually deploy the charm and there are a few frameworks that exist to interact with a deployed environment to verify it's working correctly (a la Amulet). Then there's just plain old unit testing which works as well19:09
natefinchmarcoceppi: I guess the "has some tests" requirement for getting promulgated as a trusty charm is just very vague to me.  I'm sure that's at least somewhat on purpose.  I can definitely do several unit testy things pretty easily.  But the key "does juju deploy actually work?" test is going to take 20+ minutes to run  if it's run on amazon.   I don't know a way around that.19:12
=== roadmr is now known as roadmr_afk
mwenningnatefinch, primary network meaning the one that maas is on?   I have eth0 going out to the internet, eth1 is the internal maas network19:13
marcoceppinatefinch: well, the minium requirement for testing is unit tests (this is the golang charm?). Having integration tests is great as we can make sure it works constantly. That, and we have an automated testing framework that we're running charms through19:13
mbruzekmwenning: if br0 is disconnecting we need to figure out why.  Where do you see that message?19:13
mwenningmbruzek, on the node console.19:13
mbruzekmwenning: and you do not see that happen on a normal maas start ?19:13
mwenningmbruzek, correct.19:14
mwenningunfortunately it rolled off the console screen now, I can run it again and try to write down the details19:15
natefinchmarcoceppi: yeah, this is for the go discourse charm.  I can certainly hook up some Go unit tests to the charm tests.  Charm tests just need a *.test executable under the tests directory, right?  I can put a script in there to install go and run go test.19:15
mwenningmbruzek, looks like some script does an ifdown on eth0, then tries to configure br0, fails, and never brings eth0 back up again19:16
marcoceppinatefinch: yeah, the pattern for how testing works is mutating actually, now we have more entry points. Like if you have a Makefile with a test or unit_test target it'll get run19:16
marcoceppinatefinch: but any executable file (not just files with .test) will be executed with the testing harness as well19:16
natefinchmarcoceppi: makefiles, cute :)19:16
mwenningmbruzek, I'll start it up again and get more info19:16
* marcoceppi makes a note to update testing docs19:16
natefinchmarcoceppi: so any executable in the tests directory?19:16
marcoceppinatefinch: yes19:17
marcoceppiso many people complained about .py extensions that it opened to all executables19:17
natefinchhaha19:17
* marcoceppi rolls eyes19:17
mbruzekmwenning: I would be surprised if juju was doing the ifdown.  I think you have something wrong there that I just don't have enough information on yet.19:17
marcoceppinatefinch: so you could, if you want to forego a makefile, put 100-unit.test which was just +x and the bash required to unit test the hooks19:18
marcoceppithat'd be sufficient for the testing bits. We've gotten a lot of feedback about standing up a charm and environment each time you want to test19:18
natefinchmarcoceppi: actually, I had a thought,  I think I can precompile a testing executable and check it in19:19
marcoceppinatefinch: that's be bad ass19:19
natefinchmarcoceppi: haha... it even defaults to being called .test19:19
marcoceppinatefinch: it was meant to be ;)19:20
mwenningmbruzek, it'll be a few minutes to come back up.  If I hit the timing just right I think I can enable the console login and get more info19:20
natefinchmarcoceppi: sweet, now all I have to do is write the tests.19:20
marcoceppinatefinch: hah, no sweat! ;)19:21
=== fuzzy_ is now known as Ponyo
arosaleslazyPower: my mongo tests keep timing out on me http://paste.ubuntu.com/8381939/19:56
arosalesI may have to go in and increase their timemout value19:56
natefinchgood old mongo.... destroyer of timeouts20:02
=== roadmr_afk is now known as roadmr
mwenningmbruzek, https://pastebin.canonical.com/117305/20:05
mwenningdon20:05
mwenningt know if that enlightens at all..20:06
lazyPowerarosales: ack. let me take a look at it when i wrap the BD work i'm in the middle of20:27
lazyPowerif you're seeing timeouts, then CI will be, and everyone else will be too.20:27
arosaleslazyPower: thanks20:27
mbruzekmwenning: This is outside my area of expertise.  There is a br0 problem, but I can not tell where.20:43
mwenningmbruzek, ok thx.    I'll keep at it.   I'm still trying to get in thru the console.20:48
lazyPowermwenning: whats in /etc/network/interfaces?21:08
lazyPowerdo you have a bridge device specified in there? or elsewhere that would be recognized by the system?21:08
mwenninglazyPower, it just defines lo, eth0 as dhcp (external internet), and eth1 as static (internal maas network)21:10
mwenningno bridges21:10
lazyPowerthats why ti cant find the bridge device br021:11
aisraelHmm. Looks like the cassandra charm is broke.21:11
lazyPoweraisrael: quoreming?21:11
aisraellazyPower: http://pastebin.ubuntu.com/8382625/21:11
lazyPowermwenning: http://paste.ubuntu.com/8382626/21:11
aisraelTracking it down now. Looks like it's using the wrong gpg key21:11
lazyPowertake a look there, i implicitly define my network bridge and tie it to a physical interface21:12
lazyPoweraisrael: thats new emergent behavior compared to what i've seen cause failures in the past. must be an updated GPG key21:12
lazyPowercarry on sir21:12
aisraellazyPower: testing the fix now, but is there somewhere upstream I can check to verify _why_ the gpg key changed?21:21
lazyPoweraisrael: Just the cassandra issue tracker, which i think is in jira21:22
aisraelYup, that fixed it21:25
arosaleslazyPower: since https://code.launchpad.net/~a.rosales/charms/trusty/mysql/add-default-keys/+merge/235064 was merged can you update https://code.launchpad.net/~jorge/charms/trusty/mysql/fix-proof/+merge/234020 to invalid or superceeded so it drops off the queue?21:47
lazyPowersure thing, sorry i missed that.21:47
arosaleslazyPower: no worries. I think you got most of the other low hanging bits --thanks :-)21:48
lazyPoweri did my best. a few of the changes were a bit in depth to review as no tests were in teh charm, however - they were solid merges21:48
lazyPowerI'll take a look at MongoDB after BD - it may get moved to Monday21:49
lazyPowerdepends on how late the BD merges take me into the night w/ bundles21:49
lazyPoweractually, lets make a card for that and I'll dive into it monday morning.21:49
arosaleslazyPower: I am still trying to get mongo tests not to time out :-/21:49
lazyPoweri bet i know whats going on there, its the sheer volume of the instances.21:49
arosaleslazyPower: there is still this one https://code.launchpad.net/~jorge/charms/trusty/elasticsearch/remove-sets-metadata/+merge/23435821:49
lazyPowerits deploying 8 or 9 servers iirc. and that can be trimmed down to a single shard, w/ replicas21:50
lazyPowerall the functionality would be done there21:50
arosalesbut I thought marcoceppi was going to update this one since it was +1ed by the communty and he commented21:50
arosalesbut still needs a charmer to take action on it.21:50
arosaleslazyPower failing for me in aws too21:50
arosalesmarcoceppi: any objections to merging https://code.launchpad.net/~jorge/charms/trusty/elasticsearch/remove-sets-metadata/+merge/234358 ?21:51
lazyPowerack. Let me wrangle it now that we have a clear path forward with how our CI infra handles testing.21:51
lazyPowerit works with juju test, but not bundletester is what i'm seeing, and its going to take some refactoring.21:51
lazyPowerarosales: i'm already on it.21:51
arosaleslazyPower: any recomendation on passing larger constraints to bundle tester?21:51
arosalesor increasing timeout?21:51
marcoceppiarosales: none21:52
lazyPowermarcoceppi: merging and closing21:52
arosalesmarcoceppi: lazyPower: thanks :-)21:55
lazyPowerarosales: i'm gonig to send another batch update with the work i've done in the BD stack this week re: rev queue update21:55
lazyPoweras thats been a majority of the work i've done since i've been back from the sprint21:55
arosaleslazyPower: ack and thanks for the reviews21:56
lazyPowermwenning: any update on Dell OMSA today?21:56
lazyPowernow that iv'e waited until EOD time for you, let me poke you about something :P21:56
lazyPowersorry about that, i'll try to remember to poke you earlier in the day on Monday if there's no change.21:56
mwenninglazyPower, I've been trying to get this juju cluster up to run it.21:57
mwenningnp.21:57
lazyPower:| anything I can do to assist you?21:57
mwenninghmm, actually I managed to run it on another smaller cluster here, it came back with an error.21:59
mwenninggive me a second, I'll get it in a pastebin21:59
mwenninghttps://pastebin.canonical.com/11731122:02
lazyPowerthe deployment timed out22:04
lazyPowerthe hourglass in the response code says amulet killed the setup before it finished22:04
lazyPowermwenning: 2 things. 1) change line 16 to 1800,22:05
lazyPoweroh it has d.sentry.wait()22:05
lazyPowerso just 1 thing22:05
lazyPowerif you can do that and re-run, it should pass, it looks like it was nearly finihsed when amulet pulled the plug22:05
mwenningd.sentry.wait() means wait forever?22:06
lazyPowernegative.22:06
lazyPowerd.sentry.wait() is an internal command to amulet, it says "halt progression until no further hooks are being fired in teh environment"22:06
lazyPowerit assures that at least at one single ms during the deployment, no hooks are queued to be fired, and it has "settled"22:06
mwenningwhat's 2)  ;-)22:06
lazyPowerd.sentry.wait() was going to be 222:06
lazyPowerbut thats in there, i jumped the gun22:07
mwenningk, so timeout=180022:09
lazyPoweryep22:10
mwenningrunning...22:10
* lazyPower crosses fingers22:10
marcoceppilazyPower: it's charm test pulling the plug22:23
marcoceppimwenning: ^22:23
marcoceppilazyPower mwenning charm test -e maas --timeout 1800 10-deploy.test22:23
lazyPowerahhh22:24
marcoceppiyeah, I'm going to bump the default for that when I do some work on amulet next22:24
marcoceppi600 is way to close22:24
marcoceppimwenning: also, -v may help illuminate more what's going on with charm test22:24
mwenningmarcoceppi, I changed the d.setup(timeout=1800) in tests/10-deploy.test, will that do the same thing?22:25
marcoceppimwenning: nope, this is the difference between teh timeout for a test and for the test runner, slight distinction, in our jenkins infrastructure the charm test timeout is 2 hours, but the CLI defaults to 600 seconds.22:26
marcoceppiamulet and charm-test are decoupled from each other so there's a bunch of different timeouts running around and no one is talking to each other22:27
mwenningrats.  ok.  killing and starting again22:27
mwenninglazyPower, when I try a variant of your  /etc/network/interfaces file, it comes up with the route default pointing to the maas server22:35
mwenningso nothing gets routed out to the internet22:37
mwenningAm I doing something else wrong?22:37
lazyPowermwenning: well all of the networking config there is subject to modification for your specific use. In this case 10.0.10.1 is a router on my network, and 10.0.10.2 is my MAAS region/cluster controller.22:37
lazyPowermwenning: http://paste.ubuntu.com/8383171/ here's my route table on that server22:38
lazyPowernot sure how much help thats going to be for you, but this is what i have setup22:39
themonkafter changing a config variable X and do something if for some other reason config-changed hook runs will i still get updated value of X?22:41
mwenninglazyPower, ok, ours is set up a bit differently - eth0 is connected to the outside world, eth1 is connected to all the maas nodes.22:50
mwenningmaas server ip-forwards everything22:50
lazyPowermwenning: in my specific setup, the br0 attached to eth1 is whats making my vmaas cluster visible to the network22:51
lazyPowerthat interface handles the anding to reach my units.22:51
lazyPower(is anding the proper term here? i think i just failed in networking lingo)22:51
lazyPoweri digress, its handling the masqerade and forwarding22:51
mwenninglazyPower, this is going to take some time, hope you're not hanging around for me.23:02
lazyPowermwenning: nah, i'm around for other reasons :) poking you and helping where i can is a perk23:02
mwenningok preciate it.23:02
mwenningmy "small" cluster has 2 nodes, unfortunately it needs three for the test.  The "big" one is having all these problems, I'm trying to rebuild the maas server23:07
lazyPowerahh23:14
lazyPowermwenning: well if you've got other stuff to do this can wait. If its not an easy fire and forget thing23:14
lazyPoweri can lend a hand next week as well, i've got a few windows i can block out to help23:15
mwenninglazyPower, I'm going to try to get it running a little while longer - I may leave it running over the weekend.23:16
lazyPowerack. i'll be around about another hour before i dip out for the weekend23:17
mwenningsounds about right.23:18
josemarcoceppi: hey, I'm still having this 'only charmers can initiate reviews' prob on the revq23:51
marcoceppijose: it's a known issue23:51
marcoceppian update is going live soon23:51
joseoh, ok23:52
josesorry about that, then23:52
marcoceppitesting button is also broken ;)23:52
marcoceppibut that's being fixed too23:52
jose\o/23:52
josethanks for all your work!23:52

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