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

Add support for isolated-workload domains #106

Closed
4 tasks done
tenthirtyam opened this issue Mar 10, 2023 · 13 comments
Closed
4 tasks done

Add support for isolated-workload domains #106

tenthirtyam opened this issue Mar 10, 2023 · 13 comments
Assignees
Labels
enhancement Enhancement report/alert Alert Report report/config Configuration Report report/health Health Report report/overview Overview Report report/password Password Policy Report vcf/5 VMware Cloud Foundation 5.x
Milestone

Comments

@tenthirtyam
Copy link
Collaborator

Code of Conduct

  • I have read and agree to the project's 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.

Description

Add support for isolated workload domains across all relevant reports.

Use Case(s)

Enable module support for the isolated workload domains feature.

Potential Configuration

To be determined.

References

No response

@tenthirtyam tenthirtyam added enhancement Enhancement report/health Health Report report/config Configuration Report report/overview Overview Report report/password Password Policy Report report/alert Alert Report vcf/5 VMware Cloud Foundation 5.x labels Mar 10, 2023
@tenthirtyam tenthirtyam added this to the v2.2.0 milestone Mar 10, 2023
@github-actions github-actions bot added the pending-review Pending Review label Mar 10, 2023
@tenthirtyam tenthirtyam changed the title =Add support for isolated-workload domains Add support for isolated-workload domains Mar 10, 2023
@joisika
Copy link
Contributor

joisika commented Mar 18, 2023

@tenthirtyam I would like to work on a fix for this one.

@tenthirtyam
Copy link
Collaborator Author

Thanks, Ivo @joisika - I’ll assign to you and we can chat about it during the week. Thank you!

@tenthirtyam tenthirtyam removed the pending-review Pending Review label Mar 29, 2023
@tenthirtyam
Copy link
Collaborator Author

tenthirtyam commented Apr 25, 2023

Status for isolate workload domains as of the v2.0.0 and the release dependencies:

Topology:

  • Management Domain
    • Workload Domain Name sfo-m01
    • SSO vsphere.local
  • Workload Domain
    • Workload Domain Name sfo-w01
    • SSO sfo-w01.local

Results:

 [04-25-2023_19:46:04] INFO Starting the process of creating a Health Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:46:04] INFO Setting up the log file to path F:\Reporting\logs\Invoke-VcfHealthReport-04-25-2023_07_46_04.log.
 [04-25-2023_19:46:04] INFO Setting up report folder and report F:\Reporting\HealthReports\04-25-2023_07_46_04-health-sfo-vcf01.htm.
 [04-25-2023_19:46:04] INFO Running an SoS Health Check for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io), process takes time.
 [04-25-2023_19:52:42] INFO Generating the Service Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:52:42] INFO Generating the Version Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:52:42] INFO Generating the Connectivity Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:52:46]   Error at Script Line 4543
 [04-25-2023_19:52:46]   Relevant Command: if (Test-vSphereApiAuthentication -server $domain.vcenters.fqdn -user $account.username -pass $account.password) {
 [04-25-2023_19:52:46]   Error Message: Cannot process argument transformation on parameter 'user'. Cannot convert value to type System.String.
 [04-25-2023_19:52:52] INFO Generating the Password Expiry Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:52:52] INFO Generating the Certificate Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:52:52] INFO Generating the Backup Status Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:53:04] INFO Generating the Snapshots Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_19:53:29] INFO Generating the DNS Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:06] INFO Generating the NTP Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:06] INFO Generating the vCenter Server Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:06] INFO Generating the ESXi Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:06] INFO Generating the ESXi Connection Health Data report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:16] INFO Generating the SDDC Manager Free Pool Health for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:17] INFO Generating the vSAN Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:17] INFO Generating the vSAN Storage Policy Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:17] INFO Generating the NSX-T Data Center Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:34] INFO Generating the NSX Edge Cluster Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:34] INFO Generating the NSX Edge Node Health Report using the SoS output for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:35] INFO Generating the NSX Transport Node Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:38] INFO Generating the NSX Transport Node Tunnel Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:44] INFO Generating the NSX Tier-0 Gateway BGP Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:00:49] INFO Generating the Disk Capacity Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).'
Connect-VIServer : 4/25/2023 8:01:48 PM Connect-VIServer                Cannot complete login due to an incorrect user name or password.
At C:\Program Files\WindowsPowerShell\Modules\PowerValidatedSolutions\2.2.0.1003\PowerValidatedSolutions.psm1:31743 char:9
+         Connect-VIServer -Server $server -User $user -pass $pass | Ou ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Connect-VIServer], InvalidLogin
    + FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_SoapException,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer

Test-VsphereAuthentication : Unable to authenticate to vCenter Server (sfo-w01-vc01.sfo.rainpole.io), check credentials: PRE_VALIDATION_FAILED
At C:\Program Files\WindowsPowerShell\Modules\VMware.CloudFoundation.Reporting\2.0.0.1012\VMware.CloudFoundation.Reporting.psm1:4120 char:25
+ ...         if (Test-VsphereAuthentication -server $vcenter.fqdn -user $v ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Test-VsphereAuthentication

 [04-25-2023_20:01:48] INFO Generating the Virtual Machines with Connected CD-ROM Report for VMware Cloud Foundation instance (sfo-vcf01.sfo.rainpole.io).
 [04-25-2023_20:01:56] INFO Generating the final report and saving to (F:\Reporting\HealthReports\04-25-2023_07_46_04-health-sfo-vcf01.htm).
  • Alert Report
    • vCenter Server: PASS and report data appears accurate.
    • ESXi: PASS and report data appears accurate.
    • vSAN: PASS and report data appears accurate.
    • NSX: PASS and report data appears accurate.
  • Configuration Report: PASS and report data appears accurate.
  • Upgrade Precheck Report: PASS and report data appears accurate.

Notes:

  • Opportunity to add the SSO domain to the workload domain output on the overview report.

tenthirtyam pushed a commit that referenced this issue Apr 25, 2023
- Refactors `Request-VcenterAuthentication` to support isolated workload domains.
- Updated `CHANGELOG.md`.
- Updated module version from v2.1.0.1002 to v2.1.0.1003.

Ref: #106

Signed-off-by: Ryan Johnson <[email protected]>
tenthirtyam pushed a commit that referenced this issue Apr 25, 2023
- Refactors `Request-VcenterAuthentication` to support isolated workload domains.
- Updated `CHANGELOG.md`.
- Updated module version from v2.1.0.1002 to v2.1.0.1003.

Ref: #106

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam
Copy link
Collaborator Author

tenthirtyam commented Apr 25, 2023

Pull request #131 has been submitted for the above issues.

tenthirtyam pushed a commit that referenced this issue Apr 25, 2023
- Updated `Request-VcenterAuthentication` to support isolated workload domains.
- Updated `Request-DatastoreStorageCapacity` to support isolated workload domains.
- Updated `CHANGELOG.md`.
- Updated module version from v2.1.0.1002 to v2.1.0.1003.

Ref: #106

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam tenthirtyam modified the milestones: v2.2.0, v2.1.0 Apr 25, 2023
@tenthirtyam tenthirtyam self-assigned this Apr 25, 2023
GaryJBlake pushed a commit that referenced this issue May 2, 2023
- Updated `Request-VcenterAuthentication` to support isolated workload domains.
- Updated `Request-DatastoreStorageCapacity` to support isolated workload domains.
- Updated `CHANGELOG.md`.
- Updated module version from v2.1.0.1002 to v2.1.0.1003.

Ref: #106

Signed-off-by: Ryan Johnson <[email protected]>
@tenthirtyam
Copy link
Collaborator Author

tenthirtyam commented May 2, 2023

Pull request #131 has been merged for the above issues.

I will perform another round of testing to ensure that the issues are now resolved before closing this issue.

@joisika - let me know if you'd like to perform any tests as well.

@tenthirtyam
Copy link
Collaborator Author

Issue observed on the overview report under the Networking Overview with isolated workload domains.

image

@tenthirtyam tenthirtyam modified the milestones: v2.1.0, v2.2.0 May 2, 2023
@tenthirtyam
Copy link
Collaborator Author

Issue observed on the health report under the NSX Edge Cluster Health Status with isolated workload domains.

image

@tenthirtyam
Copy link
Collaborator Author

tenthirtyam commented May 2, 2023

Issue observed on the health report under the NSX Tier-0 Gateway BGP Status with isolated workload domains.

image

@tenthirtyam
Copy link
Collaborator Author

Issue observed on the overview report under the Networking Overview with isolated workload domains.

image

Resolved in #133.

@tenthirtyam
Copy link
Collaborator Author

Issue observed on the health report under the NSX Tier-0 Gateway BGP Status with isolated workload domains.

image

Resolved in #134.

@tenthirtyam
Copy link
Collaborator Author

Issue observed on the health report under the NSX Edge Cluster Health Status with isolated workload domains.

image

This item appears to be unrelated to isolated workload domains but a possible change to the JSON output from SOS. A separate issue will be opened for this item.

@tenthirtyam
Copy link
Collaborator Author

I am marking this issue as closed based on the current testing.

More tests will be run prior to claiming full support for isolated workload domains.

@tenthirtyam tenthirtyam modified the milestones: v2.2.0, v2.1.0 May 19, 2023
@github-actions
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 Jun 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement report/alert Alert Report report/config Configuration Report report/health Health Report report/overview Overview Report report/password Password Policy Report vcf/5 VMware Cloud Foundation 5.x
Projects
None yet
Development

No branches or pull requests

2 participants