<div dir="ltr"><div><div><div><div>On trying the import in ovirt after the completion of the conversion using -o rhev -os <ip>:/var/lib/exports/exports ..., I found an error in the vdsm.log:<br><br>Thread-199989::ERROR::2013-08-12 15:10:57,371::task::833::TaskManager.Task::(_setError) 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 validateImagePath<br>
raise se.ImagePathError(imageDir)<br>ImagePathError: Image path does not exist or cannot be accessed/created: ('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)<br>
<br><br></div>I have setenforce=0 with same result.<br></div>So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain number for the entire process in exports. The 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b was the name of the dir created from the virt-v2v process. <br>
<br></div>The ovirt import gui provides this error:<br>Error while executing action: Cannot import VM. VM's Image does not exist.<br><br></div>I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported format error).<br>
<div><div><div><br></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and it's corresponding xml. I'm trying to run virt-v2v to put things into the proper formats/places for ovirt but I need to use my proper credentials to access the qemu:///system space.<br>
<br></div>Where/how do I do this? man pages have no suggestions on virt-v2v. I have a user/passwd combo in saslauth that works for virsh.<br><br>virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt /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, message: authentication failed: Failed to step SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><div><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></div></font></span></div>
</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>