jenkinsci / azure-vm-agents-plugin

This repo is for azure vm agents plugin for jenkins. Azure devops CICD is the team which owns it for now
https://plugins.jenkins.io/azure-vm-agents/
43 stars 99 forks source link

Not able to launch azure vm's #463

Open Lathaypalli opened 1 year ago

Lathaypalli commented 1 year ago

Jenkins and plugins versions report

2023-09-14 16:30:46.683+0000 [id=46] INFO c.m.a.v.r.AzureVMAgentSSHLauncher#connectToSsh: Failed connecting to host X.X.X.X:22. Will be trying again after 10 seconds, error was: timeout: socket is not established 2023-09-14 16:30:56.683+0000 [id=46] INFO c.m.a.v.r.AzureVMAgentSSHLauncher#getRemoteSession: Getting remote session for user user_admin to host X.X.X.X:22

What Operating System are you using (both controller, and any agents involved in the problem)?

windows and linux

Reproduction steps

create an agent template on jenkins cloud and launch that agent

Expected Results

VM should launch successfully with ssh launcher

openjdk full version "11.0.11+9" <===[JENKINS REMOTING CAPACITY]===>Remoting version: 3131.vf2b_b_798b_ce99 Launcher: AzureVMAgentSSHLauncher Communication Protocol: Standard in/out This is a Windows agent Agent successfully connected and online

Actual Results

2023-09-14 15:03:23.413+0000 [id=45] INFO c.m.a.v.r.AzureVMAgentSSHLauncher#connectToSsh: Failed connecting to host x.x.x.x:22. Will be trying again after 10 seconds, error was: timeout: socket is not established

Anything else?

ssh issue remains in version 883.v63c930b_025dc and 881.vdd465399565c

limeman40 commented 10 months ago

Are you sure port 22 to the Jenkins controller is not being blocked by an NSG rule or something?