/srv/irclogs.ubuntu.com/2014/01/09/#juju.txt

=== gary_poster is now known as gary_poster|away
bashokcan someone shed some light on this bug? https://bugs.launchpad.net/juju-core/+bug/126178006:32
_mup_Bug #1261780: go 1.1.2 TLS-enabled client does not accept our CACert <security> <tech-debt> <juju-core:Triaged> <https://launchpad.net/bugs/1261780>06:32
sarnoldbashok: ignoring the fact that the question is about node.js :) ... http://stackoverflow.com/a/14090402/37727006:37
bashoksarnold, thanks for the pointer, does it mean that my cert needs to have subjectAltName that points to the IP in the URI,06:45
davecheneyi'm pretty sure you can't use ip addresses in subjectAldNames06:47
davecheneybut it's been a while06:47
sarnoldbashok: I don't know if the request is being made by IP or not, but if it is, that would make sense to try06:48
sarnolddavecheney: I don't know if future RFCs removed the ability, but RFC 2818 says in part, "In some cases, the URI is specified as an IP address rather than a06:49
sarnoldhostname. In this case, the iPAddress subjectAltName must be present in the certificate and must exactly match the IP in the URI."06:49
bashoksarnold, thanks i will give a try to that06:49
davecheneysarnold: right06:50
davecheneythanks06:50
davecheneythis would only be for self signed certs06:50
davecheneyno CA would sign a cert for an IP06:51
sarnoldhahaha06:52
sarnolddavecheney: man I hope you're right :)06:52
sarnoldcourse worse things have happened..06:52
=== CyberJacob|Away is now known as CyberJacob
=== _thumper_ is now known as thumper
=== CyberJacob is now known as CyberJacob|Away
ShamariaHi all09:47
ShamariaI'm a bit new to juju .. and I have a basic question09:47
ShamariaWhat is the difference/relationship between openstack and juju09:48
Shamaria?09:48
Shamariais it based in anyway on openstack??09:52
lazypowerShamaria, its not based on openstack. Juju sits a layer above openstack09:57
lazypowerJuju is an orchestration layer, that interfaces with your provisioner and deployer09:57
Shamarialazypower: thanks for the answer09:58
lazypowerAnytime09:59
Shamariaso, does it require the presence of openstack?09:59
Shamariafor any reason?09:59
lazypowerNope. It runs on HPCloud, AWS, Azure, and has support for LXC Containers via the local provider.09:59
lazypowerIts important to know you can deploy openstack with juju - since I left it off that last list.09:59
Shamariainteresting!10:00
Shamariaso it is good to have tool anyway!10:00
lazypowerThat it is. I encourage you to head over to jujucharms.com and interface with the demo gui to get a feel for what it can offer you10:01
ShamariaI've seen a list of supported applications, they call it charms10:01
Shamariathat can be delpoyed for me10:02
Shamariawhich very good10:02
ShamariaI will take the venture and try it10:02
lazypowerYep, and anything that's not there you can write a charm for in your deployer of choice. Whether that be shell script, ansible, chef, compiled bins.10:02
ShamariaWow10:02
Shamarialazypower: I'm really glad talking to you today10:03
lazypowerGlad I could be of help. If you have any questions don't hesitate to ask10:03
Shamariasure I will :) ... what is the best place to get stared?10:03
lazypowerI'm assuming you're running Ubuntu on a rig with at least 8gb of ram and 20gb of free disk space?10:04
Shamarianot really, but I'll handle such requirement10:04
lazypowerI got started with the local provider - https://juju.ubuntu.com/docs/config-local.html10:04
Shamariadoes it need all the 8GB of ram??10:05
lazypowerOnly if you're planning on deploying 3+ services on a local provider configuration10:06
ShamariaI see10:06
lazypowerit runs quite well on AWS small instances10:06
Shamariav.nice10:07
ashipikaactually i'm playing with virtual machines and null environment :D10:07
Shamariaya!10:07
lazypowerHows that coming ashipika? I haven't taken a look at the null provider in about a month. I htinkt hey just pushed another rev this week didn't they?10:07
ashipikait's going great..10:08
Shamariaone last question friends ... is the MAAS to Juju is like Hypervisor to Openstack??10:09
ashipikai created two images.. a "controller" image and a "compute" image.. controller is automatically bootstrapped when it starts (and has at least 5GB of persistence partition - labeled casper-rw) and when i boot up a compute VM (again with at least 5GB of persistence) it automatically adds itself to the juju environment..10:09
lazypowerawesome :)10:09
ashipikayou can check it out here: xmaas.xlab.si (no connection to maas)10:09
ashipikajust writing a short tutorial for our guys10:09
lazypowerShamaria, Correct. Maas is a provisioner, same as the hypervisor.10:09
lazypoweronly, it works with bare metal not virtual machines.10:10
Shamariau mean real servers?10:10
lazypowerCorrect10:10
Shamariaand can't be VMs10:10
ashipikayes.. read servers10:10
ShamariaOh .. I see10:10
lazypowerwell, dont say can't be vm's10:11
ShamariaLOOL .. I get you10:11
lazypowerbecause as I understand it, there is support for LXC containers coming to MAAS in the future10:11
lazypowerno ETA on it from me though, because its from the rumor mill at this point.10:11
ashipikabut MAAS requires you to have a separate network, because it needs to set up its own DHCP and DNS servers10:11
lazypowerI want to play with MAAS so bad, i just dont have the setup for it.10:11
ashipikatry my images.. close to maas, but not quite :)10:12
ashipikaand it works in VMs10:12
Shamariathat's great to hear ... isn't MAAS a base rquirement for Juju?10:12
Shamariathat juju can't work without?10:12
lazypowerTell ya what ashi, when I'm not writing a plan for reducing cost of ownership on a network I'll do that.10:12
lazypowerShamaria, incorrect. Juju is independent of MAAS10:13
Shamariawhen mass is needed then10:13
Shamaria?10:13
ashipikaonly when you want to provision bare metal servers..10:13
ashipikaand deploy your services on the10:13
lazypowerWhen you want to use MAAS as a provisioner, it would assume the role that one of the other providers is assuming (Read: AWS, HPCloud, LXC, Etc.)10:13
ashipikathem\10:13
Shamariadoes this mean juju uses a similar architecutre of openstack's??10:14
Shamariadatabase, rabbitmq, ...10:15
Shamariaetc.10:15
ashipikajuju can deploy those for you..10:15
lazypowerIt uses a controller unit, rabbitmq, zookeeper, mongodb.10:15
lazypowerso not quite like openstack10:15
Shamariabut the same idea10:15
lazypoweri'm going to disclaim this - i'm not an openstack expert by *any* sense of the phrase10:15
lazypowerso take my comparisons with a grain of salt and maybe some light research.10:16
ShamariaOk10:16
ashipikaopenstack does not deploy services for you, does it?10:16
Shamariait is an IAAS10:16
lazypoweri dont think so10:16
ashipikayes10:16
Shamariaso it doesn't help you providing any service10:17
ashipikajuju deploys services and does orchestration in a beautiful way :)10:17
ashipikaexactlly10:17
Shamariabut it helps managing your cloud of servers10:17
ShamariaYes10:17
ShamariaThat's what I newly knew :)10:17
ashipikaso if you say juju deploy something it will by default as the provider to provision a new machine.. unless you specify --to option that lets you decide where you want to deploy stuff10:18
Shamariaso, can I make use of virtual cloud machines to be that new machine?10:19
lazypoweryep10:19
ashipikayup10:19
Shamariaso it can be utilized on top of openstack10:19
Shamariathat;s really good10:19
ashipikayes10:19
Shamariawhy Juju is not that famous10:20
ashipikaor use maas if you have some extra machines around10:20
Shamariadoes it have bugs or it is unreliable in any way?10:20
Shamariaashipika: Yes10:20
ashipikawell.. it is in development.. so yes, expect some bugs.. i stumbled upon a few while testing.. but the good thing is that development is really active and bugs get fixed quickly10:21
lazypowerShamaria, its gaining steam. The best part of juju is the quality gating through the charm store10:21
lazypoweryour work will not be listed as public unless it passes the community review process10:22
lazypowerThis works for building block charms, i'm helping a company here in Pittsburgh onboard with juju for their proprietary stuff since the orchestration just "makes sense"10:22
ShamariaI see10:24
Shamariawhat is the mature similar application out there, I'm talking about open source ones?10:24
lazypowerI think the big draw for juju is the gui, and the fact you're not tied to a specific framework for your deployer.10:24
ashipikabr10:24
ashipikab10:24
lazypowerThe wordpress charm works really well, discourse, mongodb10:24
lazypowerI'm getting pretty close to pushing a release candidate for errbit10:25
ShamariaI thought Juju's power is its GUI10:26
Shamariawhat do you mean by "specific framework for your deployer"??10:26
lazypowerThe gui is slick, but everything you do in the gui you can do with the CLI10:26
Shamariaof course10:26
lazypowerMeaning you're not tied to just chef, or ansible, or bash.10:26
lazypoweryou can literally use whatever deployer framework you want10:27
Shamariais that a bad thing?10:27
lazypowernope, its flexible10:27
Shamariayep10:27
Shamariabrb10:28
ashipikathe only thing i REALLY miss in GUI is the --to option10:28
ShamariaI'm back10:33
ShamariaOne very important question10:33
Shamariaafter installaing some architecture with the required connections between the apps10:34
Shamariathen I decided for any reason to uninstall the juju10:34
ashipikayes?10:34
Shamariawill this affect by any mean the installed architecture10:34
ashipikawell.. no.. unless juju gets stuck destroying a unit or something..10:34
lazypowerI don't think that's recommended. You can power down the controller unit when its not in use to help reduce overhead costs if thats you're concern10:35
ashipikabut i would say that really depends on the charms you deploy10:35
ashipikalazypower: do i understand correctly that i must subscribe "charmers" if i want a charm to go through the review process?10:37
lazypowerCorrect10:38
lazypowerhttps://juju.ubuntu.com/docs/authors-charm-store.html10:38
lazypowerin-case you need a refresher.10:39
rawanghello guys , i wonder after I installed ceph-radosgw, how do i test it from cli?10:39
Shamarialazypower: , ashipika: one point is still not so clear to me ... is it possible that MAAS will consider VMs as bare-metals10:41
ashipikai never played with VMs and MAAS.. since it uses PXE boot to provision new machine it need to set up its own DHCP server or change the existing one -> our admins would go bat-crazy if i tried that..  so i created a dedicated network just for MAAS testing..10:42
lazypowerShamaria, http://www.slideshare.net/openstackindia/maas-juju-introduction10:43
Shamariathis makes you opt for the virtualization10:43
lazypowerreally good set of slides over Juju, Maas, and whats capable at a high level.10:44
Shamariamoreover, there must be a way to disable the isntallation of DHCP and DNS servers10:44
Shamarialazypower: the presentation you sent means yes10:47
ShamariaMAAS can handle cloud instances as bare metal10:47
ShamariaDid I get it right?10:48
lazypowerNot a MAAS expert, last i tried maas it wanted bare metal.10:48
lazypoweri think theres a VMAAS coming down the tube, but its going to be experimental if its available10:48
Shamariawhat if I wanted to deploy the service on multiple VMs10:49
Shamariawhat shall be done10:49
Shamariawill I have to handle this manually?10:49
lazypowerDepends on the provider. If you're using one of the supported providers - no. It talks to the provider via their API and spins up a new server, bootstraps it, and then loads your service10:50
lazypowerif you're going with the null provider, provisioning machines is a manual process10:50
ShamariaI'm afraid I have a very basic question ... what is the provider ?10:51
lazypowerJuju supports provider environments. Think of the provider as whatever service is going to be "providing" your machines. If thats bare metal, virtual, or otherwise.10:52
ShamariaI see your point10:54
Shamariado you have examples of providers?10:54
ashipikaShamaria: as i wrote earlier.. if you want to play with VMs you can always try the images at xmaas.xlab.si and the null environment/provider10:54
ashipikait also gives you the option of creating bootable CD/USB, plug it into a machine and have it "bare metal"10:55
ashipikai.e. without virtualization10:55
Shamariaashipika: Yes, you already said that .. exuese my novelty :)10:55
ShamariaThanks a lot10:55
lazypowerashipika, bookmarked for later :)10:56
Shamariahahaha10:56
ashipika> /dev/null :D10:56
ShamariaLOL10:56
Shamarialazypower: , ashipika:  I really thank you both a lot10:59
ShamariaI learned much from you today10:59
lazypowerAnytime. Happy to help10:59
ShamariaI'll keep returning to this room10:59
ashipikaShamaria: you're welcome.. i'm just a juju beginner myself10:59
Shamariabut you helped a lot :)11:00
ShamariaYou both have a really good day/night11:00
=== morty_ is now known as morty
=== gary_poster|away is now known as gary_poster
=== BradCrittenden is now known as bac
InformatiQHei guys anyone care to test this charm for me https://bugs.launchpad.net/charms/+bug/79548013:53
_mup_Bug #795480: Charm needed: Trac <bitesize> <Juju Charms Collection:Incomplete by rhanna> <https://launchpad.net/bugs/795480>13:53
=== kirkland` is now known as kirkland
marcoceppijcastro: remember when you used to be able to get PNGs of a juju deployment15:17
marcoceppiwas that in jitsu?15:17
jcastroit wasn't png's it was a gource thing15:17
jcastrowe just piped status to gource15:17
jcastroor do you mean like a picture of a deployment? I don't think we ever did that did we?15:17
marcoceppijcastro: we def did. I can't remember if it was juju status --format=png or if it was in jitsu15:18
jcastrohuh15:19
jcastromarcoceppi, ok here we go16:18
marcoceppijcastro: where are we going!16:18
jcastroI am going to test negronjl's sharding mongo config via the local provider16:18
* marcoceppi holds breath16:19
negronjljcastro: good luck ( you'll need it ) :)16:19
jcastronegronjl, load is 10!16:29
negronjljcastro: never tested it on local provider ... better you than me :P16:30
jcastroyeah16:30
jcastroit's not bad16:30
jcastromachine is totally usable16:30
jcastroload is now 15 and climbing16:31
jcastronegronjl, dude, it's working16:37
jcastrowell, well on its way to working16:37
negronjljcastro: cool16:37
=== medberry is now known as med_
lazypowerNice! You're swamping me already, i only deployed 12 units16:47
lazypower3 shards, x repls + config servers + arbiter16:47
lazypowerLet me see your YAML when you're done please16:48
=== Guest26569 is now known as Kyle
jcastrojorge@jilldactyl:~$ sudo juju bootstrap19:26
jcastroERROR cannot use 37017 as state port, already in use19:26
jcastromarcoceppi, any ideas there?19:26
jcastrohi fwereade19:32
jcastroany idea why I would get this:19:32
jcastrojorge@jilldactyl:~$ sudo juju bootstrap19:32
jcastro ERROR cannot use 37017 as state port, already in use19:32
marcoceppijcastro: it means you've already got juju-db running19:32
jcastrooh ok19:32
jcastroso restart it?19:32
marcoceppiinitctl list | grep juju19:32
marcoceppisounds like a bad destroy19:33
jcastroit is not running19:33
jcastrobut yeah, probably a bad destroy19:33
marcoceppisomething is using that port, what does ps -aef | grep mongo show?19:33
fwereadejcastro, yeah, that sounds most likely19:33
jcastromongod is using the port19:33
jcastrodo I stop or restart it?19:33
fwereadejcastro, if you set api-port and state-port you should be able to run multiple local providers fwiw19:33
marcoceppistop it19:33
jcastrowhen I stop it it seems to fire back up19:34
marcoceppijcastro: ohhhhhh19:34
marcoceppijcastro: these are probably per user upstart jobs19:35
marcoceppimaybe not, idk if juju is using thatyet19:35
marcoceppiwhat does sudo initctl list | grep juju show?19:35
jcastrohttp://paste.ubuntu.com/6722577/19:36
marcoceppijcastro: yeah, sudo stop juju-db-root-local19:37
marcoceppijcastro: then19:37
marcoceppijcastro: I want you to try something different19:37
jcastrook19:37
marcoceppidon't use sudo during bootstrap19:37
marcoceppijcastro: the suspense is killing me19:43
jcastrook19:47
jcastroerrors out with the normal "sudo must be used"19:47
marcoceppijcastro: ah, damn. Thought something magically had happened19:48
jcastroshould I try to sudo bootstrap again?19:48
marcoceppijcastro: yes19:49
jcastroERROR Get http://10.0.3.1:8040/provider-state: dial tcp 10.0.3.1:8040: connection refused19:49
* thumper looks briefly at chatter19:49
thumperyou guys tring to get multiple local providers working on one machine?19:49
jcastrono19:49
marcoceppithumper: no, just one19:49
thumperoh19:49
jcastroI am trying to get one local working19:49
marcoceppijcastro: try your good 'ol .jenv dump19:50
thumperjcastro: what is the tl;dr of the situation?19:50
jcastroI ran out of disk space19:50
jcastroso I added a drive and remounted /var/lib/lxc19:51
jcastroERROR environment is already bootstrapped19:52
jcastrowhen I try to bootstrap, but there are no containers running19:52
marcoceppidelete the local.jenv ?19:52
jcastroyep19:52
thumperjcastro: are you looking for the definitive list of shit to delete?19:52
marcoceppijcastro: rm -f /etc/init/juju-* ?19:52
=== CyberJacob|Away is now known as CyberJacob
thumperthere are to init files in /etc/init, one for the machine agent and one for the mongo db19:53
thumperthere is a file in /etc/rsyslog.d for the logging19:53
thumperthere are the containers defined in /var/lib/juju/containers19:53
thumperthere are the containers themselves in /var/lib/lxc19:53
thumperthere is the directory in ~/.juju/<environ>19:53
thumperthere is the .jenv file in ~/.juju/environments19:54
thumpernuke all those19:54
* marcoceppi makes notes19:54
jcastrowhich is the file for mongo?19:54
* thumper looks19:54
jcastromongodb.conf?19:54
thumpernope19:55
thumper/etc/init/juju-db-<user>-<envname>.conf19:55
thumper/etc/init/juju-agent-<user>-<envname>.conf for the machine agent19:55
jcastroshould I move back to 1.16.5?19:56
thumper/etc/rsyslog.d/25-juju-<user>-<envname>.conf19:56
thumperjcastro: this hasn't really changed between 1.16.5 and 1.1719:56
jcastrosigh19:56
jcastrothis never works for me19:56
jcastroI'll just skip this and come back to it19:57
jcastroI'm supposed to be reviewing 2 charms a day, not one charm in 2 days!19:58
thumper:-(19:58
=== freeflying is now known as freeflying_away

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