-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After last update, the plugin does not start new machines (or seems to be doing anything at all) #528
Comments
To extend @ohadcohenanjuna description: Got same behaviour. Issue seems to be in validation of template:
Any suggestions ? |
we started also having the same issue after the last plugin update which was introduced by #507 |
Any specific steps to reproduce or key types needed? |
we are using ssh keys generated by ssh-keygen ( rsa key 4096 bytes ) |
I've tried with:
On each of them I've tried:
I didn't hit any issues Is it possible to create a minimal reproduction? I've tried this on: Java 11 and Java 21 |
Could you provide a full plugin list? Its possible you have a dependency conflict and the dependency update exposed it. I can't see any other plugin using this dependency though |
I can't post it publicly here for security reasons :( |
this is a list of plugins where we have seen the issue
and this is an SBOM of the jenkins image: |
Thanks I’ll try reproduce with that list ~next week |
I wasn't able to reproduce it with that list =/ |
In addition to @ysmaoui maybe there could be an issue with the specific template used as casc: jenkins:
clouds:
- azureVM:
azureCredentialsId: "az-vm-sp"
deploymentTimeout: 1200
existingResourceGroupName: "rg-test-1"
maxVirtualMachinesLimit: 16
name: "VM-Cloud"
resourceGroupReferenceType: "existing"
vmTemplates:
- templateName: "docker"
builtInImage: "Ubuntu 22.04 LTS"
credentialsId: "ssh-jenkins"
diskType: "managed"
doNotUseMachineIfInitFails: false
executeInitScriptAsRoot: false
existingStorageAccountName: "satestjenkinsjj001"
imageReference:
galleryImageDefinition: "docker"
galleryImageSpecialized: true
galleryImageVersion: "1.0.0"
galleryName: "sig_test_jenkins"
galleryResourceGroup: "rg-test-1"
gallerySubscriptionId: "xxx hidden xxx"
imageTopLevelType: "advanced"
installGit: true
javaPath: "java"
labels: "docker"
launcher:
ssh:
sshConfig: |-
Host 192.168*
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
location: "West Europe"
maxVirtualMachinesLimit: 4
maximumDeploymentSize: 4
noOfParallelJobs: 1
osDiskSize: 512
osDiskStorageAccountType: "Standard_LRS"
osType: "Linux"
retentionStrategy: "azureVMCloudOnce"
storageAccountNameReferenceType: "existing"
storageAccountType: "Standard_LRS"
subnetName: "snet-jenkins-vms"
usageMode: NORMAL
usePrivateIP: true
virtualMachineSize: "Standard_F16s_v2"
virtualNetworkName: "vnet-jenkins-test"
virtualNetworkResourceGroupName: "rg-test-1"
tags:
- name: "JenkinsVMType"
value: "docker" |
Jenkins and plugins versions report
Jenkins Version: Jenkins 2.440.3. (can confirm also a problem on 2.440.2)
Azure VM Agent: working: 901.ved986df424b_3
not working: 921.v76424a_e24594
What Operating System are you using (both controller, and any agents involved in the problem)?
Agents are Ubuntu machines; the controller is a docker image running on AWS Linux2. the docker image is: jenkins:lts-jdk21
Reproduction steps
After upgrade and restart of the Jenkins server, jobs are just waiting for agents but the plugin does not kick in, nothing in the logs (so it seems that the plugin is not seeing jobs are pending at all).
Expected Results
Agents would spin when jobs are pending,
Actual Results
nothing happens. no longs, just jobs in the queue and no new agents
Anything else?
Downgrading the plugin fixed the issue.
Are you interested in contributing a fix?
No response
The text was updated successfully, but these errors were encountered: