File Injection Using libvirt/KVM
Hello All,
I am trying inject a file into a VM instance image using the nova CLI command, but I get errors in the nova-compute log. I have seen this matrix
http://
showing that there are caveats to the file injection capability using KVM. Could someone please give information on these caveats and how (if) you can get file injection to work with KVM.
Here is some info on my test that fails:
Nova command:
nova --debug --os_username=admin --os_password=pass --os_tenant_
Snippet showing the first error in the nova-compute log:
2012-05-30 13:32:31 DEBUG nova.utils [req-efd47eb2-
2012-05-30 13:32:31 DEBUG nova.utils [req-efd47eb2-
2012-05-30 13:32:31 DEBUG nova.utils [req-efd47eb2-
Command: sudo /usr/local/
Exit code: 1
Stdout: ''
Stderr: 'device-mapper: resume ioctl failed: Invalid argument\
It seems kpartx fails on the created and mapped qcow2 image for the instance under launch.
Question information
- Language:
- English Edit question
- Status:
- Expired
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: