OpenNebula / terraform-provider-opennebula

Terraform provider for OpenNebula
https://www.terraform.io/docs/providers/opennebula/
Mozilla Public License 2.0
61 stars 53 forks source link

only set randompasswd in graphics template if it's true #535

Closed nilsding closed 1 month ago

nilsding commented 3 months ago

Community Note

Description

older OpenNebula versions (like 5.12) interpret the RANDOM_PASSWORD as truthy if its value is not empty and therefore try to generate a password, which when using VNC will be too long and not truncated due to another bug that's already been fixed in the latest release.

(yes, I know, we should really update our setup ...)

References

New or Affected Resource(s)

Checklist

frousselet commented 3 months ago

Hello @nilsding,

Unfortunately we don't support OpenNebula bellow 5.12. I would suggest you to fork the provider while you are on a version bellow 5.12 and compile your version including your changes on your side.

nilsding commented 3 months ago

Hi @frousselet, the readme mentions that OpenNebula ~> 5.12 is still supported 🤔

But the bug fixed by this PR also affects at least >= 6.0, < 6.1.80, as the random_password handling was changed around that time in https://github.com/OpenNebula/one/commit/0edcc7a7baa0d318671fa27731830e7d4775390d

frousselet commented 3 months ago

My bad, I misread 😬 I reopen it

github-actions[bot] commented 2 months ago

This pull request is stale because it has been open for 30 days with no activity and it is not in a milestone. Remove 'status: stale' label or comment, or this will be closed in 5 days.

akurz commented 3 weeks ago

Hi @frousselet, looks like this PR was "forgotten" - would you be so kind and reopen it, thx!