/srv/irclogs.ubuntu.com/2016/03/18/#juju.txt

axinocory_fu: still about ?00:20
axinocory_fu: https://pastebin.canonical.com/152219/ I repro'ed00:23
axinocory_fu: OK found the difference : APT::Install-Recommends "false";00:32
axinocory_fu: python-virtualenv only recommends the virtualenv package, so I think we should "force" its installation00:33
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_CyberJacob
=== danilos` is now known as danilos
=== zz_CyberJacob is now known as CyberJacob
=== CyberJacob is now known as zz_zz_CyberJacob
Sophie_brothers in arms I need help09:53
gnuoyjamespage, have you got a sec for https://code.launchpad.net/~gnuoy/charm-helpers/keystone_authtoken/+merge/289042 ?11:55
iceyI've deployed juju (1.25.4) onto MAAS configured with zones, but the charm environment still doesn't seem to be setting JUJU_AVAILABILITY_ZONE12:16
tvansteenburghhey guys, i have a fresh xenial with a fresh juju 1.25.3. `ps -aef |grep juju` returns nothing. how do i get juju running, or figure out why it won't start?12:24
=== zz_zz_CyberJacob is now known as CyberJacob
iceytvansteenburgh: have you 'juju bootstrap'ed12:28
tvansteenburghicey: says i'm already bootstrapped, but i can't destroy b/c jujud isn't running12:29
iceylocal environment tvansteenburgh?12:29
tvansteenburghhmm, that gives me an idea though12:29
tvansteenburghyeah12:29
tvansteenburghicey: got it going again with the juju-clean plugin12:34
iceynice tvansteenburgh :)12:35
iceyhopefully my problem is as easily solved, though I fear not12:35
marcoceppiSophie_: how can we help?12:39
Sophie_i thinki i found something i will tell you if it doesnt work :P12:44
beisnericey, can you point me at that az bug for 1.25.x ?12:56
beisnermy search foo is failing me ... ++coffee..12:56
iceybeisner: https://bugs.launchpad.net/juju-core/+bug/154679012:57
mupBug #1546790: availability zone not set <juju-core:Fix Released by anastasia-macmood> <juju-core 1.25:Fix Released by anastasia-macmood> <https://launchpad.net/bugs/1546790>12:57
iceythat should be fine on MAAS too as it is not a provider specific change12:57
beisnericey, still getting 'None' ?12:57
iceyon MAAS, yes; works fine on AWS12:57
beisnericey, can you push a new patchset to 293694 with log("AZ Info: " + az_info) in your az_info() method?13:07
beisneror the slightly adjusted equiv that is13:07
iceyheh sure, I did have that in there at one point :)13:08
beisnerthat'll be something we want in place for t-shooting purposes, both now, and down the line.13:08
beisnersafe to leave in place13:08
iceybeisner: incoming13:09
beisnericey, thx sir13:09
beisnericey, i'm going to tear that down and redeploy.  need to catch the tiger by the tail.13:10
iceybeisner: I was just about to say I'll do that :)13:10
iceyI'll let you drive13:10
iceybeisner: did you want to update the bundle to deploy changset 5?13:25
beisnericey, oh heck.  yes.13:25
iceyon the plus side, it failed to deploy anyway beisner13:26
beisnericey, yeah i suspect a separate bug in 1.25.4, as it did that on me as well.  but a retry succeeded.   and it didn't do that with the same bundle on 1.25.3.13:26
beisnerbut one at a time13:26
iceyby the way, apparently 1.25.4 is DOA for another bug, but it's the minimum that has a fix we're testing :)13:27
iceybeisner: ^13:27
beisnerit is13:27
beisnerbut if we want to move this az thing fwd, we either try-and-see, or shelve it until there is a juju version where az does what the charm change requires13:27
beisnericey, ha.  the controller had the patchset 4 rev of ceph-osd.  will upgrade-charm...13:44
iceyyay controller -_-13:45
jamespagethedac, beisner: had another run at https://review.openstack.org/#/c/291721/3 which should deal with upgrades as well13:47
jamespageits hard to follow the logic, but basically if the nova_api db is not created, we skip migration on service restart on upgrade, clear the dbstate marker in leader storage and then migration and restart on the next db-changed event...13:48
beisnericey, ok, charm upgraded.  now to look at the unit logs for az info dump...  drumroll13:50
iceybeisner: the place we call that happens in emimt_cephconf13:51
iceyemit_cephconf rather13:52
iceybeisner: look at /etc/ceph/ceph.conf ; it JUJU_AVAILABILITY_ZONE is, then it will be present there13:53
iceyin "osd crush location"13:53
iceyno AZ is set13:54
beisnerbut at least we see that in the juju unit log now13:55
iceytrue13:55
beisnericey, ok this is where i bail on deploy/test efforts and let you drive the bug(s).   az ceph changes should be kept wf -1 until we can actually exercise the proposed changes.  we'll keep those maas machines avail to you though.13:58
iceybeisner: they are fine on AWS :-P13:58
beisneruntil thedac needs 'em back that is ;-)13:58
iceybut yeah, I think this is blocked until we can get some juju insight on it13:58
beisnericey, right, but the actual use case is on metal.13:58
iceybeisner: one can only hope ;-)13:59
beisnericey, ok thx for diving into that with me.  lmk how it goes with bug chasing.13:59
beisnerjamespage, ack, thx re: ncc 291721, will look for thedac to re-review.14:03
beisnerhi tinwood, gnuoy - re: the enhanced pause/resume work - should we be adding pause/resume amulet tests to go along with those?  (similar to the early-adopter swift-* ones)14:12
gnuoybeisner, yes, I think we should14:12
tinwoodhi beisner, yes, I've added that to my instructions in the gist: https://gist.github.com/ajkavanagh/bb16cd911dfbac2e565114:13
beisnergnuoy, tinwood - ok great, i agree.  i'd like to see those accompany the proposals.14:13
tinwoodbeisner,  "proposals"?14:13
beisnererrr uhm, gerrit changes.  /me still blurs git/gerrit/bzr terminology ;-)14:14
tinwoodah, right.14:14
beisnerif we defer to add tests later, we endure test debt which may or may not be revisited.14:14
beisnerhence, the accompany-changes-with-tests preference14:15
tinwoodbeisner,  we singing from the same songsheet.14:15
beisnerwoot14:15
beisner🎜🎝14:16
tinwood:)14:16
beisnerwow that +2 button is no-confirm one-click madness14:21
beisnertinwood, ok yep i also had refresh the browser issues on my wf-1 for your ceilo.  wf cleared to 014:22
tinwoodbeisner, you too eh.  I also think I had a osci blow up on the charm-recheck-full on charm-glance :(  -- or I misunderstood the error trace.14:23
* beisner looks14:23
beisnertinwood, indeed "ERROR failed to bootstrap environment:"  might have been during the network loop/storm.  feel free to retrigger14:25
tinwoodbeisner, yes - that makes sense.  Lost network access to the bastion for about 2 mins around 12.00 today -- IIRC.14:26
tinwoodI'll trigger a recheck.  Thanks!14:26
beisnertinwood, ack thx too14:27
beisnerhi tvansteenburgh, i'm seeing something that i think is an amulet bug in the sentry list population, with subordinates.  caught it here:  http://pastebin.ubuntu.com/15414895/   ideas?14:28
tvansteenburghbeisner: can you file that here and i'll take a look https://github.com/juju/amulet/issues14:29
thedacjamespage: I'll take a look at your nova-cc PR shortly14:30
tvansteenburghbeisner: can you include the full yaml formatted status too14:32
beisnertvansteenburgh, yep, raised, will add full yaml14:32
tvansteenburghbeisner: also, does self.d.sentry['lxd'][0] work?14:33
tvansteenburgh(if you know)14:33
beisnertvansteenburgh, i'm guessing so, per: https://github.com/openstack/charm-lxd/blob/master/tests/basic_deployment.py#L12714:35
tvansteenburghbeisner: k, thanks14:35
beisnertvansteenburgh, i wonder if the passing runs have matching subordinate and principal unit ids and if it's failing when they aren't matching?  aiui there's no guarantee that they will match.14:36
beisnertvansteenburgh, indeed, when the sub and princ unit id's match, it passes.14:41
tvansteenburghbeisner: could be a red herring, i can't see the relevance in the code14:44
tvansteenburghof course i could be wrong14:44
beisnertvansteenburgh, yah it could be, i've not dug into it.14:44
jamespagethedac, hey - looking at that unison merge/bug you referenced now14:46
thedacjamespage: sweet, thanks14:49
magicaltroutmarcoceppi: couple of random questions from todays delving into charm world14:51
magicaltrouta) why can't you trigger actions from juju gui?14:52
magicaltroutb) can you trigger actions from within a bundle?14:52
marcoceppia) the GUI hasn'14:52
marcoceppit had time add that as a feature yet14:52
marcoceppib) not yet, we had an interesting conversation about it and it's a feature I'm interested in for benchmarking but you can't atm14:52
jcastromarcoceppi: for policy the "must pass bundletester" ... that replaces must pass charm proof and bundle right?14:52
jamespagethedac, not sure I quite understand how that's impacting you?14:52
jcastrofor your proposal I mean14:52
marcoceppijcastro: yes14:52
magicaltroutbooo14:53
magicaltroutokay14:53
magicaltroutI wanted to come up with a useful "demo bundle"14:53
thedacjamespage: keystone on xenial segfaults when trying to copyt the ssl files via unison14:53
jcastrodo we have bundletester documented? I can't seem to find a page for it14:53
magicaltroutbut i'd need to run some actions to get the test data stuff in there14:53
marcoceppimagicaltrout: yeah, I do as well. It might be good to reply to the roadmap email for actions in bundles and actions in GUI14:53
jamespagethedac, between units all on the same version?14:53
marcoceppimagicaltrout: I keep forgetting about those14:53
thedacjamespage: yes14:53
magicaltrouti'll add them in then14:53
marcoceppijcastro: for now, just have it as `charm test` we'll make charm test do the right thing14:53
thedacjamespage: and I can confirm manually scp'ing works14:53
jcastroack14:54
jamespagethedac, Unison segfault when transferring data, "input_value: bad bigarray kind"14:54
jamespagethat kinda thing?14:54
thedacsimilar. I'll have to deply again to get the exact error14:55
jamespagethedac, but you def saw a segfault right?14:55
thedacyes, that is confirmed. While running the command by hand14:55
cory_fuaxino: https://github.com/juju-solutions/layer-basic/pull/4915:04
cory_futvansteenburgh (or anyone who can help): We ran into an issue with our bundle test for Zeppelin in that Zeppelin requires Javascript to render anything so our Amulet test can't verify that it's actually working.  That ended up biting us because it in fact isn't.  Any suggestions on how to charm test a service that requires JS?15:06
magicaltroutcory_fu: can't you prod endpoints to check its responding correctly?15:11
tvansteenburghcory_fu: i dunno, maybe shell out to casperjs or something15:11
tvansteenburghcory_fu: might be a good question for hatch15:12
cory_fumagicaltrout: I don't know the protocol the zeppelin websocket uses15:12
tvansteenburghi assume you'll have to shell out to something though15:12
hatchahoy15:13
cory_fuhatch: Trying to figure out how to create an automated test for Zeppelin.15:14
hatchcory_fu: if you want to test that zeppelin renders something properly (although thats probably not recommended because you're effectively testing Zeppelin at that point)15:15
lazyPowercory_fu : if you're willing to incur the dep cost, phantomjs is a resonable headless test driver that by its very nature understands js.15:15
hatchyou 'simply' ;) need to load it up in something like phantomjs and then query the dom15:15
hatchusing a test driver15:15
lazyPowercory_fu : splinter is a nice abstraction for talking to phantom from python...15:15
cory_fuNice. Those are exactly the suggestions I was hoping for.15:16
magicaltroutlast time I had to test websockets, I trapped some output with wireshark and hacked up curl to test it :)15:16
hatchcory_fu: although I'd still question weather the test is necessary15:16
lazyPowerhatch - i think its more of a smoke test to find out if zeppelin is doing the right thing15:16
tvansteenburghERROR unrecognized command: juju init15:16
tvansteenburghwtf15:16
cory_fuhatch: The background is that Zeppelin starts up and runs fine, but if you actually try to run the notebook, it fails because of a classpath configuration issue15:17
hatchohhh I see15:17
hatchdownloading and installing phantom is such a time consuming process :(15:17
lazyPowercory_fu - i'm curious to see how that evolves over time, if it becomes a noisy test due to DOm changes between releases, or if it stays relatively consistent15:17
lazyPowerhatch - we can use a container to make that part faster15:17
hatchmmm true true15:18
hatchit's really too bad everyone is going to these client-only rendering schemes15:18
cory_fuYeah, I had thought of phantomjs but figured it would be a big dep just for a test.  And I also wasn't sure about bindings, but if splinter is good, maybe it'll be worth it15:18
hatchit only takes a few hours to set up an isomorphic rendering setup15:18
lazyPoweras a webdev that pushed for the client to do more, i regret nothing... but i also got out of webdev :D15:18
magicaltrouti'll take websockets headaches over php any day ;)15:19
lazyPower^15:19
lazyPowerand that15:19
lazyPowerbushel baskets full of that15:19
hatchlol15:19
cory_fuha15:19
cory_fumagicaltrout: I'm really not inclined to start reverse-engineering ZK, though15:20
hatchif I can't load a 'content' site without javascript and still see the content - they did it wrong ;)15:20
magicaltroutit is true though, I'm not a fan of stuff that is entirely Javascript, even though i write webapps for a living.15:20
hatchcory_fu: I'd imagine others would also need to do similar tests with charms, might be worth abstracting it into a module of sorts15:22
magicaltroutyup, if it becomes generic, I don't mind reusing someone elses effort ;)15:22
aisraelDid I dream juju 2.0 beta 2 was released? I've got ppa:juju/devel added but still don't see beta 215:26
aisraelOhh. The package was renamed from juju-core2 to juju215:28
kwmonroeyeah, thank lazyPower for that ^15:32
lazyPoweri got bit by it too15:32
lazyPowerhad to update charmbox15:32
lazyPowerkwmonroe what did i do?15:32
cory_fulazyPower: I tihnk kwmonroe was referring to the splinter suggestion15:35
cory_fuOr maybe he was blaming you for the juju-core2 -> juju2 rename15:35
cory_fuEither way, it's all your fault15:35
lazyPoweryeah, some would say that15:35
magicaltrouthehe15:35
lazyPowerbut some people just want to watch the world burn cory_fu15:36
cory_fulazyPower: When you made your earlier comment about encouraging client-heavy pages and then leaving web dev, I pictured you throwing a match over your shoulder while walking away, after having convinced everyone to hoard gasoline in open containers15:37
jamespagebeisner, hey https://review.openstack.org/#/c/291139/ is still kicking around - nice to get that landed if possible...15:39
hatchcory_fu: lol15:40
beisnerjamespage, indeed.  so we had our own ski trip this week, but it was more off-path, through the trees with a few cliff jumps ;-)   i think we're clear of any fires and back to regular business.15:40
jamespagebeisner, oh did we?15:40
jamespagebeisner, what exploded?15:41
lazyPowerhahaha15:43
beisnerjamespage, first stable charm update with the new flow revealed:  stable charms needed tox and gerritreview file housekeeping, and 16.01 stable charms are set to test amulet against next which is no bueno;  WIP by wolsen and i15:44
jamespagebeisner, urgh...15:44
beisnerjamespage, the master charm makefiles were still using system pkgs which was causing inconsistency in tests, that's fixed on all @ master (except lxd, which has a wip)15:44
beisnerjamespage, and we broke and reverted two charms at master. ;-)15:45
jamespageeeek15:45
beisnerplugged one of those holes with an amulet test, the other was just process15:45
marcoceppitvansteenburgh: juju init is dead15:45
marcoceppijust autoload-credentails15:45
beisnerand everyone survives :-)15:45
marcoceppiwtf do you need to init ;)15:45
tvansteenburghmarcoceppi: thanks, i figured it out :)15:45
tvansteenburghmarcoceppi: well it's in the docs, and it's still in the command list for juju215:46
marcoceppiand so ends one of the longest running disagreements between me and evilnickveitch "init vs generate-config" ;)15:46
marcoceppitvansteenburgh: that's just beta cruft, it's gonzo15:46
tvansteenburghcool15:46
evilnickveitchmarcoceppi, yes, it must be great for you not to be quite so wrong any more :)15:47
marcoceppievilnickveitch: aww, that's what I was hoping you would say. I miss our spirited debates15:47
evilnickveitchI'm sure we will find something to take its place!15:47
jamespagebeisner, the revert was the 'blocked' status on ceph-osd?15:52
beisnerjamespage, ack that one and a keystone install-hook fail.15:52
gnuoybeisner, I'm failing to grok the CI comments on https://review.openstack.org/#/c/292897/ , has full amulet passed?16:01
beisnergnuoy, yep i cleared my wf -1 to 0;  then prematurely +2'd (via the one-click no-confirm +2 button, yikes);  then set my code-review to 0;  most recent patchset (5) has Canonical CI verify+1;  so it's clear to review.16:03
gnuoybeisner, ok, ta16:04
beisnergnuoy, yw.  apologies for the noise there.16:06
jamespagegnuoy, thedac, beisner: hey I was going to try to spend some time next week on nova-cc and nova-compute to a) rollup old config files and b) extract neutron16:21
jamespageany thoughts?16:21
gnuoyjamespage, Sounds great, thank you16:22
thedacnova-compute would still run nova-api-metadata when in dvr mode, correct?16:22
jamespagegnuoy, this would mean removal of the legacy neutron support which I think would be a win for all16:22
gnuoyagreed16:22
jamespagebased on my current experience of the nova-cc charm at least16:22
jamespagethedac, correct16:22
jamespageso its aware of neutron, but only provides nova services...16:23
thedacjamespage: then I am a big +116:23
jamespagethedac, I reckon it will strip out about 50% of the codebase..16:23
jamespageesp in nova-cc16:23
thedacnice16:23
jamespagethedac, unison is merged btw16:25
jamespageso that should fix keystone syncs again16:25
thedacjamespage: thanks. I'll test16:25
jamespagebut it does mean that a trusty->xenial sync will not work16:25
jamespageI think16:25
jamespageits a bit of a mess with cross version compat afaict16:25
thedacgnuoy: is this the only nrpe change? https://code.launchpad.net/~gnuoy/charms/trusty/nrpe/sibling-subordinate/+merge/288888  That one failed automated testing16:26
gnuoythedac, that's the one. It'll probably be next week before I can get to checking why it failed16:27
thedacgnuoy: ok, I'll still do the code review for now16:27
gnuoythedac, excellent, thanks16:27
thedacgnuoy: it might be a test rig failure. import amulet failing http://juju-ci.vapour.ws:8080/job/charm-bundle-test-aws/3192/console16:29
thedactvansteenburgh: Is this a problem with the automated testing? ^^16:29
=== natefinch is now known as natefinch-lunch
gnuoywolsen, hardening io ch change landed16:30
thedacnice16:30
tvansteenburghthedac: amulet pkging prob, but resolved since that test ran16:31
thedactvansteenburgh: great, is there a magic way to retest?16:31
tvansteenburghthedac: yes :)16:31
tvansteenburghthedac:  are you in ~charmersL16:32
tvansteenburgh~charmers ?16:32
thedactvansteenburgh: haha, I was when I was in IS. I need to make that request. my bad16:32
tvansteenburghthedac, np, if you were you could kick off a test from here http://review.juju.solutions/review/260616:33
tvansteenburghbut i'll do it for you16:33
thedacthank you, sir16:33
tvansteenburghthedac: retest queued, np16:33
wolsengnuoy \o/16:36
jamespagethedac, did a quick upgrade check on nova-cc liberty->mitaka - worked OK16:50
jamespagein that it did the series of things I expected it todo.16:50
thedacsweet.16:50
jamespageand is functional afterwards...16:50
thedacthat is always good16:50
thedacI'll watch the amulet run and +2 when it completes. (unless we are supposed to have different reviewers do the second review) /me still learning the process16:51
narinderguptamarcoceppi: hi16:51
narinderguptamarcoceppi: do we know whether juju published feature is there in latest juju client? As we have to start preparing for OPNFV C release now so want to make sure i published the various charm in opnfv dev space and use it? How can i do that?16:53
thedacjamespage: oh, amulet already succeded. So again policy wise should I be the +2 or should that be a second reviewer?16:55
jamespagethedac, +2 approval from you is fine, and then +1 on workflow to land it...16:55
thedaccool16:55
jamespagethedac, we're only enforcing a no-self-review policy right now16:55
thedacgot it16:56
thedacjamespage: approved16:56
marcoceppinarindergupta: that will be released either today or monday17:03
marcoceppinarindergupta: and it's not in the juju client, it's in the charm command17:03
narinderguptamarcoceppi: ok i need to learn how to do and how its going to help me in C release. Ad most importnant for me is openstack charms in git repo though17:04
thedacjamespage: seems the unison merge fixed that issue. Thank you.17:09
jamespagethedac, np17:09
jamespagenarindergupta, openstack charms are in git repos now17:10
narinderguptajamespage: yes thats in git repos and my queston was whether juju feature of publishing charm in dev will work for openstack charms in git repo also or not?17:11
jamespagenarindergupta, tbh the new workflow is agnostic of VCS17:12
jamespageits basically 'shove this directory and contents to the charmstore here please'17:12
narinderguptaok that sounds good then17:12
narinderguptaso that we can control what should go in opnfv dev charmstore space17:13
jamespagenarindergupta, I'm a little unclear as to why you need a separately namespaced set of charms?17:17
=== redelmann is now known as rudi|comida
=== natefinch-lunch is now known as natefinch
=== rudi|comida is now known as redelmann
cholcombeno crontab helpers in charmhelpers?18:11
cholcombepip to the rescue!18:11
fritchieanyone here familiar with openstack-base?18:47
iceylazyPower: can you install python-tox on the base docker image for https://github.com/juju-solutions/charmbox ?19:10
lazyPowerif you give me a bug to do so19:10
lazyPowerdo you want it in stable, devel, or both?19:10
iceylazyPower: development? I want to be able to start up the box, cd to the charm directory, and run make test; most of our (openstack) tests are using tox to manage the testing environment19:11
lazyPowerso you want it on the 2.0 flavor only?19:12
iceylazyPower: I suppose I misunderstood, I'd like it to have tox on all versions that I could run tests on :)19:13
lazyPowericey - ack, gimme a bug# and i'll submit to the builders19:14
iceybug# on LP, GH?19:14
lazyPowerGH19:14
lazyPower@ the repo you linked above19:14
iceyhttps://github.com/juju-solutions/charmbox/issues/13 lazyPower19:15
lazyPowericey : https://github.com/juju-solutions/charmbox/pull/1419:23
lazyPowericey : https://github.com/juju-solutions/charmbox/pull/1519:23
lazyPower~ 20 minutes after those are merged you'll have new toys in charmbox19:24
icey:)19:25
lazyPowerhttps://hub.docker.com/r/jujusolutions/charmbox/builds/ - if you wanted to follow along at home19:38
iceyheh lazyPower, the reactive base layer is using tox for unit testing :)19:39
lazyPowerwe've been using tox all over the place for quite a while19:39
lazyPowergood shout tho. lmk if you need anything else icey19:41
iceyI think I'm good lazyPower thanks!19:41
cholcombelazyPower, want to review a 4 liner?  https://code.launchpad.net/~xfactor973/charm-helpers/action-params/+merge/28953720:32
lazyPowercholcombe - sure - if you review mine https://github.com/juju-solutions/layer-logstash/pull/1320:34
cholcombelazyPower, :)20:35
lazyPowerobey the space walrus20:36
cholcombehah20:36
=== wolverin_ is now known as wolverineav
cholcombelazyPower, it looks sane to me20:41
cholcombelazyPower, i don't have a lot of layer experience though so if i missed something that's why :)20:41
lazyPowercholcombe - time to change that ;)20:45
cholcombeyep20:45
lazyPowerapproved/merged20:47
lazyPowercholcombe - beware though, i dont think that method is python3 safe. iteritems was removed i'm pretty sure20:48
cholcombelazyPower, uh oh20:48
lazyPowerdict.items() is the python3 idiom20:49
cholcombegotcha20:49
thedacFinally sent my offical ~charmers application email23:06

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