After a power outage, vSRX gets stuck in a boot loop and the VNF never comes up. It continues to reboot.
Previously, the only way to resolve this issue was to replace the corrupt QCOW image with a known working QCOW image.
Now, a corrupted QCOW image caused by power outage can restored with the following steps:
Connect to vSRX VM via console.
Reboot vSRX VM.
Type "Ctrl-C" to enter boot option menu.
Type 5 More Options from Main Menu.
Type 3 Check [F]ile system.
It may take you to a login with Amnesiac showing the following:
FreeBSD/amd64 (Amnesiac) (ttyu0) login: ********************************* Hit - CTRL ] to exit to JDM:
From JDM shell do the following:
virsh destroy vsrxName
Go into CLI and the config. Delete the config for the specific VNF and commit.
Then re-add the config and commit.
Console back into the vSRX.
VNF should come up recovered.