You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/upgrade/v1-4-0-to-v1-4-1.md
+32-2
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ A possible cause is processes related to orphan engines of the Longhorn Instance
51
51
The `instance-manager` pod cannot be drained because of the engine `pvc-9ae0e9a5-a630-4f0c-98cc-b14893c74f9e-e-0`.
52
52
53
53
1. Check if the engine is still running on the stuck node.
54
-
54
+
55
55
Example:
56
56
57
57
```
@@ -80,4 +80,34 @@ A possible cause is processes related to orphan engines of the Longhorn Instance
80
80
81
81
Related issues:
82
82
- [[BUG] v1.4.0 -> v1.4.1-rc1 upgrade stuck in Pre-drained and the node stay in Cordoned](https://github.com/harvester/harvester/issues/7366)
83
-
- [[IMPROVEMENT] Cleanup orphaned volume runtime resources if the resources already deleted](https://github.com/longhorn/longhorn/issues/6764)
83
+
- [[IMPROVEMENT] Cleanup orphaned volume runtime resources if the resources already deleted](https://github.com/longhorn/longhorn/issues/6764)
84
+
85
+
### 2. Upgrade with default StorageClass that is not harvester-longhorn
86
+
87
+
Harvester adds the annotation `storageclass.kubernetes.io/is-default-class: "true"` to `harvester-longhorn`, which is the original default StorageClass. When you replace `harvester-longhorn` with another StorageClass, the following occur:
88
+
89
+
- The Harvester ManagedChart shows the error message `cannot patch "harvester-longhorn" with kind StorageClass: admission webhook "validator.harvesterhci.io" denied the request: default storage class %!s(MISSING) already exists, please reset it first`.
90
+
91
+
- The webhook denies the upgrade request.
92
+
93
+

94
+
95
+
You can perform any of the following workarounds:
96
+
97
+
- Set `harvester-longhorn` as the default StorageClass.
98
+
99
+
- Add `spec.values.storageClass.defaultStorageClass: false` to the `harvester` ManagedChart.
Copy file name to clipboardexpand all lines: versioned_docs/version-v1.4/upgrade/v1-4-0-to-v1-4-1.md
+31-1
Original file line number
Diff line number
Diff line change
@@ -80,4 +80,34 @@ A possible cause is processes related to orphan engines of the Longhorn Instance
80
80
81
81
Related issues:
82
82
- [[BUG] v1.4.0 -> v1.4.1-rc1 upgrade stuck in Pre-drained and the node stay in Cordoned](https://github.com/harvester/harvester/issues/7366)
83
-
- [[IMPROVEMENT] Cleanup orphaned volume runtime resources if the resources already deleted](https://github.com/longhorn/longhorn/issues/6764)
83
+
- [[IMPROVEMENT] Cleanup orphaned volume runtime resources if the resources already deleted](https://github.com/longhorn/longhorn/issues/6764)
84
+
85
+
### 2. Upgrade with default StorageClass that is not harvester-longhorn
86
+
87
+
Harvester adds the annotation `storageclass.kubernetes.io/is-default-class: "true"` to `harvester-longhorn`, which is the original default StorageClass. When you replace `harvester-longhorn` with another StorageClass, the following occur:
88
+
89
+
- The Harvester ManagedChart shows the error message `cannot patch "harvester-longhorn" with kind StorageClass: admission webhook "validator.harvesterhci.io" denied the request: default storage class %!s(MISSING) already exists, please reset it first`.
90
+
91
+
- The webhook denies the upgrade request.
92
+
93
+

94
+
95
+
You can perform any of the following workarounds:
96
+
97
+
- Set `harvester-longhorn` as the default StorageClass.
98
+
99
+
- Add `spec.values.storageClass.defaultStorageClass: false` to the `harvester` ManagedChart.
0 commit comments