[01:08] <lazyPower> bdx - is that a budding beats deployment i see there?
[02:15] <marcoceppi> bdx: man, robi's a real roller coaster ;)
[16:13] <bdx> `charm login` wont let me in!
[16:14] <bdx> http://paste.ubuntu.com/1937809p6
[16:15] <bdx> I've attempted logging in and out of the charmstore from my browser multiple times with the same creds
[16:16] <bdx> I can successfully authenticate to the charmstore in my browser .... just not from the cli
[16:16] <bdx> is this a known issue right now?
[16:16] <magicaltrout> paste doesn't exist
[16:16] <magicaltrout> whats the error bdx ?
[16:16] <rick_h_> bdx: no known issues I know of atm
[16:17] <magicaltrout> personally I'd just remove go-cookies and see what happens
[16:17] <rick_h_> bdx: you said you've logged out and in on jujucharms.com successfully?
[16:17] <bdx> magicaltrout: mybad - http://paste.ubuntu.com/1937809p6/
[16:17] <bdx> rick_h_: yea
[16:17] <rick_h_> uiteam ^
[16:17] <bdx> magicaltrout: srry I didn't mention ... did that too
[16:18] <rogpeppe> bdx: that paste doesn't work for me
[16:18] <rogpeppe> bdx: (doesn't exist)
[16:18] <bdx> wow
[16:18] <bdx> hmm
[16:19] <bdx> omp
[16:19] <urulama> bdx: did you try first logging through jujucharms.com?
[16:19] <bdx> yea
[16:19] <urulama> bdx: that worked ok?
[16:19] <urulama> bdx: which username was given to you?
[16:19] <rogpeppe> bdx: without knowing what the error is, it's difficult to help
[16:19] <bdx> urulama: yes ... I've logged in and out multiple times
[16:20] <bdx> I'm grabbing it ... don't know what the deal was with that
[16:21] <bdx1> http://paste.ubuntu.com/19378096/
[16:22] <bdx> urulama: ^
[16:23] <urulama> looking
[16:24] <urulama> bdx: were you able to "charm login" before or is this your first try?
[16:25] <bdx> urulama: I've been able to `charm login` all along
[16:26] <magicaltrout> bdx out of interest are you charm login-ing on the same box as you've been using the browser to test login?
[16:26] <bdx> no
[16:26] <magicaltrout> you're not firewalled or something weird?
[16:26] <urulama> bdx: ok. did you try deleting ~/.go-cookies and ~/.local/share/juju/store-usso-token ?
[16:27] <urulama> after that, try charm login again
[16:27] <urulama> and if that doesn't work, we'll have to fetch the logs :(
[16:27] <bdx> magicaltrout: .... not that I know of ... hopefully to some degree though :P
[16:27] <bdx> ooooh
[16:27] <bdx> ~/.local/share/juju/store-usso-token
[16:27] <bdx> I haven't touched that
[16:27] <bdx> possibly I should?
[16:28] <bdx> I'll remove it and retry
[16:28] <urulama> remove it, might be something with your oauth token
[16:28] <bdx> yea - I've removed my .go-cookies between login attempts
[16:28] <bdx> ok
[16:28] <bdx> omp
[16:29] <bdx> that did it
[16:30] <bdx> `rm ~/.local/share/juju/store-usso-token`
[16:30] <urulama> cool
[16:30] <bdx> awesome - thanks you guys
[16:31] <bdx> should I file a bug for this?
[16:31] <bdx> against charmstore-client
[16:33] <urulama> bdx: please, if it's not too hard. we're aware of it, but you'll be able to track when we address it as well
[16:33] <bdx> 4sure
[16:35] <bdx> urulama: its being developed on gh? here -> https://github.com/juju/charmstore-client ?
[16:37] <urulama> bdx: yes
[16:42] <bdx> nice
[16:42] <bdx> done
[16:42] <bdx> urulama: thx
[16:44] <natefinch> marcoceppi: is juju.fail borken?
[16:44] <natefinch> marcoceppi: nvm... refresh finally went through.  Not sure what was up
[16:46] <urulama> bdx: thanks
[16:46] <bdx> np
[17:10] <bdx1> looking at interface-elasticsearch .... here https://github.com/juju-solutions/interface-elasticsearch/blob/master/requires.py#L22-28
[17:11] <bdx1> if I react @when 'elasticsearch.available' ....
[17:12] <bdx1> like so
[17:12] <bdx1> http://paste.ubuntu.com/19384096/
[17:12] <bdx1> as long as nginx.available, and kibana.initialized are true
[17:13] <bdx1> would my hook fire every time a new elastic instance is added to the cluster
[17:13] <bdx1> even if elasticsearch.available is already true
[17:14] <bdx1> because the state would be set *again* by the code in interface-elastic
[17:15] <bdx1> or would my function not execute, because the 'elasticsearch.available' is already set?
[17:16] <lazyPower> bdx1 - it will execute every time. see the beats-base layer for examples. all the generics are there https://github.com/juju-solutions/layer-beats-base
[17:17] <bdx1> oh sweet, thats exactly what I was looking for
[17:17] <bdx1> lazyPower: thx
[17:22] <bodie__> Hello all.  Anyone know when Dimiter will be around?
[17:23] <bodie__> I spoke to him at Gophercon and wanted to sync up, but my IRC client is giving me grief.  Need to find one that works well on Mac.
[17:28] <redir> bodie__: I think he is on holiday for a bit.
[17:29] <lazyPower> np
[17:30] <lazyPower> bodie__ - i've had good luck with quassel
[17:30] <lazyPower> bodie__ http://quassel-irc.org/
[17:34] <bodie__> Thanks lazyPower
[17:34] <lazyPower> anytime. long time no see :)
[17:34] <lazyPower> how are you?
[17:45] <Prabakaran> Hello kwmonroe, Is it possible for me to get root user password using mysql-root interface?
[17:47] <kwmonroe> Prabakaran: you mean the root user on the system itself?
[17:48] <Prabakaran> kwnonroe, i am asking this to log in as root MySQL User at the MySQL console
[17:48] <Prabakaran> *kwmonroe
[17:49] <kwmonroe> ah -- i'm not sure about the mysql root user password.  i don't think that data is provided on the relation
[17:49] <kwmonroe> but i thought the user that gets generated when relating via mysql-root had all permissions
 in mysql charm we can get root password by running mysql -u root -p`sudo cat /var/lib/mysql/mysql.passwd`
[17:50] <Prabakaran> i want this to happen using mysql-root interface
[17:50] <Prabakaran> is it possible
[17:51] <kwmonroe> hmm.. i'm sure it's possible, but i don't know if that's advised.  there was probably a reason why the mysql charm author didn't want the root password passed on the relation
[17:51] <kwmonroe> what are you trying to do that can't be done with the auto-generated credentials?
[17:52] <Prabakaran> I just tested sampledatabase charm ... i was not able to grant access to my mysql database which i have created because of the user permission.
[17:54] <kwmonroe> ah, sorry Prabakaran, i don't know enough about mysql permissions to be of much help.
[17:54] <Prabakaran> i am getting error while runnning GRANT command http://pastebin.ubuntu.com/19389315/
[17:55] <Prabakaran> My product needs the database which is created in the remote mysql machine. To make that particular database accessible for the connecting nodes we are giving the GRANT command ..
[17:57] <Prabakaran> As per this log http://pastebin.ubuntu.com/19389315/ whatever user i am getting from mysql-root doesnt have all permission
[17:59] <Prabakaran> i was just thinking to do all these as a root user so is there a possiblity of getting root password for mysql charm thru mysql-root interface
[18:01] <kwmonroe> marcoceppi: ^^ should the user from a mysql-root relation be able to grant perms?
[18:15] <aisrael> Prabakaran:
[18:16] <aisrael> Wrong window. But Prabakaran , I think the mysql-root relation should allow you to run grant perms, since it's intended as an administrative interface to the database. Usually, though, using the provided credentials by the mysql interface is sufficient for a charm.
So how would i resolved this ? because as per my requirement i need to use mysql-root...
[18:20] <Prabakaran> aisrael: As per this log http://pastebin.ubuntu.com/19389315/ whatever user i am getting from mysql-root doesnt have all permission
[18:20] <aisrael> Is this a charm that needs to access the charm created by a different charm?
[18:22] <aisrael> sorry, A charm trying to access the database created by a different charm?
[18:22] <aisrael> In other words, are you trying to use the same database from different charms?
[18:22] <Prabakaran> ya
[18:23] <aisrael> Prabakaran: Ok. What I'd suggest is creating a relation between your two charms, and the charm that created the database can share it's credentials with the charm that also needs to access it.
[18:32] <Prabakaran> aisrael: i didnt get your suggestion. As far as i understood i have one charm ie A and also have mysql charm.. Both are installed in the different machine. now using this mysql-root interface i need to create a product specific database on mysql charm. I am doing this task from being in the Charm A machine. Here actual scenario is if any peers of Charm A also needs the same database. That is why we are giving GRANT permission for t
[18:32] <Prabakaran> But now the problem is as per this log http://pastebin.ubuntu.com/19389315/ whatever user i am getting from mysql-root doesnt have all permission to grant access to the database
[18:34] <bdx> can someone merge this for me -> https://code.launchpad.net/~jamesbeedy/charms/trusty/wordpress/apache2_trusty_fix
[18:34] <bdx> oops .. this -> https://code.launchpad.net/~jamesbeedy/charms/trusty/wordpress/apache2_trusty_fix/+merge/297720
[18:36] <bdx> marcoceppi, jcastro, rich_h_: the charm partner email for July has broken links to the newsletter :-(
[18:36] <bdx> https://insights.ubuntu.com/2016/07/12/jujunewsletterjuly/?mkt_tok=eyJpIjoiT1dVNE9EUmtaR1ptTm1VeiIsInQiOiJvTzhON2pwb25DUDZNenZyTGMzMDZZS3l6NHNIVFhvbjdHWkdjbEJKR1hYQnJKQmNEeFVXb1JhTVhQWFdzKzdyRmRmUzhCQWxzcytMaTBoRGRNY0IxNUdmQXlpOFh6N2ZDY0c3WjkzMk1LMD0ifQ%3D%3D
[18:36] <Prabakaran> aisrael: as you said if i share creadentials also i hope granting the permission for the database is not possible
 marcoceppi aisrael: if you know any solution or alternative for my query please mail me .
[19:25] <Fugaa> What's the conventional way of reconnecting with a juju controller? Say I lose my machine where I deployed some services to google cloud. I have access to (and have added to juju) the original credentials used.
[19:37] <Fugaa> Ah, bootstrapping with the original credentials was successful. I see the old controller machine is still running. I haven't tested this, but with a new controller the old services won't be picked up.
[19:45] <cory_fu> negronjl: Are you around, by chance?