Closed albinsun closed 1 month ago
FYI, hit similiar issue during v1.2.1
but with opposite image source
Running
): rancher/harvester-cloud-provider:v0.2.0
Pending
): registry.rancher.com/rancher/harvester-cloud-provider:v0.2.0
Context (Rancher Community -> Prime)
harvester-v1.2.1
+ rancher-v2.7.10
v2.7.11
(Prime)[!NOTE] Delete the old pod and let the rolling update continue.
cc @starbops, we need to backport https://github.com/harvester/charts/pull/239 to the release branch to fix this problem.
[ ] If labeled: require/HEP Has the Harvester Enhancement Proposal PR submitted? The HEP PR is at:
[ ] Where is the reproduce steps/test steps documented? The reproduce steps/test steps are at:
[ ] Is there a workaround for the issue? If so, where is it documented? The workaround is at:
[x] Have the backend code been merged (harvester, harvester-installer, etc) (including backport-needed/*
)?
The PR is at:
[x] Does the PR include the explanation for the fix or the feature?
[x] Does the PR include deployment change (YAML/Chart)? If so, where are the PRs for both YAML file and Chart? The PR for the YAML change is at: The PR for the chart change is at: harvester/charts#239 harvester/charts#245
[ ] If labeled: area/ui Has the UI issue filed or ready to be merged? The UI issue/PR is at:
[x] If labeled: require/doc, require/knowledge-base Has the necessary document PR submitted or merged? The documentation/KB PR is at: harvester/docs#584
[ ] If NOT labeled: not-require/test-plan Has the e2e test plan been merged? Have QAs agreed on the automation test case? If only test case skeleton w/o implementation, have you created an implementation issue?
[ ] If the fix introduces the code for backward compatibility Has a separate issue been filed with the label release/obsolete-compatibility
?
The compatibility issue is filed at:
Test basically fine using Rancher marketplace to update harvester-cloud-provider.
Per discussed with @starbops, there are mainly 2 paths for harvester-cloud-provider chart
This ticket fix 1) but user may still hit via 2), no sure if we can inform RKE2 to use latest harvester-cloud-provider when they release or some other cross-team integrations?
cc. @bk201 and @FrankYang0529
Auto
rancher-v2.8.8
=> rancher-v2.9.3-alpha6
I noticed that the harvester-cloud-provider's image changed from registry.rancher.com/rancher/harvester-cloud-provider:v0.2.1
to rancher/harvester-cloud-provider:v0.2.1
. That's the reason why the deployment was rolled out during the Rancher upgrade, but I'm unsure what caused the difference.
Describe the bug Based on harvester
v1.3.0
, by performing a Rancher upgrade form v2.7.11 to v2.8.3-rc4, we found that a new generated pod is stuck in pending fail.Note that new one comes from a different image
rancher/harvester-cloud-provider:v0.2.0
compare to the running oneregistry.rancher.com/rancher/harvester-cloud-provider:v0.2.0
To Reproduce
Setup RKE2 cluster based on Harvester
v1.3.0
+ Rancherv2.7.11
:green_circle: Create RKE2 cluster
![image](https://github.com/harvester/harvester/assets/2773781/a6f0d767-c42f-4e19-af74-466d86bc2106):green_circle: Check deployment with pvc
![image](https://github.com/harvester/harvester/assets/2773781/6dfbfd32-13e0-418a-bb87-98df9ac13484):green_circle: Check LB
![image](https://github.com/harvester/harvester/assets/2773781/51a6c841-af92-46e6-aa5c-c60074ffe6d1)Upgrade Rancher to
v2.8.3-rc4
:green_circle: Cluster is Active
![image](https://github.com/harvester/harvester/assets/2773781/59ee4261-9510-47cc-84b0-be7d0238dea1):red_circle: Apps are in health
${\color{red} \text{0/1 nodes are available: 1 node(s) didn't match pod anti-affinity rules. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..}}$ ![image](https://github.com/harvester/harvester/assets/2773781/d2486c64-1738-4e15-9042-93fb2ac65728):green_circle: Check deployment with pvc
![image](https://github.com/harvester/harvester/assets/2773781/18317f50-4b3c-463c-a3c1-2847d14f3912):green_circle: Check LB
![image](https://github.com/harvester/harvester/assets/2773781/dadee14d-f807-454b-aa38-a12e990eb759)Expected behavior harvester-cloud-provider should be in health after upgrade
Support bundle
Environment
v1.3.0
Auto
v2.7.11
->v2.8.3-rc4