/srv/irclogs.ubuntu.com/2016/06/16/#juju.txt

=== adam_g` is now known as adam_g
=== rharper` is now known as rharper
=== axino` is now known as axino
=== cmars` is now known as cmars
=== sarnold_ is now known as sarnold
kjackaladmcleod: yes I saw your comments on Mahout07:50
admcleodkjackal: cool! :)07:50
kjackaldo you think the execution time was acceptable?07:50
admcleodhmmm it seemed ok yes07:51
kjackalok, cool07:51
admcleodbut it would still be preferable to have a non-hdfs non-yarn smoke test07:51
kjackalagreed07:52
kjackalI initialy thought that the localhost target was depricated for Mahout, but i was wrong07:52
admcleodand there are several references to recommender algorithms that dont require hdfs07:53
kjackalthere are some algorithms that you can run localy07:53
admcleodyep07:53
kjackalreally?07:53
kjackalIt could be an easy fix then07:53
kjackalok, so! My plan is finish Kafka, and then either Mahout of HBase depending on the feedback i get from you07:53
admcleodkjackal: this one for example: https://mahout.apache.org/users/classification/twenty-newsgroups.html07:54
kjackalNice! I will try to refactor this07:54
kjackalthis=action+amulet07:55
admcleodkjackal: cool08:01
admcleodkjackal: https://mahout.apache.org/users/misc/testing.html08:02
kjackaladmcleod (or anyone else): I was looking at flannel yesterday.  https://jujucharms.com/u/hazmat/flannel/trusty/1 I was trying to make a monster VM from smaller ones. Have you seen this before. Wouldn't be great if there was an option on the manual provider to provision lxc containers inside machines you give him?08:04
admcleodkjackal: pretty cool although i dont understand your last sentence08:07
admcleodkjackal: https://github.com/apache/mahout/blob/b25a70a1bc6b9f8cb6c89947e0eaba5588463652/mr/src/test/java/org/apache/mahout/driver/MahoutDriverTest.java08:07
kjackalYou know how you have the manual provider and you manually give the machines you have access to08:07
kjackalthen if you deploy something it gets deployed to that machines, right?08:08
admcleodkjackal: right08:08
kjackalWhat if you could tell the manual provider to spawn lxc containers inside the manualy provided machines08:09
kjackalbased on a round robin or whatever other policy08:09
kjackalWhat happened? did we move to IPv6?08:09
admcleodkjackal: i see, right08:10
kjackaladmcleod: http://pastebin.ubuntu.com/17392595/ look at zkb08:10
admcleodkjackal: what cloud is that?08:11
kjackallocal with lxc on juju 2.0 deploying apache-zookeeper08:11
admcleodoh, somethings up with your lxc then08:12
kjackalnext deployment got IPv4 !!!08:12
admcleodlogs please08:12
kjackalI wouldn't dare!08:13
kjackalAhhh ok only because its you!08:13
kjackaladmcleod: http://pastebin.ubuntu.com/17392643/08:16
admcleodkjackal: if you ssh into it does it actually have an ipv4 address aswell?08:18
kjackaladmcleod: looks legit http://pastebin.ubuntu.com/17392669/08:20
admcleodkjackal: so, if the others have ipv6 also, seems like juju displaying the wrong address08:21
kjackalyes, probably this08:22
admcleodkjackal: https://bugs.launchpad.net/juju-core/+bug/157484408:25
mupBug #1574844: juju2 gives ipv6 address for one lxd, rabbit doesn't appreciate it. <conjure> <juju-release-support> <landscape> <lxd-provider> <juju-core:Won't Fix> <rabbitmq-server (Juju Charms Collection):Fix Released by james-page> <https://launchpad.net/bugs/1574844>08:25
kjackalhm.... I must be running an old juju version08:28
kjackalbeta708:28
kjackalthere should be at least a beta8, right?08:28
admcleodkjackal: yes08:31
kjackaladmcleod: WHER08:36
kjackaladmcleod: where you involved in the IP issues we were seeing because of java?08:37
kjackalI think kafka could be affected by this: http://stackoverflow.com/questions/1881546/inetaddress-getlocalhost-throws-unknownhostexception08:37
kjackaladmcleod: did we fix this with upgrading to java8?08:37
admcleodkjackal: i am aware of a few different issues re dns and hostnames and java 708:37
admcleodkjackal: is this on lxc also?08:38
kjackalyes, lxc juju 2.008:38
YashHello08:38
YashI'm facing a problem.08:38
Yash2016-06-16 08:36:27 DEBUG juju.api apiclient.go:500 error dialing "wss://[fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070/model/3923551f-dcf9-4ca8-8b32-dc010722721b/api", will retry: websocket.Dial wss://[fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070/model/3923551f-dcf9-4ca8-8b32-dc010722721b/api: dial tcp [fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070: getsockopt: connection refused [14:07] <Yash> How to solve this?08:38
YashI rebooted my machine many times with no luck08:38
YashUbuntu 16.04 and juju 2.0 beta08:39
admcleodkjackal: right well we came across the problem on joyent since the default joyent resolves are googles public nameservers, so you can't use InetAddress.getLocalHost() to resolve the local hostname (for example)08:39
kjackalhttp://pastebin.ubuntu.com/17392798/08:39
admcleodkjackal: yeah, cos theres no DNS08:39
Yash@kjackal are you suggesting anything to me? or other problem?08:40
kjackalhi Yash I think we have separete problems :)08:42
Yashok08:42
admcleodYash: how did you bootstrap the environment?08:43
admcleodYash: and what cloud/substrate is it?08:44
Yashjuju bootstrap lxd-test localhost08:44
Yashhttps://jujucharms.com/docs/devel/getting-started08:44
YashIt was working fine08:44
YashI installed many openstack components08:44
Yashthen pending machine problem.. so I removed those machine and services and rebooted whole machine08:45
YashNow I'm trying on desktop08:45
YashSIngle machine with 24 GB ram and + 4TB08:46
admcleodcan you actually telnet to fd4f:23ae:5d73:5c67:216:3eff:febc:8b38 port 17070? is that port open on that ip?08:46
YashI found out if we can restart machine 0 it would resolve problem08:46
Yashbut juju 2.0 changed like there is no /var/lib/juju dir08:47
Yashinstead lxd and lcxfs08:47
Yashwhich contains all of it08:48
admcleodbabbageclunk: hello!08:48
babbageclunkadmcleod: hi!08:48
babbageclunkadmcleod: uh oh08:48
admcleodYash: unfortunately my experience with juju 2.0 and networking isnt great.. however..08:48
YashAny help?08:48
admcleod;)08:48
admcleodYash: maybe babbageclunk can help ;)08:48
Yash@babbageclunk can you please suggest anything?08:49
babbageclunkYash: so, you're trying to reboot machine 0 but can't?08:49
YashYea08:50
YashTrying as per stackoverflow to solve issue08:50
Yashbut since 2.0 changed this also08:50
Yashso can't find proper way08:50
babbageclunkYash: can you ssh into the machine with "juju ssh 0"?08:50
Yashjuju is in hang stat so I can't08:51
babbageclunkAnd it's all deployed on lxd?08:51
YashYes08:51
babbageclunkHow about rebooting the container with lxc restart?08:52
YashHow can I do?08:52
YashI've 2 weeks exp only08:53
babbageclunk:)08:53
babbageclunkI'm pretty new here too.08:53
Yashok :)08:53
babbageclunkTry "sudo lxc restart <container name>"08:54
babbageclunkyou can get the container name from "sudo lxc list"08:54
babbageclunkIt should come back up pretty quickly.08:54
babbageclunk(Assuming there's not some other problem.)08:55
Yashok Let me try..Thanks08:55
babbageclunkAny luck?08:58
Yashnope09:08
YashIts just restarted but same problem09:08
Yash DEBUG juju.api apiclient.go:500 error dialing "wss://[fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070/model/3923551f-dcf9-4ca8-8b32-dc010722721b/api", will retry: websocket.Dial wss://[fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070/model/3923551f-dcf9-4ca8-8b32-dc010722721b/api: dial tcp [fd4f:23ae:5d73:5c67:216:3eff:febc:8b38]:17070: getsockopt: connection refused [14:07] <Yash> How to solve this?09:08
YashWorse..I can't use juju so don't know what is problem and how to solve it09:09
YashI'm not using MAAS as it's optional for single machine. Right?09:10
Yash@babbageclunk anything you may suggest?09:11
babbageclunkYash: Sorry, on the phone at the moment, davecheney's comment in #juju-dev might be worth a look09:12
=== jacekn_ is now known as jacekn
admcleodi want to constrain a particular service deployed in an amulet test has an SSD (i only care about running it on AWS at the moment) - how do i achieve that?11:04
=== dpm_ is now known as dpm
=== lamont` is now known as lamont
=== scuttle|afk is now known as scuttlemonkey
magicalt1outjust told the guy who owns the other 50% of my company I'm leaving to work for NASA full time..... talk about dumping a spanner in the works.....13:05
=== magicalt1out is now known as magicaltrout
rick_h_magicaltrout: congrats?13:12
magicaltroutthanks rick_h_ , one of those weird things, I don't really want to quit, or at least go very part time13:14
magicaltroutbut how often do you get a job offer from NASA to work on big data stuff?13:14
magicaltroutespecially when you live in the UK13:14
kjackalnice! you will see realy big data there!13:15
kjackaltrue big data!13:15
lazyPowerno doubt right? all that historical sensor and probe data to churn through13:17
lazyPowermagicaltrout - im not a data scientist, but the prospects of that are making me jealous13:17
kjackalWhat software stack do they have over there in NASA, magicaltrout? In house?13:17
magicaltrouta lot of Hadoop, SciSpark and IPython/Zeppelin at the mo kjackal13:19
magicaltroutof course depends what area you work in I guess13:19
kjackalmagicaltrout: nice!13:20
magicaltrouti'm gonna charm up scispark at some point over the next few months13:21
magicaltroutI did a big data demo in San Diego last week13:21
magicaltroutthe guys who were there loved it13:21
kjackal:) thank you magicaltrout13:23
magicaltroutsadly for the project I joined we're too late for Juju so I'm introducing them to docker13:24
magicaltrout1 step at a time I guess13:24
kjackalmagicaltrout: what about going to space? any progress there? :)13:33
=== jhobbs_ is now known as jhobbs
magicaltroutthe mrs banned that career move a long time ago13:36
=== dannf` is now known as dannf
admcleodmagicaltrout: congrats13:49
admcleodso...14:34
admcleodi want to constrain a particular service deployed in an amulet test so that it has an SSD (i only care about running it on AWS at the moment) - how do i achieve that?14:34
aisraeladmcleod: Pretty sure you can specify that via constraint. Let me see if I can find an example14:46
admcleodaisrael: thanks :}14:46
aisraeladmcleod: http://pastebin.ubuntu.com/17397999/14:51
aisraelbasically, you have to force it to one of the aws instance types that has ssd backing14:51
admcleodaisrael: ah yeah cool thatll do, thanks14:52
petevglazyPower: I'm review queuing, and have a question about https://bugs.launchpad.net/charms/+bug/1587641, which you +1ed a week ago. It's still in a "new" state. Can I move it to "fix released"?15:42
mupBug #1587641: Update for MariaDB charm <Juju Charms Collection:New> <https://launchpad.net/bugs/1587641>15:42
lazyPowerpetevg - oh indeed! i missed closing the bug, sorry about that15:42
petevgNo worries.15:43
petevglazyPower: I closed out the bug. (Learning how to do so was useful :-) )15:44
lazyPower\o/ glad my mistake was a learning experienc e:D15:44
lazyPowerthats the best kind of mistakes to make15:44
=== dpm is now known as dpm-afk
=== dpm-afk is now known as dpm
balalaikaWhat's the best way to expose a charms IP to the user?16:46
balalaikaI'm deploying gitlab and I want them to be able to point their domain to the address.16:46
balalaikaI'm aware of unit-get public-address juju helper method.16:48
balalaikaShould I just document in the README that they should inspect the deployed service via CLI?16:49
PrabakaranFor my other charm requirement I had to write this particular template http://paste.ubuntu.com/17332169/ in bash. <lazypower> could you please help me on this?. And also I have to copy some JAR files to mysql charm container where it is installed? Is it possible for me to do it?17:17
lazyPowerPrabakaran - ok so your charm layer is no longer in python? its in bash now?17:18
PrabakaranI am asking this for other charm which i am developing IBM Platform RTM17:19
lazyPowerah, ok. I was confused on why the last minute language change17:19
PrabakaranI have noted in my learning section what ever u had sent it tome17:20
Prabakaranit was helpful17:20
Prabakaranbut need ur help in bash alos17:20
lazyPowerPrabakaran http://paste.ubuntu.com/17404518/17:28
lazyPowermy bash reactive is questionable at best, fix syntax where applicable17:28
Prabakaranya sure.. Thanks for your immediated help on this <lazypower>.. i will implement this.... but adding to that I have to copy some JAR files to mysql charm container where it is installed? Is it possible for me to do it?17:31
lazyPowerIt is, but i'm unclear on what you'll do after you've sent them to the mysql unit. jar's aren't very helpful on their own right? you'll need to not only copy them but also action on them right? such as run the jar files in a JRE17:32
lazyPowerso right while you need to copy them, it seems that what you'll really want to do, is add *another* relationship and interface to mysql specific to your use case, so you can take those actions once you've received the jar files. Ohtherwise you've put bits on disk and cant do anything with them17:33
lazyPowerkwmonroe - does that sound about right? ^17:33
lazyPowerPrabakaran - before you go off to implement htat, i'd like to clarify with kwmonroe as he's got some familiarity with the goals of your charm(s)17:35
kwmonroePrabakaran: what jars do you need to copy to the mysql unit?17:36
kwmonroeif they are something that others could use, i'd suggest opening a feature req against mysql to control the inclusion of those jars as a config opt in mysql.17:38
kwmonroeor set up a shared filesystem that both mysql and your charm support (nfs, etc).. you could stick the jars out there, but then would probably need to tell mysql to use that shared location as a 'classpath' (if that's even a thing for mysql)17:40
PrabakaranSorry i was wrong.. there was a tar file which has some *.sql files which i need to copy to the container and run all those...but as per recent chat from <lazypower> we can do this with mysql-client wherein we dont need to copy those tar--->*.sql file17:40
Prabakaranbut i asked this for my understanding17:41
kwmonroeright - no need to copy *.sql files over to the mysql host.  you can execute any *.sql against the mysql charm using the 'mysql -h host -u user -p password <command>' like lazyPower had in that earlier pastebin17:42
beisnerlutostag, jcastro - re: the jenkins charm ... is the source of truth for dev @ https://github.com/jenkinsci/jenkins-charm ?    i ask because of this proposal in the queue:  https://code.launchpad.net/~lutostag/charms/trusty/jenkins/xenial/+merge/29622217:42
lazyPoweroooo17:42
lazyPowerbeisner - good catch on that one17:42
lazyPoweri'm pretty sure we did move source of truth to upstream17:43
beisnerlutostag, ps tons of thx for fixing up jenkins on X.  that was on my oh-shoot list o' stuff to do.17:45
lutostagbeisner: ah, I had no idea about that17:48
lutostagI can do a PR through github if that is preferred17:49
beisnerjust looked back to confirm.  if ya blinked, you might have missed it.  https://lists.ubuntu.com/archives/juju/2016-February/006611.html17:49
lutostagindeed, I'll PR there tomorrow/next week17:50
beisnerlutostag, thx again sir :)17:51
PrabakaranThanks kevin and lazypower for the explaination18:03
PrabakaranI have small doubt in mysql charm and its interface.18:03
PrabakaranHere mysql charm is non-layered charm and it would have exposed hostname, port, username and password using relation-set command in relation hook but mysql charm should set/pass those values to the mysql interface like how we use relation-call in the layercharm to interface. Can you please explain me the flow how it works?18:03
beisnerlazyPower, so i wonder:  what does the get-it-into-the-cs story look like for jenkins @ its new home, and what should become of the lp branch?18:06
lazyPowerbeisner - we've been dropping lp branches like flies post ingestion kill-off18:06
lazyPowerbeisner - get it into the cs right now depends on a manual review and push by a ~charmer until we launch the new rev q, which is still pending iirc18:07
lazyPowerbeisner - so if you've got a hot item fix, lmk. otherwise, I'd like to wait for the revq to launch so we have a breadcrumb trail of whats happened.18:07
lazyPowerbut thats just me :)18:07
lazyPoweri'm sure there are other opinions out there18:07
beisnerlazyPower, ok.  it may be worth going ahead and doing a charm push from the gh repo and setting the homepage and bugs url metadata so that the cs points to the right place, then nixing the lp branch.  whaddaya say?18:08
lazyPowerbeisner - do you have good test run output for me so i get the warm fuzzies?18:09
lazyPoweri can update the store meta no problem, but i want test results before i push :)18:10
beisnerlazyPower, i don't have anything hammering on that charm's dev flow atm.  and... i think it needs tests to be added.18:10
lazyPowerbeisner - tests became a mandatory requirement as of the trusty series :\18:10
lazyPoweri cannot in good faith push a charm without tests18:10
beisnerlazyPower, oh it does have these: https://github.com/jenkinsci/jenkins-charm/tree/master/tests18:11
* beisner is with ya lazyPower 18:11
lazyPowerLOL18:11
lazyPoweri wrote these tests18:11
lazyPowerforever ago18:11
beisnerwelcome baaaaack18:11
lazyPowerhttps://github.com/jenkinsci/jenkins-charm/blame/master/tests/100-deploy-trusty#L2118:11
lazyPoweroh man, thats tricky18:12
lazyPowerits deploying a precise series charm to validate leader/follower18:12
lazyPowerbeisner - i suggest we pin this for tomorrow, and fold in marco/jcastro if they're around. Otherwise lets vet the charm and make sure its ready for a release18:13
lazyPowerwill you have 20/30 minutes tomorrow to do so? we can pair and knock it out quickly18:13
lazyPowerat least the boolean "yes we can push" portion18:13
beisnerlazyPower, yep, no pressure here.  just taking a spin through the queue to see what is in my familiarity zone.  thx for your help.18:14
lazyPowernp beisner, happy to help18:14
lazyPowerbeisner - did you see my post to the list re: tags in github?18:14
lazyPowerbeisner - as you do a lot of test/release planning, i'd love your feedback on that18:14
beisnerlazyPower, i think that's a good value for projects that have a github dev focus.18:16
beisnerlazyPower, for the openstack charms, github repos are just a sync from cgit @ openstack upstream, and i'm not sure what our tagging abilities are.18:17
lazyPowertags are independent of github, they are a git native primitive18:17
beisnerwe've begun injecting a repo-info file during our build/push/publish automation.  ie.  https://jujucharms.com/u/openstack-charmers-next/neutron-gateway/xenial18:17
lazyPowerso you can tag and push to remote if you have write access to the repository18:17
* lazyPower looks18:17
beisnerlazyPower, that solves one of our big challenges:  "Joe is in possession of a charm.  we don't really know where it came from."18:18
lazyPowerah man i like that18:18
lazyPowerthe repo-info file18:18
lazyPowerits exactly what i would have expected from the revision file18:18
lazyPowerhttps://api.jujucharms.com/charmstore/v5/~openstack-charmers-next/xenial/neutron-gateway/archive/repo-info  <- that thing18:18
beisnerthat's the one18:19
lazyPowerhave you already built tooling around this?18:19
lazyPowerand if so, how much of it is specific to the openstack setup?18:19
beisnerwe just launched openstack's rendition of layer ci.    it'll be specific in that it is centered around gerrit.18:19
beisnerie. no git pull requests18:20
* lazyPower snaps18:20
lazyPowerthats such a tease beisner18:20
lazyPoweryou show me what i'm looking for in another format, and then pull it away D:18:20
beisnerbut yeah, now we can put up a review, tests fly in all sorts of directions, a reviewer can approve and land with a vote, then it pushes/published to CS.18:20
lazyPowerright, makes sense for your use case18:21
lazyPowerok i'll noodle this s'more and wait for feedback on the ml post, i feel like there's a big gap i'm not seeing in that process though.18:21
lazyPowerand i'm going to regret doing it once i start18:21
beisnerlazyPower, anyway +1 if we can tag revs with cs refs, that will be sweet indeed18:22
beisneri already had someone ask if we could do that, and owe a bit of research to the idea and whether our tags will survive the flows and syncs through systems outside our direct control.18:22
beisneri do know this:  we don't have perms to directly tag @ the cgit repos.18:23
beisneronly the bots do18:23
beisnerand a few core/root infra team peeps18:23
lazyPowerok, so you're mirroring that cgit right?18:23
lazyPowerwhich means you can carry meta information in your fork18:23
beisnerwe aren't mirroring it though.  it happens for anything in https://github.com/openstack/*18:24
beisnerno fork18:24
lazyPowerah18:24
lazyPowerwhat a funky setup18:24
lazyPoweri kind of like that its locked down though18:24
beisnerit's a bit weird.  if one were to raise a pr against the gh repo, it will get nack'd and squashed by a bot18:24
lazyPoweras it should if there's a gerrit review process18:25
beisneryep, there is exactly one way to land a bit. :)18:25
beisnerso it'd be analogous to an enterprise operating their own private internal cgit systems, but also making those repos avail via github for one-way consumption.  a bit funky, yah.18:27
=== TheRealMue is now known as TheMue
bdxhey whats up everyone? Whats the reccomended best practice for including pip deps in a charm?19:40
bdxrecommended*19:41
bdxi can spell19:41
bdxor, in a layer19:43
bdxmy bad19:43
rick_h_bdx: so with juju 2.0 I'd say to put together an offline cache of pip deps and zip that as a juju resource19:43
rick_h_bdx: but maybe otherw siwll have other suggestions as well19:43
bdxrick_h_: thanks19:44
bdxrick_h_: for example -> https://github.com/DarkHorseComics/layer-whelp/blob/master/lib/charms/layer/whelp_utils.py#L519:45
rick_h_bdx: hmm, so that's for a charm. For a layer, that you want to reuse it's more interesting19:45
stubbdx: If you are writing a reactive charm, embed them by creating a wheelhouse.txt file in your layer.19:47
rick_h_heh that's what I was looking for. I knew they had some wheel setup for the layers19:47
stubhttps://github.com/juju-solutions/layer-basic/blob/master/wheelhouse.txt19:47
huckstThe command `juju destroy-controller` hangs.19:48
huckst2.0-beta8-xenial-amd6419:48
bdxstub: nice, so any layer can define a wheelhouse.txt and those deps will be picked up?19:48
rick_h_huckst: can you ssh to the controller still?19:49
rick_h_huckst: anything in those logs that might prove helpful? Any output to judge where/why it's hanging?19:49
bdxthats what I thought .... but couldn't find any examples of subsequent layers using this so I wasn't sure19:49
bdxstub, rick_h_: thx19:49
lazyPowerbdx - dont ilsten to rick. use the wheelhouse.19:49
rick_h_yea, I was thinking of a string of app deps for a charm19:50
rick_h_as a resource, I missed the layer specific bit there19:50
huckstNo machine to ssh to.19:50
stubbdx: I believe so, but haven't used it in anger (I'm still pulling debs from ppas)19:50
huckstI had setup the gce google controller and the lxd localhost controller. Started working on the lxd controller, forgot about the gce controller until now.19:51
huckstThen when I went to start using the gce controller, nothing. So I'm trying to drop and re-bootstrap.19:51
rick_h_huckst: ok, so which one did you destroy-controller on?19:51
huckstgce google19:51
lazyPowerbdx - i use the wheelhouse dependency chain quite a bit19:51
lazyPowerbdx https://github.com/juju-solutions/layer-docker/blob/master/wheelhouse.txt  - as an example19:51
rick_h_huckst: ok, and the instances are all shut down?19:52
rick_h_huckst: if you look in the gce panel? so it ran some output during destroy?19:52
rick_h_can you pastebin the output?19:52
huckstNothing ran in the gce panel.19:52
rick_h_I understand nothing ran there, but if you had a GCE controller then you had an instance running on the GCE cloud and it would show in the GCE control panel19:53
huckstCorrect. I can confirm it had started weeks ago and was successful at doing somethings. But nothing recently.19:53
jhobbsTo make a new team in the charmstore, do I need to do anything other than create the team in launchpad?19:55
magicaltroutnope19:55
jhobbsok, guess it takes a while to sync or something19:56
magicaltroutwhere jhobbs, in charm tools?19:58
bdxlazyPower: niccceeeee19:58
magicaltroutyou have to log out of literally everything and log back in again19:59
magicaltroutcharm tools, jujucharms.com etc19:59
lazyPowerjhobbs - what magicaltrout said, its a known bug. it only syncs groups on login.19:59
jhobbsmagicaltrout: yeah i created a group on launchpad about 15 minutes ago, logged out of charm tools and logged back in and it won't let me push19:59
lazyPowerbdx - hope that gets you unblocked, lmk if you need any further help19:59
jhobbsok19:59
magicaltrouti like to think of it more as an annoing feature ;)19:59
jhobbsi will log out of more stuff20:00
jhobbsthanks20:00
lazyPowermagicaltrout - six of  one, half dozen of the other ;)20:00
magicaltroutjhobbs yeah website and everything20:00
rick_h_yes, once SSO can do the username stuff we can look at actually disconnecting from LP there20:00
magicaltrouteven then it doesn't always work :)20:00
stubjhobbs: I think you need to relogin to the web interface, not charm tools20:04
jhobbsyay, working now, thanks everyone20:18
magicaltrout\o/20:18
arosalesjhobbs: not intuitive at all, but the UI folks are working to make that better20:19
huskcI was wrong about the gce google controller hung issue. (new to gce) After navigating to the correct dashboard I saw a juju instance running.20:24
huskcThe logs output had an ongoing 'unable to connect to API' error.20:25
huskcI manually deleted the gce (juju bootstrap) instance, but juju still hangs on destroying the controller locally.20:27
huskcIt doesn't exist, so shouldn't the CLI `juju destroy-controller gce-devenv` just flush what's configured locally?20:28
huskcI worked around the CLI hangup by manually remove the 'dead' gce-controller from all juju config in ~/.local/share/juju/*20:35
huskcNow I can successfully re-bootstrap the google cloud.20:36
huskcIt's nice that the config is just YAML and easily modified (and not some SQLite db). ;)20:36
=== spammy is now known as Guest95181
=== Guest95181 is now known as spammy
valeechIs this a good place to get help with this error: “ERROR cannot resolve URL "cs:maas-region": charm or bundle not found” I am trying to deploy MAAS HA with juju following this guide https://maas.ubuntu.com/docs2.0/ha.html. I have a fresh install of xenial and juju 2.0 beta 7.20:54
magicaltroutvaleech: it is, but i've never used MAAS so I'm not the person to ask :)21:03
valeechmagicaltrout: understood. I am pretty new to juju myself. I am wondering if the bundle name changed in some fashion.21:05
magicaltroutthats easy enough to find out i would hope21:05
magicaltrouthttps://jujucharms.com/q/?text=maas-region21:06
magicaltrouti have no clue about the tutorial but there doesn't seem to be a charmers charm there21:07
magicaltroutso21:07
magicaltroutjuju deploy cs:~maas-maintainers/trusty/maas-region-321:07
valeechexcellent! Thanks so much!21:07
magicaltroutthat looks like a likely solution21:07
=== macgreag1ir is now known as macgreagoir
arosalesnice find magicaltrout, it looks like maas-region is not a recommended charm and thus one would need to prefix the username as suggested23:18
arosalesvaleech: thanks for the feedback I'll file a bug on the maas docs23:19
valeecharosales: where are you seeing that maas-region is not a recommended charm?23:25
arosalesvaleech: a recommended charm would have a flat name space like https://jujucharms.com/maas-region/23:28
arosalesand 'juju deploy maas-region' would just work23:28
arosalesin this cae it doesn't as it hasn't been through the review process and thus not mark as recommended23:28
valeecharosales: makes sense. thanks for the explanation23:29
arosalesit very well may be a good working charm the MAAS folks would like users to use judging by the name maas-maintainers, but that explains why "juju deploy maas-region" didn't work per the MAAS docs23:29
arosalesvaleech: happy deploying23:29
valeechthanks@!23:30
valeech!23:30
arosalesvaleech: and welcome to the juju community :-) If you don't find an answer here askubuntu.com and the juju mailing list (https://lists.ubuntu.com/mailman/listinfo/juju) are also good resources23:32
valeechGreat! thanks.23:32
valeechI was having some weird issues on 2.0beta7 so I blew it away and spun 2.0beta9. Now it’s getting even more strange23:33
valeechI can’t seem to deploy any apps to my machines. I have 2 machines added to a manual cloud and the juju status shows them as started but I keep getting this error on all charms I load:23:34
valeechcannot assign unit "wordpress/0" to machine: cannot assign unit "wordpress/0" to new machine or container: cannot assign unit "wordpress/0" to new machine: use "juju add-machine ssh:[user@]<host>" to provision machines23:35
arosalesvaleech: to confirm you are using manual provider, correct?23:44
arosalesif so can you pastbin the output of juju status23:44
valeechjuju bootstrap maas manual/10.131.107.12823:44
valeechlike that?23:44
arosalesI think you just need to specify which unit you want to deply the charm to with --to23:44
arosalesvaleech: what does `juju status` currently return?23:45
valeechhttp://pastebin.com/93RGJfCw23:46
valeechjuju runs on one VM, and mass2 and maas3 are 2 other VMs23:47
lazyPowervaleech - i dont believe that wordpress is supported on xenial by the charm.23:48
valeechI am batting a 1000 :)23:48
arosalesvaleech: try 'juju deploy --to 0 wordpress wordpress223:48
lazyPowervaleech - i see your enlisted machines are series: xenial. Juju didn't tell you a very helpful error message that its due to not having a series allocated the charm can consume :\  but thats the issue here23:49
arosaleslazyPower: one can still deploy trusty images though23:49
lazyPowerarosales true, but valeech will need to manually provision on ein maas and add it to his juju env, theres no magic here since its the manual provider23:49
lazyPowers/his/their/23:49
arosaleslazyPower: ah yes, but they --to would manually place it on the xenail machine23:49
lazyPowerarosales not if its series: trusty, you cant force smash a series difference23:49
arosaleslazyPower: well I think valeech is just trying to test his setup23:50
lazyPoweri do get what you're saying tho :)23:50
arosalesvaleech: perhaps try, "juju deploy --to 4 ubuntu"23:50
arosalesand see if at least you can get that to deploy23:50
arosaleslazyPower: that should work, right?23:50
lazyPowerarosales - it should, yeah23:51
arosalesand earlier when I said "--to 0" juju would have balked at that because machine 0 is reserved, so apologies there23:51
valeecharosales - it did balk I will try —to 423:52
bdxwhile we are on wordpress ....23:52
valeechresults from "juju deploy --to 4 ubuntu”: ubuntu/0     unknown   idle   4               maas323:52
bdxwe need a wordpress charm reform effort initiated23:52
arosaleshere are the xenial charms available: https://jujucharms.com/store?type=charm&series=xenial23:53
lazyPowerlook at those beats!23:53
lazyPowerthat just landed today :D23:53
arosaleslazyPower: :-)23:53
arosalesvaleech: what is your current juju status post that deploy command?23:53
bdxlazyPower: Nice!23:54
arosalespost that ubuntu deploy command23:54
* arosales waves to bdx23:54
valeechso there’s a juju-gui charm for xenial but isn’t GUI in juju 2.0 included rendering the need for a charm useless?23:54
lazyPowerbdx - packetbeat landed too,  juju deploy cs:~containers/packetbeat  -- it needs review for promulgation but its done :)23:54
bdxarosales: whats up!23:54
bdxlazyPower: so sick! pumped23:54
lazyPowervaleech - correct, juju 2.0-beta6 started shipping with the juju-gui23:54
arosalesvaleech: in 2.0 the juju gui comes baked into the controller :-)23:54
valeech juju deploy --to 4 ubuntu23:54
valeechAdded charm "cs:ubuntu-0" to the model.23:54
valeechDeploying charm "cs:ubuntu-0" with the default charm metadata series "xenial".23:54
arosalesjust issue "juju gui" and you get it out of the box23:54
arosalesvaleech: looking good23:55
lazyPowerbdx - glad you're excited :) Gimme some bugs, i know they're in there23:55
arosalesbdx: finally a maas expert in here :-)23:55
valeechfrom juju status:23:55
valeechubuntu     unknown  false    jujucharms  ubuntu     0    ubuntu23:55
bdxlazyPower: nice work seriously23:56
bdxlazyPower: did you ever figure out the geo_ip?23:56
lazyPowerbdx thanks man :)23:56
lazyPoweri did, but didnt ship with it, because the db is so old23:56
lazyPoweri'd like to engage with elastic to get something more recent in there23:56
bdxahh23:56
bdxarosales: ha - I hope to be23:57
lazyPoweri've got a little video i'm working on to push on my social channels, once its done i'll ship it over to elastic as the intro to the work done, and see if they're interested in collaborating/upstreaming the charms23:57
arosalesvaleech: could I get a full pastbin output of juju status, I lost the context if that was machine or application output23:57
valeechsure..23:57
bdxarosales: I only have 5 maas deploys23:57
arosalesbdx: only :-)23:57
valeechhttp://pastebin.com/DkZ37RT723:58
bdxlazyPower: thats a great idea23:58
bdxvaleech: yea - 'juju deploy maas-region' just works if you have the needed configs set23:59

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