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

[Bug] clusters parameters not being passed to Foundation Server in module nutanix.ncp.ntnx_foundation #307

Closed
DrewHenning opened this issue Nov 16, 2022 · 1 comment · Fixed by #343
Assignees
Labels
1.9.0 Bug fixes and improvements bug Something isn't working

Comments

@DrewHenning
Copy link

DrewHenning commented Nov 16, 2022

Describe the bug
When running a playbook using the nutanix.ncp.ntnx_foundation module, some parameters of the cluster object are not being sent to the Foundation server. The playbook does execute without errors and the nodes are imaged and cluster is formed. However, the cvm_dns_servers, cvm_ntp_servers, and timezone parameters appear to not get passed to Foundation.

In my testing I found the following cluster parameters successfully apply:

  • name
  • redundancy_factor
  • cluster_members
  • cvm_vip

The following cluster parameters do not apply:

  • cvm_dns_servers
  • cvm_ntp_servers
  • timezone

Snag_291bf889

To Reproduce
Steps to reproduce the behavior:

  1. Run ansible playbook similar to the one I have attached.
    Image-Nodes.yml.txt

Stack trace
Here is what is logged in the api.log on the Foundation server when the playbook is run. You'll see it is missing the NTP, DNS, and timezone info.
Foundation-API-log.txt

Expected behavior
Apply the settings in the playbook to the cluster created by Foundation.

Additional context

@DrewHenning DrewHenning added the bug Something isn't working label Nov 16, 2022
@DrewHenning
Copy link
Author

Forgot to mention, Foundation server is 5.3.2. Ansible modules are 1.7.0 and ansible core is 2.13.6 in my setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.9.0 Bug fixes and improvements bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants