Description

It was observed that in Space 24.1, DMI session not getting cleared when a Device in Space is put in RMA or gets deleted from Space .

The DMI sessions remains on the BNG and on the Space node.


Symptoms

  • In the App01 node the device ssh connection list as below :
# netstat -anlp | awk '{print $5}' | grep ":22" | uniq -c
1 <Dev1_ip>:22
1 <Dev2_ip>:22

  • RMA for Dev1 and Dev2 was performed
20:50:42,944 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () checking whether it is Device RMA
2025-01-15 20:50:42,944 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () jm.getMethodName executeRMADevices
2025-01-15 20:50:42,944 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () jm.getServiceName RMADevicesManagerEJB
2025-01-15 20:50:42,944 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device RMA
2025-01-15 20:50:42,958 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device selected for RMA  :jdi-reg-emerald-ex2300-04loop Count : 1
2025-01-15 20:50:42,958 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device for RMA JobManagerBean:jdi-reg-emerald-ex2300-04
2025-01-15 20:50:42,960 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device associated JBOSS IP JobManagerBean <JBOSS IP>
2025-01-15 20:50:42,960 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device selected for RMA  :jweb-ex4400vloop Count : 2
2025-01-15 20:50:42,960 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device for RMA JobManagerBean:jweb-ex4400v
2025-01-15 20:50:42,982 WARN  [net.juniper.jmp.cmp.jobManager.ejb.JobManagerBean] () Device associated JBOSS IP JobManagerBean <JBOSS IP>

  • The connections are still intact in the same node

# netstat -anlp | awk '{print $5}' | grep ":22" | uniq -c
1 <Dev1_ip>:22
1 <Dev2_ip>:22
  • Could see, after performing the RMA, the ssh connection is not removing from the node.
    Also space didn't  receive the device delete command to terminate the ssh connection.
    Same can be verified in server.log as below :
# grep "receive device delete command"  /var/log/jboss/servers/server1/server.log
#

Solution

Fix: This issue related to RMA/Delete device (per node basis) is fixed on 24.1R4.399588 in an 8-node setup. In the fixed versions, DMI session are getting deleted properly when device gets deleted from Space or put in RMA.
Workaround: It is recommended to select devices individually (single-node selection) when performing RMA or Delete operations for earlier versions.

 

Modification History

2025-07-16 : Article Created