Open slickwarren opened 2 years ago
This is caused by back-population from clusters.provisioning.cattle.io(v1 cluster) to clusters.management.cattle.io(v3 cluster). Any label that is from v1 cluster will be copied to v3 cluster. The cluster is treated as a harvester cluster because of label override. This is what happened:
provider.cattle.io=harvester
label to v1 cluster.provider.cattle.io
to harvester
. To fix this we need to stop step 3, and figuring out a way to back-populate the correct provider label from v3 cluster to v1 cluster.
After discussion with @yasker we can releate-note this in 2.6.1 and push it back to v2.6.2.
Release note for v2.6.1:
Continous Delivery
page. Importing a cluster in Virtualization Management
page will result in the cluster won't show up in the Continous Delivery
's Cluster List page, including non-Harvester cluster.CC @btat
@yasker - Does the Harvester team plan to support Harvester Cluster for the Continuous Delivery page in UI in the near future?
Removing team/fleet
as this is a provisioning / Harvester issue
Rancher Server Setup
Information about the Cluster
Fleet does not deploy to K8S cluster (non-harvester) imported from Virtualization Management page. Cluster is not listed in fleet -> git repo -> create ->
Deploy To
sectionTo Reproduce
* create a stand-alone cluster to import into rancher as a downstream cluster (k8s cluster, not a harvester cluster) * go to `virtualization management` in rancher, get the import command for a downstream cluster by clicking `import existing` and giving the cluster a name * import the cluster into rancher * once the cluster is active, go to `continuous delivery` -> git repo -> create -> `Deploy To` * note that the cluster is not listed here * add a test fleet repo, and select the `all clusters in workspace` option **Result** * Fleet does not deploy to K8S cluster (non-harvester) imported from Virtualization Management page. * Cluster is not listed in fleet -> git repo -> create -> `Deploy To` section **Expected Result** * expected cluster to be listed in fleet -> git repo -> create -> `Deploy To` section **Additional context** * this is use case 3 from this set of tests: https://github.com/rancher/rancher/issues/34880 * related issue https://github.com/rancher/rancher/issues/34954