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

erik_lonroth_Hello!07:57
erik_lonroth_I'm encountering some problem with installing juju on ubuntu via "snap".  It fails to download and this is what I encounter. https://pastebin.com/LM6JGkDy - Is this something you have experienced too08:00
erik_lonroth_I commented on this: https://bugs.launchpad.net/click-package-index/+bug/1688529?comments=all08:00
mupBug #1688529: X-Ubuntu-Series is required but not accepted <Click Package Index:New> <https://launchpad.net/bugs/1688529>08:00
gvseghbrHi, I've some problems with bootstrapping a controller on my VMware cluster. Everything seems to be okay, up to the point the bootstrapping process tries to contact the controller API (via WebSocket). I get this error “09:56:03 DEBUG juju.api apiclient.go:842 error dialing websocket: Forbidden”, something to do with the X509 certificate.08:39
gvseghbrHere some more output: https://askubuntu.com/questions/953079/error-while-bootstrapping-on-vmware08:43
magicaltrouterik_lonroth_:10:02
magicaltrouti don't have an answer for you10:03
magicaltroutbut10:03
magicaltroutif you provide X-Ubuntu-Series: 1610:03
magicaltroutyou do get a direct link to the download url10:03
magicaltroutcurl -H X-Ubuntu-Series:16 https://api.snapcraft.io/api/v1/snaps/details/juju10:05
rick_herik_lonroth_: interesting. seems like that might be a snap bug that will have to get looked into10:54
rick_hoh, you filed it heh10:55
rick_hor found one10:55
stormmoreo/15:46
bdxhey, what is the supported graphite charm I should be using?19:24
rick_hbdx: not sure, the community ones seem to be older from folks that aren't maintaining them.19:50
bdxrick_h: you use the grafana + prometheus + collectd charms in your monitoring stack?20:03
bdxrick_h: do you know what interface the collectd and prometheus charms relate on?20:03
rick_hbdx: yea, telegraf, grafana, prometheus. https://jujucharms.com/u/prometheus-charmers/ is the IS folks that do most of that setup20:03
bdxrick_h: how does collectd fit into the picture?20:04
rick_hbdx: looking, looks like it's a subordinate like telegraf. Just uses juju-info to communicate like telegraf.20:05
bdxha20:05
bdxso you would think20:05
rick_hMost of those folks are offline (UK) or not yet on (AU/etc)20:05
bdxrick_h: its cool man20:05
rick_hbdx: but also might be worth an email to the juju list, I'm honestly not sure as I've not set it up :(20:05
bdxahh20:06
rick_hbdx: ooh, did you know about charm set extra-info? https://github.com/juju/charmstore/issues/774#issuecomment-32759098820:26
bdxrick_h: that is great20:27
bdxman20:27
bdxso many great things happening20:27
rick_hbdx: can put any key/value in there for some fun stuff20:28
bdxrick_h: thats great ... don't we have a similar thing for models now too?20:29
rick_hbdx: for models? I mean there's annotations over the API but not sure what's on the CLI for it.20:29
rick_hwhat's nice here is how it's right in the charm command. I know there was an extra-info api and could be hit up with a python client/etc, but awesome it's baked into the charm command cli for quick hacky foo like that20:30
bdxyeah totally20:31
bdxreally cool20:31
bdxI think I have a bunch of places where triggers will take over in my charms20:37
bdxtriggers use case: https://gist.github.com/jamesbeedy/e36b4bd4cf35d1f48682acc1605c373a20:37
bdxrick_h: I've got this manual vs relations battle similar to ^20:38
bdxgoing on in almost every charm20:38
bdxI think triggers will really help clear a lot of that out20:38
bdxhttps://gist.github.com/jamesbeedy/e36b4bd4cf35d1f48682acc1605c373a#file-data_api-py-L4220:41
bdxrick_h: I found it!20:46
bdxlook20:46
bdxlol20:46
bdxfrom the collectd charm http://imgur.com/a/n9b6p20:46
bdx^ what I call a "hunt and slap"20:48
rick_hbdx: lol20:48
rick_hbdx: very sneaky20:49
bdx deadly20:49
bdxrick_h: will you aid me in finding the elusive "aluria's PPA" ?20:53
bdxthe single PPA needed to make prometheus exporting work with the collectd charm20:53
rick_hbdx: https://launchpad.net/~aluria/+archive/ubuntu/bootstack20:54
rick_hbdx: that's the PPA referenced20:54
bdxrick_h: awesome!20:54
bdxrick_h: nice find20:57
bdxrick_h: ok, bunch of cruft here20:58
bdxrick_h: I am impressed with your ppa finding ability20:58
bdxrick_h: still no excuse for the state of this collectd charm though20:58
rick_hbdx: https://launchpad.net/ubuntu/+ppas20:58
bdxso20:58
bdxahh20:58
bdxnice20:58
bdxlol20:59
bdxso yeah20:59
* rick_h is a good typer in a search box :)20:59
bdxcollectd charm supports xenial and trusty, but the prometheus export functionality is only supported from aluria's ppa for trusty20:59
bdxgraphite_export functionality is currently broken20:59
bdxsoooo21:00
bdxyou can use the collectd charm with aluria's repo on trusty I'm assuming21:00
bdxthis totally suck21:00
bdxs21:00
rick_hbdx: so you can try to build it on a later series if it still works21:01
bdxrick_h: the charm deploys on xenial fine21:01
rick_hbdx: so you can head to https://launchpad.net/~aluria/+archive/ubuntu/bootstack/+packages and click "copy packages into your own PPA, and then you change the series when you copy them21:01
rick_hbdx: I mean the package, if it works on the series or not21:02
bdxoh really21:02
rick_hyea21:02
rick_hthat's if the software package works as is across series, many will but not sure here.21:02
bdxgot it21:04
bdxI'll give it a try21:04
bdxrick_h: thx21:05
rick_hthen obviously change the PPA setting in the charm config to your own PPA and such21:05
rick_hbdx: cool, let me know how it goes. Hopefully it'll work out.21:05
bdxrick_h: so, making progress http://paste.ubuntu.com/25480346/21:13
bdxI was able to copy over the packages to my own ppa, and build them for xenial21:13
bdxthey all built fine, and are in my "peopledatalabs" ppas21:14
bdxppa21:14
bdxbut I'm thinking I may need to do something to get a releases file21:14
bdxI was getting the same error when using the bootstack ppa too21:14
bdxhmm21:14
rick_hbdx: yea, so looking at that error...it's because the ppa doesn't have anything for your series21:15
rick_hbdx: so have to make sure the charm series matches your PPA and that in that PPA is a RELEASES file with content21:16
rick_hbdx: could be caching/etc for something newly built21:16
rick_hbdx: is the PPA private? I don't see it in the account21:16
rick_hoh wait, I do see it my bad21:17
bdxahh, "in that PPA is a RELEASES file with content" can you give an example?21:17
bdxhere https://launchpad.net/~peopledatalabs/+archive/ubuntu/ppa21:17
rick_hbdx: https://launchpad.net/~peopledatalabs/+archive/ubuntu/ppa/+packages so that shows pending21:18
rick_hwith a failure?21:18
bdxwhere?21:19
bdxooh21:19
bdxI see21:19
rick_hbdx: and still shows no packages "Number of packages:21:19
rick_h0 source packages (471.0 MiB)21:19
rick_h0 binary packages (4.7 MiB)"21:19
rick_hbdx: yea, have to poke around the PPA/package details bits there21:19
rick_hbdx: once they run there should be PPA build logs if you had them rebuilt vs just copied binaries21:19
rick_hbdx: so maybe they're in the build queue, might take a little bit depending on how busy they are21:20
bdxI see21:21
bdxtotally21:21
bdxyeah ... I had them rebuilt when I copied them over, thinking it would be good thing to do21:21
bdxpossibly I can also try with just copying for the heck of it21:21
rick_hyea21:21
rick_hso have to just be patient and wait for a PPA builder to come along and try to build it21:22
rick_hbdx: ok hover over the green gear icon for the first package21:23
rick_hbdx: "all builds were built successfully but not yet published"21:23
rick_hbdx: so it's not even the builders to wait on, but just the publish process which will build that releases file and you'll be off to the races21:23
bdxI see, I see21:24
* rick_h has to run but will check in later if I can. Good luck!21:24
bdxkk, thx21:25
gvseghbrHi, is there somebody who can help with bootstrapping a VMware controller?21:26
gvseghbrOn my system it fails when the bootstrap process wants to connect to the API21:26
bdxrick_h: yeah man ... my fears were realized ... it was packaged for upstart21:49
bdx:(21:49
bdxrick_h: where I ended up athttp://paste.ubuntu.com/25480507/21:54
bdxhttp://paste.ubuntu.com/25480507/21:54
bdxlooks like the collectd-exporter-prometheus.conf made it to /etc/init21:55
bdxbut thats about it21:55

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