/srv/irclogs.ubuntu.com/2017/05/22/#juju.txt

=== frankban|afk is now known as frankban
kjackalGood morning Juju world!07:23
dakjHello guys, any idea about this issue with Landscape-Dense MAAS? https://askubuntu.com/questions/906763/haproxy-reverseproxy-relation-changed-in-landscape-dense-maas-bundle thnaks09:43
=== urulama_ is now known as urulama
lazyPowerdakj: have you re-used that haproxy charm by relating it to something else, then removing a relation?12:17
lazyPowerdakj: i'm not positive this is the case, but the error its complaining about is two vhosts with the same name.  So either the charm is coded in such a way this scenario happened, or some operation was issued against the charm that caused it to duplicate the  vhost. I'm not certain which is at fault here, but its most certainly a defect in the charm, unless you've manually edited that haproxy cfg :)12:18
dakjlazyPower: to your first Q: no I used the bundle dedicated to deploy that and nothing else, no re-used. Second one: no, I've run its default cfg without manual edit.12:42
dakjlazyPower: I've re-run more time that bundle and after the commit with Juju gui the error has been always the same.12:43
lazyPowerdakj: i'm deploying now12:43
lazyPowergive me a moment to let this deployment settle. If it errors i'll scrape the logs and file a bug and ping you with the bug id.12:44
dakjlazyPower: ok, I'm waiting your result12:44
lazyPowerdakj: from a basic `juju deploy landscape-dense` i received no errors12:52
lazyPowerdakj: https://104.197.250.70 - the haproxy unit is available at this ip, and things seem to have settled correctly12:53
dakjlazyPower: did you do that via command line or via gun?12:54
lazyPowerdakj: cli12:54
dakjlazyPower: let me try that, but you used landscape-dense in my lab I used landscape-dense-maas12:55
lazyPowerdakj: ok. give the dense bundle a go and lets see if it behaves as we expect it to12:56
dakjlazyPower: I think is the same12:56
lazyPowerI'm going to tear down this model unless there's additional validation you'd like to perform?12:56
dakjlazyPower: https://jujucharms.com/landscape-dense-maas/12:56
lazyPoweryeah it appears that teh dense-maas bundle relies on container networking to alow multi-host scalability12:57
lazyPowerthe -dense bundle doesn't offer that, and i did run this deployment against a public cloud as I dont readily have maas available to me12:57
dakjlazyPower: I'm doing the commit of landscape-dense, five minutes and see the result.13:17
lazyPowerack13:20
dakjlazyPower: same issue13:32
lazyPowerdakj: i'm not certain what the issue is, but it would be a good first step to file an issue against the haproxy charm. https://bugs.launchpad.net/charm-haproxy/13:33
dakjlazyPower: already done...no answer13:37
lazyPowerdakj: do you have that bug # handy?13:42
dakjlazyPower: I wrote here: https://bugs.launchpad.net/landscape-bundles/+bug/1685212 and https://bugs.launchpad.net/charms/+source/haproxy/+bug/1686629 and https://bugs.launchpad.net/landscape-charm/+bug/1692061 and added a comment here https://bugs.launchpad.net/charms/+source/haproxy/+bug/152030513:45
mupBug #1685212:  Landscape Dense MAAS: hook failed: "reverseproxy-relation-changed" for landscape-server:website <Landscape Bundles:New> <https://launchpad.net/bugs/1685212>13:45
mupBug #1686629: hook failed: "reverseproxy-relation-changed" for landscape-server:website <haproxy (Juju Charms Collection):New> <https://launchpad.net/bugs/1686629>13:45
mupBug #1692061: Landscape Dense MAAS: hook failed: "reverseproxy-relation-changed" for landscape-server:website <Landscape Charm:New> <https://launchpad.net/bugs/1692061>13:45
mupBug #1520305: reverseproxy-relation-changed fails configuration check failed <haproxy (Juju Charms Collection):New> <https://launchpad.net/bugs/1520305>13:45
lazyPowerdakj: thanks, i'll try to get some eyeballs on that today from the landscape team if they have any additional bandwidth13:47
lazyPowerdakj:  and just to be clear, you're destroying the model and running a fresh deployment every time you attempt to deploy the landscape bundle?13:54
dakjlazyPower: yes I've destroyed that before to commit the bundle.13:59
ZicoHi, I need some help on JUJU metrics setup. To get started, how to make it work on top of the scalable-wiki for example that is PHP and MYSQL?14:10
rick_hZico: so there's a hook you use in the charm. You'd need to add a metrics hook to one of those two charms. check out https://jujucharms.com/docs/stable/developer-metrics14:12
rts-sandercan multiple hooks run at the same time in the same unit?14:19
Zico~/charms/wiki-scalable/trusty/haproxy$ more layer.yaml  ---> includes: ['layer:metrics']14:22
Zicoin metrics.yaml --> metrics:   juju-units:14:23
Zicojuju metrics --all shall reflect the number of units after 5 minutes?14:23
rts-sander"No more than one hook will execute on a given system at a given time. A unit in a container is considered to be on a different system to any unit on the container's host machine."14:23
rts-sanderso no14:23
ZicoThank you Rick_H14:23
rick_hZico: np, have fun14:25
rick_hrts-sander: right, only one at a time14:27
rick_hrts-sander: so that the hook authors should be able to rely on things not going nuts during a hook execution14:27
ZicoQ: I created the layer.yaml, and added --> includes: ['layer:metrics'] in the layer.yaml and in metrics.yaml --> juju-units: ---> this supposed to give the count of units.. juju metrics --all is still empty (after 5 minutes).14:34
mattyw_Zico, did you upgrade the charm when you added the layer:metrics layer?14:38
ZicoMattyw_, No, I didnt upgrade, if I should do, please assist how ? :)14:40
mattyw_Zico, so you added layer:metrics to an existing charm and then deployed it from scratch?14:41
ZicoMattyw_, Charm was already deployed, I just added the layer.yaml and metrics.yaml... I thought it's hot deployable?!14:44
mattyw_Zico, charms aren't I'm afraid. You'll have to do juju upgrade-charm14:45
mattyw_Zico, but in that situation you may encounter this: https://bugs.launchpad.net/juju/+bug/167585114:45
mupBug #1675851: juju collect-metrics reports failed to collect metrics: no collect application listening: does application support metric collection? when charm is metered <upgrade-charm> <juju:Triaged> <https://launchpad.net/bugs/1675851>14:45
mattyw_^^ so the best approach would be to rebuilt the charm and then juju deploy it14:46
cmarsanyone here tried using zetcd instead of zookeeper with big data charms yet? i'm interested in evaluating kafka and zetcd appeals to me...16:18
cmarsalso, anyone here using kafka with golang clients? :)16:18
tvansteenburghcmars: well, i snapped zetcd Friday night after the announcement :)16:23
dakjlazyPower: I made other tests and the results has been: using cli with these commands juju deploy landscape-dense and juju deploy landscape-dense-maas, landscape is deployed correctly while using both bundle via gui I obtained the same issue16:23
tvansteenburghcmars: snap install zetcd --edge16:23
cmarstvansteenburgh, awesome!16:23
cmarstvansteenburgh, is there a layer for snaps, like layer:apt?16:24
lazyPowercmars: layer:snap16:24
lazyPowerhttps://github.com/stub42/layer-snap16:24
cmarsshouldve guessed :)16:24
lazyPowerwell poo you left16:25
lazyPowerdakj: so you're saying it deploys correctly via cli but not the gui?16:27
=== frankban is now known as frankban|afk
ChrisHolcombedoes charm-tools support py3.5?18:13
ChrisHolcombei mean charmhelpers*18:13
ChrisHolcombelazyPower, you prob know this :)18:14
lazyPowercharm helpers should, yeah18:14
lazyPowercharm-tools shoudl as well18:14
ChrisHolcombeare you installing that with pip3 or what?18:14
lazyPowerno it ships with layer-basic.18:14
ChrisHolcombeoh i see18:14
lazyPowercharmhelpers is in the wheelhouse18:14
ChrisHolcombealright18:14
lazyPowerso i guess yes i'm indirectly doing that18:14
lazyPowerbut the tooling is doing it for me :)18:14
ChrisHolcombe:)18:15
ChrisHolcombei'll run tox on the build bits then18:15
Budgie^Smoreo/ juju world18:30
ZiclazyPower: hi, if I specify a specific revision of the canonical-kubernetes charm bundle, does it also deploy the old revision of charm inside the bundle? (for the same purpose of last time, build a "iso-prod" preproduction cluster and test its upgrade before do it in production)18:57
Zic(specify a specific, oh, well done...)18:57
lazyPowerZic: yes, if you deploy an older charm/bundle, it should use those older resources instead of the snaps and deploy the 1.5 tarball based cluster.18:57
Ziccool, will test that tomorrow :)18:58
ZiclazyPower: how can I retrieve the bundle version of a already installed cluster? don't know if I really can after an installation18:59
lazyPowerZic: juju status should giv eyou the charm revisions at the top18:59
Zicyep, but how to guess the charm *bundle* revision? :x19:00
lazyPowerZic: then just walk backwards in the bundle revisions in the store. i can lend a hand to get you the bundle rev if you get me the version of say, kubernetes-master.19:00
Zicoh, I think I can do that, I'm not at office currently but I will mount my VPN to launch a juju status at the cluster19:01
Zichttp://paste.ubuntu.com/24625879/19:04
ZiclazyPower: ^19:05
cmarswhat's the method for ignoring files during charm build, in layer.yaml?19:26
cmarsany examples of this?19:26
tvansteenburghcmars: add key -> ignore: [list, of, file, or, dir, names]19:32
cmarstvansteenburgh, doesn't work :(19:33
cmarstvansteenburgh, the ignore: key goes at the top-level of layer.yaml?19:33
tvansteenburghyeah19:34
tvansteenburghcmars: hrm https://github.com/juju/charm-tools/issues/31219:34
cmarstvansteenburgh, ok. yeah, i can't ignore builds, deps or .*.swp19:35
magicaltroutlazyPower: is there persistent storage, cinder etc in CDK?19:37
bdxJUJU_UNIT_NAME19:52
bdxdoesn't exist in the bash env anymore?19:53
lazyPowermagicaltrout: ceph rbd19:58
lazyPowerZic: sorry i got sidetracked looking now19:58
bdxhttp://paste.ubuntu.com/24626263/19:59
lazyPowerZic: https://jujucharms.com/canonical-kubernetes/21/20:02
lazyPowerZic: that has your master revision :)   and you can deploy this with juju deploy canonical-kubernetes-2120:02
tvansteenburghbdx: are you in a hook context when you run that?20:02
dakjlazyPower: have you tryed to deploy that via juju gui?20:43
lazyPowerdakj: i have not20:44
lazyPowerdakj: were you saying it deploys as expected via the CLI but not via the GUI?20:44
dakjyes I confirm that, using the cli with command juju deploy landscape-dense/landscape-dense-maas landscape is deployed right, while via gui or via cli using the command juju deploy cs:~landscape/bundle/landscape-dense-maas-25 in both task I've the same issue with HAproxy20:49
dakjlazyPower: yes I confirm that, using the cli with command juju deploy landscape-dense/landscape-dense-maas landscape is deployed right, while via gui or via cli using the command juju deploy cs:~landscape/bundle/landscape-dense-maas-25 in both task I've the same issue with HAproxy20:49
lazyPowerdakj:  ok, so you state that landscape is deployed right, you're not experiencing any issues with the haproxy on that working deployment?20:50
dakjlazyPower: at moment any issue with HAproxy. I don't know if that is a my problem on my system or is an issue on that bundle. My juju status is pasted here https://paste.ubuntu.com/24626715/ and here after login on landscape https://pasteboard.co/9tyPhi0Xg.png20:57
lazyPowerdakj: everything appears in order in that screenshot and your pasted status output20:59
lazyPowerso i'm not certain what's causing the issue, you've filed some detailed reports. The only thing I can think of to help anyone following up would be to describe int he parent bug against the bundle, that it was deployed via the gui20:59
lazyPowerthat way its obvious when they attempt the deployment that it wont be `juju deploy`, its a drag and drop operation. there's some slight differences there in how juju processes the request but i dont know enough about the gui internals to know21:00
dakjlazyPower: I'll update all post about that, indicating that issue is due from gui and not via cli.21:02
lazyPowerdakj: thank you for taking good care of the issues filed dakj. its certainly appreciated21:02
dakjlazyPower: I've to thanks you and the other guys who helped me to resolve the issue with Openstack base via juju and all support to learn more thinks about Juju. I hope to to reciprocate you with my support.21:05
lazyPowerdakj: :) Welcome aboard o/21:06
dakjlazyPower: see you, have a nice day.21:06
thumperlazyPower: who knows about the namenode charm for k8s ?23:15

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