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

[backport v2.8.next1] [BUG] hostsystem error for cluster provisioned with vsphere provider #10500

Closed
github-actions bot opened this issue Feb 23, 2024 · 3 comments
Assignees
Labels
area/vsphere JIRA kind/bug QA/manual-test Indicates issue requires manually testing regression size/0.5 Size Estimate 0.5
Milestone

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Feb 23, 2024

This is a backport issue for #10460, automatically created via GitHub Actions workflow initiated by @gaktive

Original issue body:

Rancher Server Setup

  • Rancher version: 2.8.2
  • Installation option (Docker install/Helm Chart): Helm
    • If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2 3-node cluster v1.26.11+rke2r1
  • Proxy/Cert Details: Ingress with private CA

Information about the Cluster

  • Kubernetes version: RKE2 v1.26.11+rke2r1
  • Cluster Type (Local/Downstream): Downstream
    • If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): Rancher provisioned cluster with vsphere provider (provisioned with Rancher v2.7)

User Information

  • What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin
    • If custom, define the set of permissions:

Describe the bug

After upgrading to v2.8.2, when I edit my clusters provisioned with Rancher and the vSphere provider, I see the following error for every pool Machine Pool I have in the cluster.

pool1: The provided value for hostsystem was not found in the list of expected values. This can happen with clusters provisioned outside of Rancher or when options for the provider have changed. 

The host field is empty. Because according to the documentation: Specific host to create VM on (leave blank for standalone ESXi or for cluster with DRS). So, I think is a false error.

To Reproduce
Edit one cluster that was previously provisioned with the vsphere provisioner of Rancher and the host field was left blank.

Result

Expected Result
No error

Screenshots
imagen
imagen

Additional context

@gaktive
Copy link
Member

gaktive commented Feb 23, 2024

Removing QA/None in light of the new workflow as this will be tested first before the 2.9.0 work.

@gaktive
Copy link
Member

gaktive commented Feb 23, 2024

Internal reference: SURE-7622

@yonasberhe23
Copy link
Contributor

Testing complete in Rancher v2.8.3-rc5:

No longer seeing the error in v2.8.3-rc5.
I was able to repro the issue in v2.8.2 and used those repro steps to test the bug fix.

  1. Go to rancher dashboard
  2. Click create
  3. Select RKE2
  4. Select provider vsphere
  5. Fill in required fields (leave Host blank)
  6. Create cluster
  7. Go to cluster details > config
  8. See error at the top of screen

Tested:
with admin and standard user
with Folder and w/o Folder (blank)
with Host and w/o Host (blank)
with RKE1/RKE2 cluster with all k8s versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/vsphere JIRA kind/bug QA/manual-test Indicates issue requires manually testing regression size/0.5 Size Estimate 0.5
Projects
None yet
Development

No branches or pull requests

3 participants