Failure during upgrade to 2022.10.0 (infra stage)

2022-10-07T12:27:11.4467178Z     [INFO] [2022-10-07T12:22:07+0000]: Longhorn default settings found with storageOverProvisioningPercentage set to 100
2022-10-07T12:27:11.4470402Z     [INFO] [2022-10-07T12:22:07+0000]: Installing longhorn with arguments --version=1.3.1 --set defaultSettings.autoDeletePodWhenVolumeDetachedUnexpectedly=true --set defaultSettings.guaranteedReplicaManagerCPU=10 --set defaultSettings.guaranteedEngineManagerCPU=10 --set defaultSettings.storageMinimalAvailablePercentage=5 --set defaultSettings.allowNodeDrainWithLastHealthyReplica=false --set defaultSettings.defaultDataLocality=best-effort --set defaultSettings.nodeDownPodDeletionPolicy=delete-both-statefulset-and-deployment-pod --set defaultSettings.priorityClass=system-cluster-critical --set longhornManager.priorityClass=system-cluster-critical --set longhornDriver.priorityClass=system-cluster-critical --set longhornUI.priorityClass=system-cluster-critical --set defaultSettings.storageOverProvisioningPercentage=100 --set defaultSettings.replicaAutoBalance=best-effort --set persistence.defaultClassReplicaCount=1 --set defaultSettings.defaultReplicaCount=1 --set defaultSettings.defaultDataPath=/datadisk
2022-10-07T12:27:11.4472975Z     W1007 12:22:08.471111 2483773 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
2022-10-07T12:27:11.4473866Z     W1007 12:22:08.473968 2483773 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
2022-10-07T12:27:11.4474738Z     W1007 12:22:08.491157 2483773 warnings.go:70] policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+
2022-10-07T12:27:11.4478458Z     [0;31m[ERROR][2022-10-07T12:27:10+0000]:[0m [Infrastructure] [Failed] Installing and configuring storage
2022-10-07T12:27:11.4479441Z     [0;31m[ERROR][2022-10-07T12:27:10+0000]:[0m 11008 : Failed to install Longhorn
2022-10-07T12:27:11.4480411Z     [0;33mMore details can be found in /opt/UiPathAutomationSuite/UiPath_Installer/install-stderr.log[0m
1 Like

To avoid errors in infra-upgrade stage.

One needs the following workaround:

./configureUiPathAS.sh containerd --offline-bundle {{sf_infra_bundle_path}} --offline-tmp-folder /var/tmp

1 Like

Mark it as a solution. It will be helpful for others.