Skip to main content

Hello Experts,

We are facing issue while we trying to run the command “main.ps1 -resource 'KUBERNETES” in order to install the IFSCloud 23R1 and getting below errors.

 

Any clue please ..

 

****************************


             sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
             install-k8s.sh: line 65: microk8s: command not found
            install-k8s.sh: line 76: microk8s: command not found
            install-k8s.sh: line 83: /etc/cron.hourly/microk8s-extend-autoupdate: Permission denied
             install-k8s.sh: line 84: /etc/cron.hourly/microk8s-extend-autoupdate: Permission denied
Host       : xyz-03
Duration   : 00:02:14.1243697
2023-10-27 04:15:14.97   xyz-01 Stop Install-Kubernetes
>>> Finalize Script Execution <<<
Clean up Scripts in Linux Box.
Output     : {}
ExitStatus : 1
Error      : sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
Host       : xyz-03
Duration   : 00:00:00.4980989

Close Open Connections with Linux Box.
2023-10-27 04:15:15.48   xyz--01 Start Close-ConnectionsWithLinuxBox
2023-10-27 04:15:15.48   xyz-01 Close Connections with Linux Box(gmuvdifs-coe-03)...
True
True
Close-ConnectionsWithLinuxBox
2023-10-27 04:15:15.49   xyz-01 Stop Close-ConnectionsWithLinuxBox

 

*************************************

 

We got the solution for this issue ,

  1. Disable the firewall.
  2. Enable the Internet

3.kubernet files were not copied under bin folder of ifsroot , that was the reason its not able to find the kubctl in error logs.

 

that 3 steps  resolved the issue


Hi @Sujeet Saxena 

Are you referring the Firewall from Windows Management Server or the Linux Server. Internet is enabled from the Windows Management Server.

Regards,
Kanishka


Hello Kanishkatw, this issue is resolved after we restarted the VM windows box...its seems like there was some resource not allocated properly.

 

Thanks for your reply.


Reply