Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

Cannot zeroize, reboot, or upgrade code in NFX250



Article ID: KB33185 KB Last Updated: 15 Apr 2019Version: 2.0

This article addresses the following two issues encountered on the NFX device:

  • ​Attempt is made to zeroize the NFX device and the following errors are generated:
    • application: operation-failed
    • error: Internal error while staging platform packages​
  • Attempt is made to upgrade the NFX device and following errors are generated
    • Error: There is a pending upgrade.
    • Please rollback pending upgrade or reboot device to complete pending upgrade.

root@nfx250-1-jdm> request system zeroize
warning: System will be rebooted and current installation will be zeroized.
warning: This will stop all VNFs and remove all user configuration and data.
Reboot system to zeroize currently running installation? [yes,no] (no) yes
Staging zeroize (self) operation ...
System should be kept powered on until operation completes.
upgrade_platform: -------------------
upgrade_platform: Parameters passed:
upgrade_platform: silent=0
upgrade_platform: package=
upgrade_platform: clean install=0
upgrade_platform: on primary =0
upgrade_platform: clean upgrade=0
upgrade_platform: zeroize =self
upgrade_platform: Need reboot after staging=1
upgrade_platform: -------------------
upgrade_platform: There is pending upgrade. upgrade_in_progress=stage
upgrade_platform: do rollback before attempting another upgrade
upgrade_platform: do [ upgrade_platform -r ] for rollback
application: operation-failed <- Error generated
error: Internal error while staging platform packages <- Error generated

root@jdm> request system software add /var/tmp/

Error: There is a pending upgrade.

Please rollback pending upgrade or reboot device to complete pending upgrade.


​The command needs to be executed on hypervisor. 

  •  To zeroize the device, login to hypervisor as root and run the following commands:
    /usr/sbin/upgrade_platform -r
    /usr/sbin/upgrade_platform -c     #This additional command is not always required, but harmless to run it.

Now you should be able to run 'request system zeroize' or 'request system software add' on JDM CLI.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search