Skip to main content
Question

IFS Cloud 24R2 Middleware Installation - Main.ps1 -resource 'KUBERNETES'

  • April 24, 2025
  • 1 reply
  • 9 views

Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • 2 replies

Getting error running 

2025-04-24 10:04:40.39   GLDAS86003 Start Main
2025-04-24 10:04:40.39   GLDAS86003 Action Type :
2025-04-24 10:04:40.39   GLDAS86003 Resource Type : KUBERNETES
2025-04-24 10:04:40.41   GLDAS86003 Start Open-ConnectionsWithLinuxBox
JP1 -ComputerName nhnaunxabaps001.goldlnk.rootlnka.net -Credential  -KeyFile D:\IFS\MWS\UB1-MWS-2422UB\ifsroot\utils\..\config\secrets\.ssh\nhnaunxabaps001_goldlnk_rootlnka_net_id_rsa
Module Posh-SSH exists with version 3.1.3.
Posh-SSH is already at the required version 3.1.3.
Module check and installation process completed.
2025-04-24 10:04:40.55   GLDAS86003 Open Connections with Linux Box(nhnaunxabaps001.goldlnk.rootlnka.net)...
JP2 .. -Computer nhnaunxabaps001.goldlnk.rootlnka.net -Credential System.Management.Automation.PSCredential -KeyFile D:\IFS\MWS\UB1-MWS-2422UB\ifsroot\utils\..\config\secrets\.ssh\nhnaunxabaps001_goldlnk_rootlnka_net_id_rsa
New-SSHSession : Exception has been thrown by the target of an invocation.
At D:\IFS\MWS\UB1-MWS-2422UB\ifsroot\utils\common.psm1:77 char:23
+ ... LOBAL:ssh = New-SSHSession -Computer $NodeName -Credential $cred -Key ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Renci.SshNet.SshClient:SshClient) [New-SSHSession], TargetInvocationE
   xception
    + FullyQualifiedErrorId : SSH.NewSshSession

Exception Occurred While Opening Connection with the Linux Box.
2025-04-24 10:04:41.08   GLDAS86003 Stop Open-ConnectionsWithLinuxBox
D:\IFS\MWS\UB1-MWS-2422UB\ifsroot\main.ps1 : Error found in ScriptHalted. Please check logs for details.
At line:1 char:1
+ .\main.ps1 -resource 'KUBERNETES'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,main.ps1

>>> Finalize Script Execution <<<
Clean up Scripts in Linux Box.
Close Open Connections with Linux Box.
2025-04-24 10:04:41.19   GLDAS86003 Start Close-ConnectionsWithLinuxBox
2025-04-24 10:04:41.19   GLDAS86003 Close Connections with Linux Box(nhnaunxabaps001.goldlnk.rootlnka.net)...
Close-ConnectionsWithLinuxBox
2025-04-24 10:04:41.21   GLDAS86003 Stop Close-ConnectionsWithLinuxBox

 

The management server is Windows 2019

The Middleware VM was built with ubuntu-22.04.5-live-server-amd64.iso

.\main.ps1  -resource  'INIT'
.\main.ps1  -resource  'KEY'

… ran without issue and …

ssh -i D:\IFS\MWS\UB1-MWS-2422UB\ifsroot\utils\..\config\secrets\.ssh\<..>_net_id_rsa ifs@<server>

logs in without issue …

during the attempt auth.log on the Ubuntu box yields

Apr 24 14:13:00 nhnaunxabaps001 sshd[1009]: debug1: Forked child 16271.
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: Set /proc/self/oom_score_adj to 0
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: rexec start in 5 out 5 newsock 5 pipe 7 sock 8
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: inetd sockets after dupping: 4, 4
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: warning: /etc/hosts.allow, line 10: missing ":" separator
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: Connection from 10.72.166.45 port 64217 on 10.72.172.37 port 22 rdomain ""
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: Local version string SSH-2.0-OpenSSH_8.9p1 Ubuntu-3ubuntu0.11
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: Remote protocol version 2.0, remote software version Renci.SshNet.SshClient.0.0.1
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: compat_banner: no match: Renci.SshNet.SshClient.0.0.1
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: permanently_set_uid: 113/65534 [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: list_hostkey_types: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: SSH2_MSG_KEXINIT sent [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: SSH2_MSG_KEXINIT received [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: kex: algorithm: curve25519-sha256 [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: kex: host key algorithm: ssh-ed25519 [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: kex: client->server cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: kex: server->client cipher: aes128-ctr MAC: hmac-sha2-256 compression: none [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: expecting SSH2_MSG_KEX_ECDH_INIT [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: SSH2_MSG_KEX_ECDH_INIT received [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: rekey out after 4294967296 blocks [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: SSH2_MSG_NEWKEYS sent [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: expecting SSH2_MSG_NEWKEYS [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: Connection closed by 10.72.166.45 port 64217 [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: do_cleanup [preauth]
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: monitor_read_log: child log fd closed
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: do_cleanup
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: Killing privsep child 16272
Apr 24 14:13:00 nhnaunxabaps001 sshd[16271]: debug1: audit_event: unhandled event 12

 

1 reply

InfFilipV
Hero (Partner)
Forum|alt.badge.img+12
  • Hero (Partner)
  • 202 replies
  • April 25, 2025

Hi,
try run .\main.ps1 -resource 'SECURITYUPDATES’ first.

BR
Filip


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