vmware / powershell-module-for-vmware-cloud-foundation-certificate-management

PowerShell Module for VMware Cloud Foundation Certificate Management
https://vmware.github.io/powershell-module-for-vmware-cloud-foundation-certificate-management/
BSD 2-Clause "Simplified" License
11 stars 7 forks source link

`Install-VCFCertificate` not working on Photon OS 5 #92

Closed m-gustafsson closed 11 months ago

m-gustafsson commented 11 months ago

Code of Conduct

VMware Cloud Foundation

5.1

PowerShell Version

7.3.4

PowerCLI Version

13.2

Module Version

1.4.1

PowerValidatedSolutions Version

2.7.1

PowerVCF Version

2.4.0

Guest Operating System

Photon OS 5

Environment Details

Standard VMware internal MaaS deployment. Photon OS 5 OVA from: https://packages.vmware.com/photon/5.0/GA/ova/photon-hw15-5.0-dde71ec57.x86_64.ova

Environmental variables set as $sddcManagerFqdn = "sddc-manager.vrack.vsphere.local" $sddcManagerUser = "administrator@vsphere.local" $sddcManagerPass = "VMware123!" $workloadDomain = "sddcId-1001" $cluster = "SDDC-Cluster1" $certificateDirectory = "/root/CRT" $certificateFileExt = ".crt"

Description

Followed https://docs.vmware.com/en/VMware-Cloud-Foundation/5.0/vcf-operations/GUID-F431F343-B55C-495A-BE92-32483AC825D7.html#GUID-748DCB72-8610-44CA-B288-4FF598C9427D__GUID-BBB73B3E-1391-4A5E-A5B6-D79CD600BCB3 for replacing ESXi certificates in the management domain. All commands up until Install-VCFCertificate run without issues.

Install-VCFCertificate -esxi -server $sddcManagerFqdn -user $sddcManagerUser -pass $sddcManagerPass -domain $workloadDomain -cluster $cluster -certificateDirectory $certificateDirectory -certificateFileExt $certificateFileExt runs, for 15 seconds, then but all 4 hosts in the management cluster are skipped. No certificates are uploaded and no error is displayed.

Error or Debug Output

No error output.

Expected Behavior

Hosts to enter maintenance mode with full data evacuation, certificate replaced and host rebooted in a rolling fashion.

Actual Behavior

No certificates are replaced on the hosts.

Steps to Reproduce

Install Photon OS 5

tdnf -y update tdnf -y install wget tar git patch build-essential gcc zlib-devel openssl-devel powershell

Set variables and run Install-VCFCertificate

Log Fragments and Files

No response

Screenshots

image (24)

References

No response

tenthirtyam commented 11 months ago

Assigning to Kevin Teng (@garlicNova) for triage.

github-actions[bot] commented 10 months ago

I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.