~joeborg/charm-helpers/apache-config

Viewing all changes in revision 752.

  • Committer: Edward Hope-Morley
  • Date: 2017-06-12 19:54:40 UTC
  • mfrom: (751.1.2 charm-helpers)
  • Revision ID: edward.hope-morley@canonical.com-20170612195440-blxrjf96rz3nzvu5
[thedac, r=hopem,ajkavanagh]

Update use of client.service_catalog with sessions

Due to a bug in keystone client when using keystoneauth1.sessions
keystoneclient.service_catalog is no longer populated automatically.

Manually setting client.auth_ref has the side effect of populating
the service_catalog and has become the undocumented but accepted
practice.

This change adds the manual setting of auth_ref and updates the query
arguments for url_for().

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: