/srv/irclogs.ubuntu.com/2018/05/14/#juju.txt

veebersthumper: yay sorted. /me updates bug now00:13
veebersKingJ: Are you still online? FYI those agents are available now. Sorry for the hassle00:21
=== louis_ changed the topic of #juju to: /!\ THIS CHANNEL HAS MOVED TO #krustykrab /!\
=== thumper changed the topic of #juju to: All things Juju
babbageclunkSo we haven't renamed juju to krustykrab then?01:47
babbageclunkwallyworld: when you get a chance could you please have a squiz at https://github.com/juju/juju/pull/8695?01:51
babbageclunkwallyworld: it's not blocking me though so no hurry01:52
wallyworldbabbageclunk: ok, np, after talking to tim01:52
babbageclunkta01:52
veeberswallyworld: public-clouds have been updated02:07
wallyworldveebers: great! ty02:10
wallyworldbabbageclunk: done!02:31
thumperwallyworld: here is that rework I was telling you about: https://github.com/juju/bundlechanges/pull/3902:46
wallyworldok02:46
babbageclunkthanks wallyworld03:12
wallyworldthumper: done03:13
thumperwallyworld: awesome, thanks03:29
thumperwallyworld_: https://github.com/juju/juju/pull/8687 - this is the work to pass policy into deploy and add unit api calls04:57
thumperthere was some refactoring to rework the api structures in the facade04:57
thumperbut I think it now represents what we consider best practice04:57
=== frankban|afk is now known as frankban
srihashi, with the help from channel, I have installed the OpenStack but when I try to open the horizon GUI after exposing the servie08:29
srihasI got internal server error08:29
srihasI just did "sudo chown www-data /var/lib/openstack-dashboard/secret_key" and restarted apache2 in one of the lxd containers and it started working from all the endpoints08:31
srihasis it just fine to do the change in one of the lxd hosts and it gets synced?08:31
srihasbut now "Unable to establish connection to http://127.0.0.1:5000/v2.0/tokens: HTTPConnectionPool(host='127.0.0.1', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f80619967d0>: Failed to establish a new connection: [Errno 111] Connection refused',))" horizon is trying to connect on the localhost endpoint for keystone, which is not true in this case as the08:32
manadartjam: In HO.08:38
jammanadart: I'm kind of head deep in the netplan bonds stuff, and I don't think he's done an update yet, has he?08:38
manadartjam: Doesn't appear so.08:42
manadartjam: Happy to punt.08:42
manadartjam: Let me know if you get a natural break sooner than our 1:1. Need a quick powow.08:44
jammanadart: k. making food right now and then I'll ping you when I'm back08:44
manadartexternalreality: G'morning. Are you able to hop on a quick HO?08:44
jammanadart: now is a good time before I get back into it.09:01
jam1:1 ?09:01
manadartK.09:01
wallyworldrogpeppe: did you still need input om cmr macaroons?09:11
TheAbsentOneThe layer-index repo does not have the cassandra interface. Could someone explain me how juju then works with that interface? How is the communication done?10:16
cnpHave installed pycharm using which have cloned juju-gui in my IDE. After which I ran setup.py which was successful. Now when I try to run development.ini from the IDE am receving as :11:30
cnpC:\Users\CG3\venv\juju-gui-2\Scripts\python.exe C:/Users/CG3/PycharmProjects/juju-gui/development.ini File "C:/Users/CG3/PycharmProjects/juju-gui/development.ini", line 6 [app:main] ^ SyntaxError: invalid syntax Process finished with exit code 111:30
cnpplease help11:31
rick_h_Hmm, wonder what cnp was trying to do11:52
TheAbsentOnetrue he didn't really stay long12:19
TheAbsentOnerick_h_: do you have an idea about my interface question? Also how do I receive the app-name of the charm actually? Couldn't find it in the docs and I thought I read it somewhere in other charms12:19
stubTheAbsentOne: Nobody has written a Cassandra interface yet, or if they have they haven't published it. It predates reactive charms.12:23
stubTheAbsentOne: You either need to write one, wait for someone to write one, or use relation_get/relation_set like in the good ol' days before charms.reactive12:23
jammanadart: reviewing 869612:23
TheAbsentOneAh I see, I never used the relation_get/set stuff thanks for the info stub12:24
TheAbsentOneI also took the liberty to put a feature request on the pgsql interface, I hope you don't mind12:24
jamstub: TheAbsentOne: I started working on one here: https://github.com/jameinel/interface-cassandra12:24
stubTheAbsentOne: Writing the interface is on my todo list along with a reactive rewrite of the Cassandra charm and supporting the very latest Cassandra versions (like DSE 6, which was reported as failing the other week)12:24
manadartjam: Thanks. Didn't want to break your stride. Was wondering how it looked against the the CI test for Bionic.12:24
jambut I didn't get to the point of knowing it worked for the case I needed, and got sidetracked with other things.12:24
jamIt is likely close, IIRC12:24
TheAbsentOneah that looks nice jam, depending on a lot of things I might take a look at it too, but I'm afraid I'm too much of a noob to write a decent cassandra charm, thanks for the info and the link!12:27
jammanadart: commented. btw you are likely fixing bug #166854712:28
mupBug #1668547: juju doesn't configure lxdbr0 properly with new LXD (>2.3) <bridge> <lxd> <network> <juju:Triaged by jameinel> <https://launchpad.net/bugs/1668547>12:28
jammanadart: btw, you have a couple of nodes allocated on GUIMAAS are you still using them?12:30
manadartjam: That's a LXD cluster I set up. Easy to do again when I need it. All yours.12:30
jammanadart: I don't, just saw it running and was checking.I'm doing a bionic netplan test, but I should only need 1 node.12:37
bobeogoooood morning!12:39
rick_h_jam: feel free to kill mine off if I still have any12:40
rick_h_bobeo: morning12:41
bobeorick_h_: another beautiful day ! getting the morning started here. I realized this weekend I couldnt ssh via juju ssh into my models I have access to on one system, but I can another. does juju have a specific set of ssh keys It needs, IE the ones from maas, or does it use its own keys, and if so, that would be juju add-ssh-key --model <ModelName>12:43
bobeorick_h_: also, to clarify, I mean I have access from one machine via juju client, but not from the new one12:44
rick_h_bobeo: yea, so in the MAAS case, if MAAS has a key it's used normally pulled in. If you need to add a key then you can add-ssh-key or import-ssh-key12:44
rick_h_bobeo: right, so juju will setup a key on bootstrap so that things work, and if you go to another machine you'll need to make sure a key on that machine is available to juju (well known to it)12:45
bobeorick_h_: ok, so Im a bit lost at this part. I do juju import-ssh-key --model <ModelName> but then it repeats the options on the command with --model again, bt this time offers different options, but that are the same models. maybe im misinterpreting this? I deployed via conjure up, and the initial option offers both all the conjure up options, as well as all the model options, but the second interation only offers all the models, does it12:47
bobeorick_h_: first, and then the specified model, or does one option, just as the conjure up option, allow me to target all models in that instance?12:48
bobeorick_h_: if thats not the case, can we get that to be the case in some future option? because that would be really awesome! One import for all models in a cloud instance.12:48
rick_h_bobeo: so no, right now ssh keys are per model with is a :( thing that we've got on the roadmap to clean up12:48
bobeoYAY! rick_h_  I GUESSED A FEATURE! I get a COOKIE!12:49
rick_h_bobeo: so what you have to do is, for each model, juju import-ssh-key -m xxxx $lp_or_gh_username12:49
bobeoso juju import-ssh-key -m <modelname> <myusername>12:49
bobeorick_h_: correct?12:49
rick_h_bobeo: correct12:50
bobeorick_h_: ok, so I think I missed something again, do you have any docs on lp or gh? Im not familiar with either abbreviation, but it didnt like when I simply used my username, it gave me a "prefix in key ID "<username>" not supported, only lp: and gh: are allowed.12:51
rick_h_bobeo: sorry, that's the github or launchpad username that has public keys for you to use12:51
bobeorick_h_: OOOH! thats what those mean! lemme update my list real quick!12:52
rick_h_bobeo: so I've got my public keys on both sites that I know my laptop will work with so it's easier for me to just import them from those sites vs upload it manually12:52
bobeorick_h_: is that safe?12:53
rick_h_bobeo: so it's your public key you'd normally use. It's not the private key. Neither launchpad or github have that. The private key only exists on your laptop12:53
bobeobobeo: that doesnt sound safe. I know you can login with ssh without a pass depending on how its configed and built. wait..ignore that, stupid question. you would have set a password12:53
rick_h_bobeo: so basically, you're saying that the juju models should accept the same key that you'd use to push changes to github or launchpad12:53
rick_h_bobeo: never send your private key off your laptop anywhere12:54
bobeorick_h_: so toss <username> pub key, pull pub key, use priv key + pass to auth. I see where thats headed12:54
rick_h_well, unless you're backing it up or copying it to another machine you use or the like12:54
rick_h_bobeo: right12:54
bobeorick_h_: righto, so Im guessing toss it in...wait, where does juju store the key?12:55
rick_h_bobeo: so it adds the public key to the normal ssh place of ~/.ssh/authorized_keys12:55
bobeorick_h_: btw, are you guys ok with me creating ASCII docs on all the stuff you guys teach me? It helps me remember, and it would help you provide links on how-to's.12:56
rick_h_bobeo: when you use a command like ssh-copy-id or ssh-import-id or the like on a linux system the public key it put into a list in ^ file and then when you ssh it checks if your key you're providing matches up and works with the public keys in that list12:56
bobeorick_h_: ok, I was wondering about that12:56
bobeorick_h_: ok, so Im gonna try this with a git command. this might take awhile, I dont use it nearly often enough. im tryin to get better. Ill be back sooner than later if I level my git by accident XD12:59
bobeoand whatever you do, dont give me the answer o.o12:59
rick_h_bobeo: :)12:59
rick_h_bobeo:good stuff to learn12:59
cnpHave installed pycharm using which have cloned juju-gui in my IDE. After which I ran setup.py which was successful. Now when I try to run development.ini from the IDE am receving below error:  C:\Users\CG3\venv\juju-gui-2\Scripts\python.exe C:/Users/CG3/PycharmProjects/juju-gui/development.ini File "C:/Users/CG3/PycharmProjects/juju-gui/development.ini", line 6 [app:main] ^ SyntaxError: invalid syntax Process finished with exit code 113:01
cnpcan someone please help me in making development.ini run?13:01
rick_h_cnp: what are you doing? Is this from the github.com/juju/juju-gui repo?13:02
cnpam trying to create my own GUI version for juju. And yes, it is from juju-gui repo.13:03
cnpam I missing anything to make development.ini run?13:06
rick_h_cnp: so https://github.com/juju/juju-gui/blob/develop/docs/hacking.md walks you through hacking on the project13:37
rick_h_cnp: it's not been tested on windows so I'm not sure if the dev tools will work happily there to be honest13:38
manadartjam: Can you cast an eye over the new commit for 8696 (https://github.com/juju/juju/pull/8696/commits/4861a263479c9cbd2a029237fe945486372413de) ?14:22
manadartWorked like a champ when I delete eth0 and the default bridge.14:22
manadartI can address other sundries as next work and go onto these other bugs.14:23
jammanadart: I think I made comments14:31
jammanadart: if you didn't get them, let me know, and I'll see if I failed submit somehow14:31
jammanadart: tit-for-tat can you review my WIP: https://github.com/juju/juju/pull/8697 ?14:38
manadartjam: Ja.14:39
jammanadart: sorry its already 1k lines long. damn I suck :)14:39
jamfortunately a good portion of that should just be the 'examples'. (I hope)14:39
srihashi guys, can someone tell if juju charm for neutron-api supports "neutron-plugin: aci" option?15:17
rick_h_beisner: ^ ?15:25
rick_h_evilnick: ping, how goes?15:36
evilnickrick_h_, hi, what's up?15:37
rick_h_evilnick: I'm looking to send the email ont he 2.4-beta2 announcement and I wanted to see what I needed to do for us to sync up15:37
rick_h_evilnick: in looking at the checklist, there's notes on syncing up with docs folks and as it's my first time going through it I'm not sure what "normal" is these days15:38
evilnickheh. Yes, we usually sync up so we can make sure any references are in the dev docs and any release notes are published in dev too. pmatulis would probably be better to sync with15:39
evilnickhe is more day to day on juju and closer to your timezone15:39
rick_h_evilnick: gotcha, pmatulis howdy :)15:39
evilnickrick_h_, he is around but may be on lunch right now15:41
rick_h_evilnick: k, np15:41
pmatulisrick_h_, b2 you say? i see the gdoc RelNotes have been updated. are they complete?15:53
rick_h_pmatulis: well, complete as they're going to get today I think15:53
rick_h_pmatulis: I'm sure I'm messing something up and someone will correct me at some point heh15:53
manadartjam: Approved.16:03
pmatulisrick_h_, no mistakes allowed16:28
rick_h_pmatulis: boooooo16:28
rick_h_I have a reputation to uphold16:29
pmatulisrick_h_, i'm ready to publish. good to go?16:31
rick_h_pmatulis: sure, I'm heading home atm but will send the email when I get home16:36
rick_h_ty pmatulis16:36
bobeohey kwmonroe is it possible to deploy openjdk as a container? I see that you mantain that one.16:46
pmatulisrick_h_, k, it will be there in 15 minutes (max)16:46
kwmonroebobeo: openjdk is a subordinate charm, meaning it needs a principal to relate to.. as long as that principal can be deployed into a container, openjdk will happily go along with it.16:47
kwmonroebobeo: all the openjdk charm really does is add a repo (if needed) and let you easily switch between versions via juju config (vs apt reinstalling on a unit)16:48
bobeokwmonroe: OOOH! thats what that means, ok. So I need to simply deploy the principal first.16:48
kwmonroeyup bobeo, note that the principal must provide a java relation -- you can't just attach openjdk to any 'ol thing.  here's a list of stuff openjdk can relate to: https://jujucharms.com/q/?provides=java16:50
=== frankban is now known as frankban|afk
JoeJulianIs there a way to make juju partition a maas node?17:09
bobeorick_h_: I found a thing lool http://paste.ubuntu.com/p/6NTG85V6N5/17:26
bobeono machines, no applications, it states its already resolved, no units, and still an error17:26
rick_h_bobeo: quit breaking things!17:27
bobeoLOOL17:28
bobeoIIll provide you a copy of my history commands to be able to reproduce17:28
rick_h_bobeo: oh I believe you17:28
rick_h_bobeo: a bug with those steps would be awesome and we can see how to make sure you can get out of jail there17:29
bobeooh absolutely! I know you do. lying to you guys is like picking up vipers and smacking them, surely to bite you in a bad way.17:30
bobeohopefully with the history you can reproduce easily. deployment method was conjure-up17:30
JoeJulianOk, no answer about juju partitioning maas so the other way I can solve this is by adding a loopback image. I see instructions for how to do that from a command line but can it just be configured in the bundle? I tried adding something to the machine section and it didn't error - but I also didn't get a device.17:33
kwmonroeJoeJulian: not sure what you mean by provisioning a maas node, but if you have juju bootstrapped in your maas env (https://jujucharms.com/docs/stable/clouds-maas), things like "juju deploy foo" should ask maas for an available machine and do whatever needs to be done to put "foo" on it.17:40
JoeJulianYeah, everything but give me a block device I can use with heketi. So I need to either partition the machine drive instead of allocating the whole thing, or add a loopback image that heketi can put a thin-provision lvm on.17:42
kwmonroebobeo: you're using bdx's elasticsearch charm, aren't you?17:42
bobeokwmonroe: yes o.o17:43
bobeokwmonroe: today ive tried I think 4 different types of elasticsearch17:43
bobeoone gave me no feedback from a direct curl query, one gave me a failed install, another worked just fine, and bxds, well its bxds, and I trust him enough to give him the keys to my car, and my own ssh keys.17:44
kwmonroebobeo: i ask because http://paste.ubuntu.com/p/6NTG85V6N5/ shows ES and storage -- i'm not sure how (or if) storage works in containers.  bdx, has this worked for you?17:44
bobeokwmonroe: my error message was that it didnt.17:44
bdxnah17:44
bdxI steered bobeo in the wrong direction17:45
kwmonroegood thing you've got his car keys17:45
bdxbobeo: neither elasticsearch charm will work on lxd currently as far as I know17:45
bobeokwmonroe: my thoughts are use a separate elasticsearch outside of his in the interim if they work, simply deploy the other two modules which worked17:45
bobeobdx: ive gotten elastic to work in lxd17:45
bdxbobeo: you have ? elastic 2.x?17:45
bobeomy thoughts are mesh the two solutions17:45
kwmonroe2.x??? tell me you're not rocking ES 2.x...17:46
bdxelastic 5.x will hit this container bug17:47
bdx2.x does not17:47
kwmonroeboooooo17:47
bdxso, bobeo: you very well may have deployed es to container previously17:47
bdxsee https://github.com/elastic/elasticsearch/commit/32df032c5944326e351a7910a877d1992563f79117:47
bobeojust to be clear, i dont think conjure-up is broken, nor relevant. I am currently working on my terminology, and am in no way blaming the creators, or contributors for what is most likely my fault17:50
bobeoalso, is there a good tutorial on how conjure-up works? I use it a lot for my openstack deployment, and its absolutely amazing, but id also like to understand how it works and why it works better.17:52
bdxhmm ... I'm not sure, you should ask in #juju for that17:52
bdx:p17:52
bdxlol whoops17:53
bdxI see we are there17:53
bdx@bobeo, I think there is a conjure-up channel, or slak or something too17:53
bdx@bobeo #conjure-up17:54
rick_h_bobeo: so conjure-up works by adding "spells" idea which it allows it to hook up to and do more than a basic bundle.17:55
rick_h_bobeo: and with the UX bits in there it basically lets you "build a bundle" so that you can tweak things in a more interactive fashion17:55
rick_h_bobeo: search for openstack spell conjure-up and you can see what goes into it17:55
bobeorick_h_: so are you saying its a bit like a bundle of bundles? like a bundle book?17:56
rick_h_https://github.com/conjure-up/spells17:56
rick_h_bobeo: heh, it's a bit more like a "choose your own bundle adventure"17:56
bobeorick_h_: ill definitely earmark those for reading later. as an update to the issue, I also discovered I cant remove the model, as it hangs up on removing the application.17:57
bobeosorry, I cant destroy* the model17:57
rick_h_bobeo: right...normally we'd use the juju remove-machine --force to clean it up17:57
rick_h_bobeo: but....since you have no machines I'm not sure how we'd clean that out :/17:57
bobeorick_h_: yea, I tried that17:57
bobeorick_h_: i figured if I destroyed the machine, it woudl go away. I could try to reboot the controllers?17:58
bobeorick_h_: maybe they are just hung,a nd a reboot might resolve the issue?17:58
kwmonroebobeo: have you tried "juju remove-application xxx"?17:59
rick_h_bobeo: have you tried to reoslve it with --no-retry and see if you can get it to remove?17:59
bobeokwmonroe: yea I tried that rick_h_ yes I tried that as well, it states its been resolved.17:59
rick_h_bobeo: k, so it states it's resolved, but then you can't remove it then?17:59
bobeorick_h_: correct, and when I run the command again, the juju resolved --no-retry, it states its already resolved18:00
kwmonroebobeo: does remove-application give you an error?18:00
bobeokwmonroe: strangly no, it says "removing application elasticsearch" and then returns to prompt18:03
kwmonroehmph bobeo, and destroy-model just hangs?18:05
bdxkwmonroe, rick_h: I think I just realized something, is it true that if a charm defines storage, it can no longer be deployed to lxd (on any provider other then lxd)?18:08
rick_h_kwmonroe: so storage is always optional18:09
bdxI guess in short, I'm wondering if lxd deploys and juju storage are mutually exclusive?18:09
bdxit seems they are18:10
rick_h_kwmonroe: by default it'll just use a path on disk18:10
bobeokwmonroe: what it does it goes into a statement of "Waiting on model to be removed, 1 application(s)..."18:10
rick_h_kwmonroe: and the storage lxd bits are 18.10 goals so it'll be coming18:10
bdxok thank18:10
kwmonroebdx: i assume when rick_h_ was talking to me, you knew he meant you.18:12
rick_h_kwmonroe: bdx well I guess both of you18:12
rick_h_oh, I see what I did there. bdx was asking you18:12
rick_h_whoops18:12
kwmonroe:)18:12
bdxseriously monday18:12
rick_h_:P18:13
bobeo*sits back and nods head as if knowing whats going on*18:13
rick_h_multi-tasking18:13
bobeocaffeine my friends, caffeine. I know little about linux, but I know much of the sorcery of caffiene.18:13
KingJveebers: Apologies, only just had a chance to try things out. All good now though - been able to deploy a 2.4-beta2 controller and the agent downloaded.18:14
rick_h_KingJ: yay18:15
kwmonroebobeo: how much would it hurt to tear down your whole controller?  if you're able to do that without much angst, this is a pretty big hammer that might get rid of that model "juju destroy-controller --destroy-all-models"18:16
bobeokwmonroe: I trust you, rick_h_ and bdx enough to buy you plane tickets, hand you the keys to my office, and leave for a 2 week vacation. if you tell me to burn the whole thing to the ground, id do it and not blink an eye.18:16
kwmonroebobeo: otherwise, if destroy-model is looping forever on  "Waiting on model to be removed, 1 application(s)...", i'm not really sure what to do.  rick_h_, do you have anything less drastic to try other than taking out the controller?18:16
bobeoalthogh I did something a bit simpler,a nd simply built another model called secappclusters-001-00000218:17
rick_h_bobeo: kwmonroe no, because of the fact that it's not on a machine and that Juju thinks it's resolved there's no other hammer I have at my disposal :(18:17
bobeoI figured id burn through a few dozen models, so I planned ahead18:17
rick_h_bobeo: yea, I mean basically just put a note on the wall that this model is a dead model killed by an infestation of bugs18:18
rick_h_bobeo: and carry on, it's not hurting anything18:18
rick_h_bobeo: but if you want a clean pristine setup controller death is the only way forward I've got for you18:18
rick_h_bobeo: kwmonroe well model migration is the other path18:18
rick_h_just bootstrap, migrate any models you want to keep, and kill off this controller18:18
bobeorick_h_: ive already got a new model built, with a new system already building18:18
* rick_h_ should have put quotes around "just"18:18
rick_h_bobeo: cool18:18
bobeoalso, I have redundant controllers, or at least I think I do?18:18
bobeoI definitely have 3 controllers18:19
rick_h_bobeo: juju status -m controller18:19
rick_h_bobeo: will show you controller machines/etc18:19
bobeorick_h_: that brings up a good point. how do I validate if controllers are clustered?18:21
bobeoIE in HA mode18:21
kwmonroebobeo: shut down the controller and see if things still work.18:21
bobeoI had a controller fail on me int he past without it, it ended...poorly.18:21
bobeokwmonroe: LOOL18:21
kwmonroekidding btw ;)18:21
bobeokwmonroe: that definitely is a good way to do it XD18:22
rick_h_lol18:22
rick_h_bobeo: juju show-controller18:22
rick_h_bobeo: should show HA status details18:22
bobeorick_h_:  api-endpoints: ['10.0.0.99:17070', '10.0.0.17:17070', '10.0.0.20:17070'18:23
bobeothats extremely reassuring18:23
bobeobare minimum, the failure is also replicated?18:23
rick_h_bobeo: and I think juju status -m controller that the machines list will give you some details18:23
rick_h_lol18:24
bobeoeither way, im not afraid of a dead model18:24
bobeoalso, would it be helpful if I built a port based diagram for juju, maas, etc?18:24
kwmonroebdx: good call on ES 5.x busted on containers -- systemd[1]: Failed to reset devices.list on /system.slice/elasticsearch.service: Operation not permitted :/18:25
bobeoit seems to be a popular use, and it would help me better understand as well.18:25
kwmonroeyeah bobeo, that would be awesome.  you're right that the question of how those pieces fit together comes up a lot.18:29
bobeokwmonroe: rick_h_ bdx ok so I think I found a way to mcgyver it togther.18:42
bobeoI went with a generic elastic on baremetal, with an lxd instance install with kibana and logstash from bdx. ill let you konw how it goes. so far it looks good.18:42
bobeook so Ive got everything working minus the relationships, what are the requirements for the relationships? kwmonroe bdx rick_h_ do you have a link for this?18:49
bobeoi checked the ELK, elasticsearch, and kibana pages, but it didnt state relations18:50
bobeook so I got all three of them working, I just need to configure them now, and its fully operational (I hope)19:16
bobeobut status wise, all green http://paste.ubuntu.com/p/hBXqCwHxvb/19:16
ascendIf I do not like the ceph.conf file that came out of a juju build, or any other service build how can I change that persistently.20:03
rick_h_ascend: most of the charms have some sort of "user extra config" you can try like https://jujucharms.com/ceph/#charm-config-config-flags20:05
rick_h_ascend: but honestly, you can't tell Juju that the config is X and then the application is running Y or else all the charm hooks and such that get config details and make decisions on scripts to execute, packages to install, information to tell related applications and have things work out well20:06
TheAbsentOneascend, or you could hack your way into the charm and change it if the configs or actions are not sufficient x)20:13
rick_h_TheAbsentOne: ascend except juju runs various hooks just as a matter of course and you'll probably find your changes overwritten from time to time20:16
TheAbsentOnetotally!20:17
TheAbsentOnerick_h_, if an interface layer only has a requires (like mongo), can I still use it with the endpoint pattern?20:23
rick_h_TheAbsentOne: I'm not sure, I've not messed with the endpoint pattern stuff atm20:23
bobeo_o/20:24
TheAbsentOneah np rick_h_ I might try a Minimal working thing for mongo tomorrow, can't find any recent (reactive) charm using mongodb20:26
TheAbsentOnehi bobeo_20:26
rick_h_TheAbsentOne: yea, there's not one atm20:27
bobeo_hey TheAbsentOne!20:27
bobeo_Im gonna start workin on that document today kwmonroe and rick_h_ ill let you know as things progress20:28
kwmonroe+1 bobeo_ -- hey you dropped earlier, but i was gonna say a couple things about your ELK status.. (1) it looks like you'll need an elasticsearch:client logstash:elasticsearch relation (i didn't see any logstash relations in your paste), and (2) putting kibana in a container may not work in all clouds if the container network isn't available -- in your case, it looks like you'll be fine across the 10.0.x.x network, but if20:32
kwmonroeyou moved that deployment to AWS, for example, kibana would have a private address that wouldn't be accessible to the outside world without some proxy/forwarder.20:32
kwmonroeif you want kibana accessible in something like a public cloud, you could hulk smash it on a public machine.  that means placing both ES and kibana on the same public host with something like "juju deploy kibana --to 0".  it's not generally recommended to smash multiple charms on the same host, but it's not illegal to do so.20:34
bobeo_kwmonroe: I push to it via haproxy for loadbalancing external to my juju instances20:34
kwmonroeha bobeo_!  that was gonna be my next suggestion :)  haproxy can certainly handle the forwarding from public units to containers in the model.20:35
bobeo_kwmonroe: ill put those other relations in place, one moment please20:35
bobeo_kwmonroe: relations added. Also, how did you know that relation was missing? is there a command to see all the available relations, or relations required to make a charm fully functional?20:37
bobeo_kwmonroe: whats the best way for me to make config changes inside of juju with a standard install guide?20:46
bobeo_I ask because according to the system, everything is deployed, but according to the system, when I load the login page, or try to, its only nginx default landing page.20:49
TheAbsentOnewhat are you trying to deploy bobeo_20:53
kwmonroebobeo_: i knew your logstash relation was missing because i didn't see anything in the Relation section related to logstash in your paste (http://paste.ubuntu.com/p/hBXqCwHxvb/)20:58
kwmonroebobeo_: i didn't follow you on that last question... what login page are you loading?  kibana?20:59
bobeo_TheAbsentOne: kwmonroe deploying ELK, and yes kwmonroe , kibana.21:00
bobeo_im digging around in the kibana config, and I dont see much in regards to kibana for the web UI21:01
kwmonroehm, bobeo_, not sure.. maybe try http://10.0.0.79/kibana21:03
bobeo_I did notice it didnt deploy with ES hosts configured, so Ill have to add all the es hosts, but other than that, it gives me the default password, adn the default listen port, but it needs to be forwarding 80 to something21:03
kwmonroebdx: does your kibana have a different url path?  as in /kibana vs /, or maybe /james-is-the-best?21:04
bobeo_it doesnt show, which is the weird thing21:04
bobeo_ http://paste.ubuntu.com/p/fNPgZXp55R/21:05
kwmonroebobeo_: gimme a minute to deploy the omni kibana.21:05
bobeo_kwmonroe: Omni kibana? that sounds badass21:06
bobeo_kwmonroe: Ill have what he's having21:06
kwmonroebobeo_: you're using omnivector's kibana, right?  this one? https://jujucharms.com/u/omnivector/kibana/21:06
kwmonroevs this one: https://jujucharms.com/kibana/21:06
bobeo_oh yea! I am having what youre having XD21:06
bobeo_kwmonroe: yea thats correct21:07
kwmonroeok bobeo_, so bdx was sick and tired of the ELK stack development pace (which is fair), so he made ~omnivector versions of the ELK charms.  at some point, those will all merge to be the best of both worlds, but for now, it means i need to ask things like "which kibana are you deploying" so i know which one to try on my side.21:09
bobeo_kwmonroe: thats totally fine, Ill find you whatever information I can. honestly I like a lot of the things he did. merging out openjdk was genious21:11
bobeo_genius*21:11
bobeo_so this made me realize, omnivector isnt a username bdx uses, its a type of charm? So whats the difference in a regular charm, and an omnivector charm?21:16
bobeo_kwmonroe:21:16
ascendSorry was away for a while thanks for the feedback on the above query.21:28
zeestratbobeo_: It's one of bdx's namespaces on the charms.21:29
kwmonroeyeah bobeo_, what zeestrat said ^.  the charm store supports multiple namespaces, so for example, you and i could both have an openjdk charm.. one would be deployed with "juju deploy ~kwmonroe/openjdk" and the other with "juju deploy ~bobeo/openjdk" (or whatever namespace you wanted).  omnivector is bdx's company name, so he has a set of charms that they use published in the ~omnivector namespace.21:40
kwmonroebobeo_: the charm store also supports a top level namespace, which means you can omit the ~namespace and just do "juju deploy openjdk".  that will deploy whatever namespace is promulgated as the top level charm.  there can only be 1 instance of a top level (or "promulgated") charm.21:44
kwmonroebobeo_: so right now, https://jujucharms.com/kibana/ is the promulgated version of kibana.  it comes from the ~elasticsearch-charmers namespace.  both "juju deploy kibana" and "juju deploy ~elasticsearch-charmers/kibana" will deploy the same thing.  it's just that the former saves you some typing and is the default charm that shows up when people search for kibana.21:46
kwmonroebobeo_: bdx has an alternate version of the kibana charm in the ~omnivector namespace, which you get when you type "juju deploy ~omnivector/kibana".21:46
kwmonroeand that's the one you're currently using21:47
kwmonroethere are 17 other versions of the kibana charm, btw.. you can see them by clicking "show 17 community results" here: https://jujucharms.com/q/kibana21:48
TheAbsentOnekwmonroe, since you are here did you encounter a charm using mongodb recently by any chance? I'm looking for a charm (reactive framework/endpoint pattern) that uses mongod charm/interface21:53
bobeo_kwmonroe: im guessing the promulgated charm is assigned to the official project owner? asin the one who created the project assessed with the charm, IE Elastic would be the promulgated elastic instance?21:56
bobeo_elasticsearch*21:56
kwmonroeTheAbsentOne: graylog uses mongo.. it's reactive, but not endpointy.  see around line 466: https://git.launchpad.net/graylog-charm/tree/reactive/graylog.py21:59
=== TAO is now known as Guest75873
Guest75873wow I got dc'd, saw last comment, thanks for the link kwmonroe I will give it a look tomorrow, time to catch some zzz's goodnight all!22:00
kwmonroeTheAbsentOne: to make that endpointy, you'd say "@when('endpoint.mongodb.available'), def configure_mongodb_connection(), mongo = endpoint_from_name('mongodb'), for mongo_host in mongo.connection_strings():"22:01
kwmonroeGuest75873: ^^22:02
Guest75873ah kwmonroe so that's where I was wrong I tried to fetch it by flag as well22:02
Guest75873instead of name22:02
kwmonroeGuest75873: there is a _from_flag too.. i think it'd be "endpoint_from_flag('mongodb.available').  but we can check that after your nap ;)22:03
Guest75873kwmonroe, https://github.com/Ciberth/charm-mongo-consumer/blob/master/reactive/charm-mongo-consumer.py22:04
Guest75873it's okay my sleeping schedule is just as broken as my very first charm I wrote x)22:04
kwmonroeGuest75873: cory_fu may have to correct me here, but i think you want mongodb = endpoint_from_flag('mongodb.available') instead of mongodb = endpoint_from_flag('endpoint.mongodb.available') -- omit the 'endpoint.' prefix.22:05
kwmonroemaybe not though -- i know there was a _from_name vs _from_flag discussion recently, i just don't know which way it's supposed to go :)22:05
Guest75873yeah I wanted to check what flag was set right when I stopped working on it. Thanks kwmonroe I'll be back soon ^^22:06
kwmonroe+122:06
Guest75873pretty sure flag I prefer flag x)22:06
Guest75873gnight!22:06
kwmonroegoodnight Guest75873!22:06
wallyworldthumper: did you see i reviewed your pr?22:08
thumperyes, I'd like to have a quick chat about it later22:08
wallyworldsure22:08
thumperbut I'm on calls for ages now22:08
kwmonroebobeo_: the promulgated charm is the one that the community decides is the best suited as a default charm.  anyone can have the top level / promulgated namespace.. you just have to mail the juju mailing list and ask for it.  currently ~elasticsearch-charmers (which is *not* actually affiliated with Elastic Co) has the promulgated elasticsearch charm, but there's nothing stopping bdx from requesting a takeover.  if he wanted22:10
kwmonroe, he'd make a case for that on the list, and anyone that has a stake in the elasticsearch charm would have a chance to ack/nak the transfer.  that said, lots of people don't bother promulgating these days -- if you know bdx's omnivector charms work best for you, you simply deploy with ~omnivector/<foo>.22:10
thumperbabbageclunk: fyi race in raft stuff23:36
babbageclunkthumper: ah d'oh - ok, chasing.23:36
thumperbabbageclunk: thanks23:36

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