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

=== menn0 is now known as menn0-afk
=== menn0-afk is now known as menn0
marcoceppirick_h__: it's been uploaded, but it's a bit...special02:32
rick_h__marcoceppi: heh ty02:32
rick_h__marcoceppi: yea, saw it in the charmstore02:32
marcoceppirick_h__: reminds me, next month we need to spend a bit more time, but it can be deployed / demoed on AWS. I'll make sure the readme is updated next week02:46
rick_h__marcoceppi: cool ty02:46
rick_h__marcoceppi: it was enough for me to check out the actions/etc and get an idea for what we did/put things together02:46
marcoceppimagicaltrout: I may have gone a bit overboard in my attempt to pull out gitlab omnibus stuff, but I think it makes a pretty compelling architecture05:54
marcoceppimagicaltrout: I'll have a pull req on Tuesday, pretty excited about the possibility of running gitlab "better" than their gitlab.com offering ;)05:55
=== CyberJacc is now known as CyberJacob
=== CyberJacob is now known as Guest84891
=== bogdanteleaga_ is now known as bogdanteleaga
=== Saviq_ is now known as Saviq
=== marlinc_ is now known as marlinc
=== ryotagami_ is now known as ryotagami
sam__20Hi. I'm trying to get started with this https://jujucharms.com/get-started08:22
sam__20on a VirtualBoxed Ubuntu 14.0408:23
sam__20juju quickstart mediawiki-single stays forever at "juju-gui/0 deployment is pending. machine 1 provisioning is pending."08:23
sam__20Any ideas?08:23
magicaltroutlol marcoceppi I've merged the PR, I'm very curious to see what you have coming.... :)09:21
TheMuemorning09:24
gnuoytinwood, got a sec to help me with some git 101 stuff?10:07
tinwoodSure gnuoy, ask away.10:09
gnuoytinwood, I've just discovered "git checkout --theirs" which I think solves my issue. But thanks, sorry for the noise10:09
tinwoodoh.  I've NEVER used that.  What's it solve?10:11
magicaltroutgnuoy: dunno if you already use it, but on a similar vein to make sure incoming merges work and stuff, git stash is very useful10:12
gnuoytinwood, my fork is out of sync with upstream but my fork has nothing I want in it so I was refreshing it by merging master from upstream but I had conflicts. I only wanted the upstream copy10:12
magicaltroutslightly different usecase I admit10:12
gnuoymagicaltrout, I shall hit the man page, thanks10:13
tinwoodgnuoy, oh.  I did git checkout master, git fetch/merge and then git rebase for the same.10:13
tinwoodgnuoy, it's so painful I've decided not to fork in the future!10:15
gnuoytinwood, but I need a staging area that mojo and amulet can reference, I don't think the review.o.c mp branch can be that10:15
tinwoodgnuoy, oh right.  Fair enough.10:16
BrunoRhow do I get Juju 1.25.4?10:17
gnuoyBrunoR, looks like ppa:juju/proposed10:18
gnuoy( https://launchpad.net/~juju/+archive/ubuntu/proposed )10:19
BrunoRgnuoy: thx10:19
BlackDexHello there..10:55
BlackDexi get the following error: WARNING juju.apiserver.client status.go:677 error fetching public address: public no address10:55
BlackDexOr warning actually10:55
BlackDexBut, deployment seems to be stuck10:55
beisnergnuoy, tinwood - juju-deployer just grew a deploy from refspec feature aiui, and we could plumb our bundles/specs to use those instead of branch: lp:foo.12:49
beisnerie.  every change/review has a refspec which is an addressable pointer to that change + patchset12:50
beisneri do plan to wire that up so that we can optionally run relevant mojo specs against a review with more magic word commands via comment12:51
tinwoodo/ beisner - not sure I entirely understood that! :) "aiui"?13:33
beisnertinwood, as i understand it ;-)  we need to exercise WIP/ change reviews against certain test cases which are already defined in mojo specs.  we just need to rewire the specs to optionally take a 'refspec' so that your proposed charm change can be exercised in the context of that test spec.13:34
tinwoodah, I see.  That is useful.13:35
beisnerfor ex:  someone proposes an improvement or fix for something HA or SSL.  our middle-of-the-road default tests may not exercise the thing that we really should.  we would then say something like  charm-recheck-ssl  ... which would then fire off the mojo ssl test specs.13:36
tinwoodso custom commands as review comments being passed into juju-deployer.  nice.13:37
beisnerthe same thing that gets us that, also scratches the itch for needing to exercise some arbitrary gerrit change in a bundle or spec.13:37
beisnereverything is prepped and in place to do that today, except our specs.13:37
beisnerwe're already passing the refspec value via env vars to every job.  the specs just need to be fitted to listen for that, and if exists, use it.13:38
beisnerthe goal here is that a contributor or reviewer can simply ask, wait for tests, then be armed with more info for their review.   instead of having to manually stand up an deployment, poke at it, run specs, etc., he/she can move onto something else while that bakes.13:41
tinwoodI like that.  Obviously, it's bound into the artifact that's being reviewed.  Or are you saying an 'arbitrary' spec?13:43
beisnertinwood, right, it takes a review to get a refspec.  so one would have to propose something to take advantage of that.13:43
beisnertinwood, it'd also be nice to figure out how to grind off the rough edges of forking for WIPs then rebasing and proposing that as a change.  i think that workflow should exist and be usable.13:44
beisnernaturally, that's outside the scope of the test automation, but from a developer standpoint, you may not want to propose every bright idea that comes along, yah?  :-)13:45
tinwoodbeisner, I've struggled with it a bit.  To update, I've had to checkout master, pull | fetch/merge, checkout branch, and rebase.  I guess I should also push back my master (as it's been synced with the original fork).13:46
tinwoodbeisner, also I needed to gitreview -s (although I did it manually) on my fork to get the ChangeId into the commit for the review to work.13:47
beisnertinwood, can we do a gist based on what you've found so far, and perhaps some of us can use it / tune it, to eventually add that alternative workflow example to our readme?13:48
tinwoodbeisner, sure.  Can do.  I'm currently just sorting out functional_tests in a venv which is interesting :)13:49
beisneri think there's value in having a solid example.  even if it has some hoops to jump through, at least it's a reference for what needs to be done if someone wants to wip it.13:49
tinwoodsure.13:49
beisnertinwood, i bet.  that'll also be awesome to have nailed down.13:49
tinwood"watch this space" :) --- I hope!13:49
beisnertinwood, much appreciated13:50
beisnerhi gnuoy - is https://review.openstack.org/#/c/292381/ ready for a full test validation, or do you have more work in progress on that one?14:31
gnuoybeisner, I'd like to run another test before asking for the full amulet run14:32
beisnergnuoy, ok thanks :-)  i'll let you trigger that whenever you're ready.  i was just making a pass through the reviews to see which ones should have that, and yours is on that list. :-)14:33
beisnerha.  two smiles even14:33
gnuoykk, ta14:33
BlackDexI'm trying to deploy with deployer, but all the machines are currently stating: "Agent-Status": allocating - "Message": Waiting for agent initialization to finish15:36
cory_fuBlackDex: What does the [machines] section say?  It sounds like they're failing to provision15:58
BlackDexcory_fu: Hmm, i just rebooted the bootstrap node, and now everything seems to be continuing16:18
BlackDexthat is trange16:18
cory_fuOdd16:19
=== natefinch is now known as natefinch-lunch
=== natefinch-lunch is now known as natefinch-afk
beisnercholcombe, icey - full rechecks a-ok on these.  i believe these are the ones we discussed retesting and landing.  can you have a look and confirm?  tia.19:06
beisnerhttps://review.openstack.org/#/c/288969/19:06
beisnerhttps://review.openstack.org/#/c/286779/19:06
beisnerhttps://review.openstack.org/#/c/292194/19:06
beisnerhttps://review.openstack.org/#/c/291914/19:06
beisnercholcombe, icey - once those have landed, do a charm-recheck-full on https://review.openstack.org/#/c/288177/ and expect it to pass, yah?  :-)19:07
cholcombebeisner, the 3rd one isn't me19:07
iceyhttps://review.openstack.org/#/c/292194/ is unrelated to our discussion19:07
cholcombebut the others look fine19:07
beisnercholcombe, ah indeed.  i had issued a recheck on that for a different reason.  but, that'll actually be for you two to review and optionally land now that it's had the full amulet test run. :-)19:08
cholcombe:)19:08
beisnercholcombe, so we're clear for takeoff on the other 3 from my perspective.19:09
cholcombeawesome!19:09
cholcombebeisner, land all the things19:10
stokachuwallyworld: does the api call to FullStatus only return the status of the default admin model?19:10
stokachueven if i switch models and call FullStatus it always return that of the admin model19:10
stokachualso this call https://godoc.org/github.com/juju/juju/api#Client.Status only returns minimal status information for current model19:12
beisnercholcombe, one thing:  james hadn't reviewed this one, and i'd like to get another os-charmer to code-review it with a +1.  with that, i'll be happy to +2 merge it.  https://review.openstack.org/#/c/291914/119:13
cholcombebeisner, that's fine19:13
cholcombebeisner, i'm nowhere near as behind on that one as with the others19:14
beisnercholcombe, it doesn't appear to be inter-dependent on the others, is it?19:14
cholcombebeisner, nope19:15
beisnercholcombe, have the charmhelpers/*  changes from these have all landed in lp:charm-helpers?   (i've not done the stare & compare on that for these reviews)19:16
* beisner seeks afternoon coffee19:16
cholcombebeisner, i believe so but let me double check19:17
cholcombebeisner, nope missing one still: https://code.launchpad.net/~xfactor973/charm-helpers/ceph-to-rados-fix/+merge/28855919:18
cholcombelazyPower, want to +1 this? ^^19:18
* lazyPower looks19:20
lazyPowercholcombe - merged at revision 54719:54
=== natefinch-afk is now known as natefinch
lazyPowerbeisner ^19:57
beisnerthx lazyPower19:59
beisnerhey lazyPower - on the charmers topic, since i've got the necessary +1s via email, what's next to get added to the charmers LP group?20:00
lazyPowerbeisner - Just a hangout with marcoceppi to get added to the lp group :) Plus the spiel about having the keys to the porche, and dont scratch it20:01
lazyPowerhe'll be back in tomorrow, so lets follow up with him then20:02
beisnerlazyPower, ack, thanks!20:04
cholcombelazyPower, thx :)20:24
magicaltroutmarcoceppi: one of our guys says he'll probably send over some cards PR's when he gets bored, not sure what they entail, but if you see anything from breno polanski land, thats who it is20:26
marcoceppimagicaltrout: sweet!20:30
pmatuliswhen registering (juju register) a user specifies a password. where is this password used? silly question i know20:37
beisnercholcombe, cache tier and rolling upgrade changes merged.  initiated full amulet recheck on rolling upgrades.20:57
cholcombebeisner, woo!20:57
beisnercholcombe, err uh, rolling upgrades for ceph-mon landed, rechecking rolling upgrades for ceph-osd of course.20:57
=== natefinch is now known as natefinch-afk
magicaltroutwhen you delete your work directory that included a version of juju 2 alpha which you are using in production.........21:59
magicaltroutthank god for github21:59
rick_h__magicaltrout: ouch22:05
magicaltrouthehe22:10
rick_h__magicaltrout: trying b2?22:10
magicaltrouti just needed to work out roughly when i spun up the bootstrap node and pick a commit ;)22:10
magicaltroutrick_h__: my dev box runs trunk i do a nightly sync a rebuild22:11
magicaltrouti just have a random prod box running an old alpha cause i needed M4 instances and they weren't in 1.25, so I just went to 2.0 alpha, which works fine, but of course the config files have all changed :)22:12
magicaltroutits pretty static though so it doesn't really matter, the boxes it controls just run some mysql nonsense22:12
rick_h__magicaltrout: cool22:14
wallyworldstokachu: FullStatus should return the correct status for the relevant model. do you have an examle where that's not the case?22:45
stokachuwallyworld: https://paste.ubuntu.com/15387713/22:49
stokachuso basically I juju switch mydev:staging, then load up my api code22:49
stokachuand run a status against it22:49
stokachuyou can see on line 36 the model name doesn't match the currently selected model22:50
stokachubut juju status works as expected22:50
wallyworldstokachu: is this the python client?22:50
stokachuwallyworld: yea22:50
stokachuwallyworld: well mine https://github.com/Ubuntu-Solutions-Engineering/macumba22:51
stokachunot python-jujuclient22:51
wallyworldah22:51
wallyworldi'd day that client needs work to properly support multi-model (as a guess)22:52
wallyworldthe current model is stored locally in the ~/.local/share/juju directory22:52
stokachudo i have to connect to each model's api server?22:52
wallyworldthat model uuid would need to be passed with the FullStatus request22:52
stokachuor does each model have its own?22:52
wallyworldfrom memory, there's the one api server but the model uuid forms part of the request22:53
stokachuwallyworld: so the FullStatus isn't documented on godoc any longer22:53
stokachujust Status22:53
stokachuand it only takes patterns of some sort22:53
wallyworldthat i was not aware of. i'll have to dig in and see what's been happening22:54
wallyworldoff hand, i suspect it's just a matter of passing the correct model uuid along with the request22:54
stokachuwallyworld: https://godoc.org/github.com/juju/juju/api#Client.Status22:54
wallyworldthat's api, not apiserver22:54
wallyworldyou want to look at the apiserver docs22:55
stokachuah right22:55
wallyworldhttps://godoc.org/github.com/juju/juju/apiserver/client#Client.FullStatus22:55
stokachuwallyworld: so the status params just talks about patterns22:56
stokachuwhere is it defined on what parameters can be passed to that endpoint?22:57
wallyworldi think the model uuid forms part of the url eg 192.168.1.1/models/<uuid> but i'll need to check22:57
wallyworldi'm not sure where that's documented off hand22:57
wallyworldi'll find out22:58
wallyworldstokachu: so yeah, you form the base of the websocket url by appending /model/<uuid> to the ip address of the controller23:09
wallyworldthat's how it knows what model it is using23:09
stokachuso currently my URL is wss://192.168.1.1/model/<uuid>/api23:10
stokachuso i just need to make sure to relogin with the updated uuid23:10
stokachuwhen i want to 'switch' models effectively23:10
wallyworldstokachu: yes, correct23:13
wallyworldthat's what the juju cli does23:13
stokachuwallyworld: ok cool, thanks for clearing that up23:13
wallyworldnp23:13
stokachuive just been using the 'controller' uuid23:14
wallyworldlwt me know if you have any other issues23:14
stokachuwhich is essentially the admin model23:14
wallyworldyep23:14
wallyworldthe controller uuid and admin model share a uuid at the moment23:14
wallyworldprobably forever23:14
stokachuyea once those name changes come into effect it'll be much clearer23:15
wallyworldstokachu: hopefully beta3 this week will have the latest multi-model goodness with a default admin model and a host model the user can name on bootstrap23:15
stokachuwallyworld: ok cool man23:16
stokachuwallyworld: cool just tested making sure to relogin to the new model uuid and it works as expected23:25
wallyworldstokachu: great, it works?23:26
stokachuwallyworld: yea works great now23:28
wallyworldawesome23:29
nayehello23:56
nayehola23:56

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