/srv/irclogs.ubuntu.com/2014/08/27/#juju.txt

tiger7117hmm.. yes, i noticed this magic thing on GUI. otherwise command line deploying/configuration is kind a same as those old ages way :)00:00
lazyPowertiger7117: i'm working on a demo video to cover one of our stories with juju, which is getting moving with a big data stack (Hadoop to be specific) - which can take hours for an expert to manually setup, and scale. Using juju and bundles, you can have your hadoop installation ready to go and scale with your needs in literally 14 minutes.  Keep in mind that Service orchestration is a layer above config management.00:01
lazyPowerWe're talking about services talkign to one another out of the box in Service oriented architecture principals. Meaning when you deploy your web app that has a MySQL dependency, it exchanges teh username, password, and database - transparently to you. It eases quite a few of your operational goals by intelligently automating away pain points.00:02
lazyPowerhttps://www.youtube.com/watch?v=CEfFy6tODrQ - this may help shed some light on what we're talking about00:02
tiger7117ahan.. yes, its like a make a diagram on paper and magically those moutains/rivers are making itself at the back of that page :)00:02
sarnoldI like that :)00:02
lazyPowertiger7117: if you want a really good intro talk i gave - i can link you to that as well00:02
lazyPowerits about 40 minutes long00:02
lazyPowertiger7117: but it doesn't just stop at database credential exchange. There is work beign done to automate your DNS solution(s), Framework Charms (like Openstack, Rails, and CakePHP) that aim to be as generic as possible to support as many deployment scenarios as you will need00:03
tiger7117talk :).. naa don't have too much spare time for talking . hav to setup Godzilla on papers :P00:04
lazyPowerand the best part about these is they are peer reviewed before the land in the recommended charm store for you to consume/use - which means you get the comfort of knowing you're not using some abandoned devops recipe from many months ago that will no longer work - there's a lot of work going into our end user scenario this cycle to bring automated testing into this00:04
lazyPowerWhen you asked sarnold what the best part of juju is, its the community.00:05
lazyPowerthats my 2 cents anyway.00:05
lazyPowerHope that wall of text helped tiger7117. if you have any questions, dont hesitate to ping me directly.00:05
tiger7117i appreciate you guys, its not easy or small thing, in future it can eat elephants in one bite :)00:06
lazyPowerwe're dangerously close to eating buffalo in one bite, next step - elephants.00:07
sarnoldmmm buffalo...00:08
tiger7117haha two buffalo = 1 elephant :)00:08
tiger7117so u are near to your target.00:09
sarnoldyes, world domination feels quite close ;)00:09
lazyPowerevery cycle we get closer.00:09
tiger7117well, i also appreciate to one guy which made plugin (JuDo), i also have been tested it, it worked too well with digital Ocean cloud, OD is SSD based too fast. you guys put built in thing of JuDo or it will be good if build for RackSpace00:10
lazyPowertiger7117: Juju DigitalOcean plugin is a pseudo provider built on top of the manual provider00:11
lazyPowerjuju switch manual - and you can add machines/containers from any cloud provider you wish, and orcehstrate them with juju00:12
sarnoldwow00:12
lazyPoweryour enlistment phase will be manual, and you'll need to use the CLI to deploy services until machine view lands00:12
tiger7117yesterday, i tested JuDO and added machines and things had configured in 5 mins00:13
tiger7117LaxyPower: RackSpace also support to JuJu ?00:13
lazyPowerNot natively - this is why you'd be using the manual provider.00:13
tiger7117ahan.00:13
sarnold.. which I'll admit has some niceness to it, it won't surprisingly cost you money :)00:13
lazyPowerthere's a few requirements to land a provider that introduce some dependency issues - such as lack of object storage - but i've been following the mailing list and some of those are planning on being lifted in the near future00:14
tiger7117because of this LXC thing, i tried Judo/Digital Ocean, there it is assigning direct Public IPs to Machines.00:14
lazyPowerso you might see a native rackspace provider land sooner rather than later - but manual provider will always be around, and always offer a method to build a juju orchestrated deployment00:14
tiger7117so easy to access things publicaly.00:14
lazyPoweryeah, networking is difficult when you boil it down to the specifics of a datacenter, and how you want your traffic routed - so its no surprise that density with containers isn't a fleshed out story yet.00:15
tiger7117My Best Wishes are with you Guys.. :)00:15
lazyPowerThanks tiger711700:15
sarnoldyeah, I'm hoping hallyn and stgraber can work some magic there :)00:15
tiger7117i dont like, AWS (EC2 etc) , its kind a insecure.00:16
tiger7117well, so JuJu is totally depend on Python or else as well ?00:17
sarnoldthe juju core depends upon go, ssh, and shell (probably bash specifically) -- charms can be written in shell, or python, or ruby, or even in compiled languages, but you'd probably want to stick with a scripting language since that makes iteration on charm authoring a lot faster00:19
tiger7117Sarnold: by the way, i can call to Dennis Ritchie /Ken Thompson, Linus Torvalds for this JuJu project :D00:20
tiger7117hmm..00:21
tiger7117Ruby didn't get too famous, like now days PHP is..00:22
tiger7117well, mine 3rd day in JuJu is going to start :) have to configure few more things in it, hope to see you guys again ..00:23
tiger7117Sarnold, LazyPower: Nice to chat with you both, Good Luck !!00:24
tiger7117Bye !!00:24
lazyPowertake care tiger711700:24
=== scuttlemonkey is now known as scuttle|afk
=== axw_ is now known as axw
=== thumper is now known as thumper-otp
=== thumper-otp is now known as thumper
veeberswhat could cause a local lxc container created using 'juju deploy cs:ubuntu' to give this error when attempting to lxc-start it? "lxc-start: Executing '/sbin/init' with no configuration file may crash the host"03:48
veebersif I create one just using lxc (sudo lxc-create -t ubuntu -n testing) and try to start that it works03:48
veeberserr, disregard that question. It was a user error :-\03:51
=== sg is now known as Guest23417
=== urulama-afk is now known as urulama
=== ming is now known as Guest58525
=== ayr_ton is now known as ayr-ton
=== HankM00dy is now known as thehe
=== viperZ28_ is now known as viperZ28
=== MmikeM is now known as Mmike
tvansteenburgh1stub: thanks for the review on the Config stuff, appreciate that!12:20
=== tvansteenburgh1 is now known as tvansteenburgh
stubnp12:21
PiKiMBuenos dias, tengo un inconveniente con juju-gui, lo instale pero por el navegador web me sale este error --> wss://jujugui.prueba.net/ws' failed: Unexpected response code: 40013:07
PiKiMque puede ser??13:08
frankbanPiKiM: a bad request for the wss connection is weird. So you have the gui at https://jujugui.prueba.net? what kind of provider are you using?13:10
PiKiMI'm using locally do not have it in the cloud13:11
frankbanPiKiM: local env? lxc?13:13
PiKiMyes lxc13:14
frankbanPiKiM: so why the browser is trying to connect to wss://jujugui.prueba.net/ws?13:14
PiKiMI do not know, I have the team here and set up a virtual host to see the interface from any other team, and placed in the url https://juju.prueba.net.ws the logo stays turning and seeing the wss console displays the error: //jujugui.prueba.net/ws' failed: Unexpected response code: 40013:19
=== BradCrittenden is now known as bac
frankbanPiKiM: so this seems related to an internal misconfiguration of the network. To exclude something client side, could you check if you see the same after clearing the browser cache (e.g. when browsing the GUI URL in incognito mode)?13:21
PiKiMyes, every time I see the delete browser cache13:23
frankbanPiKiM: so, deleting the cache does not work, correct?13:23
PiKiMyes, correct13:25
frankbanPiKiM: what URL are you using for the GUI?13:25
frankbanPiKiM: could you please paste the output of a get request to https://juju.prueba.net/gui-server-info ?13:27
PiKiMfrankban: https://jujugui.prueba.net13:31
frankbanPiKiM: could you please paste the output of a get request to https://juju.prueba.net/gui-server-info ?13:33
PiKiMcan this http://nginx.com/blog/websocket-nginx/ ??13:34
PiKiMis this what you are asking for?13:42
PiKiMcurl: (60) SSL certificate problem, verify that the CA cert is OK. Details:13:42
PiKiMerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed13:42
PiKiMMore details here: http://curl.haxx.se/docs/sslcerts.html13:42
PiKiMcurl performs SSL certificate verification by default, using a "bundle"13:42
PiKiM of Certificate Authority (CA) public keys (CA certs). If the default13:42
PiKiM bundle file isn't adequate, you can specify an alternate file13:42
PiKiM using the --cacert option.13:42
PiKiMIf this HTTPS server uses a certificate signed by a CA represented in13:42
PiKiM the bundle, the certificate verification probably failed due to a13:42
PiKiM problem with the certificate (it might be expired, or the name might13:42
PiKiM not match the domain name in the URL).13:42
PiKiMIf you'd like to turn off curl's verification of the certificate, use13:42
PiKiM the -k (or --insecure) option.13:42
=== urulama is now known as urulama-afk
frankbanPiKiM: I was asking what do you see if you go to  https://juju.prueba.net/gui-server-info with your browser13:44
PiKiMthis13:44
PiKiM{"uptime": 59872, "deployer": [], "apiversion": "go", "sandbox": false, "version": "0.4.0", "debug": false, "apiurl": "wss://10.0.3.1:17070"}13:44
frankbanPiKiM: that seems ok. So yeah the problem seems to be a misconfiguration of the internal network, and it's likely that the team that set up the infrastructure can help with the wss failure13:48
frankbanPiKiM: as it's not easy to undestand what's going on from here13:48
frankbanPiKiM: perhaps they are using a proxy between the LXC machines and the network you are using, and that proxy is failing to properly redirect secure websocket connections13:50
frankbanPiKiM: last check, what happens if you visit https://jujugui.prueba.net/ws with your browser?13:52
PiKiMit shows this: Can "Upgrade" only to "WebSocket".13:53
frankbanPiKiM: it doesn't ask for self-signed certs approval, correct?13:54
PiKiMno, it doesnt13:54
PiKiMlike you said, we are using a virtualhost to redirect the requests to the LXC machines13:55
frankbanPiKiM: so, as I mentioned, if incognito mode does not work, the problem is likely to be on the network configuration. I am sorry I am not able to be more specific.13:56
=== uru_ is now known as urulama
=== jw4 is now known as jcw4
=== mbarnett` is now known as mbarnett
nuclearbobI'm having some problems with the juju local provider, I keep getting "connection reset by peer" when the API server is trying to serve RPCs15:02
nuclearboband my "juju ssh" sessions get broken pipe pretty quickly15:02
=== roadmr is now known as roadmr_afk
=== roadmr_afk is now known as roadmr
=== hatch__ is now known as hatch
nuclearbobokay, I figured it out, all of my containers created by the local provider are getting created with the same MAC address15:17
nuclearbobI think veebers had that problem as well15:17
JoshStroblNew juju/doc issue: Filed in relation to the Authors Testing doc - https://github.com/juju/docs/issues/14915:19
JoshStroblmarcoceppi, when you get the time (aside from earlier ping regarding a bug closure), could you add change and/or enhancement labels to it?15:20
=== katco` is now known as katco
=== mup_ is now known as mup
=== HankM00dy is now known as thehe
JoshStroblmbruzek, or marcoceppi: MP for doc to fix some config-vagrant formatting: https://github.com/juju/docs/pull/15015:56
=== scuttle|afk is now known as scuttlemonkey
mbruzekJoshStrobl, Thanks for the contribution.16:01
mbruzekJoshStrobl, That does look better.16:01
JoshStroblmbruzek, \o/16:02
JoshStroblmbruzek, looks like you closed it but never merged (either that or it isn't updating for me)16:07
JoshStroblthere we go :D16:08
mbruzekJoshStrobl, I fixed that just now.16:08
JoshStrobl\o/16:08
=== rogpeppe1 is now known as rogpeppe
JoshStroblsince the docs use, from what I can tell, GFM, would it make more sense to use their table syntax for the keyboard shortcut stuff at https://juju.ubuntu.com/docs/authors-hook-debug.html. It'd mean we'd be able to reduce the vertical space necessary for the page. Though I'm not sure if the parser detects tables and can correctly convert it to HTML tables.16:19
tiger7117Hi..17:16
tiger7117how can we change the user and password of JuJu Gui user-admin ?17:17
tiger7117where is my friend LazyPower :) ?17:20
lazyPowertiger7117: its set at bootstrap. If you don't have an admin-secret: key defined for your environment in ~/.juju/environments.yaml its autogenerated, and located in ~/.juju/environments/<environment>.jenv17:21
lazyPoweri dont think it can be updated post deployment. rick_h_ - is there a config option to update the login for the GUI at present?17:22
JoshStroblIs anyone opposed to me using GFM's tables for the tmux shortcuts at https://juju.ubuntu.com/docs/authors-hook-debug.html. I already branched my fork and tested it, it properly parses into a table and looks better than the current doc (in my opinion, of course).17:23
lazyPowerJoshStrobl: screenshot?17:24
tiger7117yes, i know where to get the password of user-admin password from file ~/.juju/environments/<environment>.jenv17:24
JoshStrobllazyPower, disclaimer: I can't get CSS fetching working with the python stuff, so I copied the HTML generated from my page into the authors-hook-debug running on the actual docs17:25
JoshStrobllazyPower, I'll get a screenshot17:25
tiger7117any other confusion is that .. in file <enviroment>.jenv file have user: admin and Longest Password: ………..  it should be user-admin or admin, then where is user-admin username ?17:25
JoshStrobllazyPower, actually, just found a parsing issue :\17:27
lazyPowerbooo17:27
JoshStrobllazyPower, gonna work on it a bit more17:27
lazyPowerok17:27
lazyPowertiger7117: not sure what you're asking.17:27
tiger7117second might be important thing that.. JuJu-GUI Login page don't load on SAFARI browser. it only works perfect in chrome.17:27
lazyPowertiger7117: its been tested in Chrome and Firefox - but recommended to use chrome for the best experience.17:30
JoshStrobllazyPower, had to do with having a | inside the actual table (which separates columns with |) since apparently once of the tmux shortcuts requires |. I changed it in the markdown to &#124; and it worked fine.17:30
tiger7117i said in above that .. yes, this file (~/.juju/environments/<environment>.jenv) has the auto generated long password for JuJu-GUI user-admin, even in first two lines, i have confusion that in this file (~/.juju/environments/<environment>.jenv) at first line is User: admin and in second line Password: …….. , it looks like that username of JuJu-GUI is Admin except user-admin.17:30
lazyPowertiger7117: at present there is only a single user for the GUI, and it's the default populated value of user-admin, which corresponds to user: admin in the .jenv17:32
tiger7117ahan.. if i manually change/edit to .jenv file for this password: then will it change as well or not ?17:33
bactiger7117: the GUI uses the 'admin-secret' to login.  if you set it in your enviornments.yaml then it'll be used.  if you don't set it, juju will generate one for you.17:34
bactiger7117: if you shutdown the environment and manually edit the .jenv file then the new admin-secret should be used when you bootstrap the new environment17:35
tiger7117bac: how can i set admin-secret login info in enviroments.yaml file ?17:37
bactiger7117: just put it in the appropriate stanza: local, ec2, whatever17:37
bacadmin-secret:  shhhhh12317:37
tiger7117bac: actually i am using digital ocean plugin (JuDo).. so mine enviroment.yaml file http://pastebin.com/XdBFN45217:39
tiger7117should i just put admin-secret: mypassword at the end of this enviroment.yaml file ?17:40
bactiger7117: put it inside the section for the provider you are using.  in your case, inside the digitalocean section.  note you'll have to remove the corresponding .jenv file after editing environments.yaml so a new one can be regenerated.17:41
tiger7117bac: i created two machines as well  one for juju-gui and one for another purpose, so after deleting .jenv or editing to this enviroment.yaml file will it effect on those as well because this .jenv file has lot of info regarding uuid/cert/ state servers IPs/bootstrap info etc?17:45
JoshStrobllazyPower, in theory, this is what it is supposed to look like. It'd be nice though if the Ubuntu CSS got rid of the disgusting thead color and made each initial column the same width, but nothing I can do about that. http://i.imgur.com/PssugDU.png17:45
bactiger7117: the other services will not use the admin-secret.  realize i don't know exactly what you're doing.  it may not be prudent to tear down your environment and bootstrap another.  i assume this is just a test system?17:47
tiger7117yes, test system but dont want to spend more time again for building machines and setting up things from again .17:49
lazyPowerJoshStrobl: i think that looks fine17:51
lazyPowers/fine/great17:52
JoshStrobllazyPower, cool, I'll merge my local branches, push to GitHub and do a MP then!17:52
tiger7117Ok, thanks guys, Good Luck !!17:55
JoshStroblMP: https://github.com/juju/docs/pull/15118:07
JoshStroblgonna go get some food now18:07
=== kirkland` is now known as kirkland
=== kirkland is now known as Guest82850
=== Guest82850 is now known as kirkland`
Sh3rl0ckIs there a way to do HA with rados gateway in the JUJU based OpenStack environment18:37
Sh3rl0ckSeems like the ha-cluster charm does not have any rados gw support18:39
Sh3rl0ckHas anyone used haproxy charm with rados gw?18:42
=== roadmr is now known as roadmr_afk
=== plars_ is now known as plars
hatchIf I wanted to set up a url rewriting with the apache charm what's going to be the best approach? Fork it and deploy a custom version?19:43
lazyPowerhatch: it has base64 encoded vhost support if i recall correctly19:49
lazyPowerso you can write your url rewrites as a vhost, and ship it as a config option instead of forking the charm.19:49
hatchahh I missed that in the config19:49
hatchthat would work19:49
hatchnow the question is, will haproxy or apache be a better choice :)19:50
arosaleslazyPower: asanjar: well done on http://youtu.be/f9yTWK7Z9Wg19:54
hatchlazyPower: great vid! jw why the text got all garbled towards the end....was that my stream or is that how the source is?20:03
jcastrolazyPower, post that video to the mailing list as well!20:06
lazyPowerhatch: which text?20:22
lazyPowerthanks arosales :)20:22
lazyPowerjcastro: on it!20:22
hatchlazyPower:  umm towards the end when you were in the console, it got very pixelated, like over processed or something20:27
lazyPowerhatch: there's some issues that stemmed after the youtube upload :(20:27
hatchlazyPower:  ahh.... here http://youtu.be/f9yTWK7Z9Wg?t=8m50s is that pixelated for you?20:28
lazyPowerthe source is good, the youtube publish seems to have ganked a few spots towards the end. i'm seeing what you're asking about, its reading the clipping when i cut from a video source to another.20:28
=== roadmr_afk is now known as roadmr
hatchahhh ok ok np I just wanted to point it out20:28
hatchgreat vid20:28
lazyPoweryeah, it is a bit. and it replays the same few frames.20:28
* lazyPower curses youtube for mangling his cut20:28
lazyPowerwell not bad for a first time pro-amateur cut. All filmed/cut/edited/compiled on ubuntu 14.04 using lightworks, simple screen recorder, audacity and Tracktion 5 for audio remastering.20:29
lazyPoweri bet my next one i nail it.20:29
hatchlazyPower:  you should do a video, on how you make videos :D20:31
lazyPowerhatch: i'm still pending one on how i DJ on linux :P20:31
hatchhaha20:31
lazyPowerthat one is pending me cleaning my office however.20:32
lazyPowerwhich let me tell ya is HIGH on my priority list </sarcasm>20:32
hatchlol20:32
hatchdo you have any hardware?20:32
hatch"2 turntables and a microphone"20:32
lazyPowerjust a midi controller, hercules instinct20:32
lazyPowerthe rest is all software based mixing, and my turtle beach headphones + mic combo20:32
lazyPowerI'm looking at investing in a mic arm, with a studio quality mic so i can get away from this headset whine that i have to remove in post20:33
lazyPowernot sure if its the cans, or if its pulse being silly20:33
hatchahh cool20:33
hatchI have 2 tech 12's from days gone by :)20:34
lazyPowerhttp://i.ytimg.com/vi/K3sWl3QEzA4/sddefault.jpg20:34
lazyPoweri love this little guy. its portable and sturdy enough to backpack20:34
hatchyeah that's how things are going nowadays20:34
hatchhave you seen any of the NI stuff?20:34
lazyPoweri dunno man, did you see the UK INFEST gear?20:35
lazyPowereveryone there was using CD/Vinyl based setups20:35
lazyPowerand routed through a laptop for recording20:35
lazyPowernot sure about NI stuff - i haven't gotten that deep into teh tech. I've only been at it for ~ 3 months.20:36
lazyPoweri should do a video "How to setup a pirate radio station with Juju so you can DJ with your friends across the globe"20:36
hatchhaha that would be cool20:40
hatchyeah I used to be pretty big into it but.....well...time :) priorities....and such20:41
Sh3rl0ckThere is no ha-proxy charm for trusty..only for precise. Is there a work around?20:43
lazyPowerSh3rl0ck: it deploys on trusty - whats preventing it from making it to the trusty side of teh charm store is automated tests (ie: amulet tests)20:48
lazyPowerSh3rl0ck: in your local charm repository (presumably ~/charms) if you mkdir -p trusty && cd trusty && charm get cs:precise/ha-proxy20:48
lazyPowerthen juju deploy local:trusty/haproxy20:48
lazyPoweryou will get the trusty charm you seek - but be aware that doing it this way means you'll have to fetch all updates until the trusty version lands in the store. Deploying a local resource is effectively forking the charm.20:49
Sh3rl0ckOh I see...Thanks for the information. So this means I can use precise charm for trusty?20:51
lazyPowerSh3rl0ck: in most cases yes.21:08
lazyPowerthere are some charms that will fail due to outdated dependencies, PPA's, etc. - There's an effort at auditing the store to promote charms to trusty, but its mid-range in the priority queue at the moment. We're looking for community help and re-prioritization of the audit efforts.21:09
mwhudsonhi, is it possible to use juju's openstack provider with an openstack that doesn't have swift?21:40
aisraelWhen a new unit is deployed, are the relation hooks re-fired?22:06
marcoceppiaisrael: yes22:13
marcoceppirelations are created between services, but they're executed on a per unit basis22:13
marcoceppimwhudson: Juju uses the object store for metadata about the environment, so it likely won't22:13
mwhudsonmarcoceppi: fair enough22:14
mwhudsonfrobware: ^22:14
frobwaremwhudson: right, thanks. so swift seems happily deployed for me today...22:15
thumpermwhudson: not yet, although we are trying to get to the state where juju manages its own object storage22:19
aisraelmarcoceppi: thanks!22:20
frobwareis there a means for juju status to show what is the floating ip address for openstack launched images? I see 10.10.10.x, but would like to see the floating ip assigned. If I look at the horizon dashboard it is listed and I'm able to ssh using the public addr.22:48
marcoceppifrobware: interesting, it should show in the public-address field. What version of juju are you using?22:48
frobwaremarcoceppi: 1.20.5-trusty-arm6422:49
marcoceppifrobware: interesting, that sounds like a bug22:49
frobwareubuntu@mustang01:~$ nova list |grep 10.422:49
frobware| 0ca83fe4-3055-44d4-a3b2-c56e267a6b39 | juju-openstack-machine-1 | ACTIVE | -          | Running     | internal10=10.10.10.4, 192.168.2.2 |22:49

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