vmware / nsx-t-datacenter-ci-pipelines

CI pipelines for VMware NSX-T Datacenter
Other
71 stars 43 forks source link

hostname set without suffix; certs generated with wrong hostname #45

Closed cunnie closed 5 years ago

cunnie commented 5 years ago

On branch nsxt_2.4.0, the hostname is set without the suffix (i.e. -1):

On nsx_pipe_config.yml:

nsx_manager_hostname_prefix: "nsxmgr" # Generated hostname: nsxt-mgr-1.corp.local.io, will be FQDN

The machine is deployed as nsxmgr-1 (expected), but thinks its hostname is nsxmgr (unexpected) (from NSX-T Manager CLI):

nsxmgr> get hostname
nsxmgr

Also, two of the certificates are set for the wrong hostname (see attached screenshot)

wrong_cert_names
NiranEC77 commented 5 years ago

Brian, don't use the 2.4 branch. Use master it will install the latest. we will remove that branch

Dyanngg commented 5 years ago

Hi Brian, Thanks for bringing the issue up! This error should be fixed in the latest commit on both master and nsxt_2.4.0.

cunnie commented 5 years ago

Thanks @NiranEC77 — we'll tear down our environment & rebuild with the master branch.

[Edit: thanks @Dyanngg !]