2016-01-13 16:55:21 Adding relation ubuntu:juju-info <-> collectd:juju-info
Traceback (most recent call last):
File "/usr/bin/juju-deployer", line 9, in <module>
load_entry_point('juju-deployer==0.6.1', 'console_scripts', 'juju-deployer')()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
run()
File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 234, in run
importer.Importer(env, deployment, options).run()
File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 325, in run
rels_created = self.add_relations()
File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 235, in add_relations
self.env.add_relation(end_a, end_b)
File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 51, in add_relation
return self.client.add_relation(endpoint_a, endpoint_b)
File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 1122, in add_relation
'Endpoints': [endpoint_a, endpoint_b]
File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 317, in _rpc
raise EnvError(result)
jujuclient.EnvError: <Env Error - Details:
{ u'Error': u'no relations found', u'RequestId': 1, u'Response': { }}
>
E
$ cat metadata.yaml
name: collectd
summary: Statistics collection and monitoring daemon
maintainer: Jacek Nykis <jacek.nykis@canonical.com>
description: "collectd is a small daemon which collects system information\nperiodically\
\ and provides mechanisms to monitor and store the values\nin a variety of ways.\
\ Since the daemon doesn't need to startup every\ntime it wants to update the values\
\ it's very fast and easy on the \nsystem. Also, the statistics are very fine grained\
\ since the files are \nupdated every 10 seconds by default. The collected information\
\ can be\nused to find current performance bottlenecks (performance analysis)\n\
and predict future system load (capacity planning).\n"
tags:
- monitoring
requires:
metric-host:
interface: juju-info
scope: container
provides:
nrpe-external-master:
interface: nrpe-external-master
scope: container
subordinate: true