Revalidate zhmcclient session handling

Bug #1753755 reported by Andreas Scheuring
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-dpm
New
Undecided
Unassigned
nova-dpm
New
Undecided
Unassigned

Bug Description

If too many oepnstack systems run in parallel against a single hmc using the same credentials, we were seeing the following error on one of our test systems:

Error: HTTPError: 400,13: Can't allow new session, would exceed users configured max of 1000 [POST /api/sessions]

We should re-validate how we handle the sessions using the zhnmcclient. Maybe there's a bug that we're not cleaning up sessions anymore?

Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

Maybe it's just about terminating the session when the service is stopped?

Revision history for this message
Andreas Scheuring (andreas-scheuring) wrote :

Maybe this can be used for networking-dpm: https://docs.python.org/2/library/atexit.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.