Support Support Downloads Knowledge Base Apex 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

[PTX] Upgrade failed with error 'Event processing process: invalid filename'

0

0

Article ID: KB36573 KB Last Updated: 21 Mar 2021Version: 1.0
Summary:

While upgrading a PTX1000 device from 18.2X75-D420.28 to 18.2X75-D435.17, the upgrade failed with the error below, indicating a problem with the event options script:

Event processing process: invalid filename: /var/db/scripts/event//bgp_lookup.slax

However, the file name was correct and the file was present in the directory specified.

Symptoms:

Upgrade messages were observed after issuing the upgrade command:

2021-02-26 07:17:38,702 | [INFO][junos_ops.device_operations.update_os] Issuing command: request vmhost software add /var/tmp/junos-vmhost-install-ptx-x86-64-18.2X75-D435.17.tgz reboot
2021-02-26 07:19:54,117 | [INFO][junos_ops.operations_parsers.update_os_parsers] Parsing device output in parser=parse_update_os_output
2021-02-26 07:19:54,117 | [INFO][junos_ops.operations_parsers.update_os_parsers] Finished parsing in parser=parse_update_os_output
2021-02-26 07:19:54,117 | [ERROR][junos_ops.device_operations.update_os] Error occurred when running CLI command: Junos Validation begin. Procedure will take few minutes.
Initializing...
grep: /var/tmp/mt_pt82138/packages/sets/validate82266/*/package.xml: No such file or directory
Verified os-libs-11-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-libs-11-x86-64-20200423.d6acdc5_builder_stable_11
Verified os-runtime-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-runtime-x86-64-20200423.d6acdc5_builder_stable_11
Verified os-zoneinfo-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-zoneinfo-20200423.d6acdc5_builder_stable_11
Verified junos-net-prd-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-net-prd-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-libs-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-libs-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified os-libs-compat32-11-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-libs-compat32-11-x86-64-20200423.d6acdc5_builder_stable_11
Verified os-compat32-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-compat32-x86-64-20200423.d6acdc5_builder_stable_11
Verified junos-libs-compat32-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-libs-compat32-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-runtime-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-runtime-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-vmguest-mtx-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-vmguest-mtx-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified sflow-ptx-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting sflow-ptx-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified py-extensions-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting py-extensions-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified py-base-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting py-base-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified os-vmguest-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-vmguest-x86-64-20200423.d6acdc5_builder_stable_11
Verified os-crypto-x86-64-20200423 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting os-crypto-x86-64-20200423.d6acdc5_builder_stable_11
Verified na-telemetry-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting na-telemetry-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-libs-compat32-mx-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-libs-compat32-mx-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-runtime-mx-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-runtime-mx-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-platform-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-platform-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-openconfig-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-openconfig-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-modules-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-modules-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-modules-mx-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-modules-mx-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-libs-mx-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-libs-mx-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-dp-crypto-support-mtx-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-dp-crypto-support-mtx-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified junos-daemons-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-daemons-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified junos-daemons-mx-x86-64-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting junos-daemons-mx-x86-64-20201014.165515_builder_junos_182_x75_d435
Verified jsd-x86-32-18.2X75-D435 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jsd-x86-32-18.2X75-D435.17-jet-1
Verified jpfe-wrlinux-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jpfe-wrlinux-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified jpfe-T-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jpfe-T-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified jpfe-fips-x86-32-18.2X75-D435 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jpfe-fips-x86-32-18.2X75-D435.17
Verified jpfe-common-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jpfe-common-x86-32-20201014.165515_builder_junos_182_x75_d435
Verified jinsight-x86-32-18.2X75-D435 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jinsight-x86-32-18.2X75-D435.17
Verified jfirmware-x86-32-18.2X75-D435 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jfirmware-x86-32-18.2X75-D435.17
Verified jdocs-x86-32-20201014 signed by PackageProductionECP256_2020 method ECDSA256+SHA256
Mounting jdocs-x86-32-20201014.165515_builder_junos_182_x75_d435
Hardware Database regeneration succeeded
Validating against /config/juniper.conf.gz
mgd: commit complete
Validation succeeded
Validating against /config/rescue.conf.gz
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>
Event processing process: commit-script
Event processing process: </source-daemon>
Event processing process: <message>
Event processing process: invalid filename: /var/db/scripts/event//bgp_lookup.slax
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>&lt;xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm"&gt;
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>&lt;message&gt;
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>Cannot open configuration file: &amp;#239;&amp;#xe007;&amp;#155;&amp;#xe00e;
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>&lt;/message&gt;
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>&lt;/xnm:error&gt;
Event processing process: </message>
Event processing process: </xnm:error>
Event processing process: <xnm:error xmlns="http://xml.juniper.net/xnm/1.1/xnm" xmlns:xnm="http://xml.juniper.net/xnm/1.1/xnm">
Event processing process: <source-daemon>eventd</source-daemon>
Event processing process: <message>Loading the configuration from event scripts failed</message>
Event processing process: </xnm:error>
mgd: error: configuration check-out failed
Validation failed
ERROR:  Failed to add /var/tmp/junos-vmhost-install-ptx-x86-64-18.2X75-D435.17.tgz
warning: Host software installation has failed.
2021-02-26 07:19:54,118 | [ERROR][endodriverutils.execution] Failed to execute [update_os] for device [osl50-br-tra-r4] due to OSUpgradeFailedException(Error occurred when running CLI command: Junos Validation begin. Procedure will take few minutes.
..
Cause:

When there is a rescue configuration on the device, it is validated against during the upgrade.  A mismatch or conflicting configuration in it, can cause an issue.

In this case, the upgrade failed while verifying against the rescue configuration (rescue configuration is like a backup configuration on the device) due to a mismatch of rescue configuration with the latest configuration.

Solution:

Save the rescue config to match the latest config, then the upgrade worked as expected:

‚Äč>request system configuration rescue save

Related Links

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