Closed hegerdes closed 1 year ago
Hello, The reason this seems to be happening is because we removed the default values for the values which can trigger resource replacement to avoid the case when resources are replaced by mistake. This happens because we do not know when a value is set by the user to the default value or not set and the default 'kicks in'. The default value for licence_type used to be 'UNKNOWN', so you can use that to have the same functionality. We will update the docs regarding the required parameters. Thank you for letting us know!
It is totally okay to have breaking changes in a major release but if these happen there is a need for a migration guide.
What I understood from your comment is that this behavior (my described bug) is the new way to do it and users need to provide attributes themselve for parameters that trigger a replacement. Is this correct?
If so can you please provide a list of all the affected resources with removed defaults and what it's original value was? It would be really helpful to include this in the release notes or the migration guide.
This is a great idea, we will make a list of every removed default value and add it to the docs. Yes, the users will need to provide values themselves.
Description
The new 7.0 Version requires to set the
licence_type
field for additional volumes - despite the docs saying otherwise> This also breaks backwards compatibility.Expected behavior
You do not need a
licence_type
field for additional HDDs and SSDsEnvironment
Ansible version:
Module version:
OS:
Configuration Files
None
How to Reproduce
Upgrade to the new module version
Create a Task with an additional volume:
Error and Debug Output
Require field
licence_type
orimage
not set.Additional Notes
The Docs say, that this field is NOT required and it wasn't before. Now either the docs are wrong or the module has a bug.
References