great-advantage-74442
08/10/2023, 11:51 AMError: uninstallation completed with 1 error(s): uninstall: Failed to purge the release: Internal error occurred: failed calling webhook "[<http://rancher.cattle.io|rancher.cattle.io>](<http://rancher.cattle.io/).secrets>": failed to call webhook: Post "[<https://rancher-webhook.cattle-system.svc:443/v1/webhook/mutation/secrets?timeout=15s](https://rancher-webhook.cattle-system.svc/v1/webhook/mutation/secrets?timeout=15s)>": context deadline exceeded
I've opened an issue here , would appreciate help here 🙏wide-oil-9550
08/10/2023, 12:28 PMfaint-shampoo-17603
08/11/2023, 9:44 AMenough-lamp-31931
08/11/2023, 3:25 PMsticky-jewelry-7454
08/13/2023, 3:55 AMmillions-hydrogen-53143
08/13/2023, 8:43 AMerror syncing '_all_': handler user-controllers-controller: userControllersController: failed to set peers for key _all_: failed
in the logs of rancher pod and in the UI it shows following error.
2023/08/13 08:38:17 [ERROR] error syncing '_all_': handler user-controllers-controller: userControllersController: failed to set peers for key _all_: failed to start user controllers for cluster c-m-h2s57fh6: ClusterUnavailable 503: cluster not found, requeuing
millions-hydrogen-53143
08/13/2023, 8:43 AMmillions-hydrogen-53143
08/13/2023, 8:44 AMstraight-businessperson-27680
08/14/2023, 5:43 PMbored-nest-98612
08/14/2023, 7:15 PMbored-nest-98612
08/14/2023, 7:15 PMaloof-cricket-48592
08/15/2023, 5:30 AMproud-king-80800
08/16/2023, 1:34 AMstraight-fountain-2279
08/16/2023, 11:59 AMgorgeous-pizza-36569
08/16/2023, 12:31 PMbrave-napkin-80104
08/16/2023, 6:42 PMgifted-doctor-67688
08/17/2023, 7:55 AMkind-orange-31056
08/18/2023, 12:57 PMlittle-art-55288
08/21/2023, 6:13 PMgifted-doctor-67688
08/22/2023, 2:13 PMbrave-beard-75286
08/24/2023, 6:19 AMstraight-businessperson-27680
08/25/2023, 12:23 PMmicroscopic-air-88044
08/28/2023, 1:46 PMenough-jordan-10522
08/30/2023, 5:44 PMastonishing-toddler-94422
08/31/2023, 10:37 AMcold-jewelry-86345
09/01/2023, 6:53 AMglamorous-zebra-45005
09/04/2023, 12:37 PMbored-nest-98612
09/04/2023, 2:58 PMgifted-doctor-67688
09/06/2023, 1:35 PMorange-lawyer-91870
09/06/2023, 2:44 PMkind: Cluster
and kind: HarvesterConfig
) for both clusters as deployed and can’t spot a delta.
The only resource I’ve been able to determine that’s different is a Secret that gets created in the fleet-default
namespace instantly after you click “Create” in the Rancher Cluster Management UI: harvesterconfigXXXXX
(last 5 are dynamic)
This secret contains a service account and token information of the Harvester cluster needed for the CSI driver to work from the downstream cluster. (it also provisions the service account on the Harvester cluster)
How can I replicate the Harvester CSI behavior from the UI via the cluster-template Helm charts? Does anyone know what creates that harvesterconfig secret and what additional resource I need to define in the Helm templates to initiate those resource creations?
I’m assuming the UI process is kicking off this script (https://raw.githubusercontent.com/harvester/harvester-csi-driver/master/deploy/generate_addon_csi.sh) but how and what can I do to make that happen via the Helm workflow?
I also posted this in #harvester, but here’s a lot more brains in here that might help. Thanks in advance!