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

marcoceppiI found a weird regression00:17
hazmatmarcoceppi, how so?00:17
marcoceppiin juju-0.7 I can do `rsync -avz -e "juju ssh -e <juju_env>" charm/0:/path/to/file ./` but that fails in juju-core (logging bug) since it's trying to parse everything after the unit is given in the command chain00:18
sarnoldcharm/0:/foo  works? wow00:19
marcoceppisarnold: when you set -e to juju ssh, it does, it basically computes to something like this: juju ssh mysql/0 rsync --server --sender -vvlogDtprze.iLsf . "/var/log/juju/*"00:21
sarnoldmarcoceppi: very neat :)00:21
marcoceppihazmat: not sure how likely this is to get fixed in core, looks like a discrepancy with the way arguments are parsed compared to 0.700:21
* marcoceppi considers a juju-rsync plugin as an alternative00:22
hazmatyeah.. if the latter form works i'd consider it an oddball00:22
hazmatie rsync after the unit spec00:22
marcoceppiShould I not bother a bug report then? Given this appears to be "expected" behavior in juju-core?00:23
hazmatmarcoceppi, for ssh compounding to the unit name to me seems like a non feature.. if it also applies to juju scp where the common form is host:/path then its worth a bug.. else not imo.00:25
marcoceppihazmat: ack00:26
hazmathmm00:27
hazmatmarcoceppi, by charm/0 you met unit/0 ?00:27
hazmatment00:28
hazmatmarcoceppi, you ever head out to lost dogs?00:28
marcoceppihazmat: yes, so something like mysql/0 - what I was saying is that rsync command works with 0.7 pyjuju but not juju-core00:28
marcoceppihazmat: I live near it, but I've not traveled that way00:28
marcoceppiI hear they have good pizza and beer though00:28
hazmatmarcoceppi, indeed they do.. and good sandwitches.. i hit them up on a regular basis.. was debating a journey out this evening00:30
hazmatmarcoceppi, this form.. `rsync -avz -e "juju ssh -e <juju_env>" charm/0:/path/to/file ./` working isn't worth a bug.. it is if this one doesn't though imo..  juju ssh mysql/0 rsync --server --sender -vvlogDtprze.iLsf . "/var/log/juju/*"00:31
hazmatomg .. -vvlogDtprze.iLsf00:32
marcoceppihazmat: the neither work because juju says: error: flag provided but not defined: --server00:32
hazmatmarcoceppi, so the latter one is worth a bug.. anything after the unit/machine should be passed through to ssh00:33
marcoceppihazmat: ah, that sounds lovely, if it was an invitation I sadly have plans tonight. Any other day I would be down for beer and sandwiches00:33
marcoceppihazmat: ack, so i the latter is fixed, the former will also be repaired as the former expands to the latter00:33
marcoceppis/so i/so if/00:33
* marcoceppi files a bug00:34
hazmatmarcoceppi, cool, and icc00:34
dpb1thumper: awesome, thanks01:21
=== defunctzombie is now known as defunctzombie_zz
mwhudsonhmm01:31
mwhudsonhow do you deploy onto quantal?01:32
thumpermwhudson: whazzup?01:32
thumpermwhudson: simplest way is to set default series in environments.yaml01:32
mwhudsondone that01:32
thumperyou also need quantal charms01:32
mwhudsonaah ok01:32
mwhudsonand there aren't many?01:32
thumperright01:32
thumpermost are lts only01:32
thumperI guess you could branch the precise charms locally01:33
mwhudsonfun fun fun when the lts kernel doesn't boot with the firmware you are using01:33
thumperthen use a local charm to push to quantal01:33
* thumper waves his hands01:33
thumperthen magic happens01:33
thumpersorry, not push01:33
thumperdeploy local:foo01:33
* mwhudson sighs01:34
thumperI don't know the details...01:34
thumperbut seems possible01:34
mwhudsonyeah, must be possible01:34
thumperwith not too many hoops01:34
marcoceppimwhudson: you can also deploy the precise version of a charm to a quantal environment (not recommended). I believe if you do juju deploy cs:precise/mysql with a quantal default-series you should get the precies charm on a quantal machine01:38
* marcoceppi double checks01:38
mwhudsonmarcoceppi: don't bother, you don't01:38
mwhudsonbecause that's what i did earlier01:38
marcoceppimwhudson: juju-core or juju-0.7?01:38
mwhudson0.701:39
mwhudsonbecause i'm deploying to armhf, see earlier :)01:39
marcoceppiah, fun fun01:39
marcoceppiyeah, you're going to need to branch the charms, some thing like mkdir ~/charms/quantal; bzr branch lp:charms/mysql ~/charms/quantal/; juju deploy --repository ~/charms local:mysql; unfortuantely01:40
marcoceppiokay /me really needs to go01:40
mwhudsonta01:41
sarnoldhaving done two (very simple) charms so far, it seemed like it'd be easy to have precise and quantal versions.. but now there's also raring, and soon saucy, all before the next lts.. On the one hand, having versions for all of those sounds a bit kind, on the other hand, doing the work to make them happen is enough work that I haven't yet...01:44
sarnold.. and I'd feel bad if someone found problems with e.g. a quantal version six months after I'd stopped even using it..01:45
sarnoldis there a suggested best practice here?01:46
mwhudsonwould one expect juju (0.7) to survive the bootstrap node unexpectedly rebooting?02:40
mwhudson2013-05-22 22:35:55,402: twisted@ERROR: Unhandled Error02:41
mwhudsonTraceback (most recent call last):02:41
mwhudsonFailure: zookeeper.NodeExistsException: node exists02:41
mwhudsonin machine.log doesn't look good :(02:42
sarnoldmwhudson: I think I heard that's not supported..02:46
mwhudsonyay02:46
* mwhudson runs destroy-environment02:46
mwhudsonone more time can't hurt right?02:46
sarnoldI assume they go to environment heaven, where the clouds are .. cloudy, and zookeepers have a lot of cool animals to tend02:50
=== defunctzombie_zz is now known as defunctzombie
AskUbuntu-bash: metrik@Metrik-Corp-Server1-MASS-Control:~/.juju$: No such file or directory | http://askubuntu.com/q/29894104:50
=== defunctzombie is now known as defunctzombie_zz
=== rogpeppe1 is now known as rogpeppe
mattywI keep getting the "cannot get latest charm revision: no charms found matching" when deploying a local charm, any idea how to debug this, I'm sure my yaml files are valid. It seems similar to this but I even get it when removing the symlinks I have https://bugs.launchpad.net/juju-core/+bug/112931910:08
_mup_Bug #1129319: Local charm deployment not working if symlinks are used <juju-core:New> <https://launchpad.net/bugs/1129319>10:08
hazmatmattyw, perhaps there's an error on the charm itself10:46
hazmatmattyw, really simple go program to verify a charm.. http://paste.ubuntu.com/5693306/10:46
mattywhazmat, looks like it was my metadata.yaml having an error10:47
mattywhazmat, that's a great little tool thanks10:47
mattywhazmat, it would be useful for that tool to be available in juju somehow - like a juju verify-charm command or a plugin10:52
hazmatmattyw, agreed.. plugins are a little problematic..10:57
hazmatfor go ironically10:58
hazmatno compilation/distribution model10:58
mattywit doesn't seem like doing juju destroy-service or juju remove-unit on a charm which has failed works, anyone else seen this?11:07
sidneimattyw: you have to mark it as resolved first, so that the stop hook gets called11:15
mattywsidnei, ok thanks11:15
* hazmat prefers juju-deployer -T -W11:25
* hazmat files a bug report for force11:26
hazmatbug 1089289 and bug 1183309 fwiw11:28
_mup_Bug #1089289: remove-unit --force <juju-core:Confirmed> <https://launchpad.net/bugs/1089289>11:28
_mup_Bug #1183309: destroy-service should have a force option <juju-core:New> <https://launchpad.net/bugs/1183309>11:28
mattywmarcoceppi, ping?12:22
marcoceppimattyw: pong12:22
mattywmarcoceppi, thanks for the legacy_juju review, it's already in charm helpers as the juju-gui guys are using it as well, shall I still submit and MP to get it into the main part of helpers?12:26
marcoceppimattyw: If the code already exists in the new charm-helpers project I wouldn't worry about it. If not, then I'd say open a merge request for it (if you're interested in seeing it live on)12:27
=== wedgwood_away is now known as wedgwood
=== scuttlemonkey_ is now known as scuttlemonkey
mattywhas anyone tried deploying the postgresql charm using juju-core? I'm seeing an error during it's call to relation-list saying -r isn't defined as a flag13:49
marcoceppimattyw: it's a known bug in juju-core13:51
marcoceppimattyw: https://bugs.launchpad.net/juju-core/+bug/117289513:51
_mup_Bug #1172895: relation-list incompatibility with pyjuju: -r <juju-core:Fix Committed by fwereade> <https://launchpad.net/bugs/1172895>13:51
mattywmarcoceppi, ok cool, just wanted to know if I should be raising it or was it already captured13:51
marcoceppimattyw: looks like it's actually targeted for the next patch release of juju-core, (1.10.1) not sure when that will be though13:52
sinzuihi ~charmers. I have a branch that needs review: https://code.launchpad.net/~sinzui/charms/precise/mongodb/restore-from-dump/+merge/16540814:30
sinzuimaybe wedgwood should look at it ^ since webops want the feature14:30
wedgwoodsinzui: did they?14:32
wedgwoodsounds like something webops would ask for14:34
wedgwoodI'll have a look today14:34
sinzuiwedgwood, mthaddon reported the issue in regards to jujucharms.com14:34
wedgwoodsinzui: I suppose I should say I'll *try* to get to it today. I've got a sprint next week that I'm prepping for. If I don't get to it today, it'll be a while.14:35
mthaddonsinzui: ftr, wedgwood is no longer in webops, is now in IS projects, but is obviously still involved in charm reviewing generally14:36
sinzuiwedgwood, thank you for trying. Does this sprint involve updates to an elasticsearch charm (I saw a references to it in an rt)14:36
sinzuimthaddon, thank you. I did not know that14:37
mthaddonsinzui: we're in squads now, rotating between web0ps, projects and operations14:37
sinzuioh14:38
wedgwoodsinzui: and next week's sprint regards that reorg. No elasticsearch work that I'm aware of14:39
mthaddonwedgwood: it may be one of the targets for paired juju programming, but I can't confirm that at the moment14:40
sinzuiokay. I have a todo to update our version of the charm to release 0.90.0. Once done, I think I will propose it to replace the current charm as it addresses most of the issues that have been brought up about the current charm14:40
=== andrewebdev_ is now known as andrewebdev
paraglademarcoceppi: look like I am not getting the SSL issue again but this time I am getting the error when tying to bootstrap an EC2 instance ( http://pastebin.ubuntu.com/5694293/ )17:05
paragladedid you happen to have a fix for this?17:05
marcoceppiparaglade: not this specific error, as I mentioned yesterday someone was having "similar" ssl issues, they reinstalled ca-certificates and that resolved it for them. I'm honestly not sure about this error as I've not encountered it in Juju before17:06
marcoceppiparaglade: outside of filing a bug, that would be my only suggestion :\17:07
paragladeack17:07
sarnoldparaglade: you could use strace or fatrace to try to find out _which_ file causes that error.17:08
sarnoldparaglade: knowing that might get you to a point where you could investigate ..17:09
* paraglade shakes head17:18
paragladewell turns out that I have some *.pem files in my .juju dir that juju does not like.  thanks sarnold strace helped.  I am now able to bootstrap.17:19
sarnoldparaglade: woo! :)17:20
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
=== defunctzombie_zz is now known as defunctzombie
=== defunctzombie is now known as defunctzombie_zz
bachi marcoceppi, there is a new team ~juju-gui-charmers that has ~juju-gui and ~charmers in it.  we'd like the branch of the GUI that team owns to be the official charm.  can you do that or is that an m_3 thing?19:36
marcoceppibac: I should be able to, let me take a look19:46
bacthx19:46
marcoceppibac: juju-gui has been re-promulgated to https://code.launchpad.net/~juju-gui-charmers/charms/precise/juju-gui/trunk19:59
marcoceppiI'm deleting the ~charmers branch19:59
bacmarcoceppi: cool, thanks19:59
bacmarcoceppi: not yet, please19:59
marcoceppibac: ack, np20:00
bacmarcoceppi: there is a bug i'm working with orange resolve.  they only look at ~charmer owned branches for the charm browser, not the official one20:00
bacmarcoceppi: i'd like the ~charmers branch to remain until that bug is fixed20:00
marcoceppibac: Oh, that's right. No problem - not sure how you'll want to handle keeping that update (if at all) but I'll leave that up to you20:01
bacmarcoceppi: hopefully by resolving the bug v. soonish20:01
bacmarcoceppi: the upside of this change is now ~charmers can push to that location, which was one of the motivations (he said stating the obvious).20:03
m_3bac: marcoceppi: the ~juju-gui team branch has been the official one used when `juju deploy juju-gui`20:47
m_3the problem is that jujucharms.com points only to ~charmers branches and needs to be fixed20:47
m_3there's a bug on that somewhere20:47
m_3marcoceppi: we can't delete the ~charmers stuff with all the junk stacked on top of it still... at least I don't know how to do that without getting lp help from #IS20:49
bacm_3, orange has a fix to that bug about to land.20:49
bacm_3, hmmm, hadn't considered stacking...20:49
marcoceppim_3: yeah, I tried to delete it before bac said to wait, and was met with newman saying "no no no, you didn't say the magic word"20:49
m_3lp:charms/juju-gui was matching lp:~juju-gui/charms/precise/juju-gui/trunk and that was the one deployed by the CLI20:51
hazmatm_3, unfortunately the code base has changed so greatly from the version on jujucharms.com  i'm reluctant to do a quick fix..21:01
hazmati guess its not the end of the world..21:01
m_3hazmat: yeah, that ones been sitting there for a while... I wanted to get together over UDS-time to hash out a decent soln21:17
m_3so current situation is that `juju deploy juju-gui` deploys lp:~juju-gui-charmers/charms/precise/juju-gui/trunk, but jujucharms.com still points to lp:~charmers/charms/precise/juju-gui/trunk21:20
* m_3 back to talks21:23
gary_postermarcoceppi, very cool about juju-test.  I'll see if we can switch to it (may require switching our charm tests to juju core, which we ought to do anyway, but makes testing your work farther away)22:18
marcoceppigary_poster: you can use juju-test with pyjuju :)22:18
gary_postermarcoceppi, oh cool!  I thought we would need the plugin stuff22:19
marcoceppigary_poster: naw, if it's in the path, just run juju-test intead of juju test22:19
gary_posterawesome marcoceppi I'll pass that along22:19
gary_posterthanks22:19
marcoceppigary_poster: plugins haven't even been "released" yet, they just landed in trunk yesterday22:20
marcoceppigary_poster: no problem. I'm all ears to feedback, what sane defaults should be, etc. just let me know!22:20
gary_postercool, will do :-)22:20
arosalesmarcoceppi, +1 on the testing progress. Thanks for the work and update.23:35

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