Description

This article explains the steps to overcome the issue of staging the image from Junos space to Junos OS device after upgrading Junos Space to 24.1

 

Below is the error message while staging the image:

"SCP might not be enabled/supported on the device. Using file-put RPC to transfer the image file".

Symptoms

You will get the below error from server.log:

 

2025-10-22 11:37:33,778 ERROR [net.juniper.jmp.cems.deviceImageManager.core.DownloadJUNOSDeviceImage] (JobThread12699457, Parent JobThread12699455) Check system storage failed, device id : 196692 <multi-routing-engine-results xmlns:junos="http://xml.juniper.net/junos/23.4R2-S4.11/junos">

 

2025-10-22 11:37:33,788 ERROR [net.juniper.jmp.cmp.schema.schemaMgr.SchemaMgr] (JobThread12699457, Parent JobThread12699455) ################## Dmi Schema info ######### junos/23.4R2 ################### 23.4R2

 

2025-10-22 11:37:34,604 ERROR [FileTransferBean] (JobThread12699456, Parent JobThread12699455) Failed to SCP /var/tmp/junos-arm-32-23.4R2-S4.11.tgz tox.x.x.x 2025-10-22 11:37:34,615 ERROR [net.juniper.jmp.cems.deviceImageManager.core.DownloadJUNOSDeviceImage] (JobThread12699456, Parent JobThread12699455) Failed to SCP /var/tmp/junos-arm-32-23.4R2-S4.11.tgz to10.23.10.24null Device IP: x.x.x.x Image Name: IMAGEFILE

 

2025-10-22 11:37:34,625 ERROR [net.juniper.jmp.cems.deviceImageManager.core.DownloadJUNOSDeviceImage] (JobThread12699456, Parent JobThread12699455) Failed to encode the image file to Base64 before the tranfer : junos-arm-32-23.4R2-S4.11.tgz

 

You will see Junos space is checking the storage on Junos OS device and closing the connection in interactive-commands log in device:

 

UI_NETCONF_CMD: User 'root' used NETCONF client to run command 'get-system-storage' Oct 22 12:30:22 192539 UI_NETCONF_CMD: User 'root' used NETCONF client to run command 'close-session'

 


Solution

Please find the below details:

 

After upgrading Junos Space from 23.1 to 24.1, device image staging and scripting may fail.

 

Cause:

Images that were imported in earlier Junos Space releases (for example, 23.1) retain legacy metadata and SSH fingerprint information. These entries are not compatible with the updated SCP/SSH libraries introduced in Junos Space 24.1, resulting in SCP transfer failure during image staging.

 

Solution:

Delete and re-import all older images and scripts to avoid metadata mismatches.

 

If you need any further assistance please contact JTAC

 

Modification History

2025-11-07 : Article Created

2025-12-06 : Minor change and visibility changed.