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

Velero vSphere Operator namespace suffix is not unique in linked vCenter environment #506

Open
dancsoj opened this issue Dec 7, 2022 · 4 comments

Comments

@dancsoj
Copy link

dancsoj commented Dec 7, 2022

Describe the bug

We have 2 vCenters in linked mode, both has 1-1 cluster with Tanzu enabled. The Velero vSphere Operator namespace will have the same name in both vCenters(svc-velero-vsphere-domain-c1006), however the suffix should be unique by the VMware documentation: https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-E7D7E987-2686-4458-BE9E-81A8D79D7859.html

To Reproduce

The namespaces have the same name everytime I re-install it. I tried to install by logging in the other vCenter of the linked vCenters, but the result is the same.

Expected behavior

The names should be unique by the mentioned documentation

Troubleshooting Information

vCenter version: 7.0.3 20395099
Supervisor version: v1.22.6+vmware.1-vsc0.0.17-20026652
Velero vSphere Operator version: 1.2.0

Screenshots
image

Anything else you would like to add:

@YuxinZhou
Copy link

YuxinZhou commented Dec 13, 2022

Hi, thank you for opening the issue. The service namespace is named svc-[servive-id]-[cluster-id] and is unique per VC. The document says "verify that you see a new namespace named svc-velero-vsphere-domain-xxx, where xxx is a unique alphanumeric token." - This is wrong. "domain-xxx" as a whole is the cluster-MoID, not a domain + token. I'll ask the doc team to update it.

I am curious - do the 2 services work as expected despite their namespaces being the same? I don't think we've verified the service on vCenters in linked mode, not sure if this could be a problem.

@xinyanw409
Copy link
Contributor

Thanks Yuxin for the comment.

Hi @dancsoj I find this document for linked mode https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vcenter.install.doc/GUID-5809FB05-508B-492A-B9C8-9F292B01519D.html, it says "You can migrate a vCenter Server from an existing domain to an another existing domain with or without replication. The migrated vCenter Server moves from its current Single Sign-On domain and joins the other existing domain as another vCenter Server connected via enhanced linked mode." What I understand is that in your environment the two vCenters in linked mode are under the same Single SSO domain (please correct me if this is wrong), so maybe that's why "domain-xxx" are the same, but need to verify with Beddazle team how the namespace is created.

@dancsoj
Copy link
Author

dancsoj commented Dec 13, 2022 via email

@dancsoj
Copy link
Author

dancsoj commented Dec 13, 2022 via email

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

No branches or pull requests

3 participants