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

No working full examples for vsphere #387

Open
adamfowleruk opened this issue Jun 2, 2022 · 0 comments
Open

No working full examples for vsphere #387

adamfowleruk opened this issue Jun 2, 2022 · 0 comments
Labels

Comments

@adamfowleruk
Copy link

Describe the bug

None of the existing examples for vsphere can possibly result in a successful deployment for several reasons:-

  1. They do not correctly specify that the old_password for an initial avi install is a hardcoded value available to current customers only
  2. They do not correctly use depends_on to ensure resources are created in the correct order
  3. The avi_useraccount call can never succeed immediately after a controller VM creation - you have to include a (for example) data.avi_systemconfiguration read first in order to ensure the controller on the VM is ready for initialisation
  4. The provided vm creation example does not have an ip address in use wait specified, again causing calls to fail
  5. No examples show initial configuration of an avi controller post creation
  6. No examples show configuring static ip, default gateway, or NTP information (they assume DHCP is used for the management network, but this is not explained anywhere, or documented)
  7. The default API version for avi terraform 21.1.4 seems to be API version 18.8 - meaning a basic systemconfiguration resource will fail due to common_criteria_mode being included (even with false) - no mention of api_version being used in the basic set up examples

Reproduction steps

1. Run the examples against a h2o.vmware.com demo environment
2. Observe the failure
3.
...

Expected behavior

There should be a working example that is non trivial in accordance with the VMware avi set up documentation. This should include all aspects including, but not limited to, deploy the controller ova to a content library, creating VMs, joining VMs to a cluster, providing initial system configuration (default gateway, ip, ntp, dns etc.), followed by configuring the CA to include the management IP address(es), setting up a management VIP, configuring the SE group and cloud for vSphere settings.

Additional context

Currently this is only possible, in a hacky way, through reverse engineering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant