<div dir="ltr"><div>qemu-img info /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f<br>image: /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f<br>
file format: raw<br>virtual size: 3.0G (3221225472 bytes)<br>disk size: 1.1G<br><br><br></div>Different dirs as I'm trying various combos with same failure to import. But the qemu-img data is good.<br><br>ll /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f<br>
-rw-rw----. 1 vdsm kvm 3221225472 Aug 9 17:37 /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/53b04aa4-5f90-4837-b9f1-3ce64ecb057c/images/e20028a6-901d-4429-bf55-f92b9f59e905/52bce09c-7e8f-4c23-95bf-02854672c67f<br>
<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 12:35 PM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, Aug 12, 2013 at 05:26:54PM -0400, Jim Kinney wrote:<br>
> On trying the import in ovirt after the completion of the conversion using<br>
> -o rhev -os <ip>:/var/lib/exports/exports ..., I found an error in the<br>
> vdsm.log:<br>
><br>
> Thread-199989::ERROR::2013-08-12<br>
> 15:10:57,371::task::833::TaskManager.Task::(_setError)<br>
> Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/storage/task.py", line 840, in _run<br>
> return fn(*args, **kargs)<br>
> File "/usr/share/vdsm/logUtils.py", line 42, in wrapper<br>
> res = f(*args, **kwargs)<br>
> File "/usr/share/vdsm/storage/hsm.py", line 2891, in getVolumeInfo<br>
> imgUUID=imgUUID, volUUID=volUUID).getInfo()<br>
> File "/usr/share/vdsm/storage/fileSD.py", line 250, in produceVolume<br>
> return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)<br>
> File "/usr/share/vdsm/storage/fileVolume.py", line 71, in __init__<br>
> volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)<br>
> File "/usr/share/vdsm/storage/volume.py", line 128, in __init__<br>
> self.validate()<br>
> File "/usr/share/vdsm/storage/volume.py", line 140, in validate<br>
> self.validateImagePath()<br>
> File "/usr/share/vdsm/storage/fileVolume.py", line 522, in<br>
> validateImagePath<br>
> raise se.ImagePathError(imageDir)<br>
> ImagePathError: Image path does not exist or cannot be accessed/created:<br>
> ('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)<br>
<br>
</div></div>What happens if you do:<br>
<br>
qemu-img info /rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b<br>
<br>
Rich.<br>
<div class="im"><br>
> I have setenforce=0 with same result.<br>
> So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain number<br>
> for the entire process in exports. The 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b<br>
> was the name of the dir created from the virt-v2v process.<br>
><br>
> The ovirt import gui provides this error:<br>
> Error while executing action: Cannot import VM. VM's Image does not exist.<br>
><br>
> I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported<br>
> format error).<br>
><br>
><br>
><br>
> On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney <<a href="mailto:jim.kinney@gmail.com">jim.kinney@gmail.com</a>> wrote:<br>
><br>
> > I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and<br>
> > it's corresponding xml. I'm trying to run virt-v2v to put things into the<br>
> > proper formats/places for ovirt but I need to use my proper credentials to<br>
> > access the qemu:///system space.<br>
> ><br>
> > Where/how do I do this? man pages have no suggestions on virt-v2v. I have<br>
> > a user/passwd combo in saslauth that works for virsh.<br>
> ><br>
> > virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt<br>
> > /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml<br>
> > virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,<br>
> > message: authentication failed: Failed to step SASL negotiation: -7<br>
> > (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)<br>
> ><br>
> > --<br>
> > --<br>
> > James P. Kinney III<br>
</div>> > *<br>
> > *Every time you stop a school, you will have to build a jail. What you<br>
<div class="im">> > gain at one end you lose at the other. It's like feeding a dog on his own<br>
> > tail. It won't fatten the dog.<br>
> > - Speech 11/23/1900 Mark Twain<br>
</div>> > *<br>
> > <a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
<div class="im">> > *<br>
> ><br>
><br>
><br>
><br>
> --<br>
> --<br>
> James P. Kinney III<br>
</div>> *<br>
> *Every time you stop a school, you will have to build a jail. What you gain<br>
<div class="im">> at one end you lose at the other. It's like feeding a dog on his own tail.<br>
> It won't fatten the dog.<br>
> - Speech 11/23/1900 Mark Twain<br>
</div>> *<br>
> <a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
> *<br>
<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<div class="im"><br>
<br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" target="_blank">http://people.redhat.com/~rjones</a><br>
</div>Fedora Windows cross-compiler. Compile Windows programs, test, and<br>
build Windows installers. Over 100 libraries supported.<br>
<a href="http://fedoraproject.org/wiki/MinGW" target="_blank">http://fedoraproject.org/wiki/MinGW</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>Every time you stop a school, you will have to build a jail. What you
gain at one end you lose at the other. It's like feeding a dog on his
own tail. It won't fatten the dog.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i></div>
</div>