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

vCenter Credentials not popluated due to SDDC Manager Upgrade but not Workload Domains #396

Closed
4 tasks done
GaryJBlake opened this issue Nov 9, 2023 · 2 comments · Fixed by #402
Closed
4 tasks done
Assignees
Labels
bug Bug

Comments

@GaryJBlake
Copy link
Contributor

Code of Conduct

  • I have read and agree to the Code of Conduct.
  • Vote on this issue by adding a 👍 reaction to the original issue initial description to help the maintainers prioritize.
  • Do not leave "+1" or other comments that do not add relevant information or questions.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

VMware Cloud Foundation

5.0

Module Version

2.0.7

PowerShell Version

Core

PowerCLI Version

13.1.0

PowerVCF Version

2.4.0

Guest Operating System

Windows Server 2019

Environment Details

No response

Description

When VMware Cloud Foundation is partially upgraded (in this case SDDC Manager 5.0.0 but Workload Domains still 4.4.1) we are unable to collect the vCenter Server credentials.

Get-VcenterServerDetails needs to look for the Workload Domain Version and not the SDDC Manager version

Error or Debug Output

n/a

Expected Behavior

vCenter SSO Credentials should be pulled

Actual Behavior

vCenter SSO Credentials are blank

Steps to Reproduce

Run Get-VcenterServerDetails

Log Fragments and Files

No response

Screenshots

No response

References

No response

@GaryJBlake GaryJBlake added bug Bug needs-triage Needs Triage labels Nov 9, 2023
@github-actions github-actions bot added the pending-review Pending Review label Nov 9, 2023
@GaryJBlake GaryJBlake self-assigned this Nov 9, 2023
@GaryJBlake GaryJBlake removed pending-review Pending Review needs-triage Needs Triage labels Nov 9, 2023
@GaryJBlake
Copy link
Contributor Author

The issue is related to a partial upgrade of and VCF instance, in this scenario the SDDC Manager had been upgraded but none of the workloads within. The Get-VcenterServerDetails function does a check for VCF version and adjusted the criteria for collecting the credentials and because SDDC Manager has been upgraded we then look for ssoName details in the API response for a vCenter Server.

In this scenario we get blank as the change for ssoName in the DB in this scenario based on VCF versions does not exist yet.

Instead of checking the SDDC Manager version we really need to check the vCenter version based on its release using Get-VCFRelease

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug
Projects
None yet
1 participant