slave status as offline on another jenkins master server

24 views
Skip to first unread message

Om Prasad Surapu

unread,
May 27, 2020, 9:10:52 AM5/27/20
to Jenkins Users
Hi All,

We have a jenkins master running with 2.13 version on EC2 instance. As part of Upgrade, we took AMI of existing jenkins master and provisioned instance and upgraded jenkins to higher version.

After upgrade, all the slave nodes status showing as Idle but few days later they are offline suddenly. But same slave nodes status as Idle on Old jenkins master. It was AMI of Old jenkins server so keys were already copied and can do ssh from new jenkins master to slave node.

Has anyone seen similar issue? 

Thanks,
Om 

Ivan Fernandez Calvo

unread,
May 27, 2020, 12:37:15 PM5/27/20
to Jenkins Users
Do you mean you have the same agent connected to two different masters with different versions of the core and using the same user with the same home? if so, this is a miracle that works, you are sharing same files between two different instances of Jenkins core that also are in different versions. If you want to connect those instances to both masters (not recommended because you shared resources in a predictable way) you should use different users at least.

Om Prasad Surapu

unread,
May 28, 2020, 3:25:02 AM5/28/20
to Jenkins Users
Hi Ivan,

That's correct. I think it works when slave has different home location with different user. my doubt was it slaves status were idle after upgrading jenkins in new master server.

Thanks,
Om Prasad Surapu
Reply all
Reply to author
Forward
0 new messages