Comment 7 for bug 1693788

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/510644
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=faf3f6b210b3c3ed604c55efb79b0db1936b7fad
Submitter: Zuul
Branch: master

commit faf3f6b210b3c3ed604c55efb79b0db1936b7fad
Author: Stenio Araujo <email address hidden>
Date: Mon Oct 9 14:48:47 2017 -0300

    Get a new OneView client when needed

    OneView has the time to expire an active session
    defined through an idle time. This idle time is
    24 hours by default. The previous client,
    python-oneviewclient, used by the hardware type
    OneView had a reauthentication mechanism that would
    ensure the new session was created when the old
    one expired. With the migration to python-hpOneView,
    the mechanism to reauthenticate does not exist.

    This solution creates a new instance of the client when
    it is needed.

    Change-Id: Id112e84f7d050d818e3cd9bf02cd9cfe4716ef32
    Closes-Bug: 1693788