-
Notifications
You must be signed in to change notification settings - Fork 9
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_partition shows changed even though partition already existed #54
Comments
I analyzed the issue,. and it turns out that the "Get Partition Properties" operation (rightfully) does not return the "ssc-master-pw" property. This is documented in the HMC WS API book. The zhmc ansible module then compares the input properties, which specify a value for the "ssc-master-pw" property with the properties returned and determines that an update needs to be made. This update (rightfully) causes the changed flag to be set. The root problem is that the password is not coming back, so it is not possible for the zhmc ansible module to find out that no update is actually needed. Of course, we could special-case this property, but it is not clear what we should special-case it to. Sometimes the password is already as desired, and the module does not know, and sometimes there is a need to set it as desired. These two cases are not distinguishable by the module. Some options I can see, are:
|
Proposal: Go with option 3, abovbe. |
I'm using the zhmc_partition module like this
Creation works fine, but executing the playbook a second time, it is still showing the "changed=True", even though no changes should have occurred!
I'm working on a new z14 machine with DPM3.1 installed.
Verbose output
The text was updated successfully, but these errors were encountered: