This document helps to understand validation failure error seen while downgrading version from 23.4R2.14-EVO to 21.4R3.13-EVO
root@Router1-re0>request system software rollback Starting software rollback to default rollback version Software rollback in progress... re0: Validating current config for rollback version junos-evo-install-ptx-x86-64-21.4R3.13-EVO re0: Validation failed for version junos-evo-install-ptx-x86-64-21.4R3.13-EVO re0: Detailed rollback validation logs:/var/log/beacon_rollback_version.log ERROR: Validation Failed. Software rollback failed.
Below logs from /var/log/validation_config.log file indicate that, the validation check during software rollback was failing due to license key error.
<progress-indicator> <timestamp junos:seconds="1728820969">2024-10-13 12:02:49.151593 UTC</timestamp> <message>Started running mustd validator hooks</message> </progress-indicator> [edit system license keys] 'key "DemolabJUNOS603464990 aeaqia qfjbdd anrrcc akcaub bthctt 4xaab6 qaacqe g44kop s4ac3r waakd5 dtrjz6 lqaaaa aebdbt rjz6lq aaaaae bc7trj z6lqaa aaaebi cfwofh hzoaaa aaaqfa ixzyu4 7fyaaa vdaaub dlhctt 4xaaaa aaicqe n44kop s4aaad 5aakar ztrjz6 lqaab6 qabicd 6ofhhz oaaaap uafaiq zyu47f yaaab6 qaud5h hctt4x aaaaaa iclxhc tt4xaa aaaaic kdhctt 4xaaaa aaimcb fhk3tj obsxei cjnz2g k4tomf waokao tj742k psupf4 fctpv4 ibsng7 fom2ga qnkovh 5cuoxm bkr5xj 22fmdc rszinr 3tz6my"' ConnectError(host: None, msg: Capability exchange timed out) <progress-indicator> <timestamp junos:seconds="1728821034">2024-10-13 12:03:54.813366 UTC</timestamp> <message>Finished running mustd validator hooks</message> </progress-indicator> Exception in thread session (most likely raised during interpreter shutdown): mgd: error: commit failed: (validation hook evaluation failed) mgd: Commit failed, cleanup checked out files