/srv/irclogs.ubuntu.com/2012/04/13/#juju.txt

=== almaisan-away is now known as al-maisan
=== al-maisan is now known as almaisan-away
=== TheMue_ is now known as TheMue
=== almaisan-away is now known as al-maisan
melmothHola juju crowd ! i do not understand whay a service public-address actually show a private instance address http://pastebin.com/j8YpJ6DH09:21
melmothany idea about this ?09:21
melmothgrumble, machine froze just after i posted here.09:25
melmothif anyone reply, i did not see it. (and now my cloud is dead too :-) )09:26
imbrandonmorning all10:07
=== al-maisan is now known as almaisan-away
melmothwell, back after the freeze, i can reproduce the same "problem" agan (service public-adress seems to be actually the private one)10:41
melmothhttp://pastebin.com/2i3jDM0m10:41
melmothanyone understanding why mysql public adress is associated with a name i cannot resolve ? And is there a way to workaround this so i can use juju debug-hooks10:42
melmoth(and try to understand what mysql did not install correctly)10:42
=== koolhead11 is now known as koolhead17
=== almaisan-away is now known as al-maisan
bachi fwereade_  -- yesterday you asked me to run 'juju -v deploy' and send you the traceback.  i've done it but no traceback is generated.12:54
niemeyerMorning all12:54
fwereade_heya bac, niemeyer12:59
fwereade_bac, so you just get the error and no traceback? that's ...surprising :(13:00
fwereade_bac, and I've been unable to repro at all13:00
fwereade_bac, was your deployment initially set up with an earlier version of juju?13:00
fwereade_bac, because that *should* stop you from using constraints at all (and I can't *see* any holes in the logic there...) but what you've reported sounds like it may be consistent with that13:02
fwereade_bac, btw, I was wondering about the script you pastebinned... it seemed as though you were manually specifying cpu/mem from the m2.4xlarge specification; is there a particular reason you weren't just setting `instance-type=m2.4xlarge`?13:04
bacfwereade_, i've dug into it a little more and found the problem was on our side.  for testing purposes we've been using a wrapper that invokes /usr/bin/juju and it was not passing the params properly.  so sorry to have drug you into this mess.13:30
fwereade_bac, np at all, glad it's sorted out :)13:37
fwereade_gents, I'm unaccountably exhausted, taking a short break13:40
=== al-maisan is now known as almaisan-away
niemeyerfwereade_: Don't kill yourself main.. we need your brain14:10
niemeyers/main/man14:11
flacosteany idea what the following error means:14:22
flacostejuju.errors.ProviderInteractionError: Unexpected Error interacting with provider: 409 CONFLICT14:22
flacostehmm, ok, foud it14:24
_mup_Bug #980855 was filed: Unhelpful error message when no nodes are available with maas provider <juju:New> < https://launchpad.net/bugs/980855 >14:28
robbiewjcastro: so I guess I should ship these juju shirts somewhere today15:48
bkerensaLOL15:50
bkerensa:P robbiew  are you the shipping guy15:50
robbiewbkerensa: man...I'm the *everything* guy it often seems for our events15:53
robbiewlol15:53
bkerensarobbiew: where is my juju travel mug :P15:53
bkerensa^15:53
bkerensalol15:53
robbiewheh15:54
bkerensarobbiew: :P I was serious... I didnt get my shirt or cup :P is it coming on the Tibet Express?15:55
bkerensatakes me a month when I order stuff from Canonical Store :P15:55
robbiewbkerensa: that's *all* jcastro15:55
bkerensa;p15:56
jcastrobkerensa: yeah it's slow because I am shipping them all at once16:03
jcastrobkerensa: I'm shipping them today it took a while to get addresses, etc.16:04
bkerensajcastro: no worries I was just trying to give robbiew a hard time16:04
jcastrooh, just ask him how openstack is going, that outta do it16:04
bkerensaLOL16:04
jcastro<evil grin>16:04
bkerensajcastro: is he on the same team as adam_g?16:04
jcastrobkerensa: he's the server team manager16:06
bkerensaahh16:06
bkerensa:D16:06
=== jkyle_ is now known as jkyl
=== jkyl is now known as jkyle
hazmatflacoste, is that 409 Conflict specific to that error?16:59
flacostehazmat: i think that's the API response we gave whenever we aren't able to satisfy a constraints17:10
flacosteso no nodes available17:10
flacosteor the requested name is not available17:10
jcastroheya shazzner17:29
jcastrodid any of your charms make it in the store yet? Last I checked you had a few pending17:29
shazznerhey17:34
shazznerjcastro: not yet, I think marco mentioned promulgating them but I hadn't heard anything yet17:35
jcastrok17:35
shazznerthe gitolite and kusabax charms17:36
shazznerthanks man :)17:36
jcastrom_3: here's that charm that is in github: https://bugs.launchpad.net/charms/+bug/97755217:37
_mup_Bug #977552: Charm Needed: Terraria server <new-charm> <Juju Charms Collection:Confirmed for h5-chuck-9o> < https://launchpad.net/bugs/977552 >17:37
=== shazzner is now known as shazzner-brb
jcastrohttps://bugs.launchpad.net/charms/+bug/96648417:39
_mup_Bug #966484: New Charm: Kusaba X <new-charm> <Juju Charms Collection:Fix Committed> < https://launchpad.net/bugs/966484 >17:39
jcastrohttps://bugs.launchpad.net/charms/+bug/96493617:39
_mup_Bug #964936: Drupal Charm: superchared Drupal charm with nginx,, apc, php-fpm, all setup to scale to the moon and be Best Practices. <new-charm> <Juju Charms Collection:Fix Committed by imbrandon> < https://launchpad.net/bugs/964936 >17:39
jcastrohttps://bugs.launchpad.net/charms/+bug/90617617:39
_mup_Bug #906176: Gitolite charm <new-charm> <Juju Charms Collection:Fix Committed by shazzner> < https://launchpad.net/bugs/906176 >17:39
jcastroSpamapS: m_3: marcoceppi: negronjl: all of those are in the queue ^17:39
jcastrowho wants to promulgate?17:39
SpamapSoh look, its friday friday not thursday its friday17:42
jcastroall except one are in late stages of review, easy pickins' Friday?17:43
jcastroSpamapS: hmm, you and m_3 are doing precise store aren't you?17:44
jcastroshould we just punt these to next week?17:44
SpamapSright now I'm doing "landing subordinates in the PPA and eventually precise"17:45
SpamapSthe last few commits of juju added a dep on a newer txzookeeper17:45
jcastroSpamapS: ok so these can wait, o biggie18:01
jcastronegronjl: if you're looking for something to do, page up. :)18:01
negronjljcastro: I'm already looking at all three of them ... just give me a few18:01
negronjljcastro:  It appears that I am having AWS issues :/18:02
jcastro<3 thanks dude18:03
bkerensaadam_g: you got a minute or two?18:21
adam_gbkerensa: im here18:21
bkerensaadam_g: I have a question about a former employer of yours who is making a offering :P18:22
bkerensacan I PM?18:22
adam_guh ya :)18:22
negronjljcastro:  It appears that I can't get any instances out of AWS from juju ( juju deploy <anything> doesn't work ) so, the reviews will have to wait until I get that sorted out.18:59
negronjljcastro: this was working a couple of days ago .... did I miss anything ?18:59
jcastrobah if only we could  get it on hp cloud18:59
jcastronegronjl: I don't think so, precise?19:00
jcastroare you on distro or ppa?19:00
negronjljcastro: precise ... ppa19:00
negronjljcastro: actually ... launching from precise/ppa into oneiric/ppa19:00
SpamapScould be juju problems19:01
negronjlSpamapS: late changes breaking things ?19:01
SpamapSnegronjl: quite possible19:02
SpamapSthe PPA is about to break stuff again.. subordinates and some txzookeeper changes landing (all good stuff.. )19:02
negronjlSpamapS: thought so ... I'll just wait19:02
negronjljcastro: Reviews are on hold until juju issues are sorted out :/19:02
jcastrono worries, thanks for chipping in though!19:03
marcoceppiSpamapS: nooooo19:03
SpamapSmarcoceppi: time to lock down to a branch :)19:04
marcoceppiSpamapS: yeah, going to have to19:04
SpamapSmarcoceppi: tho distro won't change after this next upload19:04
marcoceppiSpamapS: when's the next distro upload?19:05
SpamapSmarcoceppi: as soon as the PPA builds and I test it... so probably monday19:05
SpamapSthat will be the last precise upload :)19:05
marcoceppicool, we'll just switch to distro then19:05
SpamapS*awesome* thunderstorm in west LA right now19:08
SpamapSlike.. BOOM BOOM BOOM .. we never get these19:08
_mup_Bug #981086 was filed: typo in the subordinate-services.rst documentation file <juju:New> < https://launchpad.net/bugs/981086 >19:14
imbrandonSpamapS: sure its not gunshots, or aliens in the battle for LA ?19:22
imbrandonhehe19:22
SpamapSimbrandon: no I am used to hearing those things every few days19:22
imbrandon:)19:22
SpamapSHey so people19:22
SpamapSit landed quietly19:22
SpamapSbut subordinates is *out*19:22
imbrandonoh19:22
SpamapSprecise and oneiric have it in the PPA19:22
jcastroalways on the friday19:22
imbrandonheh19:23
SpamapSWell it landed yesterday..19:23
SpamapSbut the PPA has been broken for a few days19:23
jcastro"ok done with this time to relax, oh wait new feature I've wanted for six months just landed!"19:23
imbrandonthats cool though, cuz i just paid my aws bill so i got a nice clean slate19:23
jcastroI am glad it is here though, awesome job guys.19:23
imbrandonfor the weekend19:23
SpamapSone disclaimer.. I have no idea how to use it19:23
imbrandonSpamapS: hahah nice, i'm sure we'll all figure it out over the weekend19:24
SpamapSbcsaller: ^^ whats a good starting point for using subordinates?19:24
imbrandonme and jcastro  and marcoceppi are all half sick but i'm sure as hell still gonna play19:24
SpamapSI think this is a game changer19:24
SpamapSIts going to make things like nodejs and symfony REALLY useful19:25
imbrandonSpamapS: start with the jeos build :)19:25
SpamapSbecause you can make your app a subordinate to them19:25
SpamapSimbrandon: meh.. I think thats a recipe for disaster eventually :)19:25
imbrandonlikely19:25
imbrandonbut many jeos ones will be ok19:25
imbrandonone for each bigger group19:25
imbrandoni think19:25
bcsallerSpamapS: its pretty simple (hopefully) the spec shows it and there is an example charm 'recorder' that is subordinate. It will only see the entity its subordinate to for things like relation list19:26
SpamapSI think we just need a --placement machine:4 flag to allow overriding the "unassigned" placement mode19:26
bcsallerSpamapS: and status works as expected (even dot) so its easy to see whats going on19:26
SpamapSbcsaller: so.. you're telling me.. this is actually up to date: https://juju.ubuntu.com/docs/subordinate-services.html .. .I don't believe you!19:27
SpamapS;)19:27
SpamapSI do actually, thats awesome, thank you!19:27
imbrandonspoiled with docs as soon as a feature lands19:28
imbrandonback when ...... get off my lawn^Winternets19:28
bcsallerSpamapS: yeah, it should be :)19:28
imbrandonmarcoceppi: btw i want to rename and clean that plugin up a little before its used anywhere but omg, just fyi , it will be good for the general wp one and maybe even public release but its a bit silly right now :)19:30
marcoceppiSpamapS: I'd love to try that out19:30
SpamapSmarcoceppi: the OMG case would be to have the wordpress charm with all the generic stuff, then 'omg-wp' just have the themes and stuff.19:31
SpamapSanyway, I need lunch.. then I'll start playing with it19:31
imbrandonkk19:31
imbrandonjcastro: http://www.youtube.com/watch?v=kfVsfOSbJY019:33
* bcsaller grumbles at his wireless 19:35
marcoceppiSpamapS: Right, and then be a subordinate of an nginx-proxy charm, right?19:36
* marcoceppi is excited19:38
imbrandonyea i'm wonder if nginx and nginx-proxy should be seperate19:38
imbrandonguess so19:38
imbrandonwhoa19:46
imbrandonumm19:46
imbrandonhazmat: does awesome mean no need for providers19:46
hazmatimbrandon, well it lessons the need for a native ostack provider at the cost of running a proxy19:47
imbrandonnice19:47
imbrandoni've just seen the anouncement not read it all the way19:48
imbrandonare we talking a set of programs proxy or a whole machine instance19:48
hazmatimbrandon, its basically a proxy that turns ec2 api calls into openstack native calls19:48
hazmatand the proxy would have to be setup to be accessible from both the client and the environment (the provisioning agent needs to be able to use it as well)19:49
imbrandonahh19:49
imbrandonso a bit more to it19:49
imbrandonbut still19:49
hazmati still think a native openstack provider has some value19:49
imbrandonyea, a lot less headache i think19:50
imbrandoni got it kinda workin btw but i'm not happy at all with my python skills19:51
marcoceppiHow do I reslove "Relation-errors" in juju?20:26
marcoceppijuju resolved doesn't seem to work20:26
SpamapSmarcoceppi: it should20:28
marcoceppihttp://paste.ubuntu.com/928475/20:28
marcoceppiSpamapS It failed for the first unit-add, so I upgraded charm with the fix, removed the extra unit, re-added it. It succeeded on the new unit but the old unit still has a relation error20:29
marcoceppiIt's also not executing subsequent additional peer relations20:29
marcoceppiScratch that last line20:30
marcoceppiI'm not sure if that's 100% true or not20:31
SpamapSmarcoceppi: there was at one time a problem with upgrade-charm when the state was error20:32
hazmatmarcoceppi, juju resolved -h20:33
marcoceppihazmat: thanks20:33
hazmatmarcoceppi, you have to pass the relation name, else it just tries to resolve the unit alone20:33
hazmatSpamapS, that's still the default, but its possible to pass a --force flag now20:34
marcoceppisweet20:34
hazmatthe upgrade state check only applies to the unit's agent-state not its relations, --force will bypass that check, but also won't execute the upgrade-charm hook (else the latter would have to cope with arbitrary conditions).20:39
marcoceppiOkay, so I resolved the relation, but when the hook re-runs it's not getting the relation data anymore20:42
hazmatmarcoceppi, what do you mean?20:53
hazmatmarcoceppi, it can't access data of itself or a related unit?20:53
marcoceppihazmat: when the relation re-ran it didn't seem to actually receive the data from the peer relation20:53
hazmatmarcoceppi, can you pastebin the relevant parts of the debug or unit log?20:54
marcoceppiwell, it looks like the relation re-runs when you execute juju resolved, when it did it produced the files it was supposed, only it was missing all the data exposed in the peer releation20:54
marcoceppihazmat: shoot, I just destroyed the environment. Not feeling 100% today and about to head home20:55
hazmatmarcoceppi, bummer. hope you feel better, feel free to ping on it whenever20:55
hazmat^me20:55
marcoceppihazmat: I have this from the charm.log on the unit that failed:20:55
marcoceppiactually20:56
marcoceppiwait, no it chocked on a different hook20:56
marcoceppinevermind20:56
imbrandonSpamapS: your on mac hardware right ?21:02
imbrandonever seen this problem ? http://f.cl.ly/items/2N2k141d3G3Z193I2K0T/IMG_0084.JPG21:03
SpamapSyes21:03
imbrandonbtw the normal image seems to work, the made for mac one wouldent even boot21:03
SpamapSimbrandon: no, but I'm on a MBP 5,1 w/ nvidia21:04
SpamapSor MBA 4,1, which is intel21:04
imbrandonhrm , this has ati21:04
SpamapSyeah I got no ATI21:04
imbrandonbut the green monitor is actually usb21:04
SpamapSI don't think I'll ever buy anything but intel graphics ever again21:04
imbrandonits a dvi --> usb21:04
SpamapSso tired of proprietary drivers21:04
imbrandonhehe :)21:04
imbrandonugh cmd t not new tab21:05
imbrandongonna have to retrain my hands21:05
imbrandonyea the two hooked to the ati card are fine, the one hooked to usb is green21:06
imbrandon:(21:06
imbrandonanyhow install finished, let me reboot and i'll see if i cant get it fixed up, least got a native 12.04 install now21:06
imbrandonso far thats the only issue, abeit a big one21:07
hazmatodd just had an ec2 instance stuck in pending for 30m.21:08
* hazmat watches the cloud burp21:08
hazmatah.. ec2 status page notes increased errors and latencies21:09
SpamapShazmat: -> us-west-221:13
SpamapShazmat: I've been using it a lot lately.21:13
hazmatSpamapS, yup just switched out to it21:13
hazmati wish ec2-describe-regions actually had the location name as well, would make it a bit easier21:13
SpamapShazmat: I've also noticed that us-east-1 is throwing more and more instances into random AZ's where it used to mostly put them all in a21:13
hazmatthis destroy env waiting this is totally bogus21:15
hazmaton ec2, it never works21:15
hazmatwe should zero out the groups perms lazily21:15
hazmatinstead21:15
m_3totally needs a '-y' or '-f' too imo... I've got to `yes | juju destroy-environment -e...`21:24
marcoceppim_3: IMO I think if you supply a -e with destroy-environment it shouldn't prompt you yes or no, only when you run it with the default environment21:28
m_3marcoceppi: I'm fine with a '-y' yes, I really wanna21:30
m_3but something automatable21:30
* SpamapS updates juju packaging branch to require txzookeeper >= 0.9.5~21:41
imbrandondmesg22:03
imbrandonugh22:03
imbrandonvi /usr/share/X11/xorg.conf.d/52-displaylink.conf22:07
imbrandonjesus this hotkeys are gonna kill me22:08
SpamapSnice, I just upgraded my machine 0 from 519 -> 529 w/o incident22:11
imbrandonheh i get the 3rd display working and the other 2 stop22:19
imbrandonok time to call in the big dawgs and find someone in #ubuntu-x22:19
imbrandonand yup, my luck, no one arround on a friday at 522:26
imbrandon:)22:26
SpamapSanybody else playing with subordinate charms yet?22:40
m_3SpamapS: not yet.. how's it going?22:43
SpamapSinterestingly22:44
* m_3 is just left hanging...22:46
SpamapSwell its not clear to me how arbitrary things can be related to other arbitrary things, as I thought they would22:46
SpamapSbut perhaps I should RTFM22:47
SpamapSI get 'No matching endpoints'22:49
SpamapSwhich contradicts the docs22:49
SpamapSah ok22:51
SpamapSthe docs aren't clear that you have to use interface: juju-info for that22:51
SpamapSdoh, s3 fail22:54
m_3east-coast primetime... yay22:55
marcoceppiSpamapS: I plan on playing with them in a few hours23:02
m_3SpamapS: can't wait to experiment23:03
SpamapSdon't try to do munin23:08
SpamapSnearly done with that23:08
SpamapS:)23:08
imbrandonjesus frakin christ, i feel like its 1999 and i'm having to edit an xorg file and cant get the damn thing right , and to top it off recovery console dident work because after it loads the console font it scrambles the screen23:10
imbrandonfml23:10
SpamapSimbrandon: I know the feeling. proprietary drivers are the suck23:11
imbrandonthere is a reason i use a desktop that "just works" its so my bloodbreasure isnt this high23:11
imbrandonSpamapS: i have all free drivers23:11
imbrandonSpamapS: displaylink drivers are open too, as well as the ati ones i have loaded, they just dont work togather23:11
SpamapSahh23:12
SpamapSso its just X fail23:12
imbrandonugh i'm just gonna use 2 screens for now23:12
imbrandonyea x fail23:12
imbrandoni have like 3 of these adapters, they are run of the mill $30 at amazon, i have like 2 laying extra on my desk, maybe i can bribe some x hacker to make it "just work": with one23:13
imbrandoni'll blog later about it23:13
imbrandonpisses me off though, simple shit like this should work, i know its a common setup23:14
imbrandoni see it daily23:14
imbrandonits almost as bad as the big open whitespace on g+ now lol23:15
imbrandonanyone else notice that ?23:15
SpamapShttp://ec2-23-22-28-42.compute-1.amazonaws.com/munin/23:41
SpamapSwoot23:41
imbrandonnice23:41
SpamapSlp:~clint-fewbar/charms/oneiric/munin-node/trunk23:44
SpamapSfeels a bit weird.. the service name on the other end is munin-node, not the real service name..23:46
SpamapSso interfaces will probably have to push stuff like that through relation channels23:46
m_3SpamapS: cool man23:51
SpamapSok, so , it seems to work. time for copious amounts of alcohol and sushi23:54
imbrandonlol23:55
SpamapSI have to say.. I looked at doing munin-node with existing chef/puppet solutions for it.23:56
SpamapSthey were all twice as complex23:56
SpamapSthe chef cookbook is basically the same..23:56
SpamapSbut has all the extra logic for installing on every platform under the sun23:57
SpamapSok... gone23:57
imbrandonthats not nessesarily bad if done right, juju will have to grow multi platform wings someday to survive imho23:58
imbrandonshould be abstratced at the juju engine api though, not at the charm/cookbook23:59

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