/srv/irclogs.ubuntu.com/2014/01/02/#juju.txt

=== CyberJacob is now known as CyberJacob|Away
marcoceppimichal_s: can you provide the logs from /var/log/juju/juju-wordpress-0.log ?00:23
=== freeflying is now known as freeflying_away
=== freeflying_away is now known as freeflying
=== sivatharman__ is now known as psivaa
michal_smarcoceppi: I will deploy clean WP today and copy logs. Thank You for replay.09:03
fwereademarcoceppi, ping11:55
=== gary_poster|away is now known as gary_poster
marcoceppifwereade: pong13:37
jcastromarcoceppi, heya13:42
jcastroWelcome back everyone!13:42
hatchwb jcastro!13:43
marcoceppijcastro: o/13:44
jcastroMan dude, there's a foot of snow on the ground13:45
jcastromarcoceppi, I was in the caribbean a week ago. What happened.13:45
marcoceppijcastro: sounds like you should head back to the caribbean. It's been quite around here, most people enjoying the holidays13:46
jcastronod13:47
jcastrohmm, did you do a tools release over the break?13:48
jcastrogot a new one in the PPA13:48
marcoceppijcastro: maybe, I don't remember. I've got a new amulet release I'm pressing right now13:53
marcoceppiand there were some updates to python-charmworldlib13:53
* jcastro nods13:54
fwereademarcoceppi, hey dude13:58
fwereademarcoceppi, I wanted a quick read on https://bugs.launchpad.net/juju-core/+bug/110007613:58
_mup_Bug #1100076: subordinate require juju-* relations should be deprecated <juju-core:Triaged> <https://launchpad.net/bugs/1100076>13:58
fwereademarcoceppi, basically I would like to claw back the "juju-*" namespace for relations13:58
marcoceppifwereade: looks exciting, I'll take a peek13:58
marcoceppifwereade: oh, that was a lot more straight forward then I thought13:59
fwereademarcoceppi, yeah, I didn't think it seemed *that* exciting, but who am I to judge? ;p13:59
marcoceppifwereade: so, I noticed a lot of charms doing this already. Just specifying a different interface name then having the scope variable set (or whatever it is)14:00
fwereademarcoceppi, yeah, it's really just a bunch of trivial name changes14:00
marcoceppifwereade: My question, what about subordinates that don't share any inheritance?14:00
fwereademarcoceppi, but it's all more work for busy people14:00
marcoceppifwereade: like the rsyslog-frowarder charm14:00
fwereademarcoceppi, not sure -- restate please?14:01
marcoceppifwereade: so juju-info is used to say "this is the fallback interface, if there is no matching interface name on the parent charm of the relation"14:01
marcoceppithat way the charm the sub is attaching to doesn't have to have an interface for a subordinate, juju-info is the implicit interface name for that matching14:02
marcoceppiHow would that be handled in a 2.0 where juju-* were removed?14:02
fwereademarcoceppi, we'd still be providing juju-info, that'd just require (say) "info" -- and still require the juju-info *interface*, and it should keep working just fine14:03
fwereademarcoceppi, the falling back happens anyway14:03
fwereademarcoceppi, juju only matches implicit relation when it can't match an explicit one14:03
marcoceppifwereade: right, so what's the question here?14:04
marcoceppiWhat's the goal of the bug, if juju-info will remain an option?14:04
marcoceppimaybe I missed something, it's still still early in the year :)14:05
fwereademarcoceppi, the goal is to prevent people from naming things "juju-"14:05
fwereademarcoceppi, so that we have that namespace to play in ourselves14:05
marcoceppifwereade: as a relation name?14:05
fwereademarcoceppi, without fear of collision14:05
fwereademarcoceppi, yeah14:05
marcoceppioh, yeah that's totally cool then14:05
marcoceppiI can add that as a proof item, just an INFO output, so we can start tailoring people away from that now14:06
marcoceppifwereade: but it makes sense14:06
fwereademarcoceppi, that would be *great*, yes please14:06
fwereademarcoceppi, and I'll throw the bug over the wall at arosales and leave the getting-it-scheduled to him, I guess?14:06
marcoceppifwereade: I can add it to our board, and I'll just generate a new bug on charm-tools with a reference to this one14:07
marcoceppifwereade: as it firms up and becomes an actually reserved relation name in juju we'll move the status of the proof item from I to E14:07
fwereademarcoceppi, that's fantastic -- can you think of a good way to make us remember to actually disallow it in juju when your side of the bug is fixed?14:08
fwereademarcoceppi, ie the fix-existing-charms side14:09
marcoceppifwereade: once it's in proof, it'll get caught during our audit that's on going14:09
marcoceppiso the majority of charms should be addressed with this14:09
marcoceppifwereade: I'll make a note about the bug to have you pinge/comment on the bug once the audit is over14:10
fwereademarcoceppi, ok, awesome14:10
fwereademarcoceppi, I'll drop this one to "low" then with a note that it's an easy fix once the ecosystem is updated14:11
marcoceppifwereade: https://bugs.launchpad.net/charm-tools/+bug/126552414:13
_mup_Bug #1265524: juju-* relation names to be depreciated <Juju Charm Tools:Triaged by marcoceppi> <https://launchpad.net/bugs/1265524>14:13
=== dannf` is now known as dannf
manjiriHappy New Year! Just by trying it out, I was able to use "local": "cassandra" in the juju-deployer json configuration file. Where is "local" documented? (only "branch" is documented as far as I can tell).16:48
rick_h_manjiri: https://juju.ubuntu.com/docs/charms-deploying.html#local might be a good start.16:49
manjiririck_h_: I am referring to "juju-deployer" for which the documentation is here: http://pythonhosted.org/juju-deployer/16:51
rick_h_manjiri: right, but it's just doing a deploy of those services specified16:51
rick_h_manjiri: so understanding how to deploy a local charm fits into the usage you're doing16:51
manjiririck_h_: I think I understand how to use the documentation for "juju deploy", but it is not clear to me how to map that to juju-deployer. I feel like I am missing a link between the two.16:53
rick_h_manjiri: what are you trying to do that you're not sure about?16:53
manjiririck_h_: juju-deployer documentation mentions "branch: lp:charms/precise/wordpress". There is no mention of "local: <charm>". Yet, when I tried it, it worked! That seems mysterious.16:55
rick_h_manjiri: ah, well there's some limitations currently. The juju gui, which accepts deployer files, does not work with local charms.16:56
rick_h_manjiri: I'm not sure where the docs on the deployer are as far as up to date-ness. A bug on that might be worthwhile.16:56
manjiririck_h_: Actually, what I am saying is, that it DID work. It works but there is no documentation about it. (I am aware that the charm icon won't show).16:57
rick_h_manjiri: right, understand.16:57
rick_h_manjiri: I'd suggest filing a documentation bug https://bugs.launchpad.net/juju-deployer16:58
manjiririck_h_: I will file a bug. I have already filed one for "weights" which is not documented either. Thanks!16:59
manjiririck_h_: About the icon not showing, I was aware that an icon that has not been reviewed will not show. But even ones that are officially published e.g. keystone do not show if juju-deployer is used. I have filed a bug for that as well.17:00
rick_h_manjiri: it will only show if it's the official reviewed version of the charm.17:01
rick_h_manjiri: from the charm store itself17:01
rick_h_manjiri: otherwise, a forked charm, local charm, etc, it will not17:01
rick_h_manjiri: note that only one has the icon https://jujucharms.com/fullscreen/search/?text=keystone17:02
manjiririck_h_: The configuration file for juju-deployer says "branch": "lp:charms/keystone" - I got this file from https://help.ubuntu.com/community/UbuntuCloudInfrastructure/JujuBundle17:03
rick_h_manjiri: hmm, yea that's via the lp branch name and not the cs: url. I wonder if that's the issue then.17:04
rick_h_manjiri: since it's not the cs:precise/keystone url I don't think it'll show.17:05
manjiririck_h_: I have tried to ask the person - jorge.castro@canonical.com  - who last updated that configuration questions about it - but I have not received any response. I am not sure what is expected to work and how well.17:07
manjiririck_h_: All of the bugs I have filed against juju/juju-deployer/openstack are based on that configuration file. But those bugs have yet to be looked at. Perhaps the holiday season is why the progress has been slow. I am looking forward to more information on that configuration file!17:08
rick_h_manjiri: definitely, most people were well away and slowly getting back17:09
jcastromanjiri, hi, can you reforward me your mail? I don't see a mail about the openstack bundle, maybe I missed it?17:10
manjirijcastro: Sure thing. You can ignore the particular question in that email - I found a bug that suggests that console support is known to be lacking in the nova compute charm.17:11
* jcastro nods17:12
manjirijcastro: I have re-sent the email.17:12
manjiririck_h_: jcastro:  Btw, I am working with Kapil, Adam and few others on this project. They suggested that IRC and Bugs are the way to get answers to my questions.17:13
* jcastro nods17:14
rick_h_manjiri: definitely.17:14
jcastromanjiri, most of us got back to work today; we're not normally slow17:16
jcastrowell, not _too_ slow anyway. :)17:16
manjirijcastro: rick_h has helped me out a couple of times... Its all good.17:17
jcastrosweet!17:18
manjiririck_h_: Just tried cs:precise/keystone with juju-deployer. Does not like it. Only likes "lp:"17:38
rick_h_manjiri: ah, did you use hte branch: keyword?17:38
rick_h_manjiri: I think it only works with charm: cs:precise/keystone. /me goes to check17:38
rick_h_manjiri: yea, see http://bazaar.launchpad.net/~jorge/charms/bundles/mediawiki-scalable/bundle/view/head:/bundles.yaml for an example17:39
manjiririck_h_: jcastro: It would be nice to know what in https://help.ubuntu.com/community/UbuntuCloudInfrastructure/JujuBundle is expected to work and what is not.17:42
manjiririck_h_: charm: keyword didn't work either17:50
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
marcoceppimanjiri: where did you get juju-deployer from, what version is the package?18:18
manjirimarcoceppi: 0.2.5-0ubuntu1~ubuntu12.04.1~juju118:19
marcoceppimanjiri: huh, yeah that's the lastest18:20
manjirimarcoceppi: My biggest concern is the documentation on juju-deployer. The icon issue is negligible at this time.18:23
marcoceppimanjiri: have you checked this? http://bazaar.launchpad.net/~juju-deployers/juju-deployer/trunk/files/head:/doc/18:24
marcoceppimanjiri: possibly a bit out of date18:25
manjirimarcoceppi: Sorry, but I don't see the "manual" doc here18:26
marcoceppimanjiri: config.rst18:26
manjirimarcoceppi: Ah! That does not mention "local" or "weight" keywords. I tried "local" on a hunch and it worked (!) and "weight" is actually used in https://help.ubuntu.com/community/UbuntuCloudInfrastructure/JujuBundle. I am not stuck at the moment, but knowing that "latest" documentation isn't complete warns me that future issues will be hard to figure out.18:30
marcoceppimanjiri: dev seems to be going faster than docs on this18:30
marcoceppimanjiri: so, IRC is probably your best bet, and other people's examples18:31
manjirimarcoceppi: Sounds like it. Thanks for your help!18:31
marcoceppimanjiri: I saw you mentioned keystone, here's a few openstack examples in deployer format: http://bazaar.launchpad.net/~james-page/charms/bundles/openstack-on-openstack/bundle/view/head:/bundles.yaml18:32
manjirimarcoceppi: It appears that yaml is more popular that json for deployer? Is that correct?18:36
marcoceppimanjiri: it's subjective. both are supported equally given one is a subset of the other18:36
marcoceppimanjiri: yaml is generally preferred and used without the juju project (environments.yaml, config.yaml, etc)18:37
marcoceppias such deployer uses yaml and most of the examples are in yaml18:37
marcoceppibut I know json is def supported if you're more comfortable with that format18:37
manjirimarcoceppi: My starting point was json file posted on https://help.ubuntu.com/community/UbuntuCloudInfrastructure/JujuBundle, but since then I have only seen yaml examples... I will switch to yaml.18:38
marcoceppimanjiri: huh, interesting18:39
=== CyberJacob|Away is now known as CyberJacob
bic2kIf I wanted to move the juju CLI configs from my personal machine to a more central machine, what would I do? I have copied over the contents of my ~/.juju but it insist on wanting to bootstrap still20:28
=== cmagina_ is now known as cmagina
=== gary_poster is now known as gary_poster|away
=== kentb is now known as kentb-away

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