2014-01-27 11:26:50 Deployment complete in 31.56 seconds
Traceback (most recent call last):
File "./200_deploy.test", line 88, in <module>
validate_relationships()
File "./200_deploy.test", line 81, in validate_relationships
d.sentry.unit['configsvr/0'].relation('configsvr', 'mongos:mongos-cfg')
File "/usr/local/lib/python3.3/dist-packages/amulet-1.2.0-py3.3.egg/amulet/sentry.py", line 103, in relation
rel_data = charmstore.get_relation(self.info['service'], from_rel)
File "/usr/local/lib/python3.3/dist-packages/amulet-1.2.0-py3.3.egg/amulet/charmstore.py", line 22, in get_relation
relations = c['charm']['relations']
TypeError: 'bool' object is not subscriptable
Note: I am currently renaming the services, and I believe this to be root cause of the issue:
d.add('mongos', charm='mongodb', units=scale)
d.add('shard1', charm='mongodb', units=scale)
d.add('shard2', charm='mongodb', units=scale)
This behavior does not exist in the amulet tests I'm running that are not renaming the service identifier.