/srv/irclogs.ubuntu.com/2013/06/14/#juju.txt

AskUbuntuJuju on AWS t1.micro (or other) reserved instances | http://askubuntu.com/q/30795401:47
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
virusuyhi guys !02:15
=== defunctzombie is now known as defunctzombie_zz
=== danilos__ is now known as danilos
BaribalWrkHi. I've gotten access to a few racks with rather impressive machines that run KVM/libvirtd. Is there a way to integrate juju in this environment?10:46
=== BaribalWrk is now known as Baribal
BaribalAlso, so far they're only deploying CentOS VMs here, but AFAIK that shouldn't be an issue as juju downloads images itself anyways.10:48
stubIs the charm cache on the bootstrap node, or in the control bucket?11:29
marcoceppistub: I think it's in the control bucket13:10
jhfhey all - question on best practices. my charm installs a service whose filesystem layout is different depending on version. so for example, if I install to /opt/liferay, then in one version, its "home dir" is /opt/liferay/v1 but in the next version it'll be /opt/liferay/v2.  So I am saving the value of /opt/liferay/v1 into a dot file so that in a future upgrade I can discover the filesystem layout of the "old" version during the upgrade. I considered making i13:12
jhfpart of the charm config but that didn't feel right because this is not a user "tunable" and if one were to change it, it would break badly. so is it cool to save variables in this way during the install so that they can be available during an upgrade?13:12
marcoceppijhf: absolutely. A lot of charms that need to keep track of low level data like that typically put them in a dot file in either the services home (not really a good idea in this case) or the $CHARM_DIR13:14
jhfhmm.. good idea re: charm dir, but when I upgrade the charm, will those files remain during the upgrade of the actual charm unit files?13:14
marcoceppijhf: yes, upgrade-charm only overwrites files that are extracted from the new charm. So any files created by the charm are not touched13:15
stubmarcoceppi: Thought so. I discovered the weirdness I was seeing was update-charm deploying revisions I was working on yesterday, despite a fresh bootstrapped environment.13:16
jhfnice.. I like that better than putting it in the service dir. I'll go with that, thanks!13:16
jhfbtw - I tried to use the "juju debug-hooks" command, but it tries to do fancy things via the terminal, and gets really messed up on a mac: I am running ubuntu in a virtual box vm, so I ssh to the virtual ubuntu instance, and then run juju debug-hooks and my terminal gets all wonky, making juju debug-hooks unusable :(13:19
jhfI don't think this is juju's fault but just thought I'd mention it. haven't played with terminal settings yet to try and fix it.13:19
=== wedgwood_away is now known as wedgwood
jhfhey all - I am using a local repository for charm testing - I am editing the files and then running juju upgrade-charm but it keeps using old, cached copies of the files so the resulting charm that is copied to the container doesn't have the updates.. is there a way for it not to use the old, cached charm files?14:42
_mup_Bug #1191030 was filed: Provisioning agent stops working <juju:New> <https://launchpad.net/bugs/1191030>14:55
marcoceppijhf: You need to either increment the revision number or use the -f flag to force an uprade15:41
jhfwoo! it works! now time to re-learn bzr to push the fixes :)16:21
marcoceppiCharm school in 20 mins!16:38
marcoceppiCharm School is now! http://ubuntuonair.com/17:00
* FunnyLookinHat is watching :D17:07
FunnyLookinHatand taking notes17:07
jhfIs there a way to stop a service (not destroy-service)?  That is, something that triggers the stop hook, but otherwise leaves things as they were?17:20
FunnyLookinHatmarcoceppi, select the gray box and double click the color next to "Fill" in the bottom left :)17:21
FunnyLookinHatBut use the arrow tool to select it.17:22
FunnyLookinHatoff-topic question for the charm school today, but I can't find documentation on how to fire a custom hook on a charm that's already deployed17:37
jhfhttps://juju.ubuntu.com/docs/policy.html#license refers to the list of OSI-approved licenses at http://opensource.org/licenses/17:38
=== timrc is now known as timrc-lunch
jhfquestion!! Is there a way to stop a service (not destroy-service)?  That is, something that triggers the stop hook, but otherwise leaves things as they were?17:44
FunnyLookinHatjhf, That's what I'm aiming for...  :)17:44
FunnyLookinHatwith a custom hook17:44
FunnyLookinHatAh ok - so you'd write it into config-changed17:51
jhfIs there a reason there's no charms for any release other than precise?  I assume I'd start with the latest Ubuntu release, but didn't see any raring charms17:51
sarnoldjhf: I'd expect saucy charms to pick up, as people prepare for 14.04 and assume it'll be the next LTS release17:54
jhfah ok, thanks17:54
sarnoldjhf: for my part, I did my (very few) charms on precise, because it seemed the most well-tested, and intended to port them to quantal; but I never got around to it, and next thing I know, raring is out...17:55
FunnyLookinHatOk - so to do it in juju-core, you would have to fire a config change and handle the flag within config-changed17:55
sarnold.. and it's easier to ignore two broken things than one broken thing :)17:55
jhf:)17:55
sarnoldjhf: but I'm in a different position, I don't have hundreds of machines to support, perhaps those people that do are just targetting the newest release that they actually have deployed in their environments17:56
fredhi18:01
=== fred is now known as Guest89610
Guest89610#nick fred18:02
Guest89610i forgot how to use irc :(18:02
sarnoldGuest89610: /nick18:02
sarnoldGuest89610: but, pick a different nickname, fred must be protected, it'll just change you away again :)18:03
Guest89610thamks man18:03
Guest89610*tnx18:03
Guest89610ah i see. okay18:03
=== Guest89610 is now known as fred1234
fred1234fred1234 will do :P18:03
fred1234how ya all :P18:04
fred1234how's ubuntu?18:04
fred1234hi18:09
fred1234where can i get started?18:09
fred1234i mean, the flirst v18:10
fred1234i mean, the first vid of juju?18:10
fred1234i had not updated or been active with ubuntu lately. i want to catch-up.18:10
FunnyLookinHatSo - if I were to deploy on AWS - is there a way to deploy to two separate regions at once?18:11
fred1234:-(18:11
FunnyLookinHatfred1234, I'd probably just read through this stuff: https://juju.ubuntu.com/docs/18:12
FunnyLookinHatJust go through the table of contents - it paints a picture pretty well and gets you into stuff quickly18:12
fred1234ah okay, fun :) this coyld help. been using ubuntu since 6.xx, but im not a c or c++ expert :(18:13
fred1234but had manage through terminal somehow lols :P18:14
fred1234*could18:14
fred1234tnx again. i'll carry-on18:14
fred1234#juju: i'm just finish with the home page. also ventured reading en.wiki -> http://en.wikipedia.org/wiki/Juju_%28software%2918:18
fred1234nice, like service ilnterfacing and concurrency, and cloukd... still wondering what services and how does it provide those....18:20
fred1234... i'll read further lols18:20
=== defunctzombie_zz is now known as defunctzombie
marcoceppiFunnyLookinHat: no, not currently. Cloud (and region) federation is on the roadmap19:08
marcoceppifred1234: check out jujucharms.com for a list of charms (services) we have currently!19:08
FunnyLookinHatmarcoceppi, Ok - my worry is that AWS has had outages in the past, and without rackspace support I feel as though we're having to make a bad decision  :-/19:09
marcoceppiFunnyLookinHat: yeah, it's been on the roadmap for a while. I think with containerization and local provider being worked on that cloud federation will be ready by 14.04. It's kind of a requirment to make the tool truely "production" ready19:10
FunnyLookinHatyeah - I'm keeping a close eye on the containerization stuff  :)19:10
=== timrc-lunch is now known as timrc
jaketes tes20:14
=== jake is now known as Guest80109
Mage_DudeHow can you delete a node/service if juju status doesn't work?20:35
rnathujiHi folks, I have a quick question on bootstrapping juju20:35
rnathujiI've deployed MaaS and enlisted 3 ARM nodes (shown as ready state).  juju bootstrap fails with "No matching node is available". I did try doing a set-constraint arch=armhf, but then it complains that it's not bootstrapped. Does the boostrap node have to be x86?20:36
rnathujinm, figured it out20:40
Mage_DudeYou wouldn't happen to know how to delete a node from maas would you?20:40
rnathujiI haven't tried it, but it looks like the UI has a "Delete node" button on if you click on the node name from the list of all nodes. Or is that itself not working for you?20:42
Mage_DudeNo, you can't do it that way because the node has been allocated. However, juju status doesn't work so you can't unallocate the node! The *only* way I've found to do it is to wipe the MAAS db and recommission all the nodes again.20:43
rnathujiCan you use maas-cli to release the node and then delete it?20:44
rnathuji(I'm not even sure what exactly release does, just saw it on the maas-cli options list)20:45
Mage_DudeI'll have to look at it20:45
Mage_DudeThat's bizzare. The cli only lists one node as allocated, but the gui shows two.20:50
Mage_Dudesudo maas-cli nodes release <some-id-value> ... why is that incorrect syntax?20:59
Mage_DudeGrrr21:02
paraglademarcoceppi: Just got done watching the vid for the charm school today and wanted to know if I heard you correctly say that we could submit are charms to GitHub.22:13
Mage_DudeIs maas+juju actually functional or is it a late April Fools joke?23:03
Mage_DudeSo, maas doesn't do anything other than provision machines. Then you have to ssh into one of the provisioned machines and actually bootstrap juju there?23:09
sarnoldMage_Dude: that doesn't sound right..23:10
sarnoldI don't have enough free hardware laying around to try out maas, but the maas provider for juju should just let you juju bootstrap ; juju deploy ...23:10
Mage_Dudesarnold: I wish. juju bootstrap (Yay kittens!) juju status (I will throw ambiguous errors!)23:11
sarnoldheh :(23:12
Mage_DudeI can ssh directly into a 'provisioned' node with the ssh key generated. However, I try juju status and get an ssh key error. That makes no sense.23:12
sarnoldMage_Dude: it's true that juju status often passes up an opportunity to show something more meaningful from a log file. status is hard to capture in the few states available. :(23:12
Mage_DudeAnd it's so great when maas is trying to provision two nodes to do the same thing because it can't actually bootstrap/setup the node. Any thoughts on why my perfectly valid ssh key is being rejected?23:14
m_3paraglade: yeah, we can handle PRs, they're just a little more manual of a process until we get some things changed around23:20
m_3paraglade: I'd recommend pinging me or marcoceppi directly when you've submitted one... at least for the next few weeks23:20
bkerensajcastro: will local environment work by OSCON? :)23:38
m_3bkerensa: shit, don't remember... jorge'd probably know23:56
m_3he's out today23:56
bkerensam_3: ok just wondering were planning Juju demo at the booth and its either local enviroment or rackspace cloud neither of which worked last time I checked :P23:57
bkerensam_3: unless jorge is expensing AWS :)23:57
m_3:)23:57
m_3which conference?23:57
bkerensam_3: the one you will be at in July23:59
m_3bkerensa: awesome23:59
bkerensa:)23:59

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