Some idle sessions are left in HMC due to K2 REST API calls from PowerVC
You might encounter HMC session leak issues due to K2 REST API calls from PowerVC.
Problem
During PowerVC K2 REST API calls to HMC, some session entries are left out and remain idle forever resulting in a session leak. In such a case, you must restart HMC to clear the sessions.
Resolution
To resolve this issue, complete the following steps.
- Log in to the HMC GUI.
- Navigate to Users and Security, and then click Manage User Profiles and Access.
- On the User Profiles dialog, make sure
hscroot
user is selected. From the User drop-down, select Modify/View... - On the Modify User dialog, click User Properties.
- On the User Properties dialog, set the Idle timeout minutes:value. The default value is zero (0) indicating no expiration and the recommended value is 120 minutes. The maximum value that can be provided is 525600 minutes (equivalent to one year).
- After the Idle timeout minutes:value
is set, restart the nova compute service of the hosts that are connected to the problematic HMC by
using the following
command:
systemctl restart openstack-nova-compute-XXXXXX