/srv/irclogs.ubuntu.com/2013/05/03/#juju.txt

=== wedgwood is now known as wedgwood_away
=== defunctzombie_zz is now known as defunctzombie
=== gianr_ is now known as gianr
TheChistoso|2is there an environment variable i can use to point to environments.yaml?04:42
TheChistoso|2and for that matter, config.yaml?04:42
=== defunctzombie is now known as defunctzombie_zz
_mup_Bug #1175958 was filed: New peer relations not created when upgrading charms <amd64> <apport-bug> <raring> <juju:New> <juju (Ubuntu):New> <https://launchpad.net/bugs/1175958>09:20
sidneijamespage: hi! replied to your review, the install hook actually adds the ppa and installs the dependencies.11:27
jamespagesidnei, I'd missed that11:37
sidneiyeah, might need to adjust the readme to mention so11:38
jamespagesidnei, how do you guarantee that the versions of tools you are pulling from the ppa are the same ones that the charm was tested with11:38
jamespage?11:38
sidneithats tricky. and also the fact that a ppa is not frozen, so an update to the ppa could break the charm.11:39
sidneiwedgwood_away created a stable and dev ppa, im using the stable one, which supposedly would only get updates if it doesn't break the charm.11:40
jamespagesidnei, yeah - its tricky - we have exactly the same issue with the openstack charms11:43
jamespagesidnei, which is why we actually embed the helper in the charm11:43
jamespage(s)11:44
sidnei'static linking' ftw. ;)11:44
jamespagethat way there is no requirement for a PPA; and DC's where there is limited outbound network access don't break11:44
jamespagesidnei, man - its the way to fly!11:44
jamespage*(apparently)11:44
sidneijamespage: so what do you suggest? include a copy of the deps?11:47
jamespagesidnei, yep11:48
* jamespage ducks behind his desk to avoid being shot11:48
jamespagesidnei, its a compromise but its the only one that meets the objective that a charm should be installable by default from the main ubuntu archive11:48
sidneijamespage: the other one being getting charmsupport into the archive, which is a pain on itself.11:49
jamespagesidnei, well its not that bad11:50
jamespagewe could package and drop it into saucy and then backport back through to precise11:50
jamespagebackports is an official part of the archive so does get mirrored11:50
sidneiand then you get into SRUs :)11:50
sidneiah, backports11:50
jamespagesidnei, yeah - which is why actually taking the static link method is good11:51
jamespagesidnei, I know it goes against all our ingrained distro knowledge11:51
sidneiok, i'll go that route then. will make it so that 'make sourcedeps' can be used to automate the update of those copies, so that you can just run that and commit11:55
jamespagesidnei, makes sense to me12:00
hazmatjamespage, do you need a fix for that peer rel issue on upgrade?12:50
jamespagehazmat, well other than myself I'm guessing that no-one has hit that issue right now12:51
jamespageas the HA branches are still in final testing12:51
jamespagebut I think that any juju based openstack deploys out there right now would be blocked on taking advantage of these features as a result12:51
jamespagehazmat, is it a huge amount of work?12:51
hazmatjamespage, not really.. http://paste.ubuntu.com/5629022/12:52
hazmatthat's the diff for the fix12:52
jamespageI see - not huge then12:52
jamespagehazmat, in that case - yes please!12:52
=== defunctzombie_zz is now known as defunctzombie
jcastromarcoceppi: ping me when you're around13:12
jamespagejcastro, folks are already trying out the OpenStackHA stuff - had a direct email this morning13:16
jcastrohah yeah13:22
jcastrosomeone asked about it on AU and I put a link there too13:22
marcoceppijcastro: ping13:39
jcastromarcoceppi: pong13:42
jcastromarcoceppi: let me fire up reminders to our social networks13:43
jcastroand then G+?13:43
jcastroshoot for the top of the hour?13:43
marcoceppiSounds good, I'll be here13:43
marcoceppijcastro: ack13:45
jcastromarcoceppi: G+ing you14:02
jcastrohey14:02
jcastrowhich account should I be inviting to G+ you?14:03
=== wedgwood_away is now known as wedgwood
mthaddondoes anyone know if there's any issue with running goJuju and pyJuju on the same machine (currently using pyJuju on Openstack, want to test using goJuju without disrupting existing envs)?14:29
mgzmthaddon: you may want to use seperate env files, otherwise no14:33
mgzyou do want to be on raring for the shiny packages14:33
mthaddonmgz: this is a production env that's precise - are there backports of shiny, or if not, will there be at some stage?14:34
mgzyou can deploy on precise... you just want to use the clients from the latest distro packages14:34
mthaddonmgz: do you mean use the raring packages?14:35
mgzyeah14:35
mthaddonmgz: any ideas how easy that'd be to backport to precise?14:37
mgzpretty simple, the point is you want both juju 0.7 and juju-core 1.10.0 with the packaging changes to make them co-installable14:37
mgzand the ppas don't currently have that14:38
mthaddonmgz: ah, I see, so we need juju 0.7 to allow it to be co-installable with juju-core 1.10.0 - gotcha14:40
marcoceppiDoes juju-core work with local provider?14:41
mgzmarcoceppi: no local provider is implemented yet14:42
marcoceppimgz: just checking, thanks :)14:42
mthaddonmgz: how about openstack provider? (sorry, I should know this)14:42
mgzmthaddon: there is an openstack and a maas provider now, though some things are still not quite as polished as in 0.7 yet14:43
mthaddonmgz: understood - so if we have 0.6 installed, but are using a custom branch in juju-origin for a specific env, all local commands (juju status, etc) are using 0.6, but the env itself is deployed with that custom branch, correct?14:44
mgzmthaddon: that's right14:45
mgzfor co-installbility, only the local package matters, as environments aren't compatible anyway14:46
mthaddonmgz: how do you mean, environments aren't compatible?14:46
sidneithe environments.yaml have different keys and both complain about unknown keys iirc14:47
mthaddonsidnei: they require different formats for environments.yaml?14:48
sidneinot 'formats' just some keys within environments.yaml are different14:48
mthaddonright14:48
mgzand you can't bootstrap with pyjuju, then do status with gojuju14:49
mthaddonwas just about to ask that :)14:49
mthaddonhow safe is an upgrade of pyJuju from 0.6 to 0.7?14:50
mgzsafe.14:50
mgzan existing environment will be using a set version on the machines anyway, so all you're changing is your local client14:51
mthaddoncool, thx. And last question (I think). Can we upgrade juju in a running env, or is that a goJuju feature only?14:53
mgzI think that's gojuju only, hazmat might correct me.14:57
hazmatgo juju only on that one15:01
hazmatmthaddon, probably next month, but there will be some tooling in place to enable impl migration15:02
hazmatmthaddon, its a topic for next week15:02
jcastromthaddon: backports of everything to precise are on the team's todo15:04
jcastroDaviey was telling me a "few weeks"15:04
jcastrobut I don't know how accurate that is lately15:04
Davieyhmm15:05
DavieyThat is still the plan.15:05
Davieyit will go in via backports tho15:06
mthaddonthx15:07
marcoceppihazmat: did the local provider fix for juju make it in to the backports?15:08
marcoceppi(on raring)15:08
hazmatmarcoceppi, i believe it did.. mgz?15:14
hazmatmarcoceppi, i added it to trunk since it wasn't there, but the 0.7 for raring was marked fixed15:15
marcoceppihazmat: cool, I'll give it a shot. I saw it was fixed commited but the ppa appears to be behind what's in backports15:15
hazmatthe trunk ppa is behind backports?15:16
hazmatodd15:16
marcoceppippa:juju/pkgs is still the pyjuju ppa, correct?15:16
YoussefkHello, does anyone of you guys know if the reboot problem in juju has been fixed or not?15:35
YoussefkHello, does anyone of you guys know if the reboot problem in juju has been fixed or not?15:36
YoussefkHello, does anyone of you guys know if the reboot problem in juju has been fixed or not?15:38
utlemmingmacroceppi: is there an issue with the mediawiki? When deployed in the GUI, setting the user/password for Admin makes it go straight to config error15:46
hazmatmarcoceppi, yes15:47
AskUbuntuCan I use Juju/MAAS on VPSes? | http://askubuntu.com/q/29012216:09
jcastro45 minute warning on Juju Charm School!16:17
jcastro30 minutes until Charm School!16:33
mgzjcastro: is there a link already, or should I look again on the hour?16:37
jcastromgz: ubuntuonair.com for the stream16:38
jcastroI will post the hangout URL here if you want to join in the actual session16:38
jcastrobut this one is more for new users16:38
jcastrogetting started installing and configuring, etc.16:38
jcastrosince we're starting anew16:38
mgzright, I think it's worth seeing what issues come up there, so was going to listen in16:39
jcastrohe's having some problems with instances coming up on AWS16:56
marcoceppimgz: http://paste.ubuntu.com/5629682/16:57
marcoceppiDeployed two services, but they're not launching instances in AWS16:57
sarasso the ubuntu on air should be starting soon right17:04
marcoceppisaras: it's already started17:04
sarashum17:05
sarasis that why their big white spot on ubuntu on air page17:05
ahasenackmarcoceppi: where, ubuntuonair.com? I don't see the viedeo, just a white area where the video should be17:05
marcoceppisaras: not sure, bad embed code maybe; Here's the stream:" http://www.youtube.com/watch?v=9h5hgfnZcBQ17:05
TheChistosoif i lose my juju bootstrap node, can juju still function?17:05
ahasenackmarcoceppi: thanks17:05
TheChistosoand if a node dies (power supply dies), can i still remove (terminate) it?17:07
=== defunctzombie is now known as defunctzombie_zz
sarascan i use salt stack with juju17:08
sarnoldsaras: you may be able to create a salt subordinate charm, so that salt is available on all your nodes17:09
TheChistosoand simply rebooting a node shouldn't cause anything to necessarily change w/ juju, correct? that is, after services have been deployed to a node, rebooting the machine would have no ill effect on juju (the availability and services that node was running is a different matter)?17:09
saraswhat we can't talk about stack i will be using nginx | node.js | mondb17:12
=== defunctzombie_zz is now known as defunctzombie
marcoceppiOn air page fixed17:12
=== aaron is now known as Guest76074
sarasat least their not using webex agrr 10gen17:13
sarasmetoer.js on node.js that know to talk to mongo17:15
ahasenackjcastro: you should mute, or else the focus switches to your screen everytime you make a noise :)17:15
ahasenackunless you want to speak, of course17:16
jcastronoted17:16
jcastrowe're taking questions in here if you have questions17:16
FunnyLookinHatAnd remove the unity bar from the left...  works against the full-screen view because it's not snapping :)17:16
brejocshell was better ;)17:16
jcastrohe's going to switch to the browsers a bunch17:16
Ben___did I miss the juju charm school?17:17
jcastrohttp://youtu.be/9h5hgfnZcBQ17:17
jcastronope17:17
jcastroin progress right now!17:17
FunnyLookinHatAwesome - thx :)17:17
jcastrofeel free to ask qurestions17:17
FunnyLookinHatweird...17:17
Ben___Is there a hangout link?17:17
jcastrohttps://plus.google.com/hangouts/_/5ce263e3acf52d2a8604ad61d7fa1b7ef01377e7?authuser=0&hl=en17:17
ahayzenjcastro, hit F11 for fullscreen terminal?17:18
jcastromarcoceppi: ^^17:18
Ben___thanks!17:18
mattraejcastro: are you using the ppa version of juju?17:22
sarasshould I write a charm for metoer.js17:23
Guest76074I wrote a juju charm for a service called boundary, wondering about the process to submit it for inclusion.  It is a paid SaaS.17:23
mattraejcastro: cool thx17:23
=== Guest76074 is now known as aaronj____
mattraeneat17:24
jcastroaaronj____: https://juju.ubuntu.com/docs/charm-store.html17:25
jcastroif you prefer to have it on github that's fine too, just plop the link in the bug report17:25
TheChistosoi just realized you guys are doing a web cast :D -- did you happen to catch my questions from earlier?17:25
aaronj____jcastro: thank you17:25
sarasshould I write a charm for metoer.js? jcastro:17:25
jcastroTheChistoso: nope, feel free to AskUbuntu17:25
jcastrosaras: oh yes, absolutely!17:26
jcastrothat would be nice17:26
jcastroTheChistoso: I meant feel free to ask again17:26
TheChistosoif i lose my juju bootstrap node, can juju still function? how would i re-bootstrap?17:27
aaronj____is this console where juju bootstrap was run an EC2 instance or a local machine.17:27
paragladejcastro: our company has made a big investment in puppet and I know it is possible to have juju and puppet work hand in hand.  I would love to see a charm demonstration of this.17:27
aaronj____paraglade: +117:29
paragladejcastro: can one bootstrap node handle many environments?17:30
TheChistosoi'm looking at using juju + maas to deploy openstack. how stable are the openstack charms for use with raring?17:33
sarassalt17:34
FunnyLookinHatTheChistoso, I stepped out for a sec- did someone answer your question about losing the juju bootstrap node ?17:35
TheChistosoFunnyLookinHat: yes17:35
FunnyLookinHatTheChistoso, the [short] answer?17:35
TheChistosoright now, it's a known issue. they're working on HA for bootstrap nodes.17:35
saraslxc17:35
FunnyLookinHatjcastro, Timeline on colocation ?  I know it's dependent upon the Go rewrite...17:36
FunnyLookinHatthx :)17:36
FunnyLookinHatTheChistoso, Ah ok good to know17:36
TheChistosojcastro: i had a question (up above)17:37
jcastroTheChistoso: yep, I'll hit it up next17:37
TheChistosojcastro: (thanks! :D)17:37
TheChistosojcastro: is there a provisional release date for 2.0?17:38
jcastroover the next month or so17:38
TheChistosoi'm working on a PoC, is there a way to easily use an RC/beta version before the official release w/o having to setup an entire development environment?17:39
TheChistosoi don't have 28+ nodes (the required # for use w/ juju) to deploy openstack17:41
TheChistoso(openstack HA that is)17:42
TheChistosojcastro: tyvm17:42
jcastrooh, I can help you there too, I'll get to that one next17:42
jcastrohttps://wiki.ubuntu.com/ServerTeam/OpenStackHA17:42
jcastrofor those interested in HA Openstack17:42
paragladejcastro: in the pyjuju version what is the "open-tunnel" command used for?17:42
sarasjcastro: how can I till what the verison of sevices is in a charm as their are 3 mongodb charms17:43
TheChistosoi've been following that -- i do intend to use ceph -- that page mentions using precise w/ the quantal kernel. how do i set that up? or is that a maas question?17:43
jcastrohttp://jujucharms.com/charms/precise/mongodb17:43
jcastrosaras: I'll explain why there are three in a minute17:44
sarasthanks17:44
ahasenackjcastro: highlight that it's just not a service up and running, but up and running in a scalable fashion17:45
ahasenackjcastro: otherwise people could reach the same state with just a bunch of customized amis17:45
jcastrosure17:46
arosalesahasenack, good point. The scaling embedded with relations is a very nice feature.17:48
ahasenackor even just using fabric17:49
TheChistosojcastro: what if i want to colocate multiple web apps. is that possible?17:49
FunnyLookinHatNow every DDoS his haproxy to test!  :D17:50
FunnyLookinHatTheChistoso, He talked about that - not currently possible... planned as a post 2.0 feature17:51
=== aaronj is now known as aaronj___
TheChistosookay, thanks funny!17:52
FunnyLookinHatfo sho :)17:53
TheChistosojcastro: the openstack HA page mentions using precise w/ the quantal kernel in order to get kernel updates for ceph. how do i set that up? or is that a maas question?17:54
jcastroI'm still looking up how to answer that.:)17:54
jcastroI think that's more of a cloud image question than either juju or maas17:54
TheChistosojcastro: (thanks!)17:54
TheChistosojcastro: that would make sense17:55
FunnyLookinHatGiven that errors are produced occasionally by bugs, is there a way to ensure that a service will always work by specifying a particular charm version ( or set of versions ) ?17:55
mattraeif services need to be related in a particular order, is there a way to tell a juju to automate a complecated rollout?17:55
TheChistosoFunnyLookinHat: how i manage that is by checking out the source and using locally-available charms17:57
mattraecool17:57
FunnyLookinHatyeah - having the source local is... not as clean. :)  But being able to define the version w/ the charm store is a solid fix17:58
FunnyLookinHatAh ok - so it'll cache the charm you've used17:59
paragladejcastro: I thought that was what the control bucket was for.  caching the charms18:00
jcastroyeah18:00
jcastroI think it dumps other stuff in there too18:00
TheChistosojcastro: hey so when are you gonna support windows in AWS? ;D18:01
paragladebefore you bail you should so what happens if you kill an instance in the AWS console. :)18:01
jcastrogood point18:02
paraglades/so/show/18:02
TheChistosolol j/k actually :D18:03
paragladevCD support would be awesome also.18:04
TheChistosodoes anybody actually do that? ubuntu on azure?18:04
* SpamapS hums the song from The Little Mermaid "Poor Unfortunate Souls"18:05
sarnoldTheChistoso: doubtless the azure images weren't done just for giggles :)18:05
arosalesto help clearify its Juju managing Ubuntu workloads in Azure, in the same way Juju manages Ubuntu workloads in AWS18:06
jcastroyeah did I say Juju managing windows at first?18:06
jcastrolet me be clear that "juju deploy sqlserver" would be awesome, it's not anything we're working on.18:07
arosalesjcastro, I think your finaly statement got it correct, just wanted to throw out some additional info.18:07
TheChistosoif i deploy mysql w/ juju on AWS -- is it using EBS to back its data? ephemeral mysql storage wouldn't seem to be a good idea18:07
aaronj___that would be cool to see.18:08
TheChistosothat would be fantastic18:09
sarasjcastro: could someone add rdbms interface to charm18:09
TheChistosojcastro: you play guitar? :D you pretty good?18:11
aaronj___looking forward to it!18:11
FunnyLookinHatjcastro, marcoceppi - Great presentation! thanks guys :D18:11
TheChistosoyes -- thanks guys!18:11
mgzthanks jcastro :)18:12
mattraejcastro: is there a schedule for this training?18:12
arosalesjcastro, marcoceppi thanks18:12
aaronj___thank you18:12
jcastrothanks guys!18:12
ahayzenthanks guys :)18:12
sarasbye18:12
mattraethanks :)18:13
jcastrohttp://juju.ubuntu.com/survey18:13
paragladejcastro: this would be huge to get this working: https://code.launchpad.net/~franciscosouza/juju/juju-vpc/+merge/13416918:13
jcastro^^ feel free to pass that one18:13
aaronj___jcastro: you mentioned a robbie williamson video ... regarding openstack iirc.18:13
jcastroyeh let me find you that link18:13
arosalesjcastro, marcoceppi for the "debug" charm you may want to note the juju version and environment details for reproduction next charm school.18:14
marcoceppisaras: Do you mean like a connection to Amazon's RDS service?18:14
jcastrohttps://www.openstack.org/summit/portland-2013/session-videos/presentation/openstack-in-production-the-good-the-bad-and-the-ugly18:14
jcastroaaronj___: ^^^18:14
jcastrothat's how we roll with openstack in prod18:14
marcoceppiFor those wondering which bug I was talking about, https://bugs.launchpad.net/juju-core/+bug/1172895 it's this one and it's been committed already18:15
_mup_Bug #1172895: relation-list incompatibility with pyjuju: -r <juju-core:Fix Committed by fwereade> <https://launchpad.net/bugs/1172895>18:15
sarasrdbms i think18:15
mattraejcastro: is the plan to have charm school every other week at the same time?18:15
sarasnice18:15
jcastromattrae: yep18:16
mattraejcastro: cool thx18:16
jcastroI'm going to go make sure it's repeating on the calendar18:16
marcoceppisaras: Well, rdbms is a general name for data storage solutions. So MySQL, Postgresql, Oracle, SQLite, etc are all RDBMS systems18:16
mattraeah cool18:16
jcastroI will also send mail reminders to the list, etc.18:16
sarasDRBD18:18
sarassorry to many letters running around lose in my head18:18
marcoceppisaras: ah, the block device mirroring tool?18:19
sarasyes18:19
marcoceppiSo, we don't have a charm for that, I'm not familiar about it18:19
marcoceppiit's implementation but it looks like it would be something the provider implements?18:19
jcastroI think that would be a sub18:20
jcastroyou would plop it on a service18:20
jcastroand it would just start replicating18:20
marcoceppisaras: we do have similar charms like Ceph that can do large continuous filesystems that are HA18:20
sarasceph can speak drbd18:21
sarasso interface that you could talk to ceph over18:21
jcastrothe ceph guy is usually in this room18:21
jcastroI think the question would be how does the ceph charm use drdb18:21
marcoceppior if it uses it at all. I don't see an interface for it, but if you knew ceph and knew how drdb would work you could implement it in to the ceph charm and have it reviewed/merged in to the official one if you had other services that needed to talk to ceph via drdb18:22
* marcoceppi goes to read more about it18:22
jcastroscuttlemonkey knows, he's not here right now though18:23
jcastrochttp://ceph.com/dev-notes/deploying-ceph-with-juju/18:23
jcastroas an FYI18:23
sarasjcastro: so till me if I nut or should i use the node.js as starting point for the meteor.js18:29
sarasthen add the npm command to install is and setup the mongodb inface18:29
sarasinterface18:30
TheChistososo i'd actually like to deploy ceph alongside nova compute nodes. somewhat like piston cloud's solution (if you're familiar w/ that)18:30
jcastrosaras: yeah for sure18:30
TheChistosois that possible?18:30
jcastroman, meteor looks pretty awesome18:31
marcoceppisaras: actually, meteror.js might "just work" with the nodejs charm18:31
TheChistosohow i would structure things is putting keystone/horizon/rabbitmq/mysql in a few HA controller nodes and then putting ceph, nova compute, quantum, swift/glance (swift would just be ceph) on each compute node using locally attached storage18:32
TheChistosohow easy would it be to configure the charms to enable that scenario?18:32
marcoceppisaras: http://jujucharms.com/charms/precise/node-app it's designed to "just work" for deploying node.js apps that use mongodb backends18:32
sarasmarcoceppi: i see that18:33
sarasmarcoceppi: thanks18:34
marcoceppisaras: though it might be good to just make it it's own charm18:34
jcastrohttps://install.meteor.com/18:34
marcoceppisince it's more of a standalone service than it is "a node app"18:34
jcastrohas their install stuff18:34
marcoceppithat's entirely up to you18:34
jcastrohttps://bugs.launchpad.net/charms/+bug/103500318:34
_mup_Bug #1035003: charm needed: meteor <Juju Charms Collection:New> <https://launchpad.net/bugs/1035003>18:34
jcastroSo I think it'd be like a node or rails charm18:34
jcastrojust for meteor apps though18:34
sarnoldwhy on earth would they only support amd64 and i386??18:35
sarnoldI thought it was javascript..18:35
marcoceppisaras: jcastro looking at it, yeah I agree, I think this is probably  it's own charm. It would be awesome as a charm18:35
jcastroyeah so a little yaml file pointing to my meteor app on github18:35
jcastroand deploy18:35
marcoceppisarnold: some node.js modules are compiled C++, like native php extensions18:35
sarasthink i would use npm18:36
sarasnot githud18:36
sarasnot github18:36
jcastroyeah so from experience on the node charm18:36
jcastropeople like having a switch to grab from $wherever18:36
jcastroat first we used a PPA18:36
sarnoldmarcoceppi: ah, so you'd have to compile yourself for othe arches, and the hilarious curl url | sh thing is just for the Big Architectures... okay. :)18:36
jcastrothen some people are like, I want to use the one in the distro not some PPA, etc.18:36
jcastroso having a switch the user can deploy, defaulting to the safe distro version seems to be the defacto best practice18:37
jcastrosaras: do you work on meteor or just use it?18:37
sarasjcastro: no going to be playing with alot soon18:38
jcastroit looks neat18:38
saraslearning mongo now18:38
jcastroon the next screencasts we will talk about platform charms18:39
sarasi love idea of use mongo on server and client18:39
jcastrowhere instead of charming up every single app, we have a stack of platform charms people can use to deploy apps on those frameworks18:39
sarasjcastro: thanks18:42
jcastro<-- off to lunch18:42
ColinRHowdy. I've been looking at implementing juju where I work and had some questions I was wondering if anyone in here could answer. First, from what I've read, juju support for multiple "bootstrap" nodes (don't know the proper term for them), is on it's way. Is there anyway to join in beta testing that feature/possibly contribute, and if so, who should I talk to?19:23
bkerensajuju generate-config -w19:23
bkerensadoes nothing?19:24
ColinRWas that directed towards me bkerensa?19:25
bkerensano19:25
bkerensam_3 or jcastro19:25
bkerensa:)19:25
ColinRno worries, just joined the channel, so I wasn't sure.19:26
bkerensaahh k19:26
bkerensaor marcoceppi even ^19:26
ColinRMy second question is regarding chef. Is there anyone here who has experience working with chef and juju? Currently, we use Noah (https://github.com/lusis/Noah), a Zookeeper alternative, for orchestrating node interaction and chef for node configuration, but juju looks very promising if we can tie in our existing chef cookbooks.19:28
jcastroColinR: for multiple bootstraps, we call that Juju HA19:38
jcastroFor that you'd want to check out the dev mailing list: juju-dev@lists.ubuntu.com19:38
jcastrothere's all so #juju-dev on freenode fore core stuff19:38
jcastrofor your second question19:38
jcastrothere are some people using it with chef solo19:39
jcastroas far as I know so far though, no one's really published a "here's how we reused our chef stuff with juju" yet.19:39
bkerensajcastro: your juju doc for rackspace is no works :P19:42
bkerensahttps://juju.ubuntu.com/get-started/rackspace/19:42
bkerensawhat [] brackets?19:42
jcastroread the top thing19:42
bkerensaalso the command you listed is depracated19:42
jcastro"This doesn't work and is really an inprogress placeholder while we figure out how to make it work, Rackspace Cloud is still in private beta so this answer is probably useless to most people. "19:42
bkerensaLOL19:42
jcastrothey haven't rolled out the stuff we need to work on it19:43
bkerensaah19:43
jcastroTLDR it's not really vanilla openstack19:43
jcastrothey have committed to fix it19:43
bkerensahmm19:43
jcastrothey just haven't yet19:43
jcastroso one day, it will Just Work19:43
jcastroand from ODS I know it's pretty soon19:43
bkerensa:(19:43
bkerensawhat to do with this $500 a month rackspace credit then?19:43
bkerensapftt19:43
jcastrodoes it expire?19:44
bkerensain two years19:44
bkerensa:D19:44
bkerensabut I was going to deploy a wordpress instance for testing my framework19:44
bkerensaand then put up a huge instance to do BOINC19:44
jcastrohttp://www.rackspace.com/blog/ramping-up-our-openstack-investment-involvement/19:44
jcastrotowards the bottom19:44
jcastroWe also realize that the Rackspace public cloud has a number of implementation details that are out of step with common practice in the OpenStack community. Most of these were due to either our early lockdown on features to enable our 2012 launch – or decisions designed to keep in line with our first generation Cloud Servers offering. While  we believe some variation in implementations will be inevitable, we19:45
jcastrodo want to eliminate as many of these as possible to provide as much of a common OpenStack experience as we can. Along those lines, we are committed to take the following steps between now and the end of 2013. Hopefully, this will close most of the gaps that may currently exist:19:45
bkerensaah19:45
jcastrosomeone had a boinc charm somewhere19:46
jcastroI don't think it ever made it into the store19:46
jcastroIt'd be awesome though19:46
jcastrobuild your new cloud, break it in with boinc for like a week19:46
hazmatbkerensa, its not too hard to enable it re rack19:49
bkerensaah19:49
bkerensajcastro: also they are using the old ubuntu logo19:49
bkerensa;p19:49
bkerensasend sladen after them19:50
sarastheir is guide to setup local juju for test and dev right19:50
ColinRThanks for the answers, jcastro. Is juju-core still using Zookeeper? (I'm trying to dig through the source code now, but Go projects are a new experience for me)19:59
jcastroColinR: mongodb20:00
jcastrosaras: yeah, the only bummer right now is that the local provider only works with old juju and not new juju20:00
jcastroso you need to do an update-alternatives to switch the client back and forth20:00
sarashum20:01
jcastroit's not an ideal situation but the local provider for goju isn't finished yet. :-/20:01
jcastrobut using pyju to use the local provider to write a charm should work just fine20:01
saraswill just got apport to say hi by installing ppa verison20:02
jcastrosince the version of core doesn't matter to the charm20:02
=== defunctzombie is now known as defunctzombie_zz
saraswhy "go" any way20:03
jcastroI think we have that on video, sec20:03
jcastrohttp://youtu.be/kKQLhGZVN4A20:04
hazmatColinR, isn't noah single node and dead upstream?20:05
hazmatColinR, re existing chef cookbooks, if you can get them to run solo mode you can have juju pass config into ohai/chef as relation data comes in20:06
ColinRyes. We've forked it and made some changes to support multiple nodes/newer redis versions, but it still needs some work20:07
ColinRThanks, hazmat; looks like the big thing holding us back from jumping to juju is the HA support. I know it's marked high priority in launchpad, fingers crossed it won't be long.20:08
hazmatColinR, i expect will be there this summer20:09
hazmatColinR,  what are you using for chef ha now?20:09
hazmats/we'll20:09
TheChistoso|2how i would structure things is putting keystone/horizon/rabbitmq/mysql in a few HA controller nodes and then putting ceph, nova compute, quantum, swift/glance (swift would just be ceph) on each compute node using locally attached storage -- how easy would it be to configure the charms to enable that scenario?20:10
ColinROur setup doesn't rely on chef HA, though it'd be nice if it was. If we can ditch relying on chef-server and just use chef-solo (which with something like juju we could) even better.20:10
hazmatTheChistoso|2, i'm not sure if the ha charms support that.. ie. colocation.. adam_g ?20:13
hazmatColinR, cool. incidentally zookeeper has an http api.20:14
TheChistoso|2i'd like to use a more up-to-date version of juju. the one i have (in raring) is 0.7. can/how do i upgrade? i'm using this w/ maas and so is there an issue w/ the cloud image used by maas b/c the latest juju version isn't in backports?20:15
ColinRyeah, we looked at zookeeper quite a bit, but liked the way noah handled watches more.20:15
adam_ghazmat, TheChistoso|2 the colocation of principle  services might work okay since they're deploying unrelated services to the same machines, but when you start to add HA, i could imagine the hacluster subordinates stomping on each others cluster configurations.20:16
jcastroTheChistoso|2: you can use the PPA20:16
jcastrohttps://juju.ubuntu.com/get-started/20:16
adam_gTBH, i've not tried collocating services to share the same underlying pacemaker/corosync cluster. it *might* work okay20:16
TheChistoso|2adam_g: is this a limitation of the way the charms configure openstack or an inherent openstack limitation? (i think the former)20:16
jcastrorepo is the top line on the CLI instructions20:17
serchhello20:17
jcastroTheChistoso|2: we're working on backporting all that to raring and precise, it's just a WIP right now20:17
TheChistoso|2jcastro: PPA will work w/ machines allocated from maas?20:17
adam_gTheChistoso|2, like i said its not really an issue for the openstack services themselves (the principle services), but the underlying cluster infrastrucutre that gets setup as subordinates.20:17
jcastroTheChistoso|2: that's a good question, let me check it out20:18
TheChistoso|2adam_g: well i suppose it merits the question of -- does this setup i'm looking to do make sense?20:18
serchhello someone can explain how to release the last vercion of ubuntu from the official website20:18
jcastroTheChistoso|2: I think you would just use juju-origin:ppa in your environments yaml20:19
TheChistoso|2jcastro: i imagine it would require modifying the cloud image. i haven't done that, but i imagine it's possible.20:19
jcastroand maas will know what to do20:19
adam_gTheChistoso|2, collocating glance and keystone isn't an issue, as theres no overlap in  config files or service ports. when you add the hacluster subordinate, a corosync/pacemaker cluster gets setup underneath. there would be overlap there, between twoh acluster subordinates on the same machine20:19
TheChistoso|2jcastro: ah -- okay. i'll have to read up on the docs for that then. never done that before.20:19
jcastrohttp://maas.ubuntu.com/docs/quantal/juju-quick-start.html20:20
jcastroneeds to be updated probably20:20
ColinRIs there a way to seed a bootstrap node's db with data from another bootstrap node?20:20
TheChistoso|2ColinR: i imagine once bootstrap HA is done, you wouldn't need to do that20:20
adam_gTheChistoso|2, i think it makes sense for the purposes of conserving hardware.  quantum-gateway might need to be hosted on a machine other than compute, since there is potential  OVS overlap20:21
ColinRTheChistoso|2, agreed. in the meantime though, I'll have a much easier time convincing the boss to use it if I can show we can recover our data from a db dump.20:22
TheChistoso|2adam_g: let me explain my scenario a bit more. i'm constructing a small private cloud (~100 machines right now, likely to grow to ~300) for testing purposes. our tests are both CPU and write intensive. so, we'd like to use ceph but need as much of the data locally available as possible.20:23
TheChistoso|2so we have a few core VM images (snapshots) that we replicate hundreds of times across compute nodes.20:24
TheChistoso|2we plan on using gridcentric's virtual memory streaming product actually to run the VMs20:25
jcastrooh, who was the guy saying they didn't have enough machines for openstack?20:26
TheChistoso|2lol for my PoC i don't have enough machines :D20:26
jcastrohttp://jujucharms.com/~virtual-maasers/precise/virtual-maas20:27
TheChistoso|2and i'd like to dedicate as many machines to the core problem (testing) as possible20:27
TheChistoso|2i have 16 machines i can use for the PoC20:27
TheChistoso|2lots of HA-capable OpenStack implementations don't require 28+ to work20:27
TheChistoso|2mirantis' fuel package can do it w/ 3-4 nodes for a small-medium size implementation20:28
TheChistoso|2rackspace private cloud as well20:28
TheChistoso|2piston cloud's solution has all openstack services running on all nodes20:28
sarasjuju no like me20:30
TheChistoso|2btw, is there an environment variable i can use to specify where the environments.yaml file is?20:33
adam_ghazmat, does current service colocation (jitsu deploy-to) work with multiple unit services? eg, deploy rabbitmq and mysql to machine 1. add-unit rabbitmq. where does rabbitmq/1 end up?20:33
hazmatadam_g, new machine20:34
adam_gTheChistoso|2, interesting.  does collocating ceph storage nodes with compute nodes equate to locally available storage, though?20:34
TheChistoso|2adam_g: not necessarily :D20:34
adam_ghazmat, so, would it be possible to add-unit rabbimq, add-unit mysql and have both second units on the same machine?20:35
hazmatadam_g, deploy-to and the integrated --force-machine in core.. only apply to the initial unit deployed.. when scaling up those services they go to new machines20:35
hazmatadam_g, thats been discussed as part of a deploy --with=service20:35
TheChistoso|2i'm actually rather new to ceph -- what i actually would like is to have certain snapshots automatically replicated to every compute node for fast VM creation20:35
sarasany one will help me troubshoot why juju install in going wrong20:36
hazmatits not done though, but its where the force machine stuff is probably heading.. its likely spelled as a constraint20:36
TheChistoso|2saras: what are you seeing?20:36
adam_gTheChistoso|2, FWIW, when you boot an image/snapshot, its cached locally on the compute node the first time its booted. the second time, its booted from the local copy20:36
hazmatsaras, what's the problem?20:36
hazmatand which version20:37
TheChistoso|2saras: i've recently been through this myself20:37
TheChistoso|2adam_g: in my case i'm going to have copies upon copies of the same VM -- not rebooting the same VM necessarily.20:37
adam_gTheChistoso|2, there was talk at openstack summit a couple weeks back of moving from machine/image snapshots being  entire copies of images to differential snapshots20:38
TheChistoso|2most our VMs run constantly, but when we update our core image, it needs to be replicated to all compute nodes and the VMs restarted from the new (snapshotted) image20:38
TheChistoso|2adam_g: gridcentric's VMS product effectively does that now. but w/ memory as well. so you can snapshot a running VM and then stream it to compute nodes.20:38
sarasdpkg: error processing /var/cache/apt/archives/juju-core_1.10.0-1~1189~precise1_amd64.deb (--unpack):20:39
saras trying to overwrite '/usr/bin/juju', which is also in package juju 0.5+bzr531-0ubuntu1.320:39
sarasdpkg-deb: error: subprocess paste was killed by signal (Broken pipe)20:39
TheChistoso|2my issue w/ that is when we update our image, we'll have a barrage of requests for the new snapshot all at once. a "VM snapshot storm" if you will....20:39
jcastro"dpkg -i --force-overwrite /var/cache/apt/archives/juju-core_1.10.0-1~1189~precise1_amd64.deb" should fix that, but please wait for someone to confirm that.20:39
TheChistoso|2for starters, though, i'll just get a basic openstack cloud up and running :D i've done it a couple of times using the mirantis fuel and then the mirantis fuel-web package and then w/ rackspace private cloud as well. but i really, really want to use juju for this. :D20:42
sarasi think that worked thanks20:44
sarasi think that worked20:44
sarasthat worked i think20:45
TheChistoso|2jcastro: a small recommendation for http://maas.ubuntu.com/docs/quantal/juju-quick-start.html -- i ran into this issue myself...please add a note that when configuring the "maas-server" entry, that you'll want to include the port number in the URI. I know that's fixed these days, but w/ juju that comes OOTB and following just the quick start, it can be an issue.20:46
TheChistoso|2(sorry -- that is, when configuring "maas-server" in environments.yaml)20:47
sarashow do i till juju to use local20:51
jcastroTheChistoso|2: got it, I'll submit a fix20:52
TheChistoso|2saras: do you mean to use local charms?20:52
sarasyes20:52
TheChistoso|2there's a couple different ways. i prefer to set the JUJU_REPOSITORY env var to the directory where they reside.20:53
TheChistoso|2then to deploy you'd say something like juju deploy local:<service>20:53
TheChistoso|2jcastro: adam_g: i have the issue that my hardware is not homogeneous. so i have a preference for which machine might get peeled off from maas for use in deploying services. actually what i have is a preference on machine characteristics and not the machine itself.20:55
TheChistoso|2i know i can instruct juju to use a specific machine. but i really don't care which machine -- i care which "class" of machine it is.20:57
sarassaras@saras-Bonobo-Performance:~$ juju deploy local:precise/node-app-620:57
saraserror: environment has no access-key or secret-key20:57
saraswhy is this not liking me20:58
TheChistoso|2my thought was to use separate maas environments and then deploy using one or the other. the issue is that i'm not sure if juju knows about different environments and can make them work together (i doubt it).20:58
TheChistoso|2saras: you just need to specify that value in your .juju/environments.yaml file20:58
sarasTheChistoso|2: how do i do that for local20:59
TheChistoso|2are you using lxc containers?20:59
sarassure how20:59
sarassounds fun20:59
TheChistoso|2:D what are you using juju with? AWS? OpenStack? MAAS?21:00
saraslocal21:00
sarasi was hoping21:00
TheChistoso|2just to be clear -- you have locally-defined charms and you're using lxc?21:01
sarasum hum21:01
sarasi would love to use lxc21:01
TheChistoso|2i haven't setup lxc before so i'm not much help. but first, provide the contents of your ~/.juju/environments.yaml (pastebin it)21:02
TheChistoso|2you said you're using 1.10 IIRC -- which release? precise? raring?21:03
sarnold(be careful not to pastebin secrets from that file..)21:03
sarasi am so lost now21:03
sarashttps://plus.google.com/hangouts/_/c3ccfdfd6addbbd723b6ac93fa6be15a236e1a07?authuser=0&hl=en21:03
sarashelp21:03
sarasis their not a way to get feet wet with out cloud provider21:05
sarnoldsaras: I used local provider with juju when I was getting started, and a bit when developing new charms. It seemed about the same complexity to me as the ec2 provider..21:06
sarassarnold: what do i need in the envirment file to do that21:07
sarasas the getting start guide does not cover it21:07
sarasarrrrrrrrrrrrrrggg21:07
sarasOpen `~/.juju/environments/yaml` in your text editor and uncomment out the sections you need for your cloud provider.21:08
sarasis what the getting started guide tell me21:08
sarastheir should be way to setup local to test stuff before you play spend money on cloud guys21:09
sarasor am i crazy21:09
TheChistoso|2that's what lxc and maas can do for you21:10
TheChistoso|2(well maas or virtual-maas)21:10
sarasthen why are they not in the getting started guide21:10
sarnoldsaras: iirc, juju generate-config -w should create a template ~/.juju/environments.yaml file for you to edit21:10
sarasyes it is21:11
sarnoldsaras: you don't -need- the template, but it is a bit helpful21:11
TheChistoso|2saras: the getting started guide was a bit difficult, i found, to get started. :D for one, i installed raring and didn't realize it was an older version and juju generate-config didn't exist.21:11
sarasyes i had the same issue21:12
sarnoldolder versions I htink just used juju bootstrap to make the config .. yo'ud run juju bootstrap twice, once to create your template, edit that, then run it again to create the headnode..21:12
=== defunctzombie_zz is now known as defunctzombie
sarnoldsaras: http://pastebin.ubuntu.com/5630403/21:12
sarnoldsaras: something like that in your ~/.juju/environment.yaml21:12
sarnoldjcastro: hey, many typos abound in "Take 5 minutes to get to know juju" https://juju.ubuntu.com/get-started/   --- there's a ~./juju (yes, ~./)  and the markdown `` don't appear to do anything :) and the ~/.juju/environments/yaml -- with extra /  :)21:14
jcastrook I can fix those21:15
TheChistoso|2so i tried to run add-apt-repository (in raring) and the command wasn't available. so i sudo apt-get install python-software-properties and it still doesn't work. anybody know which package that lives in?21:15
jcastroslow down :)21:15
sarnoldsoftware-properties-common: /usr/bin/add-apt-repository21:17
sarnoldjcastro: thanks :)21:17
TheChistoso|2i'm not getting juju 1.10 -- still on 0.7. I ran the following:21:20
TheChistoso|2sudo apt-get install software-properties-common21:20
TheChistoso|2sudo add-apt-repository -y ppa:juju/pkgs21:20
TheChistoso|2sudo apt-get update && sudo apt-get install juju charm-tools21:20
jcastroyou need juju-devel as the ppa21:20
jcastroand it's juju-core21:20
jcastrothat'll get  you 1.1021:20
sarnoldooh juju-core is at 1.10? nice work :)21:20
jcastrosarnold: man, that's like the third or fourth time I've used markdown on a HTML webpage21:20
sarnold(that's a confident-sounding round number. :)21:21
sarnoldjcastro: I keep finding myself typing markdown in irc.21:21
=== defunctzombie is now known as defunctzombie_zz
sarasany willing to jump into hangout help me out21:22
TheChistoso|2jcastro: tyvm -- that's much better :D21:23
jcastroI need to step out for the weekend, I'll be back in a few hours though21:23
TheChistoso|2now how about the agents on the maas-provided machines?21:23
jcastroI just realized that made no sense21:23
TheChistoso|2lol :D21:24
TheChistoso|2few days?21:24
sarnoldjcastro: have fun for the weekend, for the few hours :)21:25
sarasi get some of the novacut guys in hangout so beat our heads on this one toughter21:27
sarashave fun21:27
TheChistoso|2so i upgraded juju and ran juju status. i now get: error: no CA certificate in environment configuration. that's needed now-a-days?21:33
=== defunctzombie_zz is now known as defunctzombie
TheChistoso|2hazmat: i'm seeing "error: no CA certificate in environment configuration" -- any thoughts?21:45
=== defunctzombie is now known as defunctzombie_zz
TheChistoso|2juju bootstrap now gives me: error: no tools available22:04
sarnoldTheChistoso|2: do you still have the 0.7 pyjuju stuff installed alongside the 1.10 gojuju?22:09
TheChistoso|2sarnold: i must have22:09
TheChistoso|2i'm updating charm-tools right now22:09
TheChistoso|2juju sync-tools isn't working either22:14
TheChistoso|2$ juju sync-tools -v 2013/05/03 15:16:20 INFO environs/ec2: opening environment "juju-public" 2013/05/03 15:16:20 ERROR failed to initialize the official bucket environment 2013/05/03 15:16:20 ERROR command failed: environment has no access-key or secret-key error: environment has no access-key or secret-key22:17
TheChistoso|2whoops, let me try that again...22:17
TheChistoso|2$ juju sync-tools -v22:18
TheChistoso|22013/05/03 15:16:20 INFO environs/ec2: opening environment "juju-public"22:18
TheChistoso|22013/05/03 15:16:20 ERROR failed to initialize the official bucket environment22:18
TheChistoso|22013/05/03 15:16:20 ERROR command failed: environment has no access-key or secret-key22:18
TheChistoso|2error: environment has no access-key or secret-key22:18
TheChistoso|2sarnold: any thoughts?22:18
sarnoldTheChistoso|2: you need some environment variables to declare how to connect to your EC2 instances..22:19
TheChistoso|2i'm not running w/ EC222:19
TheChistoso|2and this is to bootstrap w/ maas22:19
sarnoldTheChistoso|2: I think maas may require the same EC2 env variables... see e.g. http://wiki.debian.org/euca2ools22:20
TheChistoso|2sarnold: that doesn't sound right to me22:21
sarnoldTheChistoso|2: hrm, you're right, I see none of that mentioned here http://maas.ubuntu.com/docs/quantal/juju-quick-start.html22:23
TheChistoso|2sarnold: i found this: https://bugs.launchpad.net/juju-core/+bug/117297322:30
_mup_Bug #1172973: sync-tools requires aws credentials be set in the (shell) environment <juju-core:Confirmed> <https://launchpad.net/bugs/1172973>22:30
TheChistoso|2sarnold: however, i set those env vars, but apparently i don't have the right values b/c i get:22:31
TheChistoso|2$ juju sync-tools -v22:31
TheChistoso|22013/05/03 15:31:15 INFO environs/ec2: opening environment "juju-public"22:31
TheChistoso|2listing the source bucket22:31
TheChistoso|22013/05/03 15:31:15 ERROR command failed: The AWS Access Key Id you provided does not exist in our records.22:31
TheChistoso|2error: The AWS Access Key Id you provided does not exist in our records.22:31
sarnoldTheChistoso|2: oof. :/22:33
TheChistoso|2not sure what to do at this point22:38
sarnoldTheChistoso|2: perhaps try #juju-dev ? I think the go juju folks hang out there..22:40
TheChistoso|2sarnold: thanks -- i just asked and i'll cross my fingers for an answer22:42
sarnoldTheChistoso|2: good luck :)22:42
TheChistoso|2thanks :/22:42

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