-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zhmc CLI: 'zhmc partition console' asks for password again although session already created #308
Comments
I was able to verify this behavior ( |
I investigated this and found that there is a reason for the password prompt: The code establishes a notification listener for the OS message notifications. In order to do that, a password is needed for logging on to the Stomp connection (see If the I believe it is not possible to use a saved session ID with Stomp, but it deserves further investigation to be sure. |
Reading the HMC API book 2.13.1 reveals this (CHapter 4, section "Connecting to the API message broker"): In order to connect to the integrated message broker, clients must provide a valid HMC user name and It does not mention session IDs, so I'm pretty sure it does not support them there. |
This issue has been copied to zhmcclient/zhmccli#11 |
Actual behavior
$ zhmc cpc list
+----------+------------------+
| name | status |
|----------+------------------|
| P000S67B | service-required |
+----------+------------------+
$ zhmc partition console P000S67B UbuntuDemo2
Enter password (for user pedebug at HMC 9.152.151.49):
Expected behavior
No password request
Execution environment
The text was updated successfully, but these errors were encountered: