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

Mm feature/cluster settings #39

Merged
merged 3 commits into from
May 29, 2024

Conversation

mikemorency
Copy link
Collaborator

Adding playbook and role to manage cluster settings for a vCenter cluster.

The user can optionally modify DRS, DRM, vCLS, HA, and vSAN settings on their cluster. Each group of settings can be configured, enabled/disabled, or omitted independently.

I added a playbook for general settings. I will add another playbook specifically for modifying HA status under another ticket.

I was not able to add integration tests for the vSAN settings due to a required SDK that can only be downloaded from VMWare with a customer login. Im making followup tickets to research ways around that

@mikemorency mikemorency force-pushed the mm-feature/cluster-settings branch from fe6549c to 9706e3b Compare May 21, 2024 14:06
@mikemorency mikemorency force-pushed the mm-feature/cluster-settings branch from e0743d6 to 00b9ce7 Compare May 22, 2024 18:37
ansible-core

# see the cluster_settings role README.md for an explanation on the <7.0.3 restriction
pyVmomi>=6.7,<7.0.3
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure that's fine to do that...
What is the reason for that limitation?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

in 7.0.3 the VMWare team started returning an attribute as None when they previously left the attribute undefined. One module that this role uses only handles if the attribute is not defined, and throws an excpetion if its None

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@@ -21,6 +21,6 @@ build_ignore:
- .idea
dependencies: {
"vmware.vmware_rest": ">=2.3.1",
"community.vmware": ">=4.2.0",
"community.vmware": ">=4.4.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Above you say 4.3.0.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

im not sure if you meant in the README.md or some other location, but I updated that reference to match this one (>=4.4.0)

Copy link
Contributor

@bardielle bardielle left a comment

Choose a reason for hiding this comment

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

LGTM

@mikemorency mikemorency merged commit 5d57664 into redhat-cop:main May 29, 2024
16 checks passed
@mikemorency mikemorency deleted the mm-feature/cluster-settings branch May 29, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants