
Team, I am trying to upload an image that I recently created under kvm and I am getting an error: root@darkdreams's password: Meteohub-v4.7-4GB.raw: 100% [======================================================================]D 0h00m46s /tmp/r9piD51Hvb/49fcc7e8-e8e1-4cfa-8b5a-0a20165a6689/v2v.fmUdW98I/eec34b45-f6b1-49a9-a9f0-b956ee4f8ee6/b7fbe285-6f91-4777-b478-cd484a6da9a7: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 549. Apparently redhat has this posted on their Knowledge base under (Error when running virt-v2v ("Permission denied")) with a solution but I do not have access. Does any body have any idea why this is happening? TIA! -- Fernando Fuentes ffuentes@txweather.org http://www.txweather.org

-----Original Message----- From: users-bounces@ovirt.org [mailto:users-bounces@ovirt.org] On Behalf Of Fernando Fuentes Sent: Monday, November 16, 2015 5:57 AM To: users@ovirt.org Subject: [ovirt-users] virt-v2v error Team, I am trying to upload an image that I recently created under kvm and I am getting an error: root@darkdreams's password: Meteohub-v4.7-4GB.raw: 100% [======================================================================]D 0h00m46s /tmp/r9piD51Hvb/49fcc7e8-e8e1-4cfa-8b5a-0a20165a6689/v2v.fmUdW98I/eec34b45 -f6b1-49a9-a9f0-b956ee4f8ee6/b7fbe285-6f91-4777-b478-cd484a6da9a7: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 549. Apparently redhat has this posted on their Knowledge base under (Error when running virt-v2v ("Permission denied")) with a solution but I do not have access. Does any body have any idea why this is happening? TIA! ^^^^^^^ Hi Fernando, The red hat bug id would have been appreciated, anyway this is the resolution proposed Resolution Add the no_root_squash option to the NFS export (RHEV export domain - /etc/exports): /data/export *(rw,no_root_squash) Ciao AG

------sinikael-?=_1-14476789850540.9175843917764723 Content-Type: text/plain; format=flowed Content-Transfer-Encoding: 7bit Anybody out there can shed some light? :) Thanks! On Sun, Nov 15, 2015 at 10:57 PM, Fernando Fuentes < ffuentes@darktcp.net [ffuentes@darktcp.net] > wrote: Team, I am trying to upload an image that I recently created under kvm and I am getting an error: root@darkdreams's password: Meteohub-v4.7-4GB.raw: 100% [======================================================================]D 0h00m46s /tmp/r9piD51Hvb/49fcc7e8-e8e1-4cfa-8b5a-0a20165a6689/v2v.fmUdW98I/eec34b45-f6b1-49a9-a9f0-b956ee4f8ee6/b7fbe285-6f91-4777-b478-cd484a6da9a7: Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line 549. Apparently redhat has this posted on their Knowledge base under (Error when running virt-v2v ("Permission denied")) with a solution but I do not have access. Does any body have any idea why this is happening? TIA! -- Fernando Fuentes ffuentes@txweather.org http://www.txweather.org _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ------sinikael-?=_1-14476789850540.9175843917764723 Content-Type: text/html; format=flowed Content-Transfer-Encoding: 7bit <p dir="ltr">Anybody out there can shed some light?<br> :)</p> <p dir="ltr">Thanks!</p> <div class="cm_quote" style=" color: #787878">On Sun, Nov 15, 2015 at 10:57 PM, Fernando Fuentes <<a href="mailto:ffuentes@darktcp.net">ffuentes@darktcp.net</a>> wrote:</div><br><div id="oldcontent" style="background: rgb(255, 255, 255);"><blockquote style=""><p dir="ltr">Team, <br> <br> I am trying to upload an image that I recently created under kvm and I <br> am getting an error: <br> <br> root@darkdreams's password: <br> Meteohub-v4.7-4GB.raw: 100% <br> [======================================================================]D <br> 0h00m46s <br> /tmp/r9piD51Hvb/49fcc7e8-e8e1-4cfa-8b5a-0a20165a6689/v2v.fmUdW98I/eec34b45-f6b1-49a9-a9f0-b956ee4f8ee6/b7fbe285-6f91-4777-b478-cd484a6da9a7: <br> Permission denied at /usr/lib64/perl5/vendor_perl/Sys/Guestfs.pm line <br> 549. <br> <br> <br> Apparently redhat has this posted on their Knowledge base under (Error <br> when running virt-v2v ("Permission denied")) with a solution but I do <br> not have access. <br> <br> Does any body have any idea why this is happening? <br> <br> TIA! <br> <br> -- <br> Fernando Fuentes <br> ffuentes@txweather.org <br> http://www.txweather.org <br> _______________________________________________ <br> Users mailing list <br> Users@ovirt.org <br> http://lists.ovirt.org/mailman/listinfo/users <br> </p> </blockquote></div> ------sinikael-?=_1-14476789850540.9175843917764723--

On Sun, Nov 15, 2015 at 10:57:16PM -0600, Fernando Fuentes wrote:
Team,
I am trying to upload an image that I recently created under kvm and I am getting an error:
If you created the image with KVM, you should not be converting it using virt-v2v in the first place. See: http://git.annexia.org/?p=import-to-ovirt.git;a=tree Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top

Thank you all for the help. The issue turned out to be the system that I built the kvm img from. As soon as I moved to a centos system I was able to import it to my ovirt export domain. Also thanks for that script. Regards, -- Fernando Fuentes ffuentes@txweather.org http://www.txweather.org On Tue, Nov 17, 2015, at 02:44 AM, Richard W.M. Jones wrote:
On Sun, Nov 15, 2015 at 10:57:16PM -0600, Fernando Fuentes wrote:
Team,
I am trying to upload an image that I recently created under kvm and I am getting an error:
If you created the image with KVM, you should not be converting it using virt-v2v in the first place.
See: http://git.annexia.org/?p=import-to-ovirt.git;a=tree
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (4)
-
Andrea Ghelardi
-
Fernando Fuentes
-
Fernando Fuentes
-
Richard W.M. Jones