Azure / Azure/cyclecloud-hpcpack
fail to download nuget.exe
- Dominant language
- Ruby
- Stars
- 5
- Forks
- 13
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 1
Description
| ITEM | VERSION |
| --- | ---: |
| `CC` | 8.4.1-3154 |
| `HPC Pack` | 2019 |
| `Project tag` | 2.0.0 |
| `OS Image` | Windows Server 2019 |
# ISSUE:
CycleCloud HPC Pack cluster install fails on head node with following error in `chef-client.log`:
```
[2023-09-26T12:17:06+00:00] ERROR: jetpack_download[try_fetch_nuget_from_locker] (hpcpack::hn line 29) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[C:\cycle\jetpack\bin\jetpack.cmd download try_fetch_nuget_from_locker C:\cycle\jetpack/bin/nuget.exe --project hpcpack] (C:/cycle/jetpack/system/chef/cache/cookbooks/jetpack/providers/download.rb line 18) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of C:\cycle\jetpack\bin\jetpack.cmd download try_fetch_nuget_from_locker C:\cycle\jetpack/bin/nuget.exe --project hpcpack ----
STDOUT:
STDERR: Error: The source file https://jmnonprodgpeus.blob.core.windows.net/cyclecloud/cache/projects/hpcpack/blobs/try_fetch_nuget_from_locker?sv=2017-11-09&sig=Of90ASt009B/Ltita9pogE2VlK0R6v1iX8FVlOnpzj4%3D&se=2033-09-23T11%3A59%3A05Z&spr=https&sp=racwdl&sr=c cannot be verified!
---- End output of C:\cycle\jetpack\bin\jetpack.cmd download try_fetch_nuget_from_locker C:\cycle\jetpack/bin/nuget.exe --project hpcpack ----
Ran C:\cycle\jetpack\bin\jetpack.cmd download try_fetch_nuget_from_locker C:\cycle\jetpack/bin/nuget.exe --project hpcpack returned 1; ignore_failure is set, continuing
[2023-09-26T12:17:06+00:00] INFO: Running queued delayed notifications before re-raising exception
[2023-09-26T12:17:06+00:00] ERROR: Running exception handlers
[2023-09-26T12:17:06+00:00] ERROR: Creating C:\cycle\jetpack/system/run/configuration-status.json exception report...
[2023-09-26T12:17:06+00:00] ERROR: Exception handlers complete
[2023-09-26T12:17:07+00:00] FATAL: Stacktrace dumped to C:/cycle/jetpack/system/chef/cache/chef-stacktrace.out
[2023-09-26T12:17:07+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2023-09-26T12:17:07+00:00] FATAL: OpenSSL::SSL::SSLError: ruby_block[try_fetch_nuget_from_web] (hpcpack::hn line 35) had an error: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)
```
#WORKAROUND
RDP into the head node and manually download `nuget.exe` as follows:
```
curl -o C:\cycle\jetpack\bin\nuget.exe https://aka.ms/nugetclidl
```
#ADDITIONAL INFO
This appears to be an issue with Ruby-gems and the [certificate](https://stackoverflow.com/questions/5720484/how-to-solve-certificate-verify-failed-on-windows)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.