I think I see the issue here; the SharedDB helper context deals with switching from private-address to an address on the 'access-network' if the percona-cluster charm presents that data over the relation.
The code that does this simply returns {} during this process:
I think I see the issue here; the SharedDB helper context deals with switching from private-address to an address on the 'access-network' if the percona-cluster charm presents that data over the relation.
The code that does this simply returns {} during this process:
http:// bazaar. launchpad. net/~charm- helpers/ charm-helpers/ devel/view/ head:/charmhelp ers/contrib/ openstack/ context. py#L177
however 'context_complete' thinks this is still a complete context, as it does not contain any keys which are either None or '':
http:// bazaar. launchpad. net/~charm- helpers/ charm-helpers/ devel/view/ head:/charmhelp ers/contrib/ openstack/ context. py#L91
which results in:
http:// bazaar. launchpad. net/~openstack- charmers/ charms/ precise/ glance/ trunk/view/ head:/hooks/ glance_ relations. py#L145
return true, even though the context is not actually complete yet.