|We moved this page to our Documentation Portal. You can find the latest updates here.|
Startup Virtual Server in recovery mode failed with:
LibVirt: Call to virDomainCreateXML failed: Failed to open file '/onapp/tools/recovery/xxxxxxxxxx.iso': No such file or directory
This file is a part of a collection of files, chances are you will need to download all three. They are:
recovery-xxxxxxxxxx.iso recovery-xxxxxxxxxx.kernel recovery-xxxxxxxxxx.initrd
The files should be stored in the /data directory on the CP. Check the /data directory for the needed files, you might need to download the updated versions.
If you need to download the recovery files, follow these steps:
- Make sure the files needed are available through the templates repository: http://templates.repo.onapp.com/
- SSH into the CP and go to the /data directory.
- run: wget <link to file> (run this for all three files: .iso, .kernel, .initrd). Example: wget http://templates.repo.onapp.com/Linux/recovery-xxxxxxxxxx.ext
If the HV is cloudboot, there are scripts, which should push the recovery files to all HVs.
If the HV is static, you will need to scp the files from CP to the HV.
scp /data/recovery-xxxxxxxxxx.ext root@<IP address of HV>:/onapp/tools/recovery/recovery-xxxxxxxxxx.ext
(run this for all three files: .iso, .kernel, .initrd)
The required recovery files are not available to boot the VM in recovery mode.