Description

This KB Explains an error condition that may occur while adding software on the Junos device.

Symptoms

When software is added to Junos device, the device extracts the file to fetch the bundle/image package to add it to the device. Sometimes, the extraction of a bundle or image package can fail and throw the below error.

 

Router> request system vmhost software add /var/tmp/junos-vmhost-install-ptx-x86-64-20.3X75-D43.22.tgz

Junos Validation begin. Procedure will take few minutes.

ERROR: Failed to extract vmhost bundle from /var/tmp/junos-vmhost-install-ptx-x86-64-20.3X75-D43.22.tgz

warning: Host software installation has failed.

Solution

This error condition can occur due to the following reasons, please check and verify the following.

  • The image file is partially copied or partially downloaded from the support portal.
  • Check the image size on the portal and Junos device.- if found a mismatch, please download it again and add it to the Junos device.
  • Please check and verify the checksum of the file either MD5, SHA256, or SHA512 from the support portal- Juniper Software Downloads.

Use the following command to check the checksum on Junos' device.

labroot@jre0> file checksum md5 /var/tmp/jinstall-host-<>.tgz 

MD5 (/var/tmp/jinstall-host-<>.tgz) = e950082bc471e9b94848ec9310353357

  • Please check the storage on the device. If storage is less on the device, please use "request system storage cleanup dry-run" to check which files can be deleted to make storage for the image.
  • If still issue persists, contact JTAC through the Juniper Support Portal.

Modification History

2024-04-12 : Article Created