/srv/irclogs.ubuntu.com/2014/06/19/#juju.txt

mwhudsonis there much practical difference between the local provider and using the manual provider and using --to lxc:0 all the time?02:42
josemwhudson: well, manual is for boxes that are not your PC, so you can do what you do with local in an external server :)02:58
joseusing Juju and isolating each service into an LXC container02:58
axwmwhudson: there's not a significant difference really. in the local provider you can do "add-machine" and it creates lxc/kvm containers under the covers, but that's about it as far as differences go I think.03:21
mwhudsonok03:22
* mwhudson is going to try to smash openstack onto a single machine because that's all the arm64 nodes i have to play with right now...03:23
mwhudsonhaha uh, is juju-deployer and the local provider a bad combination?03:38
=== thumper is now known as thumper-cooking
=== CyberJacob|Away is now known as CyberJacob
=== vladk|offline is now known as vladk
=== CyberJacob is now known as CyberJacob|Away
=== isviridov|away is now known as isviridov
jamespagejacekn, https://code.launchpad.net/~jacekn/charms/precise/swift-storage/n-e-m-with-concat/+merge/221692 appears to have more than just the nrpe support - lots of changes around how rsync is managed as well?08:47
jaceknjamespage: yes it enabled rsyncd functionality, otherwise swift will wipe rsyncd.conf08:53
jaceknjamespage: so in other words swift charm was not subordinate friendly08:53
jamespagejacekn, ah - so the nrpe sub uses rsync as well?08:53
jaceknjamespage: yes, *external-master part means nagios is not part of the environment08:54
jaceknso it needs to grab configs somehow08:54
jaceknif/when we get cross environment relations we can rethink this approach08:55
=== Ursinha is now known as Ursinha-afk
=== vds` is now known as vds
=== thumper-cooking is now known as thumper
X-warriorDoes juju supports amazon subnet (vpc) ?11:46
lazypower-travelNot yet. There's an open ticket to work with vpc11:48
lazypower-travelYou can use the manual provider to interface with aws vpc deployments in the interim... But the aws provider as of today doesn't support it.11:49
=== vladk is now known as vladk|offline
=== Ursinha-afk is now known as Ursinha
automatemecolemaCan anyone tell me if Juju has a restful API?14:37
jcastromarcoceppi, I need  a link to your 2nd troubleshooting charm school14:38
jcastroautomatemecolema, yeah, looking for the spec, one sec14:38
automatemecolemajcastro thanks sir14:39
marcoceppijcastro: https://www.youtube.com/watch?v=75gKKnv_ze8&list=UUm7OifwnZoMCChidCJZQruQ14:40
marcoceppiautomatemecolema: no, not restufl, it's a websocket API14:40
galebbacan anyone tell me what is the minimum nodes require to setup openstatck with juju ? can i do a all in one with juju ?14:40
jcastromarcoceppi, this spec from kapil is from 201214:41
marcoceppigalebba: the BARE minimum is two nodes. Recommended is seven, and if you want HA it's about 1214:41
jcastroI am asking for API docs, let's see if they exist14:41
lazypower-travelgalebba: I've got a bundle that deploys 9 service nodes in a bare openstack setup14:41
marcoceppijcastro: it's a websocket API, not resful, and it's been implemented and the docs exist in the code base (kind of)14:41
jcastromarcoceppi, hah, remember this? https://launchpad.net/~jrapi14:42
galebbaThanks guys, so the two minimum would be not counting the boot strap node i assume ?14:42
lazypower-travelgalebba: it does include. its completely acceptable to deploy Openstack on a single machine to encasing VM's depending on the resources provided by that single machine.14:43
marcoceppiautomatemecolema: https://github.com/juju/juju/blob/master/doc/api.txt and there's a Python library that allows you to connect to the websocket, https://pypi.python.org/pypi/jujuclient/0.0.614:43
jcastrolazypower-travel, do you have a link to that CMU OpenStack day? I am making the conference schedule14:43
lazypower-traveljcastro: I don't - i'm still wrangling for a date out of them.14:44
marcoceppigalebba: it does, what you do is put all the supporting services on the bootstrap node in VMs, then use the second machine as your nova-compute node14:44
marcoceppi(vms being containers, like LXC or KVM)14:44
lazypower-travelmarcoceppi: good follow up, ty for clarifying my generic statement.14:45
automatemecolemamaroceppi thanks for the info, ill review it shortly14:45
marcoceppilazypower-travel: yeah, you really don't want to virtualize the compute node, virt in virt is pretty slow14:45
galebbaok thanks, i would like to use 3 physical nodes to distribute the boot strap/open stack control nodes. Any pointers to how to do that ?14:45
lazypower-travelmarcoceppi: i'm aware. re: testing virtualbox inside of KVM14:45
marcoceppigalebba: you can, there's no real pointers I can give other than how to do it14:46
marcoceppiDon't use ceph, as it needs it own machine and doesn't work well virtualized, so you'd do everything with juju deploy --to lxc:1 (where 1 is the machine you're using for control nodes), then juju deploy nova-compute and create all the relations14:47
marcoceppiit's be a very light weight deployment of openstack, keystone, mysql, the image service stuff, compute and compute controller14:48
jcastroautomatemecolema, so the core team tells me API docs are a work in progress btw14:51
automatemecolemajcastro Do they have a roadmap time frame of when these will be GA? We are on the hinge about whether to use juju as our production service orchestration engine or use something more supported14:53
automatemecolemaWe really want to create a Continuous delivery environment using Puppet, Jenkins, and Juju. Having the api docs will allow us to integrate Jenkins with Juju14:55
lazypower-travelautomatemecolema: actually - you dont need to push directly to the websocket API for that automatemecolema14:55
lazypower-travelautomatemecolema: there's a juju run command. if you've got your environment configs on your CI server, you can use the juju CLI to perform your workload management from the CI Server14:56
jcastroautomatemecolema, here's the start: http://godoc.org/github.com/juju/juju/state/api14:56
lazypower-traveli may be missing the specific requirements though, and just wanted to be clear that there are a few ways to tackle the integration.14:56
natefinchautomatemecolema: you may well be better off scripting against the juju CLI client... the API is not really designed to be consumed by outsiders consumers at the moment.  You certainly *can*... there will just be a steep learning curve14:58
=== natewarr_ is now known as natewarr
TheMueautomatemecolema: from a technologically perspective it’s not RESTful, but it uses a websocket connection to transfer requests and responses encoded in JSON14:59
automatemecolemanatefinch I really sounds like maybe developing scripting utilizing the Juju CLI is the best route moving forward at this point.15:01
natefinchautomatemecolema: it definitely is where we have put the most development time.  The CLI is the primary way we expect people to interact with juju, and things which are simple with the CLI may be quite complicated going directly against the API.15:02
natefinchautomatemecolema: there's basically only one thing the CLI can't do that you can do via the API, which is create watchers to get updated when stuff in juju changes (so like, getting a notification that a new machine was added).15:03
pmatulis_where do i get a list of charms that i can use?  https://jujucharms.com/ looks like some kind of demo site15:30
pmatulis_and for folks on a cli server, should i need a desktop/browser to see a list?15:31
=== mhall119_ is now known as mhall119
=== vladk|offline is now known as vladk
jamespagehazmat, https://code.launchpad.net/~james-page/juju-deployer/pyyaml-fixup/+merge/22377615:40
jamespagebusted in utopic right now15:40
hazmatack, thanks15:41
hazmatjamespage, pushed to trunk15:42
jamespagehazmat, ta15:42
=== scuttlem` is now known as scuttlemonkey
=== seelaman` is now known as seelaman
=== vladk is now known as vladk|offline
=== vladk|offline is now known as vladk
=== vladk is now known as vladk|offline
achianghi, working through the nodejs charm tutorial... is it appropriate to hack up the mongo-relationship-changed hook? or should that be considered "don't touch if you can avoid"16:23
achianguse case is -- i want to run a bunch of data import scripts when mongo comes online16:23
achiang(my importers are in python, and the data lives in the source tree)16:24
achiangseems like the logical place to do this is in the mongo hook16:24
=== vladk|offline is now known as vladk
purpledog2all, I am a 100% novice to maas and juju. I am trying to get juju to speak to the maas controller and having trouble. This is my setup.16:28
purpledog2I have a maas controller with 2 nodes. Each node is a virsh vm.16:28
=== vladk is now known as vladk|offline
purpledog2I have juju installed on my x86 laptop with a 14.04 ubuntu trusty envoronment16:29
=== vladk|offline is now known as vladk
purpledog2I do not want the maas controller to install ubuntu or anything on the nodes.16:29
purpledog2How do I get up and running to installing charms on those nodes ?16:29
=== vladk is now known as vladk|offline
purpledog2I read that 'juju bootstrap' forces the maas to install ubuntu etc on the nodes which is not relevant for me.16:30
=== vladk|offline is now known as vladk
purpledog2What do I do after creating the environments.yaml file with the credential info to get to installing charms ?16:30
purpledog2??16:30
pmatulis_how do i get a "unit" out of the *pending* state?16:32
pmatulis_http://paste.ubuntu.com/7669926/16:32
=== vladk is now known as vladk|offline
purpledog2anyone ?16:36
=== vladk|offline is now known as vladk
jcw4purpledog2: the documentation is a little vague on that point :)16:39
purpledog2I think you are correct but there has to be someway to get it done .. it seems kinda basic ?16:40
jcw4I think juju deploy <charm> is what you're looking for?16:40
purpledog2even the documentaion on the juju ubuntu site dicates "juju --sync-tools" precedint a bootstrap which is incorrect16:40
jcw4purpledog2: I just noticed though that it looks like you want juju to use the existing ubuntu os on your nodes?16:41
purpledog2Do I not need to do anything else before juju deply charm ?16:41
purpledog2How do I dicate which node to deply the charm to ?16:41
=== vladk is now known as vladk|offline
purpledog2I need a way to know if basic setup and comunication works between the juju client and the maas server ?16:41
jcw4purpledog2: (I'm way out of my depth here, but does this help? https://juju.ubuntu.com/docs/charms-deploying.html)16:41
purpledog2BTW does the maas server need juju to be installed ?16:41
jcw4purpledog2: assuming you started with https://juju.ubuntu.com/docs/config-maas.html16:42
=== vladk|offline is now known as vladk
purpledog2jcw4: thanks ..  Yes I followed the maas documentation. but I think juju deployment documeation needs differentiion between when the nodes work with VMs that are already created (in which case it doesn't need to really install ubuntu) vs nodes that are just physical bare servers with nothing on it16:44
jcw4purpledog2: yeah, I'm not too clear on that, but at the very least jujud will need to be running on the machine16:45
jcw4purpledog2: and I think ubuntu is expected to be the base OS16:45
purpledog2jcw4: thanks .. I do not think I have jujud running on the maas server. I will research that now. thanks for the tip..16:47
jcw4purpledog2: I believe that part of juju bootstrap is getting that installed and running16:48
purpledog2jcw4: I really wish I could find some real good tutprial on juju and a hands down on each step.. maybe if I have it figured out I will share it!!16:48
purpledog2However if a VM is up already there is no installation required and wish juju doc^n would mention what is expected when the nodes are virsh nodes.16:48
jcw4purpledog2: yeah; usually there are folks in this channel who know enough to help; I'm just jumping in out of interest :)16:50
=== isviridov is now known as isviridov|away
=== roadmr is now known as roadmr_afk
dpb1Anyone know about juju and why it would be causing my syslog to be zero length.  perhaps related to the local provider?17:34
galebbasetting up juju bootstrap node behind a proxy and getting the follwing curl error. Everything else seems to be downloading correctly with maas passing proxy/dns . Any idea how to get around this ?  curl: (7) Failed to connect to streams.canonical.com port 443: Connection timed out17:34
=== scuttle|afk is now known as scuttlemonkey
=== CyberJacob|Away is now known as CyberJacob
sarnoldjcastro: jamie provided a nice answer to http://askubuntu.com/questions/485401/ but it's currently a vote behind the 'leader' -- mind giving jamie's answer a read and maybe evening out the vote count? :) thanks17:46
jcastrosarnold, it helps if he mentions right up front that he helped spec, design, and implement the whole thing17:46
sarnoldjcastro: good idea17:47
achianghi, i'm working on a charm, and trying to iterate. is it really the case that i have to remove-service and then add-service to test changes? why doesn't juju deploy Just Work on a failed charm? alternatively, does juju have a concept of "upgrade" ?17:51
achiangok, i found upgrade-charm and --force17:52
achiangi'm going to try that17:52
jcastroyep17:52
jcastroachiang, make sure you read juju help upgrade-charm17:52
jcastrofor a failed deploy17:53
jcastroyou'll want `juju resolved --retry foo`17:53
achiangoh17:54
jcastrobac, arosales: you guys need to stop stepping on each other in my PR please18:16
bacjcastro: i think where there is conflict it is implementer's choice18:16
arosalesjcastro: /me just adding comments18:16
jcastrook well, I've been trying to go to lunch for 30 minutes but you guys have turned "add quickstart" to "let's do an entire review of every page this touches"18:18
bacand i was just adding clarification.  at no time did i call arosales a mutton-head18:18
jcastrowhich is fine, we can just do that after.18:18
arosalesjcastro: feel free to take lunch now and come back to comments later18:19
jcastroI would just like to commit!18:19
arosalesjcastro: patience :-)18:19
arosalescomments are good :-)18:19
jcastroand that's fine18:19
=== scuttle` is now known as scuttlemonkey_
=== scuttlemonkey_ is now known as scuttle|afk
=== roadmr_afk is now known as roadmr
arosalesjcastro: my comments are in for your https://github.com/juju/docs/pull/12318:41
=== vladk is now known as vladk|offline
arosalesjcastro: thanks for working on that18:41
=== scuttlemonkey_ is now known as scuttlemonkey
achiangjcastro: hey, is there a known issue with the nodejs charm? http://pastebin.ubuntu.com/7670829/19:15
achiangabove occurs when i remove-relation, followed by remove-service19:15
jcastroon the phone19:16
=== roadmr is now known as roadmr_afk
=== pmatulis_ is now known as pmatulis
=== roadmr_afk is now known as roadmr
=== natewarr_ is now known as natewarr
galebbasetting up juju bootstrap node behind a proxy and getting the follwoing curl error. MAAAS boots up the node and installs ubuntu just fine.Seems to be curl not setup for proxy ?  Any idea how to get around this ?  curl: (7) Failed to connect to streams.canonical.com port 443: Connection timed out20:22
automate_Can anyone tell me how to have juju associate an haproxy charm with an Elastic IP on Amazon?20:48
natewarrDoes anyone have knowledge about how a juju charm could pick up a specified EIP on EC2? Then for kicks, run these with 2 nodes for HA?20:48
natewarr /delete automate_20:48
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
=== scuttle|afk is now known as scuttlemonkey
=== scuttlemonkey is now known as scuttle|afk
DelairHi ALL.. Any juju openstack expert in this IRC .. Need some help to deploy openstack in 2 nodes using juju21:54
DelairHi ALL.. Any juju openstack expert in this IRC .. Need some help to deploy openstack in 2 nodes using juju22:02
sarnoldhello Delair -- note IRC works best if you just ask whatever questions you want to ask :)22:05
Delairsure .. didnt wanted to bug everybody..22:05
DelairCan I install openstack using JUJU + MAAS in 2 nodes only .. ONE to use a controller/network and SECOND  to use as compute node only....22:06
Delairi did setup juju+maas with no issues22:06
lazypower-travelDelair: what you do is put all the supporting services on the bootstrap node in VMs, then use the second machine as your nova-compute node (vms being containers, like LXC or KVM) Don't use ceph, as it needs it own machine and doesn't work well virtualized, so you'd do everything with juju deploy --to lxc:1 (where 1 is the machine you're using for control nodes), then juju deploy nova-compute and create all the relations it's be a very light weight22:07
lazypower-traveldeployment of openstack, keystone, mysql, the image service stuff, compute and compute controller22:07
Delairbut whenever i try to deploy services it automatically tries to choose nodes22:07
sarnoldhey lazypower-travel :)22:07
lazypower-travelo/ sarnold22:07
marcoceppiDelair: what you need to do22:09
marcoceppiis run juju add-machine22:09
marcoceppithis will allocate the second node to juju for use for the compute node22:09
marcoceppirun juju deploy nova-compute22:09
marcoceppithat will place it on it's own node22:09
marcoceppifor everything else22:09
marcoceppiyou need do juju deploy --to lxc:0 <service>22:09
DelairThanks lazypower and marco22:10
marcoceppithat will put it on the bootstrap node as an LXC container22:10
lazypower-travelmarcoceppi: read above ^ i got you covered. Paraphrased from earlier.22:10
Delairthis is exactly what i want and what i tried to do22:10
marcoceppilazypower-travel: ah, didn't see your message with the --to22:10
lazypower-travelits all buried :)22:10
Delairi bootstrapped to one node22:10
Delairand tried manually deploying services using --to option to one node22:11
lazypower-travelDelair: did you use --to lxc:0 ?22:11
Delairbut as soon i tried to build realtion using sql and keystone it give me error messsage "hook failed: "config-changed"'22:12
DelairI tried lxc also22:12
marcoceppiDelair: is the error on mysql?22:12
lazypower-travelDelair: did you read the README on the MySQL charm?22:12
Delairmarco the error was on keystone22:12
lazypower-travelo nvm22:12
Delairlazypower the issue with lxc is that it assign 10.30.0.x ip to each container which i dont know how to access from outside22:13
marcoceppiodd, can you run juju status and redirect it to pastebinit? (juju status | pastebinit)22:13
Delair@lazypower no i didnt ready the README on mysql22:13
Delair@marco not sure what is pastebinit22:14
Delairi tried to look online to fix the "hook failed: "config-changed"' and looks like it is a bug22:14
DelairSO :)22:15
Delairis there system requirement and step by step document which i can following to install openstack in 2 nodes22:16
=== hmatlock is now known as heath
=== CyberJacob is now known as CyberJacob|Away

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