cf-charmers team mailing list archive
-
cf-charmers team
-
Mailing list archive
-
Message #00308
How deployer sets relations
Hi guys,
could you please help me understand is it a bug of juju-deployer or not?
in metadata.yaml of cf-mysql-broker charm:
requires:
db-admin:
interface: mysql
gets: [host, database, user, password, slave]
in bundles.yaml relations defined as:
- [mysql, [cc, broker]]
So I expect for cf-mysql-broker 'db-admin' relation but what actually I get
is 'db'...
CC requires 'db' connection and it gets it. But why 'db' instaed of
'db-admin' for the broker?!
$juju status mysql
environment: local
.....
services:
mysql:
charm: local:trusty/mysql-311
exposed: false
relations:
cluster:
- mysql
* db:*
- *broker*
- cc
units:
mysql/0:
agent-state: started
agent-version: 1.19.2.1
machine: "5"
public-address: 192.168.122.130
Thank you in advance,
-Alex Prismakov | Altoros
Follow ups