The issue appears to be that charms have created child classes of
OpenStackRelationAdapter or OpenStackAPIRelationAdapters to implement
bespoke relation adapters. These child classes do not have the
'charm_instance' keyword arg in their init method. So when
render_with_interfaces calls the adapter class with
'charm_instance=self' it explodes.
Reviewed: https:/ /review. openstack. org/370793 /git.openstack. org/cgit/ openstack/ charms. openstack/ commit/ ?id=832e0b3b873 f5d2f4d1ce55557 f849264f02d1c7
Committed: https:/
Submitter: Jenkins
Branch: master
commit 832e0b3b873f5d2 f4d1ce55557f849 264f02d1c7
Author: Liam Young <email address hidden>
Date: Thu Sep 15 13:00:08 2016 +0000
Fix TypeError when calling render_ with_interfaces
The issue appears to be that charms have created child classes of lationAdapter or OpenStackAPIRel ationAdapters to implement instance' keyword arg in their init method. So when with_interfaces calls the adapter class with instance= self' it explodes.
OpenStackRe
bespoke relation adapters. These child classes do not have the
'charm_
render_
'charm_
This issue wat introduced in https:/ /review. openstack. org/#/c/ 366776/
Change-Id: I50e0dfcb37b26a 86ead6e2318e945 d7efa0875fc
Closes-Bug: #1623917