Create OpenStackClients convenience class

Bug #1541296 reported by OpenStack Infra on 2016-02-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/watcher" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.

commit 9a6811ae6bd07580d2e485b6312821919451dfa4
Author: Taylor Peoples <email address hidden>
Date: Wed Jan 20 08:15:47 2016 +0100

    Create OpenStackClients convenience class

    The OpenStackClients class provides a convenient way to create and
    cache client instances. The idea behind this code comes from Magnum

    The OpenStackClients class will act as the manager of other project's
    clients, providing an easy way to fetch instances of said clients. This
    will allow the clients to be cached.

    An instance of OpenStackClients is created for every call that comes
    into the decision engine and the applier, using the request context to
    pass needed (domain id) parameters to get a Keystone session. This
    instance should be shared as much as possible to avoid additional
    unneccessary connections to the other services.

    This class will also allow for the version of each client to be
    configurable via the watcher.conf file.

    The method by which a Keystone session is also changed to use the
    keystoneauth1.loading library. In order to avoid DuplicateOptErrors
    with the keystone_authtoken group used for the keystonemiddleware in the
    API code, a new conf group named "watcher_clients_auth" is created. A
    typical configuration using a password authentication scheme will look
      auth_type = password
      auth_url = http://<server-ip>:<port>
      username = <username>
      password = <password>
      project_domain_id = default
      user_domain_id = default


    Change-Id: Iab9d0b304099686da2e9e2b19e8b1de4332ff378
    Implements: blueprint external-api-versioning
    Closes-Bug: #1530790
    Closes-Bug: #1539670
    Closes-Bug: #1522774

Changed in watcher:
assignee: nobody → David TARDIVEL (david-tardivel)
status: New → In Progress
importance: Undecided → Critical
milestone: none → mitaka-3

Submitter: Jenkins
Branch: master

commit 376d669af655dea6b6fe89fc49ee03ca70bd9096
Author: David TARDIVEL <email address hidden>
Date: Wed Feb 3 12:42:22 2016 +0100

    Update docs for password auth configuration options

    Watcher uses now auth_type 'password' plugin for authentication.
    Configuration related to credentials used to validate and apply
    for a token has been updated.

    Change-Id: If71bb908741130cb01d5d1525a12cf9a68b58a58
    Closes-Bug: #1541296

Changed in watcher:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers