Inconsistency with relation names?

Marco Ceppi marco at ondina.co
Sat Aug 18 04:13:23 UTC 2012


Hey everyone,

I was going through the different charms, their relations, and 
ultimately the interfaces they provide/consume. One thing I noticed was 
an inconsistency of relation names (or what I think is called the 
"relation name"). I know there was chatter of eventually solidifying 
interface specs and names, but would that include (what I've been 
referring to as) relation names?

Here's a few examples:

We have a rockin' MySQL[1] charm which at it's core provides a db 
relation using the mysql interface (db being the relation name). There's 
another sweet charm, MongoDB[2], which provides a database relation 
using the mongodb interface. I'm under the impression that the relation 
names for these two charms _should_ be the same, right?

If so, there are some other common "relation names" that I think should 
be fixed or considered. I would assume that these would be bugs opened 
for each charm it affects but another example would be the nfs[3] charm 
which provides both an nfs relation and interface. This causes a bit of 
a conflict with a few of the up-and-coming shared filesystems (which nfs 
falls under that category). Those other charms are using a shared-fs[4] 
relation name and either nfs, mount, or another interface name.

UDS will probably be the best place to open discussions about how to 
handle this (if this is indeed an issue) but I wanted to start poking to 
see if what I'm thinking makes sense and how to handle this.

Thanks!
Marco Ceppi

1: http://jujucharms.com/charms/precise/mysql 
<http://jujucharms.com/charms/precise/mongodb>
2: http://jujucharms.com/charms/precise/mongodb
3: http://jujucharms.com/charms/precise/nfs 
<http://jujucharms.com/charms/precise/mongodb>
4: http://jujucharms.com/~marcoceppi/precise/gluster-client 
<http://jujucharms.com/%7Emarcoceppi/precise/gluster-client>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20120818/da9a2de3/attachment.html>


More information about the Juju mailing list