Comment 4 for bug 1623917

Revision history for this message
Liam Young (gnuoy) wrote :

I think the issue your hitting with the tempest charm is a different issue. The fix that landed for the original bug was to catch TypeError if render_configs was called with charm_instance and the child class didn't support charm_instance. If this happens render_configs was called without the charm_instance kw arg. It looks that in the tempest charm the TypeError is correctly being caught and render_configs is then called with the correct args but there is then an auth error when trying to render the config. The stacktrace then displays

...
2016-10-08 05:15:59 INFO identity-admin-relation-changed TypeError: __init__() got an unexpected keyword argument 'charm_instance'
2016-10-08 05:15:59 INFO identity-admin-relation-changed
2016-10-08 05:15:59 INFO identity-admin-relation-changed During handling of the above exception, another exception occurred:
2016-10-08 05:15:59 INFO identity-admin-relation-changed
2016-10-08 05:15:59 INFO identity-admin-relation-changed Traceback (most recent call last):
...
2016-10-08 05:15:59 INFO identity-admin-relation-changed keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication.