Skip to content
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

Fix failure of vm reconfiguration with enabled virt_based_security #1848

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

Yannik
Copy link
Contributor

@Yannik Yannik commented Sep 23, 2023

SUMMARY

VM reconfiguration is currently broken when virt_based_security is configured due to checking for vbsEnabled on the wrong object.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

vmware_guest

@Yannik
Copy link
Contributor Author

Yannik commented Sep 23, 2023

The ci check failed due to "License not available to perform the operation" - so it's not a problem with this change.

@Yannik
Copy link
Contributor Author

Yannik commented Oct 10, 2023

@mariolenz Could you have a look at this?

@ihumster
Copy link
Collaborator

recheck

@ihumster
Copy link
Collaborator

recheck

@Yannik
Copy link
Contributor Author

Yannik commented Oct 13, 2023

CI checks look good

ping @ihumster @mariolenz

@Yannik
Copy link
Contributor Author

Yannik commented Oct 17, 2023

Any chance merging this @mariolenz @ihumster ?

@mariolenz
Copy link
Collaborator

@Yannik I'm afraid (my) priority at the moment is to release 4.0.0 soon in order to get it into the Ansible community package 9.0.0. In order to do this, there are breaking changes I have to implement during the next two weeks or so. If I don't, I'll have to wait another year until the 5.0 release of the collection.

I understand that this is frustrating for you, but the difference is that you (hopefully) just have to wait another two or three weeks, while other people needing changes to modules that are breaking would have to wait another year if I don't get them implemented / merged in time. I hope you understand.

@Yannik
Copy link
Contributor Author

Yannik commented Jan 23, 2024

@mariolenz Any chance to get this reviewed now? :)

@ihumster ihumster self-requested a review January 23, 2024 15:08
@ihumster
Copy link
Collaborator

@Yannik Code is OK, but need correct formatting of the change. Create changelog fragment

@Yannik
Copy link
Contributor Author

Yannik commented Jan 24, 2024

@ihumster Done

@mariolenz
Copy link
Collaborator

@ihumster Looks OK to me now. What do you think, should we merge?

@ihumster
Copy link
Collaborator

@mariolenz Of course!

Copy link
Collaborator

@mariolenz mariolenz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mariolenz mariolenz added bug This issue/PR relates to a bug mergeit labels Jan 24, 2024
@mariolenz
Copy link
Collaborator

Thanks @Yannik and @ihumster!

Copy link

Build succeeded (gate pipeline).
https://ansible.softwarefactory-project.io/zuul/buildset/dbeb879c12704aa0b80d464bd5ffaf3b

✔️ ansible-tox-linters SUCCESS in 9m 34s
✔️ build-ansible-collection SUCCESS in 8m 07s
✔️ ansible-galaxy-importer SUCCESS in 3m 59s

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 6bde749 into ansible-collections:main Jan 24, 2024
13 checks passed
mariolenz pushed a commit to mariolenz/community.vmware that referenced this pull request Jan 24, 2024
…nsible-collections#1848)

Fix failure of vm reconfiguration with enabled virt_based_security

SUMMARY
VM reconfiguration is currently broken when virt_based_security is configured due to checking for vbsEnabled on the wrong object.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
vmware_guest

Reviewed-by: Mario Lenz <[email protected]>
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jan 24, 2024
Fix PR 1848 changelog

SUMMARY
Fix #1848 changelog.
ISSUE TYPE

Docs Pull Request
softwarefactory-project-zuul bot pushed a commit that referenced this pull request Jan 24, 2024
…_security (#1980)

stable-3.x: Fix failure of vm reconfiguration with enabled virt_based_security

SUMMARY
VM reconfiguration is currently broken when virt_based_security is configured due to checking for vbsEnabled on the wrong object.
ISSUE TYPE

Bugfix Pull Request

COMPONENT NAME
vmware_guest
ADDITIONAL INFORMATION
Backport #1848
@mariolenz
Copy link
Collaborator

I didn't realize this at first, but I think this should be documented as a bugfix, not a minor change. I've updated the changelog: #1981

I've also backported this to 3.x: #1980

FYI I'll try to do new 3.x and 4.x releases soon.

@Yannik
Copy link
Contributor Author

Yannik commented Jan 25, 2024

Thanks @mariolenz !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug mergeit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants