/srv/irclogs.ubuntu.com/2016/03/29/#juju.txt

=== chuck_ is now known as zu
=== zu is now known as zul
=== axw_ is now known as axw
=== scuttlemonkey is now known as scuttle|afk
magicaltroutmarcoceppi: I suspect there is an issue! http://review.juju.solutions/review/2387 :)08:39
TheMuemarcoceppi: happy birthday09:34
Sophie_hellooooooooo12:42
Sophie_I need some help0012:43
tvansteenburghSophie_: what's up12:43
Sophie_hi tvansteenburgh!12:44
tvansteenburgho/12:44
Sophie_I am trying to bootstrap juju and I always get an error12:44
Sophie_I have maas on ubunntu and one VM as node12:45
Sophie_for juju12:45
Sophie_but I get this error ERROR juju.cmd supercommand.go:430 Get http://localhost/MAAS/api/1.0/nodes/?agent_name=f2490a45-5d59-4339-803a-d2ce9d33ca88&id=node-b09f39a4-f590-11e5-9d51-34e6ada748ce&op=list: dial tcp 127.0.0.1:80: connection refused12:45
tvansteenburghhrm, seems that it's trying to hit maas on the bootstrap node, and that's not where it is12:46
tvansteenburghSophie_: you are using juju 1.25?12:47
tvansteenburgh`juju version`12:47
Sophie_I can loging to maas on localhost/MAAS if this what you mean12:47
Sophie_1.24.7-trusty-amd6412:48
tvansteenburghokay, can i see your environments.yaml file? at least, the section for this maas12:48
Sophie_ok should I copy it here?12:49
tvansteenburghwhat's the maas-server value?12:49
Sophie_    maas:12:50
Sophie_        type: maas12:50
Sophie_    12:50
Sophie_        bootstrap-timeout: 220012:50
Sophie_        # maas-server specifies the location of the MAAS server. It must12:50
Sophie_        # specify the base path.12:50
Sophie_        #12:50
Sophie_        maas-server: 'http://localhost/MAAS/'12:50
Sophie_    12:50
Sophie_        # maas-oauth holds the OAuth credentials from MAAS.12:50
Sophie_        #12:50
Sophie_        maas-oauth: 'Etws6esDr9HRvNcKMA:awpPWjxU6WX8AQ7dzK:xgDg5r2pzQqKNsYg4WpMGhxcbDgXZS63'12:50
Sophie_        authorized-keys-path: ~/.ssh/authorized_keys12:50
tvansteenburghokay. so your juju vm it hitting localhost trying to communicate with maas12:52
tvansteenburghthat's why it doesn't work12:52
tvansteenburghyou need an ip or hostname that the juju vm can talk to12:52
Sophie_maas is on localhost12:52
Sophie_my main pc and juju node is virtual12:52
Sophie_I think I tried this but I will try it again12:52
tvansteenburghwhat kind of virtual?12:53
tvansteenburghkvm? lxc?12:53
Sophie_I use vmm12:53
Sophie_and kvm12:54
tvansteenburghok. well inside the vm, localhost is that `guest` only, it can't see outside to the host12:54
Sophie_virtual machine manager12:54
Sophie_sorry didnt get this12:55
tvansteenburghyou need an http address for maas that you can curl from inside your juju vm12:55
tvansteenburghonce that works, juju bootstrap will work12:55
Sophie_my guest can ping internet I logged in with ssh if that what you mean12:55
tvansteenburghif you ssh into your juju vm and curl http://localhost/MAAS/ what do you get?12:56
jaceknhello. Can somebody give me an update on https://bugs.launchpad.net/charms/+bug/1538573 ?12:59
mupBug #1538573: New collectd subordinate charm <Juju Charms Collection:New> <https://launchpad.net/bugs/1538573>12:59
Sophie_sorry for the delay tvansteenburgh13:00
Sophie_it says Failed to connect to localhost port 80: Connection refused13:00
tvansteenburghSophie_: right, and that's why bootstrap is failing :)13:00
Sophie_yeah I changes the enviroment virable to my maas ip13:01
Sophie_and still failed13:01
Sophie_when I curl with the ip it prints nothing btw13:01
Sophie_I made  maas-server: 'http://xx.xx.xx.xx/MAAS/'  bootstraped again and failed :/13:02
tvansteenburghSophie_: if you curl that from the vm does it work?13:02
Sophie_when the vm reboots again it stack here  for 120 sec "cloud init nonet" dunno if this is something13:02
Sophie_it does not give me connection refused13:03
Sophie_it gives blank page13:03
tvansteenburghyeah, so there are some more general networking issues that need to be resolved13:03
Sophie_like nothing happened13:03
tvansteenburghfirst you need to get your vm and the maas host communicating13:03
tvansteenburghjacekn: if no one gets to it before then, i'll be doing some reviews tomorrow morning and can take a look13:04
Sophie_I think they are cause the when I boot the node with pxe it recognize maas and it register as ready13:04
A-KaserHi13:05
Sophie_dont know whats wrong with my network13:05
tvansteenburghA-Kaser: hi13:05
jacekntvansteenburgh: thanks!13:05
tvansteenburghSophie_: i'm not sure how to help you with that part. marcoceppi are you around?13:06
* marcoceppi reads scrollback13:07
Sophie_ok thank you very much for your time anyway :)13:09
tvansteenburghSophie_: my pleasure, i hope you get it resolved.13:10
lamertjehi all, how does one expose an previoysly undefined port after deployment?13:11
tvansteenburghlamertje: `juju run --service wordpress "open-port 80"`13:15
lamertjesweet!! tnx tvansteenburgh!13:17
tvansteenburghlamertje: you're welcome :)13:18
marcoceppiSophie_: so, this VM that's running MAAS and Juju, has MAAS been configured to talk to other VMs?13:23
Sophie_hi!13:23
Sophie_maas is running on my main pc13:23
Sophie_juju is on VM13:23
Sophie_and I can ssh from maas to my vm13:24
Sophie_is this what you mean?13:24
lamertjeIn case anyone is looking for the right doc on the commands you can run in your hooks and via juju run --service <servicename>13:26
lamertjeYou can find it at: https://jujucharms.com/docs/stable/reference-hook-tools13:26
* lamertje off to play !13:27
marcoceppiSophie_: what do you mean Juju runs in a vm? As in you installed Juju in a vm - or you bootstrapped a vm?13:29
Sophie_i have a VM node and I am trying to bootstrap juju on that node13:30
Sophie_but it fails everytime13:30
marcoceppimagicaltrout: tests passed \o/ http://review.juju.solutions/review/2387 it just took a while to process13:53
marcoceppithere's a pretty big backlog13:53
magicaltrouthehe13:53
magicaltroutyeah i saw marcoceppi13:53
magicaltroutthanks a lot13:53
A-Kaserhow to remove an unit in "WORKLOAD-STATE" error13:54
tvansteenburghA-Kaser:  juju resolved wordpress/0 && juju remove-unit wordpress/013:59
neiljerramMorning all.13:59
tvansteenburghneiljerram: ol13:59
tvansteenburgho/13:59
neiljerramIs there some trick for getting juju-deployer to place units on the machines that my bundle file says?14:00
neiljerramMy bundle file has a "to" key for every charm that it uses.  But juju-deployer only appears to obey that in about half of the cases.14:01
tvansteenburghneiljerram: the machines in the bundle are logical machines. they will not always match the physical machine numbers14:01
neiljerramAh, thank you.14:02
neiljerramSo in the "machines" section of the YAML, is each key a physical number or a logical number?14:03
tvansteenburghneiljerram: np, you're not the first person to be confused by that :)14:03
tvansteenburghneiljerram: it's a logical number14:04
neiljerramOK, and in the value of each "to" key?14:04
neiljerramAnd what does "juju status --format=tabular" report?14:04
tvansteenburghneiljerram: you match that to the logical number from the machines section14:05
tvansteenburghjuju status reports the physical machine number14:05
neiljerramAh, OK, so your last point is the key one, I think.14:05
tvansteenburghyep14:05
neiljerramSo what controls the mapping between logical and physical machines?14:06
A-Kasertvansteenburgh: thx14:06
tvansteenburghneiljerram: juju-deployer controls it, but the mapping is arbitrary14:06
tvansteenburghA-Kaser: you're welcome14:07
neiljerramIs it possible for me to see what the mapping is, once a deployment is complete?14:08
tvansteenburghneiljerram: only by deduction :)14:08
neiljerramOK, perhaps I should mention the eventual problem, which is that charms end up on the same physical machine, when I need them to be on different physical machines.  Is there I way that I can get juju-deployer to honour that?14:10
tvansteenburghneiljerram: that should not happen14:10
tvansteenburghneiljerram: can you pastebin a copy of your bundle, and the output of `juju status --format yaml`14:11
neiljerramSure, coming up...14:11
neiljerramHere's the bundle: http://pastebin.com/9As3ECA6  Note that keystone has "to": 2 and mysql has "to": 3.14:13
neiljerramHere is the juju status: http://pastebin.com/vjQkcc8R  Note that both keystone and mysql have "machine": 2.14:17
tvansteenburghneiljerram: looks like a bug to me14:18
neiljerram:-(14:18
tvansteenburghneiljerram: can you file a bug here https://bugs.launchpad.net/juju-deployer14:19
tvansteenburghneiljerram: with links to those pastes14:19
neiljerramJust checking first if my juju packages are up to date...14:19
tvansteenburghneiljerram: i'm slammed at the moment, but will try to look into it in the next day or two14:20
tvansteenburghneiljerram: yeah, curious if you have the latest deployer14:20
neiljerramtvansteenburgh, thanks.14:20
tvansteenburghneiljerram: juju-deployer 0.6.4 is latest14:21
neiljerramtvansteenburgh, My package versions are at http://pastebin.com/qzqdMsfY - looks like I have 0.6.4 for juju-deployer, so that should be good.14:22
tvansteenburghneiljerram: yeah, okay14:22
neiljerramtvansteenburgh, Could my problem be the same as https://bugs.launchpad.net/juju-deployer/+bug/1507372 ?14:26
mupBug #1507372: Bundle v4 format: service placement when using machines orders deployment incorrectly <juju-deployer:New> <https://launchpad.net/bugs/1507372>14:26
neiljerram(I could either raise a new bug, or add my report and attachments to that one.)14:26
tvansteenburghneiljerram: i think that's a different issue14:27
neiljerramtvansteenburgh, OK, thanks, I'll raise a new bug then.14:28
tvansteenburghneiljerram: thank you14:29
=== cos1 is now known as c0s
neiljerramtvansteenburgh, fyi, https://bugs.launchpad.net/juju-deployer/+bug/156335214:39
mupBug #1563352: juju-deployer 0.6.4 does not honor bundle placement directives <juju-deployer:New> <https://launchpad.net/bugs/1563352>14:39
cory_fukwmonroe, kjackal_, c0s: Have any of you seen an error like this before?  http://pastebin.ubuntu.com/15552546/15:58
beisnerhi cholcombe, intending to land this one? https://review.openstack.org/#/c/296632/   it'll need a wf+1 along with the cr+2 if so.16:12
cholcombebeisner, ah ok16:13
kjackal_cory_fu, where did you see that?16:18
kwmonroecory_fu: is the filesystem full on your namenode unit?16:18
cory_fuIt's a fresh deploy of namenode16:19
kjackal_I have seen this before but it is the internal su command that fails16:19
kjackal_I mean, we could have more info if we could login to that unit and run the command manually16:19
kjackal_that part: /usr/lib/hadoop/bin/hdfs' 'namenode' '-format' '-noninteractive'"16:20
kwmonroecory_fu: also check that the ubuntu (or hdfs user, can't remember who does the hdfs format) can get to /usr/local/hadoop/data/cache/hadoop/dfs/name/current16:20
kjackal_this is also, strange "java.io.IOException: Cannot create directory /usr/local/hadoop/data/cache/hadoop/dfs/name/current"16:21
cory_fukjackal_: What's your LP ID?16:22
c0scory_fu: looks like this is because of16:22
c0s  unit-namenode-0[3002]: 2016-03-29 15:55:59 INFO unit.namenode/0.install logger.go:40 java.io.IOException: Cannot create directory /usr/local/hadoop/data/cache/hadoop/dfs/name/current16:22
c0sseems like a permission issues16:22
cory_fuc0s: Yeah, but I don't know why it started16:22
c0sstarted what? The NN?16:23
kjackal_cory_fu: kos.tsakalozos16:23
cory_fuc0s: I don't know why this error just started happening.  I don't know what changed16:23
c0sah...16:23
c0sthat I won't tell16:23
c0syou've asked if I've seen the error. Indeed I have ;)16:24
cory_fuunit IP is: 54.152.123.20816:24
cory_fuc0s: :)16:24
c0ssorry, not much help from me, I guess16:24
cory_fuI'm in a tmux session16:24
kjackal_here is the exception https://pastebin.canonical.com/152884/16:27
kjackal_this is strange https://pastebin.canonical.com/152885/16:28
cory_fuHrm.  Yeah16:28
cory_fuHrm.  Why is the perms for cache_base in hadoop-base dist.yaml 1775 instead of 0775?16:31
cory_fuThat's almost certainly wrong, since I bet it makes it non-octal16:31
kjackal_was it working before?16:32
kjackal_did it just break?16:32
cory_fuYes, it was working like 30 minutes ago16:32
cory_fukwmonroe: Any explanation for https://github.com/juju-solutions/layer-hadoop-base/commit/8a99d258fe21aaf0ed7277937318fe276c116a7a ?16:33
kwmonroecory_fu: 01775 isn't a valid permission.  we wanted sticky bit set, full perms for owner/group, and execute for other.16:35
kwmonroeso, 177516:35
cory_fuThe leading 0 is required for it to be read as octal.  https://api.jujucharms.com/charmstore/v5/~bigdata-dev/apache-hadoop-namenode/archive/dist.yaml16:36
kwmonroeoh ffs16:36
kwmonroemy very bad then16:36
cory_fukwmonroe: Hangout?16:37
kwmonroejan 15 commit though?  how has this worked for 10 weeks?16:37
kwmonroesure cory_fu16:37
kwmonroeomw16:38
cory_fuNo idea16:38
kwmonroei blame python somehow16:38
lazyPowerkwmonroe - thats bit me more than once too16:42
lazyPowerpermissions thanks to os.chmod() gave me severe headaches for a while in the legacy etcd charm.16:43
kwmonroei'm fixin to move all my python to popen(sudo chmod).  bash4life.16:43
lazyPoweror, just write the charms in bash16:43
lazyPoweri mean either way16:43
kwmonroe:)16:43
* lazyPower puts on his "immatroll" hat16:44
cory_fukwmonroe, kjackal_: I'm looking at my locally built NN's dist.yaml and cache_dir has: "perms": !!int "775"16:49
cory_fuContrast that to the link above, which has: "perms": !!int "509"16:49
cory_fuIt seems like none of my perms are being interpreted as octal any more16:49
lazyPowercory_fu - i noticed that it does drop the type inline when converting using ruaml.  Is that common?16:52
kwmonroecory_fu: do me a solid, what are the perms on /usr/lib/hadoop on your deployed NN?16:52
lazyPoweri'd never seen yaml with those definitions inline until we started building charms16:52
cory_fukwmonroe: dr----x--t 9 root root 4096 Mar 29 16:06 /usr/lib/hadoop16:52
kwmonroeheh, yeah, so that's no bueno16:53
c0syeah, that's weird set of perms16:53
kwmonroecory_fu: so perhaps we need to quote the perms in https://github.com/juju-solutions/layer-hadoop-base/blob/master/dist.yaml16:54
cory_fuI think this is related to https://github.com/juju/charm-tools/pull/10416:54
kwmonroeto prevent whomever is converting octal to decimal16:55
cory_fuHrm.  My ruamel.yaml got updated in my venv somehow16:59
cory_fuDowngrading to 0.10.2 fixes this issue17:00
cory_fuI'm not sure how it got upgraded, though17:00
c0sspark 1.6.1 upgrade isn't in the public repository, is it?17:01
cory_fukwmonroe: Why did we need the sticky bit on cache_base but not any of the other dirs?17:01
c0snot yet, that is?17:02
pcdummyhey guys :)17:02
* pcdummy needs to test out JUJU soon.17:02
kwmonroec0s: 1.6.1 is in the ~bigdata-dev namespace: https://jujucharms.com/u/bigdata-dev/apache-spark, but you wouldn't know that unless you peeked inside resources.yaml.  somebody forgot to update the readme ;)17:03
cory_fukwmonroe: I'm fixing the README as part of my current work17:03
kwmonroebless you cory_fu17:03
c0sah, cool Thanks kwmonroe17:03
lazyPoweroh hey pcdummy  o/17:03
pcdummylazyPower: thanks for bringing me here, can i deploy Juju 2 on a laptop vm machine?17:04
c0skwmonroe: so if I do17:04
c0s  % juju deploy apache-hadoop-spark-zeppelin17:04
c0sI should get the latest, right?17:04
pcdummyor do i need >8 GB Ram to test it out.17:04
lazyPowerpcdummy - you sure can. I would highly recommend you trial this on xenial17:04
pcdummyi'm on xenial17:04
lazyPowereven *better*17:04
cory_fuc0s: You'd need the u/bigdata-dev/apache-hadoop-spark-zeppelin version instead17:05
c0sok, thanks17:05
lazyPowerpcdummy - the release notes in /topic should be enough to get you started17:05
lazyPowerpcdummy and if you have any questions, i'm here to lend a hand along the way17:05
pcdummylazyPower: thanks a lot!17:05
lazyPoweranytime :) Happy that I happened to tab into the right room at the right time :D17:06
=== Spads_ is now known as Spads
kwmonroecory_fu: we need the sticky bit because i think you can screw up hdfs if non-owners remove cache files.  so for example, since the ubuntu user is in the hadoop group and the dir is 775, that user could remove stuff unless we stickied it.  now, only root and hdfs can remove stuff regardless of gorup membership.17:07
=== marcoceppi changed the topic of #juju to: || Welcome to Juju! || Docs: http://jujucharms.com/docs || FAQ: http://goo.gl/MsNu4I || Review Queue: http://review.juju.solutions || Unanswered Questions: http://goo.gl/dNj8CP || Youtube: https://www.youtube.com/c/jujucharms || Juju 2.0 beta3 release notes: https://lists.ubuntu.com/archives/juju/2016-March/006922.html
=== adam_g` is now known as adam_g
=== FourDollars_ is now known as FourDollars
=== hazmat_ is now known as hazmat
LiftedKiltd34dp@@l17:15
lazyPowerLiftedKilt - great movie17:16
beisnerdid i leave the stove on?17:21
LiftedKiltlazyPower also great password for my lab haha17:21
LiftedKiltlazyPower: oops17:21
lazyPoweri'm constantly doing that, mis alt-tabbing into the wrong app and punching out my password17:21
lazyPowerthankfully its usually in a terminal going nowhere17:22
LiftedKiltat least it wasn't an important password haha17:22
pcdummyhttp://loremflickr.com/1024/768/deadpool,movie/all17:27
c0skwmonroe: Actually, it seems that deploy from17:33
c0s  cs:~bigdata-dev/bundle/apache-hadoop-spark-zeppelin17:33
c0sstill pulls in Spark 1.4.117:33
c0swhich is probably ok for the immediate needs, but thought you might want to know ;)17:33
c0sholy crap... https://twitter.com/Smerity/status/714861045420990464 - it took people decades to figure out that parallel execution isn't faster then a sequential? Oh my ....17:35
kwmonroeheh - nice c0s ^^17:36
kwmonroeand yeah, thanks for the heads up on the a-h-s-z bundle :/17:37
c0ssure17:39
CZauXIs there a PHP-FPM charm, or how does that fit into things with JuJu?17:44
lazyPowerCZauX - there's a layer for it actually17:45
lazyPowerCZauX - charms recently underwent a rennovation, where we now build charms from layers, so everyone can benefit from the learnings in that layer, such as memory optimizations that get repeated on every deployment.17:45
CZauXHow would I add that in in the web interface, or is that a command line thing?17:46
lazyPowerits a command line thing used when building charms, so there's no real representation in the GUI of that layer, aside from relations it adds, and configuration options on the final charm17:49
lazyPowerthere's a howto that walks through this process, let me fish that up for you17:49
lazyPowerCZauX - https://jujucharms.com/docs/devel/developer-getting-started  is the 10k foot view, and if you want to view the actual instructions for hoiw those layers are written/assembled: https://jujucharms.com/docs/devel/developer-layer-example17:50
beisnercholcombe, so is https://review.openstack.org/#/c/296632/ ready for the wf+1 (merge that schtuff) ?17:51
cholcombebeisner, yeah i think so.  icey you agree?17:51
beisnercholcombe, icey - fyi lgtm17:51
icey+1 beisner cholcombe, it should now correctly gate what shoud be passing :)17:52
cholcombecool17:52
beisnerboom, wf+1'd17:52
beisnerthanks icey, cholcombe17:53
cholcombewoo17:53
cory_fuc0s: Oh, sorry.  I haven't published the update to that bundle yet because I was working on the readme and smoke tests17:59
c0sno worries cory_fu18:01
cory_fuc0s: I feel like the real message is that all generalizations are false.  Like everything in life, the real answer is, "it depends."18:02
cory_fuc0s: (of that tweet)18:02
c0s:)18:10
c0scory_fu: is true.18:10
c0sHowever, in parallel computing you can not run your code faster than the slowest sequential part of it. Hence, in many cases, good sequential code will beat the crap out of ... well... crappy parallel code18:11
A-Kaserkwmonroe: if you update README file on https://jujucharms.com/u/bigdata-dev/apache-spark you could update the Spark version :)18:40
A-Kasertitle said spark 1.4 and resources spark-1.6.1-bin-hadoop2.618:41
kwmonroeyup A-Kaser, cory_fu already got it18:41
kwmonroethanks :)18:42
A-Kaserfine18:42
c0skwmonroe: is it possible to redeplo just one service in an already deployed bundle?18:58
c0sSay, Zeppelin behaves funny, so I just want to re-install it. Is it possible at all?18:59
cory_fuc0s: You can `juju remove-service` and then `juju deploy` that service again.  Are you using quickstart for deploying the bundle?18:59
cory_fuc0s: Also, be aware that since Zeppelin is a subordinate, you might end up in a situation where you'd need to remove the principal (spark) as well.  But if the charm cleans up properly after itself, you shouldn't19:00
cory_fuc0s: These instructions look better to you for the smoke-test?  https://github.com/johnsca/bundle-apache-hadoop-spark-zeppelin/blob/readme/README.md19:01
cory_fukwmonroe: Can you take a look at the PRs I have open (spark, zeppelin, RM, NN, and that bundle's README), please?19:02
kwmonroeyup cory_fu19:03
cory_fuThanks19:03
skaycory_fu: do you have a prompt that displays the current juju env?19:05
cory_fuskay: I do19:05
skaycory_fu: tell me more19:05
skayyay19:05
c0scory_fu: I am on juju 2.x19:06
cory_fuc0s: Ah, nice19:06
c0scory_fu: I like that juju action do namenode/0 smoke-test thing19:07
c0smuch cleaner than a long instructions on how to pull in some files and check them19:08
skaycory_fu: earlier I was asking, and lazyPower said you might. I want to display the env in a prompt because I have a shared account with someone and multiple envs19:08
skayand that's just a disaster in the making19:08
cory_fuskay: I use liquidprompt (https://github.com/nojhan/liquidprompt) and this is my liquid.ps1 file: http://pastebin.ubuntu.com/15554369/  I also have this set up as a once-a-minute cron: http://pastebin.ubuntu.com/15554384/19:09
cory_fuSo that gives me both the current env and the number of machines.  I think I also have juju-machine-count running on demand, too, after some juju operations, but I can't recall how19:10
c0scory_fu: if I removed/deployed zeppeling - shall I also add relations manually, etc?19:11
skaythanks19:11
cory_fuc0s: Yes.  I'm not sure how 2.0 handles re-deploying a partially deployed bundle, but it's worth trying just `juju deploy <bundle>` again and see if it does the right thing (adding missing services and finishing the relations)19:11
skaycory_fu: why juju switch versus juju env?19:12
cory_fuI know quickstart did not, which is why I asked about that19:12
c0soh, I guess just add unit19:12
cory_fuskay: *shrug*  They both do the same thing, and are probably aliases19:12
cory_fuskay: Also, that will probably have to change for juju 2.019:12
skaycory_fu: okay. I wanted to make sure I wasn't missing something about the command19:13
cory_fumarcoceppi, rick_h_: Will juju 2.0 become the default in trusty once it's released, or will it be Xenial+ only (w/o a ppa)?19:16
cory_fuOr, rather, will the stable ppa be updated to 2.0 for trusty19:17
rick_h_cory_fu: yes, but it will be a juju2 package and put into main. I'm not sure what the timeline is on that re: xenial release19:22
cory_furick_h_: Just trying to plan our README and other charm updates19:23
lazyPowerrick_h_ - that differs from what i heard from stokachu just yesterday19:25
rick_h_lazyPower: :)19:25
lazyPoweri read that the juju2 package was goign away, and a juju-1.25 package would be created19:25
rick_h_lazyPower: right, but on trusty you already have juju-core19:25
* lazyPower is utterly confused19:25
rick_h_lazyPower: so on trusty, you'll have juju2 package19:25
rick_h_lazyPower: you're correct on xenial and that's the reverse story than what cory_fu was asking19:26
lazyPowerok, i suppose that makes more sense19:28
lazyPowerseems weird that we have 2 install paths between the two LTS's, but i suppose there are concerns far bigger than my understanding of why :)19:28
jcastrolet's pretend you're on 1.2519:29
jcastroand xenial comes out19:29
jcastrobut I can't upgrade from 1.25 to 219:29
jcastrowe need to provide both19:29
rick_h_jcastro: we will19:29
lazyPower> I can't upgrade from 1.25 to 2 -   when will that scenario come to pass?19:29
rick_h_jcastro: lazyPower we're working witht he release team and folks to find a path that's acceptable to all19:30
lazyPoweri thought a 1.25 to 2.0 environment jump was the *only* supported path we had to upgrading an older env to the new env19:30
c0sdamn, looks like it is easier to re-bootstrap the controller19:33
cory_fuc0s: :(19:34
c0sperhaps it is my inaptness around juju19:34
cory_fuc0s: If you're on 2.0, you can create new envs w/o rebootstrapping19:34
cory_fuI'm not sure what the syntax is, though19:34
lazyPowerjuju create-model myname19:35
lazyPowercory_fu ^19:35
stormmore1I am still trying to get my head around the model concept in juju19:35
c0soh... I didn't know that cory_fu19:36
=== stormmore1 is now known as stormmore
c0stoo late for this time though ;)19:36
deanmanlazyPower: Trying to use docker charm using manual provider on a local VM and it hangs on the "waiting for agent initialisation to finish". Any specific limitation on that charm ?20:01
lazyPowerdeanman - which charm specifically?20:01
deanmancs:trusty/docker-820:02
lazyPoweri have a todo item to deprecate the older docker charm and instead promote the new layer-docker, as well as supplant that charm.20:02
lazyPoweryeah, thats the older docker charm which uses ansible. Its fine, and works as is with docker verions <= 1.10, when it makes the systemd rollover in xenial that charm will be fully deprecated and not make the leap, in leu of https://github.com/juju-solutions/layer-docker20:02
lazyPowerdeanman - now about the agent being pending - how long have you been waiting? it can take up to ~ 5 minutes with the kvm provider on lower end systems for the vm to come up, and the agent to fully init.20:03
deanmanlazyPower: on a manual provider when deploying a charm is deployed on a KVM container by default ?20:04
lazyPowerwell manual will enlist anything you point it at so long as it has a passwordless sudo user, and it can communicate with your model-controller.20:04
lazyPowerthat can be a kvm instance, a vm over on digital ocean, etc.20:05
deanmanYeah, my setup is a two VM running locally, one used for state and one used for deploying docker containers, i'm bootstrapping the first with manual provider and then adding the second with "machine add". On juju status everything is up and running20:06
lazyPowerdeanman - can i get a pastebin of your juju status output?20:07
deanmansure, http://pastebin.ubuntu.com/15554799/20:07
c0sdarn... kwmonroe cory_fu is there any way to go from one version of a bundle to a later one without scrapping everything?20:10
c0scase in point is apache-hadoop-spark-zeppelin to cs:~bigdata-dev/bundle/apache-hadoop-spark-zeppelin20:10
deanmanit seems that it is not a specific charm issue, all charms that i tried to deploy on that second machine failed,20:10
magicaltroutc0s: you can switch charms20:11
magicaltroutduring upgrades20:11
magicaltrouthttps://jujucharms.com/docs/1.25/authors-charm-upgrades20:11
magicaltroutmight be what you're after20:12
cory_fuc0s: You would probably have to do `juju upgrade-charm --switch` on every service, and if there are any differences in the relations, it might fail20:12
lazyPowerdeanman           current: failed  -- something happened during the agent provisioning that failed hard20:12
lazyPowerdeanman - does juju ssh docker/8 work? if so, lets see if we can get the logs to figure out where the hangup up, they will be located in /var/log/juju/20:13
deanmanlazyPower: You mean the first time when added that machine that something could have gone wrong and agent not installed correctly ?20:13
c0sI see20:13
c0sre-deploy it is20:13
stormmorecan any help me understand what controllername is in the context of juju bootstrap [options] <controllername> <cloud>[/<region>]?20:13
stormmoreand how does it relate the juju model concept?20:14
lazyPowerstormmore - you can name a controller anything you want so its pertinent to you20:14
kwmonroeyeah c0s, i would just destroy-model and fire up another.  the relation differences between promulgated and bigdata-dev charms would probably not survive a mult-charm upgrade.  ie, you'd upgrade plugin and immediately break everyting else.  then you'd be in resolved --retry hell longer than it would take to just destroy and re-deploy20:14
stormmorelazyPower: i.e. openstack-cluster, or wordpress-site?20:14
lazyPowerstormmore - so, a controller alias makes it easier to identify when you're working in a multi-environment setup, like deploying on AWS and Azure to keep redundant deployments going in 2 dc's.20:14
deanmanlazyPower: It nags about KVM acceleration can NOT be used and exits with status 1. So weird, why deploying on state VM works but not on the main VM ?20:15
LiftedKiltstormmore: a controller manages a set of models20:15
lazyPowerstormmore - that sounds more like a model name than a controller name. In my specific ocntext, i have 3 controllers i use on a daily basis -    juju bootstrap personal aws/us-east-1   as an example.20:15
lazyPowerdeanman 1 sec :) i cant believe that the KVM support is what would nuke that agent. it doesn't need KVM extensions in this context unless you told it ot deploy --to kvm:120:16
lazyPowerstormmore - so think of it like this, a model-controller (or just the controller) is what allows you to work with many different models20:16
LiftedKiltso you could have "prod" and "dev" controllers on a cloud, and then have separate models for your different clusters inside those20:16
deanmanlazyPower: Yeah that's very weird because i didn't specify any container, simply used "juju deploy <charm>" which it default to select the second VM20:16
lazyPoweryou can model your entire web presence in one model, and then deploy an ERP for your accounting/sales team in another model, controlled by the same controller.20:17
lazyPowerdeanman - yep, i think we're missing something here, can you pastebin those logs? protip: apt-get install -y pastebinit  makes that a breeze20:17
stormmoreOK I think I got it, so once I have done my initial bootstrap, then I should create a model for instance for openstack20:17
lazyPowerstormmore - i hope that helped clarify, is it starting to make more sense?20:17
lazyPoweryes!20:17
lazyPowerthe default model you're presented with is an 'admin' model20:18
lazyPowerits likely you want to deploy things like the juju-gui into this model, and then create different models for any additional application partitions you may want/need20:18
stormmoreawesome OK now that kinda makes sense, not concepts I played with in 1.920:18
stormmoreyeah I have juju-gui deployed :)20:18
stormmoretook a little bit of work (still not figured out to auto deploy routing changes I need to node) but it working as I intended for the PoC20:19
lazyPowerglad we could shed some light :) its a bit of a departure from our story to date, it really accelerates testing ideas in juju not having to wait for a bootstrap when you want to tweak something.20:19
lazyPowerand managing multiple models from a single controller also just plain kicks butt, so there's that too.20:19
stormmoreI do like the model idea and can think of internal use cases, however right now I am just trying to get a MAAS, Juju, Openstack cluster PoC done20:20
lazyPowerpcdummy - speaking of people poking about, did you discover everything you were looking for?20:20
deanmanlazyPower: http://paste.ubuntu.com/15554853/ (docker/8), http://paste.ubuntu.com/15554860/ (redis)20:21
stormmorelazyPower: do you have any suggestion where adanced routing (i.e. multiple gateways) should be setup so that juju / maas deploys the right post-up and post-down lines for the interfaces?20:22
lazyPowerstormmore - network modelling is somethiing we introduced recently, i'm not positive on how much of that is in maas 1.920:22
stormmorelazyPower: just as well I am running 2.0 beta 220:23
lazyPoweroh wow, you're on bleeding edge then :D20:23
lazyPoweriirc stormmore - you just need to model the networking you're looking to achieve in maas, anything outside of that can be done with network spaces20:24
LiftedKiltstormmore: are you pre-provisioning your machines in maas and then adding them in juju via ssh?20:24
stormmorewhy not, by the time this PoC is production ready it won’t be bleeding edge no more20:24
stormmoreLiftedKilt: no I am letting juju ask maas for resources20:24
LiftedKiltstormmore, lazyPower: the 2.0 API is out?20:24
lazyPowerLiftedKilt - i'm not entirely sure, last i heard the core team was sprinting on the maas 2.0 / juju 2.0 integration bits20:25
LiftedKilterr the integration with juju and maas 2.020:25
lazyPowerwhen thumper shows up we can poke him for the details20:25
LiftedKiltlazyPower: that was my understanding as well, and when I attempted a juju2/maas2 deployment a few days ago it wasn't yet operational20:26
lazyPowerdeanman - silly question, but can your VM reach 10.0.2.15:17070?20:26
LiftedKilthadn't checked to see if it was snuck into juju 2 beta 320:26
stormmoreI am not using maas 2.0 as I heard rumors that it is removing wakeonlan and for the time being I am reliant on that20:26
lazyPowerdeanman - i'm wondering if its having an issue connecting to the api server, but the machine agent appears to have spun up fine, its the unit agent that i'm concerned with :/20:26
lazyPowerstormmore - ok so you're on maas 1.9, and juju 2.x?20:27
LiftedKiltstormmore lazyPower: that makes a lot more sense20:27
stormmoreyeah exactly20:27
lazyPowerphwewwwww20:27
lazyPowerok20:27
lazyPowerwhen i said you'r eon bleeding edge, i silently cringed over here20:27
LiftedKilthaha20:27
lazyPoweras i know thats been a pain point we're working through20:27
stormmoreok as bleed edge as I can be without having to “hack” to get wakeonlan to work again20:27
lazyPowerhaha20:27
lazyPowerwe're removing WoL support from maas? thats weird20:28
stormmoreyeah I thought that20:28
* lazyPower is missing updates all over the place20:28
LiftedKiltI hadn't heard about removing wol from maas 2? Maybe it's just broken right now?20:28
lazyPowerThat seems more likely than removing it20:29
lazyPowerstormmore - but yeah, model your networking under the associated tabs in maas, set your gateways and cidrs attached to your interfaces20:29
LiftedKiltWoL is pretty integral to the workflow - pxe/enlist, shutdown, commission, shutdown, deploy20:30
lazyPowerstormmore - then when juju brings up the services it should "just work" as you've modeled it slightly lower in the stack. if you have need of a custom network that you're not modeling in maas, investigate network spaces, as its a newish feature, supported on MAAS and AWS substrates that i'm aware of (potentially more)20:30
deanmanlazyPower: well i don't get it why it uses that IP address, the VM does indeed report two configured interfaces, eth0  (10.0.2.15) and eth1 (192.168.11.12). I used the latter to add it on the juju environment.20:31
lazyPoweryou're using vagrant to spin these up right? i wonder if you dont need to weak the networking on that so its only got a single nic20:32
lazyPowerjuju will poll the listed interfaces and bind ot the first one it lists as the admin interface unless i'm mistaken20:32
deanmanlazyPower: Yeap, vagrant...well it shouldn't get two ifaces.20:32
lazyPowerwhich means, if you do something like install docker before juju, it'll bind to that docker0 interface, 172.0.4.x - and then things get bundled up like this20:32
lazyPower*bungled20:33
deanmanlazyPower: well that's the best lead of what's wrong so far.20:33
lazyPowerwell, lets hack on that Vagrantfile you're using and make it right :)20:33
thumperlazyPower: say what?20:33
thumperoh...20:33
thumpermaas and juju 2.0 love?20:33
lazyPowerthumper <3 hows juju2 / maas2 doin? we're still same place we were right? "we're working on it and you should stop bugging me"20:33
thumperyeah... won't be any time soon20:34
deanmanlazyPower: but...machine 1 has the same setup, it reports two interfaces, but deployments there work ;-)20:34
thumperwhere soon is in the next two / three weeks20:34
thumperwill happen as soon as we can20:34
thumperwe are going flat stick20:34
deanmanmachine 0*20:34
lazyPowerk, thanks :) it was a misunderstanding earlier, i thought we had a user on maas 2.0 trying juju 2.0, i silently wept.20:34
thumper:)20:34
lazyPowerdeanman insert confused face20:34
stormmorelazyPower: when I setup my maas server I set it up to control both nics fully but I ran into a problem trying to deploy until I took one of the gateways away20:34
thumperlazyPower: FWIW I'm going to create a status google doc on the progress20:34
lazyPoweri'm not sure why that would be the case... i can try to reproduce if i have th disk space20:34
stormmorelazyPower: ended up having to log into the deployed box create a new routing table and run a few iproute2 commands20:35
lazyPowerhmm, ok - i recommend you post what you're trying to do on the juju mailing list, our networking spaces guru is on EU time, so that gives them a chance to participate in the convo20:35
lazyPowerstormmore ^20:35
LiftedKiltstormmore: you might need to dpkg-reconfigure maas-region-controller20:35
LiftedKiltstormmore: and make sure it's on the right address20:35
stormmorelifeless:20:36
stormmorewhoops20:36
lazyPowerdeanman - can you hit me with your Vagrantfile? i'll try to reproduce over here, i'm constrained on disk, but lets give it a go20:36
lazyPowerjuju status20:36
lazyPowergah20:36
stormmoreLiftedKilt: when it happened I when through the whole configuration, as soon as I removed the one gateway address, deployments worked, I suspect it is how the rest of my setup is and the constraints I am working within20:37
stormmorelazyPower: I just doublecheck the docs, wakeonlan / ether_wake has been removed from the development branch20:38
lazyPowerstormmore - i just relayed the question to our maas devs, i'll similarly proxy a response back when i have one20:39
stormmoresweet :) thanks... yet another reason I am enjoying working with these tools :)20:40
LiftedKiltstormmore: http://paste.ubuntu.com/15555003/20:40
deanmanlazyPower: http://paste.ubuntu.com/15555000/ After vagrant up i would ssh to each machine and install latest juju 1.25.320:41
LiftedKiltstormmore: I would take a look at that and see if it might fix your problem - instead of adding the gateways, you add them as post-up routes with metrics20:41
lazyPowerok give me a sec to poke around in here deanman, i'll need to fetch all the base box's and what not20:41
deanmanlazyPower: i really appreciate your help20:42
stormmorelazyPower: I did consider that method, how would I implement that if one of those gateways happens to also be the maas server? I assume using space config?20:44
lazyPowerLiftedKilt - hmm, how do you model that post-up route w/ maas?20:45
deanmanlazyPower: and this would be my environments.yam file http://paste.ubuntu.com/15555031/20:46
lazyPowerdeanman anytime :) sorry you've bumped your head a bit trying ot get this going. I'd like to get you sorted so you can hack on projects with us :D20:46
LiftedKiltlazyPower: if you needed to deploy that to all your nodes? eesh I'm not sure. A custom post deployment script I guess20:46
LiftedKiltI thought stormmore's problem was multi gateway on the maas server itself though, not the deployed nodes20:47
stormmorenope the with nodes :-/20:48
stormmorehttp://paste.ubuntu.com/15555049/ is what I ended up doing on the node manually20:49
stormmorethe MAAS server also has post-up and post-down commands to SNAT for the MAAS mgmt network20:50
LiftedKiltstormmore: gotcha - yeah configuring the networking on maas nodes is still pretty hazy for me...I'm not sure the best way to do things20:52
lazyPoweroh no :( bad news20:53
lazyPowerroaksoax lazyPower: yes, it is removed20:53
lazyPowerstormmore - it appears you weren't wrong in your concern about WoL going away20:53
LiftedKiltstormmore: and I feel like I can't really get a grasp of maas' methodology for networking20:53
LiftedKiltlazyPower: what why?20:53
stormmoreLiftedKilt: it is taking me a bit but I also have a background in networking and vmware which helps me. first thing is to stop thinking of a server as a server but instead consider it a rack in a box20:54
=== natefinch is now known as natefinch-afk
stormmoreprobably because WoL is unreliable at best20:54
stormmoreI am only using it cause I don’t have access to help me setup the rpdu configuration20:55
c0scory_fu: trying to load some files in Spark using the a-h-s-z bundle from bigdata-dev repo.20:56
c0sAnd am getting this20:56
c0sorg.apache.spark.SparkException: Found both spark.driver.extraClassPath and SPARK_CLASSPATH. Use only the former.20:56
c0sat org.apache.spark.SparkConf$$anonfun$validateSettings$6$$anonfun$apply$8.apply(SparkConf.scala:444)20:56
c0sat org.apache.spark.SparkConf$$anonfun$validateSettings$6$$anonfun$apply$8.apply(SparkConf.scala:442)20:56
lazyPowershort answer here LiftedKilt : .. but it is not a robust driver, since it doesn't support power off or status, and requires layer2 network connectivity ..20:56
lazyPower>  one issue is, it's difficult to know which rack should send the WoL packet, especially in an HA configuration with many racks20:56
LiftedKiltlazyPower: hmmm - well, that's reasonable20:57
LiftedKiltlazyPower: and was actually a question I had on my list of things to investigate - how to determine which controller would control wol for each server20:57
LiftedKiltstormmore: I come from a traditional networking background, and am trying to jump into calico or opencontrail and l3 everywhere. I understand the concepts, but it feels really foreign20:59
cory_fuc0s: Hrm.  That should be fixed.  We might need to publish a new rev of apache-spark or update the bundle20:59
stormmoreLiftedKilt: totally get that :) that is why it took me a day to remember how to handle multiple default gateways in Linux again with enough confidence to test in a remote DC21:00
stormmoreLiftedKilt: I prefer the separate routing table to multiple metric based gateways, just seems cleaner and possible more efficient21:01
c0sok21:01
c0sso, for now I will try to go around with spark-shell21:01
c0scause 1.3.0 Spark (in the currently published bundle) doesn't provide certain things21:02
kwmonroec0s: with your a-h-s-z deployment, can you pastebin the output of "juju status"?21:12
kwmonroethe conflicting SPARK_CLASSPATH and extraClassPath should have been resolved 5 days ago with : https://github.com/juju-solutions/bundle-apache-hadoop-spark-zeppelin/commit/d4d77ba503d7ff409d1f942321cfa54099feeecd21:12
cory_fuI have to run to dinner.  Maybe EOD, or I might be back for a bit21:16
kwmonroemarcoceppi: is there a 'charm show' equivalent for bundles?21:17
admcleod1c0s: hey what email address should i use for you?21:17
lazyPowerkwmonroe - does that not work with a bundle resource?21:17
c0shere it is kwmonroe http://paste.ubuntu.com/15555219/21:17
kwmonroelazyPower: i got this http://paste.ubuntu.com/15555216/21:17
lazyPowerah right, that was a bug that was slated to be fixed21:17
lazyPowerwe identified that late last week21:18
kwmonroeack lazyPower.. is there an open issue?21:18
stormmorewell that is totally weird, I just lost juju-gui after I destroyed a different charm21:43
rick_h_stormmore: ?!21:44
stormmoreI was working in the juju, decided I wanted to destroy a charm I just deployed and then now I am getting connection time outs on juju-gui21:44
stormmoreworking in the juju-gui21:45
rick_h_you destroyed it in the GUI UI? Or from the cli?21:45
rick_h_stormmore: ^21:45
stormmorerick_h_: in the GUI21:46
rick_h_stormmore: to the same machine/host?21:46
rick_h_stormmore: if you can replicate/describe please file a bug and we'll get on that as that sounds dangerous. https://github.com/juju/juju-gui/issues21:46
stormmorerick_h_: yes, I had just deployed neutron-gateway, thought I messed up the constraints, decided to destroyed and redeploy and now the gui is nonresponsive21:47
stormmorerick_h_: hoping not to recreate :P most likely right now I am going to detroy the controller and start again21:48
rick_h_stormmore: ok, is this 2.0 beta3?21:48
rick_h_hatch: ^ fyi21:48
stormmorerick_h_: beta 221:48
rick_h_stormmore: k21:48
stormmoreis 3 out? can I upgrade straight to it or is burn and rebuild operation?21:49
stormmorerick_h_: it might be worth noting, on logging into the node I see that it didn’t in fact destroy the neutron-gateway, going to see if I can clean up using the cli first21:51
rick_h_stormmore: yes, 3 came out this morning21:53
rick_h_stormmore: make sure to kill any running controllers21:53
rick_h_stormmore: it *might work* but I'm not 100% sure if you'll need to kill/restart21:54
stormmoreOK sweet, well I am about to destroy this controller even if I figure out why the juju-gui has stopped responding21:55
rick_h_stormmore: k, yea upgrade to beta3 and you'll get the latest good stuff. Loves of big improvements in b321:55
stormmoresweet :) I have so far been really impressed with each and every upgrade I have done in the last 3 months21:56
stormmoreit pays to have a few servers as a playground for sure :)21:56
rick_h_playgrounds make life more fun21:57
stormmoreoh yeah :) and right now that is what I have until I get a stable PoC21:57
stormmorerick_h_: know if there is a way to restart the juju-gui service without restarting the node?21:58
rick_h_stormmore: yes, there's a service on there called 'guiserver' I think21:59
rick_h_stormmore: sudo service guiserver restart21:59
rick_h_maybe?21:59
kwmonroehey c0s, GREAT news and bad news... great news:  the latest bigdata-dev a-h-s-z bundle includes charm revisions that fix your classpath conflict: https://jujucharms.com/u/bigdata-dev/apache-hadoop-spark-zeppelin.  bad news:  your deployment is too old (by about 4 hours).21:59
c0syeah, well ;)22:00
stormmoretrying :)22:00
c0sI will continue with what I have - shark-shell works for the poking around22:00
c0sin am, I will get the latest one and give Z a spin ;)22:00
c0sthanks kwmonroe22:00
c0sit took me a bit longer to get up and running all I needed, but you know ;)22:01
kwmonroespecifically c0s, you need spark-69, zeppelin-49, and plugin-65... for sure continue on if you're able, and when you need a better spark-submit, burn that model and fire up the latest ;)22:01
c0syeah, what I have will sustain me through the day ;)22:01
stormmorelast test before I kill this controller, destory and redeploy juju-gui22:05
stormmorethink http://paste.ubuntu.com/15555560/ says it all, ok killing controllers and upgrading to beta 322:07
rick_h_stormmore: ok, so that's good and should be error info in the unit logs there22:09
stormmorerick_h_: on the node? path?22:10
rick_h_stormmore: /var/log/juju/unit-XXXXXXX where XXX is the unit name/etc22:10
stormmorerick_h_: “subprocess.CalledProcessError: Command '['apt-get', 'update']' returned non-zero exit status 100” seems the pertinent line from the log. think my node network got messed up beyond repair22:15
rick_h_stormmore: ah, ok so it couldn't apt-get installed22:15
stormmorerick_h_: that is what is looks like which would go with the fact that the routing got hosed, going to separate the gateway onto a different node to rule that problem out22:17
rick_h_stormmore: gotcha, ok I'm scared less then22:18
hatchhello22:18
rick_h_stormmore: the whole "destroy X and Y goes away" freaked me out a bit :)22:18
rick_h_hatch: carry on, nothing to see here22:19
* hatch carry's on22:19
stormmorerick_h_: right :) still anonying that destroying X removed some other required setting22:19
rick_h_stormmore: well, you destroyed something that borked networking22:20
stormmoreyup22:20
LiftedKilthas anyone else had a problem with destroy-model leaving an empty unusable model in the ui?22:37
stormmorefun now I need to figure out how to create an internal mirror repo too22:49
rick_h_LiftedKilt: yes, just got link to the bug on that https://bugs.launchpad.net/juju-core/+bug/153462723:08
mupBug #1534627: Destroyed models still show up in list-models <2.0-count> <conjure> <juju-release-support> <juju-core:Triaged> <https://launchpad.net/bugs/1534627>23:08
stormmoreOK so I created a new controller using beta 3 but machine 0 isn’t showing up and juju list-machines isn’t showing any machines23:13
rick_h_stormmore: juju list-models23:14
stormmore# juju list-models23:14
stormmoreNAME      OWNER        LAST CONNECTION23:14
stormmoreadmin     admin@local  never connected23:14
stormmoredefault*  admin@local  40 seconds ago23:14
rick_h_stormmore: beta3 fixes it so that there are two models out of the box, the admin model that you don't use and the default one that is the empty default space to work in23:14
rick_h_stormmore: so create-model or use default to work in, machine 0 is in the adin model and so doesn't show in default and other models23:14
stormmorerick_h_: so how do I deploy services to machine 0?23:15
LiftedKiltrick_h_: Thanks for the link23:16
rick_h_stormmore: you can juju switch admin23:16
rick_h_stormmore: and deploy on there, but in order to help prevent folks from doing that when you can have many models it's a bit discouraged23:17
rick_h_stormmore: using lxd containers or the like is much preferred for density, but machine 0 is hosting the state data for all models so deploying/removing on that is potentially messy23:17
stormmorerick_h_: oh I get that, but in most examples, juju-gui usually gets deployed to machine 023:17
stormmorerick_h_: not quite ready for lxd, still using trusty23:18
rick_h_stormmore: gotcha, yes I'd juju switch admin and juju deploy there23:20
rick_h_stormmore: fyi that there's a new juju gui command that will work so that the gui is always built into juju on bootstrap23:20
rick_h_stormmore: so it won't be a problem by the next release I believe23:20
stormmorerick_h_: oh do share :)23:20
rick_h_stormmore: juju gui --help23:21
stormmorerick_h_: oh nice, can’t wait now :P23:23
rick_h_stormmore: so atm you'd have to git clone the juju-gui and do https://pastebin.canonical.com/152913/23:23
rick_h_stormmore: but soon, bootstrap will get the gui release and auto set it up23:23
stormmorerick_h_: that will definitely cut out a couple of steps in deployment :)23:26
stormmorerick_h_: shame I don’t have access to that pastebin ;-)23:27
rick_h_stormmore: doh, my bad. http://paste.ubuntu.com/15555902/23:29
stormmorenice, yeah definitely makes sense since I am not sure anyone wouldn’t want the gui to show off the models :)23:30
stormmoreso I am running into a problem deploying juju-gui, keep getting http://paste.ubuntu.com/15555944/23:39
rick_h_stormmore: hmm, can't get to the charmstore? can you reach api.jujucharms.com/charmstore/v4/trusty/juju-gui-52/archive on the state server?23:41
stormmoreyes23:43
rick_h_stormmore: can you deploy other services there?23:43
stormmorerick_h_: haven’t tried yet, let me try something else23:43
rick_h_the error looks like it's getting a 400 from the https charmstore request, but not sure why it would.23:44
* rick_h_ wonders if it'll do that on any charm or if there's something wrong with the api/gui charm combo23:44
stormmorerick_h_: looking like it http://paste.ubuntu.com/15555975/23:45
stormmorerick_h_: I am aware just how stupid it to deploy mysql on the same box but hey it was a test ;-)23:45
rick_h_stormmore: lol yea appreciat eit23:46
* rick_h_ pokes at charm to see if it's ok23:46
stormmorejust mysql is in “Unit is ready” state23:47
stormmore2nd controller destroyed today23:54
rick_h_stormmore: hmm, so permissions are right on the charm and such. what did you hit?23:55
stormmorerick_h_: I just ran juju deploy --to 0 juju-gui and it didn’t work :-/23:56
rick_h_stormmore: yea, trying to see why23:56
stormmorerick_h_: giving it another shot, seeing if I can replicate from clean deployment23:57
lazyPowerstormmore - thanks for digging deep on this :)23:57
* rick_h_ is bootstrapping to see if he can dupe23:57
stormmoreoh any time :) having had this much fun “learning” new tech in awhile23:58
rick_h_learning == fun :)23:58
lazyPowerayyyy you kids today and your clouds and learning and modeling. its like you hate the manual side of ops ;)23:59
stormmorefor the record, my original PoC of MAAS and Juju has had the direct consequence of us hiring a contractor to help investigate it’s use in our lab on a large scale23:59

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