Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE). Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.
When trying to save a rescue configuration on the EX series of devices, the "File-fetch failed" error is logged. This article explains the reason for the error and the workaround.
The following error message is seen on the VC environment when trying to save a rescue configuration:
root> request system configuration rescue save
error: File-fetch failed
The error is logged when saving a recently committed configuration as a rescue configuration.
This issue has been fixed in Junos OS releases 14.1X53-D30, 15.1R2, and 16.1R1 as per PR1074772.
Meanwhile, a workaround for other releases is as follows:
- Manually copy the current configuration to a rescue configuration:
root> file copy /config/juniper.conf.gz /config/rescue.conf.gz
- Copy the rescue configuration from the master to the backup routing engine:
root> file copy /config/rescue.conf.gz fpcX:/config/rescue.conf.gz
Note: In the command, fpcX
refers to the backup engine where you want to copy the rescue configuration. For example, if fpc1
is the backup routing engine, the following command would be used:
root> file copy /config/rescue.conf.gz fpc1:/config/rescue.conf.gz
Note: To execute the above commands, the file needs to be changed to be writable at the shell prompt by using the command "%chmod 777 /config/rescue.conf.gz
" or the user would require root permission.
2020-12-28: Tagged article for EOL/EOE