/srv/irclogs.ubuntu.com/2017/09/20/#juju.txt

stormmorethis is really odd, I have deploy 3 ubuntu units and 2 agents are in a failed state cause they aren't leader?01:47
=== frankban|afk is now known as frankban
tychicusdoes anyone know why the default series for beats core is trusty?  is it known not to work in xenial? https://api.jujucharms.com/charmstore/v5/beats-core/archive/bundle.yaml15:19
xarses_probably because the charm is old, and hasn't been updated since15:32
xarses_its still on rev #115:32
xarses_neat15:33
xarses_there is a bug here15:33
tychicusxarses_: ok, thanks, so there is no reason that it "shouldn't" work on xenial, since all of the specific charms support xenial15:34
xarses_there are two beats-core modules from containers15:34
tychicusah yes15:34
tychicusI've notices that15:34
tychicusand different individual charms reference different beats-core15:34
tychicusI seems to include packetbeat and the other does not15:35
xarses_@rick_h: because I don't know who else to ping, there "beats core" and the second cant be opened, it goes to the first15:35
xarses_https://jujucharms.com/u/containers/15:35
tychicusfrom https://jujucharms.com/filebeat/7 juju deploy ~containers/bundle/beats-core15:36
tychicusfrom https://jujucharms.com/u/containers/packetbeat/5 juju deploy cs:bundle/beats-core15:36
xarses_tychicus: as to 'should work with xenial' you should inspect each subordinate charm in the bundle, if they have xenial releases then you can likely do all xenial, in some cases one might be old still so you might just deploy with the one old one15:37
rick_hxarses_: /me is confused. Is this in a search on jujucharms.com?15:38
xarses_I'm looking at the listing of the containers user15:39
xarses_there are two results for "beats core"15:39
rick_hok, /me looks at that15:39
xarses_and one result points to the other15:39
rick_hxarses_: oooh, hah15:40
rick_hxarses_: there's a bunch of doubles in there15:40
xarses_oh, I didn't even notice15:41
rick_hyea, fishy15:41
stormmoreo/15:41
rick_hxarses_: k, filed a bug will see what's up.15:44
xarses_aight, thanks15:44
tychicusone more question on bundles, I don't completely understand the syntax for relations, but I am working on getting elastic stack set up to do some monitoring15:45
tychicushttps://gist.github.com/roll4life/3017292adec8098a256cf37b645d921215:45
xarses_neat, the openstack-dashboard ones?15:46
tychicusI want to do log monitoring for all of my openstack hosts, i figured I would start with dashboard because it is easy15:47
rick_htychicus: the best thing to do is to be explicit and do something like this: https://pastebin.canonical.com/198904/15:47
rick_htychicus: which is "add a relation, from application:endpoint to application:endpoint15:47
tychicusrick_h, my ubuntu one account does not have access to that pastebin15:49
rick_htychicus: doh sorry15:49
rick_hhttp://paste.ubuntu.com/25580465/15:49
tychicusrick_h: I am not entirely sure that I understand15:52
tychicusthe example given in the packetbeat charm is as follows15:53
tychicusjuju deploy cs:bundle/beats-core15:53
tychicusjuju deploy ubuntu15:53
tychicusjuju add-relation filebeat:beats-host ubuntu15:53
tychicusjuju add-relation topbeat:beats-host ubuntu15:53
tychicusjuju add-relation packetbeat:beats-host ubuntu15:53
magicaltroutmorning, are there any hacks to change the controllers detected IP address?15:54
magicaltroutcause I need to put my controller on a floating IP and its currently on an internal ip in an openstack cluster15:55
rick_htychicus: yea, so that's a short hand for letting juju finding the right endpoint on the other end15:55
tychicusso in the context defining these relationships in a bundle what would the second "application:endpoint"15:55
rick_htychicus: that could also be written juju add-relation filebeat:beats-host ubuntu:juju-info15:56
rick_htychicus: check out the relation info in the charm details page on the right: https://jujucharms.com/filebeat15:56
rick_htychicus: it's basically saying that the beats-host will wire up to anything that has juju-info and juju-info is the one generic endpoint all charms have15:57
rick_htychicus: so you can leave it off and juju figures it out, but I prefer to be explicit for this very reason15:57
tychicusah ok15:57
rick_hmagicaltrout: ... so there's all the cached controller files of users, the list of mongodb addresses for HA and such internally, the addresses of agents...15:58
rick_hmagicaltrout: I'm not sure there's a simple update this thing to do. might have to try the juju list for that tbh sorry15:58
magicaltroutfair enough no probs15:58
tychicusrick_h: so in my case the correct way to define the relationships is:16:01
tychicusrelations:16:01
tychicus  - - "kibana:rest"16:01
tychicus    - "elasticsearch:client"16:01
tychicus  - - "filebeat:elasticsearch"16:01
tychicus    - "elasticsearch:client"16:01
tychicus  - - "topbeat:elasticsearch"16:01
tychicus    - "elasticsearch:client"16:01
tychicus  - - "packetbeat:elasticsearch"16:01
tychicus    - "elasticsearch:client"16:01
tychicus  - - "filebeat:beats-host"16:01
tychicus    - "openstack-dashboard:juju-info"16:01
tychicus  - - "topbeat:beats-host"16:01
tychicus    - "openstack-dashboard:juju-info"16:01
tychicus*updated gist* https://gist.github.com/roll4life/64fcb01ddc674d6c6dab45eb2b44630016:02
stormmorehey rick_h so last night I caught an odd ball in juju edge channel, just deploying 3 ubuntu instances and 2 of the complained about not being leader!16:08
rick_hstormmore: huh...I didn't know the ubuntu charm supported any leadership ideas16:21
rick_hstormmore: oh, I wonder if you're hitting that bug I saw someone talking about16:21
rick_hstormmore: does it look like https://bugs.launchpad.net/juju/+bug/1706340 ?16:22
mupBug #1706340: [2.2.2] Failed unit agents: "leadership-tracker" manifold worker returned unexpected error: leadership failure: lease manager stopped <canonical-bootstack> <cdo-qa-blocker> <cpec> <new-york> <juju:Triaged> <https://launchpad.net/bugs/1706340>16:22
rick_htychicus: looks right-ish16:22
tychicusrick_h: thanks, I'll try it and report back16:28
=== frankban is now known as frankban|afk
tychicusrick_h: relation ["filebeat:beats-host" "openstack-dashboard:juju-info"] refers to application "openstack-dashboard" not defined in this bundle16:32
tychicussounds like you can only define relationships in a bundle for resources that are deployed by the bundle16:32
stormmorerick_h: I don't think that is related although I am aware of that one16:37
stormmorerick_h: this is one that talks about not being able to setup relationships due to not being leader16:37
stormmorerick_h: first time I saw it was with swift so I put it down to that, but then I saw it happen to simple base ubuntu image that I didn't know how leader tracking either! so I dropped from edge to candidate juju and issue disappeared16:38
catbustychicus: or juju won't be able to relate two services if juju isn't aware of the service. Did you deploy openstack-dashboard with Juju?16:57
tychicuscatbus: yes16:57
tychicusIt looks like the limitation is with how bundles work16:57
catbusagreed. Any reason why openstack services and beat-core bundle can't be combined?16:58
tychicussince openstack-dashboard is not being deployed in the bundle I specified, I can't make the association16:58
tychicusI guess it's the same reason that you can use the --to flag in conjunction with bundles16:59
tychicusor specify in the bundle17:00
tychicusto:17:00
tychicus- lxd:217:00
tychicussince machine 2 is not defined in the bundle, the bundle can't be sure that machine 2 exists, and won't spin up a new lxd container on that machine17:01
tychicusmaybe I could specify something with the machines: directive17:02
rick_htychicus: no, bundles can't effect what's already in a model. Otherwise the bundles would not be reusable because they'd have to have the model setup in a specific way to work17:15
rick_htychicus: in this way, bundles are meant to be a reusable-sharable definition and if there's specific things your need for your infra then it's best to script via cli, the juju library, etc17:16
tychicusrick_h: got it, totally makes sense17:17
bdxrich_h: whats up with the maintainers of elasticsearch?17:44
bdxthe charm is so broken17:44
bdxever since that team took it over17:44
bdxI'm filing bugs, no response17:44
bdxI honestly feel that charm needs very active maintainership17:44
bdxI had put a lot of effort into fixing up bits and pieces to get it to work17:45
bdxnow this team has taken over, won't accept my changes (the ones that fix the things that are broken)17:45
bdx^ an honest to god piss off17:47
rick_hbdx: sorry, I'm not sure. I've not seen anything since the email thread which seemed all good.17:47
bdxyeah17:47
bdxits cool17:47
bdxI just don't know how that happened17:47
bdxI'm maintaining my own fork17:48
bdxbut its just a piss off that they took it over and its sitting there all broken17:48
bdxand no one is active enough to give my fix a look over in a weeks time17:48
rick_hbdx: yea that's no good. /me goes to look for the bug tracker/homepage of the charm17:48
bdxrick_h: thx17:48
rick_hbdx: can you reply to tom's feedback here? https://bugs.launchpad.net/elasticsearch-charm/+bug/171439317:50
mupBug #1714393: ERROR! lookup plugin (dns) not found <Elasticsearch Charm:New> <https://launchpad.net/bugs/1714393>17:50
rick_hbdx: did you setup the pull request there on that one or do you mean some other PR?17:50
bdxrick_h: I'll find the pr omp, I'm more or less just bummed that the new maintainers aren't so active :(17:51
rick_hbdx: understand, I just want to get ducks in a row and such looking at it17:52
* rick_h does the whole dance of it's a bunch of folks doing a lot of different charms that are just people and might need prodding and such17:52
bdxthe fact that they moved the code/development of the charm to launchpad git/launchpad is sad enough17:54
bdxyeah17:54
bdxI know17:54
bdxgrrrr17:54
rick_hbdx: well it's how that team operates. It's our internal folks17:54
bdxI see17:54
rick_hbdx: at least it's git LP vs bzr LP :)17:55
bdxi know ... its equally as bad I feel17:55
rick_hbdx: but yea, most of the folks on that team are internal folks at canonical with long long histories of managing all the things through LP17:55
bdxgot it17:55
bdxI feel like they are isolating that charm and its development17:55
bdxit need the opposite17:56
bdxit needs more eyes, and more hands and feet17:56
bdxit needs a ton of work/help right now, including an entire rewrite17:57
bdxits just harder to get to on launchpad/git+lp17:59
fallenouro/22:32
fallenourhaving an issue with ssh keys today22:33
fallenourive got the pub key of interest onto the server into the /root/.ssh directory, but its still telling me permission denied (public key) which doesnt make any sense to me. Any thoughts? I already checked config ont he distant server, and it says that publickey is set22:34
fallenourthe oddest thing is they key is already in the authorized_key file22:35

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