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.
Reviewed: https:/ /review. openstack. org/510644 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=faf3f6b210b 3c3ed604c55efb7 9b0db1936b7fad
Committed: https:/
Submitter: Zuul
Branch: master
commit faf3f6b210b3c3e d604c55efb79b0d b1936b7fad
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 oneviewclient, used by the hardware type
defined through an idle time. This idle time is
24 hours by default. The previous client,
python-
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: Id112e84f7d050d 818e3cd9bf02cd9 cfe4716ef32
Closes-Bug: 1693788