Skip to main content
Question

IFS CLOUD Delivery installation(error)

  • December 11, 2022
  • 4 replies
  • 640 views

Darshana Herath
Hero (Former Employee)
Forum|alt.badge.img+14

Hi All,

 

[Sun Dec 11 15:40:33 GST 2022] - SEVERE: Failed to create namespace
[Sun Dec 11 15:40:33 GST 2022] - SEVERE: Failed to install ifs-cloud. Collected logs from command:
INFO: Creating namespace
Unable to connect to the server: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "xxx.xxx.xxx.xxx")
SEVERE: Failed to create namespace

 

The above error occurred during a delivery installation; the delivery went well in TEST, but this occurred during MIG installation. 

Anyone knows how to fix this?

4 replies

Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 44 replies
  • December 19, 2022

I have had this many times and usually because I’d forgotten to update the cert in the local user profile:

Get the kubeconfig file from the Kubernetes cluster in Middle Tier Server.

This command grabs the kube config file from the Kubernetes cluster and copies it over to the Windows VM. This file is used to access Kubernetes when used with command line tools such as kubectl and helm.

ps> .\main.ps1 -resource 'GETKUBECONFIG'  

Copy the file ifsroot\config\kube\config to c:\users\.kube

ps> mkdir $HOME\.kube
ps> copy .\config\kube\config $HOME\.kube\  

Technical Toby
Superhero (Employee)
Forum|alt.badge.img+14
  • Superhero (Employee)
  • 149 replies
  • January 2, 2023

Dear @Darshana Herath 

Can you please mark the answer as best solution? Or can you make sure to reply?

 

Would be great to know that the comment from @PROAHAR helped you.

 

Kind regards,

Tobias


Darshana Herath
Hero (Former Employee)
Forum|alt.badge.img+14
  • Author
  • Hero (Former Employee)
  • 116 replies
  • March 9, 2023
PROAHAR wrote:

I have had this many times and usually because I’d forgotten to update the cert in the local user profile:

Get the kubeconfig file from the Kubernetes cluster in Middle Tier Server.

This command grabs the kube config file from the Kubernetes cluster and copies it over to the Windows VM. This file is used to access Kubernetes when used with command line tools such as kubectl and helm.

ps> .\main.ps1 -resource 'GETKUBECONFIG'  

Copy the file ifsroot\config\kube\config to c:\users\.kube

ps> mkdir $HOME\.kube
ps> copy .\config\kube\config $HOME\.kube\  

 

 

Hi, thank you very much for your answer.

The issue was that the middle tier had been upgraded to a higher version, and the authentication command was a little bit changed.

There were two solutions.

  1. Keep the updated version and change the SSH command in the file.
  2. Downgrade to the recommended version.

Thank you and best regards, Sorry for the late reply.


TheofilLepschy
Sidekick (Partner)
Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 69 replies
  • October 7, 2024

Would be helpful if you can provide the cahnged SSH command.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings