[12:28] <coolbhavi> hey dpm :) welcome back!
[12:28] <dpm> heya coolbhavi, thanks :)
[12:29] <coolbhavi> :-) how are you doing?
[13:07] <ajmitch> coolbhavi: got the nod from the TB about voting, as you may have seen
[13:08] <ajmitch> time for me to sleep, it's 2AM & I've been doing work rather than having spare time for arb stuff
[13:08] <coolbhavi> yes ajmitch thanks I just pinged the ubuntu-devel list again good night!
[13:18] <coolbhavi> dpm, I remember you had reported a bug on launcher icon not showing on apps directory. I think I came across the same sort of stuff again
[13:18] <coolbhavi> do you have the link to the bug?
[13:21] <dpm> coolbhavi, it should be tagged as 'arb', let me have a look
[13:22] <coolbhavi> dpm, sure
[13:22] <dpm> coolbhavi, bug 1081504
[13:22] <coolbhavi> thanks a lot dpm
[13:23] <dpm> np ;)
[13:23] <bdrung> coolbhavi: no doubts/questions re the new review process
[13:24] <coolbhavi> bdrung, :-)
[13:25] <bdrung> coolbhavi: that's the reason you've got no response mail (at least from me)
[13:26] <coolbhavi> ah ok! it was nearly a month's time so I decided to ping again
[14:08] <coolbhavi> dpm, replied on the bug, thanks again!
[14:36] <coolbhavi> hey cwayne
[14:37] <coolbhavi> I saw the same behaviour of your app on amd64 in another app
[14:39] <cwayne> coolbhavi: ah, so at least it's not something I did :)
[14:39] <coolbhavi> yes. could you please do me a favour
[14:39] <coolbhavi> ?
[14:42] <coolbhavi> cwayne, the app name is interest-calculation and could you please try to install on your amd64 and send me a screenshot across so I'll report a bug
[14:43] <coolbhavi> because I use a 32 bit system
[14:46] <cwayne> coolbhavi: sure thing -- sent
[14:46] <cwayne> coolbhavi: its funny, if you search for the actual package name it works
[14:46] <cwayne> interest-calculation
[14:47] <cwayne> but if you search 'interest calculation' then select the entry with all the metadata + screenshots, it doesnt work
[14:48] <coolbhavi> thanks
[14:48] <coolbhavi> ll report a bug then
[14:50] <coolbhavi> please send me a screenshot of your app too
[14:51] <coolbhavi> cwayne, ^^
[15:02] <cwayne> coolbhavi: sent
[15:02] <coolbhavi> got it cwayne! thanks a lot!
[15:03]  * coolbhavi hugs cwayne
[15:04] <cwayne> :)
[15:09] <coolbhavi> oops a bad power cut
[15:10] <coolbhavi> logging off
[15:10] <coolbhavi> good night!
[15:11] <coolbhavi> ll report the bug and update on list tomorrow
[15:11] <coolbhavi> ciao all!


[00:00] <petevg> cory_fu: do you save off the dir that you found the bundle in anywhere in the code that you wrote related to finding bundles?
[00:01] <cory_fu> petevg: What?
[00:01] <cory_fu> I didn't write any code related to finding bundles
[00:01] <petevg> cory_fu: I mean, when you fall back to running in the bundle in the current dir ...
[00:02] <petevg> cory_fu: I can just read the code.
[00:02] <cory_fu> petevg: I'm not sure what you mean.  That's just the default value of the argparse option
[00:03] <petevg> cory_fu: by which you mean, you do save it into the path config value. It's just late, and I'm not typing clearly :-)
[00:04] <petevg> ... or thinking clearly, obv
[07:58] <kjackal> Good morning Juju world!
[10:44] <jacekn> is it possible to run xenial services on xenial machines but with trusty bootstrap node?
[10:53] <rick_h> jacekn: completely
[10:53] <rick_h> jacekn: just deploy those using the trusty series and you'll be peachy
[10:53] <rick_h> jacekn: we even do where the controller is ubuntu but then you run applications on machines in centos/windows
[10:56] <jacekn> rick_h: ack, thanks
[10:57] <jacekn> rick_h: I'm assuming that series within one service need to match correct? (so it's impossible to upgrade units one by one)?
[10:57] <rick_h> jacekn: so upgrading a charm isn't upgrading the series
[10:57] <rick_h> jacekn: so that's a bit different
[10:57] <rick_h> jacekn: but yes, each application needs to match
[10:58] <rick_h> jacekn: so you can deploy a charm twice, with a different application name, and they can be of different series
[10:58] <jacekn> ok thanks, that's what I thought
[11:01] <jacekn> rick_h: it's not possible to rename servcies right?
[11:01] <rick_h> jacekn: no, cannot currently
[11:02] <jacekn> alright
[12:21] <jamespage> hmm I put https://review.jujucharms.com/reviews/49 up - but then think I might have actually pushed that to edge instead
[12:33] <stub> Is it still supported to change the advertised IP address on a relation to some other IP address? IIRC it was blessed as a way of implementing proxies.
[12:34] <stub> I'll test soon, but even if it works I'm not sure if it is something I should be doing.
[14:16] <petevg> bcsaller, cory_fu: would either of you mind if I just merged https://github.com/juju-solutions/matrix/pull/34  Having my work on other stuff depend on that branch is making my life complicated :-/
[14:16] <magicaltrout> i mind
[14:16] <cory_fu> petevg: :)  I was just now giving it a last look and was going to merge it before sync
[14:17] <petevg> cory_fu: cool. Thx.
[14:17] <petevg> I guess I don't need to encourage magicaltrout to rebel against the tyranny of his own mind by dropping a +1 on my PR ...
[14:18] <magicaltrout> i do like this matrix stuff I piss the guys off at JPL buy just randomly shutting down docker containers on some of our stuff occasionally
[14:19] <petevg> ... and my PR allows you do to that on services that you couldn't do that to before :-
[14:19] <petevg> :-)
[14:22] <cory_fu> petevg: Merged.  Sorry that took so long.  Thanks for putting up with my nit picking, but I am quite happy with the result.  :)
[14:22] <petevg> cory_fu: thx for merging. Nit picking is okay -- we want this to be code that we're all proud of :-)
[14:22] <magicaltrout> haha
[14:23] <petevg> at least you're entertained :-p
[14:24] <magicaltrout> okay enough trolling petevg for now, I should probably do some.... work
[14:24] <magicaltrout> as such, i'll delay that by fetching coffee
[14:33] <skay_> mthaddon: how long until this hits? https://code.launchpad.net/~mthaddon/mojo/additional-ready-states/+merge/312791
[14:35] <mthaddon> skay_: hard to say - depends on the review
[14:37] <skay_> mthaddon: my new charm is in review, and I have feedback to change blocked to maintenance or waiting due to how mojo handles things currently. but, this looks like it will go in soon
[14:38] <mthaddon> skay_: I would imagine this would be merged/released within a week or so if that helps
[14:38] <skay_> mthaddon: ok
[14:39] <skay_> I'll mention it. we're not close to ready for production, so I am pretty sure the mojo change will be out first
[14:40] <skay_> (though, I think I could change it to waiting. if a human is around, they'll see the message about what it is waiting for. (the bug mentions it is debatable))
[15:16] <bladernr> Question about service/application config.  I have a charm and I have defined some config options and can set and change them.  What I haven't been able to find an example of, or understandable documentation on, is how to write a config-changed hook that will take the contents of each option and turn them into an environmnet variable on the machine.
[15:17] <bladernr> so example, if I do juju set servicename target-ip="<IP_ADDRESS>", I want the config-changed hook to recognize that and do something like "export TARGET_IP=$target-ip"
[15:28] <mgz> bladernr: I responded on your bug
[15:28] <mgz> (unrelated to anything)
[15:32] <mgz> bladernr: to your question here, just export probably doesn't do what you want, you'd need to restart any services in the new context, or set globally in an rc file or something
[16:30] <kwmonroe> Ankammarao_: i understand you're having trouble with sshuttle?  there are a few of us here that have used sshuttle to tunnel traffic to a remote network.  what's the issue?
[16:33] <Ankammarao_> i tried to login s390x machine on x86_64 machine (firefox working fine)
[16:33] <Ankammarao_> could you tell me how to exactly use the sshuttle
[16:37] <kwmonroe> Ankammarao_:  sshuttle -r <user>@<remote-machine>  <juju-subnet>
[16:37] <kwmonroe> Ankammarao_: sshuttle -r root@z10lnx04 <IP_ADDRESS>/24
[16:37] <kwmonroe> ^ as an example
[16:39] <Ankammarao_> kwmonroe, Z10LNX06.in.ibm.com this is the machine we are using
[16:39] <Ankammarao_> here i have instaled the sshuttle
[16:39] <kwmonroe> ok, you need to install sshuttle on your local machine.  is z10lnx06 local, or is that the remote server?
[16:40] <Ankammarao_> local machine only
[16:41] <kwmonroe> ok, what's the name of your remote machine?
[16:42] <Ankammarao_> we have deployed the charm here only
[16:42] <Ankammarao_> so we are using the this server to run firefox
[16:43] <Ankammarao_> how we can now the juju-lxd-subnet
[16:44] <kwmonroe> Ankammarao_: if you're local on the machine, you don't probably don't need sshuttle.  just browse to the ip address of the lxd machine.
[16:49] <kwmonroe> Ankammarao_: you can test that you have access to the lxd subnet from you local machine by trying to ping one of the lxd machines.  if that works, then try 'curl <url>', if that works, then any browser should work too.
[16:54] <Ankammarao_> kwmonroe, is there any other browsers which supports the ubuntu
[16:55] <Ankammarao_> kwmonroe, i am able to accessing the lxd machine and pinging but unable to browsing
[16:55] <kwmonroe> Ankammarao_: let's back up a minute.  are you typing on a laptop or desktop right now?
[16:56] <Ankammarao_> typing on laptop
[16:56] <kwmonroe> Ankammarao_: what OS is your laptop running?
[16:56] <Ankammarao_> windows 7
[16:57] <kwmonroe> ok.. so.  Ankammarao_.  here's where the confusion started.  your *local* machine is your windows7 laptop.  your remote machine is Z10LNX06.
[16:58] <kwmonroe> and when you attempt to run a browser like firefox on your remote machine, it will likely fail because there is no window manager to handle firefox's gui from within a terminal.
[16:59] <Ankammarao_> kwmonroe, i am running the firefox on vnc server
[16:59] <Ankammarao_> kwmonroe, its working fine for x86_64 machine
[17:00] <Ankammarao_> but we are facing issue with s390x machine
[17:02] <kwmonroe> Ankammarao_: so you're running vnc on your laptop and connecting to the destop of Z10LNX06.  running firefox from there is what is crashing.  is that right?
[17:02] <Ankammarao_> kwmonroe, yes exactly
[17:04] <kwmonroe> Ankammarao_: ok.  sshuttle won't work for you because i do not believe there is a windows client available.  Ankammarao_ what version of ubuntu is running on Z10LNX06?
[17:05] <Ankammarao_> kwmonroe, Ubuntu 16.04.1 LTS
[17:08] <kwmonroe> Ankammarao_: you should be able to 'sudo apt-get install chromium-browser' on Z10LNX06 and try that browser.  if that crashes as well, you'll need to follow up on #ubuntu or perhaps #ubuntu-server.  we're way outside of juju's world at this point..
[17:09] <Ankammarao_> kwmonroe, we have tried with chromium-browser too its not getting installed
[17:10] <Ankammarao_> kwmonroe, can you suggest me the steps to try with sshuttle
[17:10] <kwmonroe> Ankammarao_: sshuttle is not an option for you.  there is no sshuttle for windows 7.
[17:11] <Ankammarao_> kwmonroe, okay
[17:14] <Ankammarao_> kwmonroe, so what could be the solution for browser issue on s390x ubuntu, can you redirect to some conatcts or channels
[17:16] <kwmonroe> Ankammarao_: join #ubuntu-s390x and tell them you're having trouble launching firefox on your s390x machine when connecting through vnc.
[17:16] <Ankammarao_> kwmonroe, thanks
[17:17] <kwmonroe> np - good luck Ankammarao_!
[19:15] <bdx> getting this error after creating a new vpc http://paste.ubuntu.com/23599855/
[19:15] <bdx> I've ensured it has been provisioned identically to the other vpc's I'm using
[19:15] <bdx> my controller never seems to finish bootstraping ....
[19:16] <bdx> going to let the bootstrap timeout and see what gives there
[19:31] <bdx> ahhh, had to add a route to my igw in my routing table
[20:05] <vagarwal> i deployed openstack novalxd using conjure-up. it sets lxdbr0 as <IP_ADDRESS> and conjureup0 as <IP_ADDRESS>, where the new instance on ext-net interface is assigned <IP_ADDRESS>
[20:06] <vagarwal> i cannot ping to this ip or ssh to it. it gives a destination unreachable error.
[20:09] <vagarwal> is this expected behaviour and what am i missing?
[20:36] <hml> vargarwal: did you assign a floating-ip to the instance?
[21:01] <derekcat> Hey, does anyone know if there's a problem with running a maas-region-controller and a maas-rack-controller each in LXDs on the same host?
[21:13] <zeestrat> derekcat: You might want to check in #maas
[21:20] <derekcat> Ok, wasn't sure where to ask first since I'm deploying maas to the LXDs with juju
[21:41] <petevg> cory_fu: thinking aloud about matrix issue#39 ... I think that the problem is that glitch can run a select after a remove_unit command has been issued, but before that unit has been removed from the model. Glitch can then go and try to run an action on that unit as it is disappearing, or after it has disappeared. I guess the question is, is it glitch's
[21:41] <petevg> responsibility to make sure that I don't try to reboot a nonexistent unit? Or is it the api's responsibility to fail sensibly when I act on outdated info that I've gotten from the model?
[21:42] <petevg> cory_fu: on the one hand, I kind of want to reign in glitch. On the other hand, we agreed earlier that I probably shouldn't -- that we were trying to unearth exactly these sorts of broken situations, and make sure that our APIs and tools dealt with them appropriately.
[21:43] <petevg> cory_fu: did you happen to keep any of the glitch_plan files that caused your crash?
[21:48] <cory_fu> petevg: I didn't keep any, no, sorry.  I don't feel like this is a problem with the API, though.  I think it is reasonable for glitch to block until the unit is actually gone when it removes the unit, and I think it's also reasonable to ensure the plan doesn't include more remove_units than can possibly succeed.
[21:49] <cory_fu> The API can't do anything other than throw an error if you attempt to remove a non-existant unit.
[21:52] <cholcombe> is something going on with amazon?  all my units i deploy are in the down state and never seem to boot
[22:16] <petevg> cory_fu: right. The API should throw an error. And then glitch should catch it and decide to either fail the test or ignore it and continue. The behavior that you saw, where it stalls out and gets stuck, isn't correct.
[22:18] <cory_fu> petevg: Yep, fair enough
[22:18] <petevg> cory_fu: I thought that I had thrown a try: except around the glitch actions, though. It looks like I haven't. That's maybe the best thing to do (if I add in the sleep, then glitch will never test things like attempting to reboot a unit as you're removing it, which is the sort of edge case that we want to test.)
[22:21] <cory_fu> petevg: Fair enough.  As long as it doesn't get in to an unstable state, I'm happy.  Though I do think that at some point we're going to have *some* smarts to the plan generation.  Having a plan with a bunch of steps that are essentially no-ops seems counter-productive
[22:21] <cory_fu> But one or two, which would be the most common case, should be fine for now, as long as it doesn't go unstable because of it
[22:23] <petevg> cory_fu: maybe we do something like make it less likely that glitch will act on a single unit more than twice. (Just thinking aloud.)
[23:03] <petevg> cory_fu, bcsaller: PR to help fix some of cory_fu's headaches: https://github.com/juju-solutions/matrix/pull/42
[23:04] <petevg> cory_fu, bcsaller: the weird thing is that I distinctly remember adding something like this earlier. Maybe I backed off of it because I didn't like the generic catch. I think that it's something we actually want to do here, though.
[23:05] <cory_fu> petevg: I still don't like the generic catch.  What's wrong with catching JujuAPIError?
[23:08] <petevg> cory_fu: I believe the error that we're seeing for the reboot is not a JujuAPIError. (Running against to double check.)
[23:09] <petevg> cory_fu: I mean AttributeError. Regardless, it's not a neat JujuAPIError.
[23:10] <cory_fu> petevg: Regardless, we should definitely be specific about which exceptions we're catching.  Otherwise, you'll catch the control-flow exceptions that are used to shut down the UI
[23:10] <cory_fu> Among other things
[23:11] <petevg> cory_fu: except Exception doesn't catch control flow exceptions. That's why I used it rather than just "except:"
[23:13] <petevg> cory_fu: "except Exception" only catches stuff that inherits from the Exception class. Unless I missed a change between Python 2 and 3, the control flow commands don't inherit from that class.
[23:13] <petevg> It's the "safe" way of catching a generic exception.
[23:13] <cory_fu> petevg: Yes, I'm aware.  But we might have application-defined control-flow exceptions which do inherit from Exception raised, since we're async.
[23:14] <cory_fu> petevg: Specifically, bcsaller's branch adds some
[23:14] <petevg> cory_fu: that's bad. That probably isn't the solution, then.
[23:15] <cory_fu> Maybe I'm being paranoid and asyncio wouldn't cause the exception to come up through that code path.
[23:16] <cory_fu> petevg: ^
[23:16] <petevg> cory_fu: I don't know. For now, I'm on deck to make dinner (I'm solo parenting for the next few days), and I'll be out tomorrow. I'm not attached to that code, and won't be offended if anyone rewrites it.
[23:16] <cory_fu> I'm not familiar enough with async to say for sure
[23:16] <petevg> cory_fu: but I have to sign off for now.
[23:16] <cory_fu> kk
[23:16] <cory_fu> petevg: Have a good evening!
[23:16] <petevg> cory_fu: you, too :-)
[23:17] <petevg_afk> have a good weekend, too :-)
[23:17] <magicaltrout> nooo petevg_afk don't leave!
[23:17] <petevg_afk> magicaltrout: but I must. If I don't, then we will have burned shrimp tempura for dinner, and the kidlet and the cats may join in revolt.
[23:18] <magicaltrout> argh not burned shrimp!
[23:18] <magicaltrout> goooooo
[23:18] <magicaltrout> be at one with the fish
[23:19]  * petevg_afk nom nom noms