Dear Community!
For a customer I have following issue:
When installing IFS Cloud, I receive an issue with connecting to the artifactory
>Mon Dec 20 13:57:56 CET 2021] - SEVERE: Get "https://ifscloud.jfrog.io/artifactory/api/helm/helm/ifs-cloud-211.5.0.tgz": dial tcp 20.71.12.238:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
To enable this, I have to use the proxy of the customer.
This works via setting the powershell variable $env:HTTPS_PROXY="proxy…...”
This enables to connect to the artifactory, but results in the following error:
Mon Dec 20 13:50:23 CET 2021] - SEVERE: Failed to create namespace
aMon Dec 20 13:50:23 CET 2021] - SEVERE: Failed to install ifs-cloud. Collected logs from command:
DEBUG: 1+ if ($env:verbose) { Set-PSDebug -Trace 2; >>>> $DebugPreference = "Continue"}
DEBUG: ! SET $DebugPreference = 'Continue'.
DEBUG: 2+ >>>> $arg=$args;0]
DEBUG: ! SET $arg = 'dryrun'.
DEBUG: 4+ if ( >>>> "$env:namespace" -eq "") {
DEBUG: 9+ if ( >>>> "$arg" -eq "delete") {
DEBUG: 17+ >>>> kubectl $env:kubeconfigFlag get namespace $env:namespace -o name *> $null
DEBUG: 18+ if ( >>>> !$?) {
DEBUG: 19+ >>>> write-host INFO: Creating namespace
INFO: Creating namespace
DEBUG: 20+ >>>> kubectl $env:kubeconfigFlag create namespace $env:namespace
Unable to connect to the server: Forbidden
DEBUG: 21+ >>>> kubectl $env:kubeconfigFlag label namespace $env:namespace app.kubernetes.io/managed-by=Helm
Unable to connect to the server: Forbidden
DEBUG: 22+ >>>> kubectl $env:kubeconfigFlag annotate namespace $env:namespace meta.helm.sh/release-name=ifs-cloud
Unable to connect to the server: Forbidden
DEBUG: 23+ >>>> kubectl $env:kubeconfigFlag annotate namespace $env:namespace
meta.helm.sh/release-namespace=$env:namespace
Unable to connect to the server: Forbidden
DEBUG: 24+ if ( >>>> !$?) {write-host SEVERE: Failed to create namespace;exit 1}
DEBUG: 24+ if (!$?) { >>>> write-host SEVERE: Failed to create namespace;exit 1}
SEVERE: Failed to create namespace
DEBUG: 24+ if (!$?) {write-host SEVERE: Failed to create namespace; >>>> exit 1}
eMon Dec 20 13:50:23 CET 2021] - SEVERE: Validation failed.
Funny stuff, we have opened up the connection for the windows managed server and deactivated the proxy.
Installation was fine then.
So it is important to know what configuration we need to have regarding PROXY.
kind regards,
Tobias