Looking at the code a bit more, I think this patch might solve it- not submitting as its a bit late and I need to look at it more before submitting:
diff --git a/src/reactive/manila_handlers.py b/src/reactive/manila_handlers.py
index daf6744..c62c732 100644
--- a/src/reactive/manila_handlers.py
+++ b/src/reactive/manila_handlers.py
@@ -114,6 +114,10 @@ def render_stuff(*args):
was set.
"""
with charms_openstack.charm.provide_charm_instance() as manila_charm:
+ tls = relations.endpoint_from_flag('certificates.available')
+ manila_charm.configure_tls(certificates_interface=tls)
+ keystone = relations.endpoint_from_flag('identity-service.available')
+ manila_charm.register_endpoints(keystone) manila_charm.render_with_interfaces(args) manila_charm.assess_status() charms.reactive.set_state('manila.config.rendered')
Essentially, the charm has a default config_changed but doesn't render the tls configuration, nor does it advertise the updated endpoints to keystone. I might be missing it in my perusal of the code, but the above works for me.
Looking at the code a bit more, I think this patch might solve it- not submitting as its a bit late and I need to look at it more before submitting:
diff --git a/src/reactive/ manila_ handlers. py b/src/reactive/ manila_ handlers. py manila_ handlers. py manila_ handlers. py stuff(* args): openstack. charm.provide_ charm_instance( ) as manila_charm: endpoint_ from_flag( 'certificates. available' ) charm.configure _tls(certificat es_interface= tls) endpoint_ from_flag( 'identity- service. available' ) charm.register_ endpoints( keystone)
manila_ charm.render_ with_interfaces (args)
manila_ charm.assess_ status( )
charms. reactive. set_state( 'manila. config. rendered' )
index daf6744..c62c732 100644
--- a/src/reactive/
+++ b/src/reactive/
@@ -114,6 +114,10 @@ def render_
was set.
"""
with charms_
+ tls = relations.
+ manila_
+ keystone = relations.
+ manila_
Essentially, the charm has a default config_changed but doesn't render the tls configuration, nor does it advertise the updated endpoints to keystone. I might be missing it in my perusal of the code, but the above works for me.