[Users] importing a kvm.img to ovirt

Rene Rosenberger r.rosenberger at netbiscuits.com
Thu Mar 29 07:22:18 UTC 2012


Hi,

ok, this worked. Next error ist o oimport the vm to ovirt over the import vm button:

2012-03-29 09:19:39,190 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (QuartzScheduler_Worker-48) AsyncTaskManager::PollAndUpdateAsyncTasks: 1 tasks, 1 tasks to poll now
2012-03-29 09:19:39,231 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-48) SPMAsyncTask::PollTask: Polling task cccfc256-765c-49ab-832e-03ba206e93b8 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status running.
2012-03-29 09:19:39,231 INFO  [org.ovirt.engine.core.bll.AsyncTaskManager] (QuartzScheduler_Worker-48) AsyncTaskManager::_timer_Elapsed: Finished polling Tasks, will poll again in 10 seconds.
2012-03-29 09:19:49,272 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-87) SPMAsyncTask::PollTask: Polling task cccfc256-765c-49ab-832e-03ba206e93b8 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status cleaning.
2012-03-29 09:19:59,308 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-85) SPMAsyncTask::PollTask: Polling task cccfc256-765c-49ab-832e-03ba206e93b8 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) returned status finished, result 'cleanSuccess'.
2012-03-29 09:19:59,317 ERROR [org.ovirt.engine.core.bll.SPMAsyncTask] (QuartzScheduler_Worker-85) BaseAsyncTask::LogEndTaskFailure: Task cccfc256-765c-49ab-832e-03ba206e93b8 (Parent Command ImportVm, Parameters Type org.ovirt.engine.core.common.asynctasks.AsyncTaskParameters) ended with failure:
-- Result: cleanSuccess
-- Message: VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = cccfc256-765c-49ab-832e-03ba206e93b8,
-- Exception: VDSGenericException: VDSErrorException: Failed in vdscommand to HSMGetAllTasksStatusesVDS, error = cccfc256-765c-49ab-832e-03ba206e93b8
2012-03-29 09:19:59,317 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-85) EntityAsyncTask::EndActionIfNecessary: All tasks of entity 35992c22-c8e2-4f07-8e03-34681d68be66 has ended -> executing EndAction
2012-03-29 09:19:59,317 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (QuartzScheduler_Worker-85) EntityAsyncTask::EndAction: Ending action for 1 tasks (entity ID: 35992c22-c8e2-4f07-8e03-34681d68be66): calling EndAction for action type ImportVm.
2012-03-29 09:19:59,318 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (Rollback-Rollback-pool-5-thread-50) EntityAsyncTask::EndCommandAction [within thread]context: Attempting to EndAction ImportVm
2012-03-29 09:19:59,333 ERROR [org.ovirt.engine.core.bll.ImportVmCommand] (Rollback-Rollback-pool-5-thread-50) Ending command with failure: org.ovirt.engine.core.bll.ImportVmCommand
2012-03-29 09:19:59,360 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (Rollback-Rollback-pool-5-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type ImportVm completed, handling the result.
2012-03-29 09:19:59,360 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (Rollback-Rollback-pool-5-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: EndAction for action type ImportVm hasn't succeeded, clearing tasks.
2012-03-29 09:19:59,363 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (Rollback-Rollback-pool-5-thread-50) SPMAsyncTask::ClearAsyncTask: Attempting to clear task cccfc256-765c-49ab-832e-03ba206e93b8
2012-03-29 09:19:59,364 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] (Rollback-Rollback-pool-5-thread-50) START, SPMClearTaskVDSCommand(storagePoolId = 13080edc-77ea-11e1-b6a4-525400c49d2a, ignoreFailoverLimit = false, compatabilityVersion = null, taskId = cccfc256-765c-49ab-832e-03ba206e93b8), log id: 6c727533
2012-03-29 09:19:59,366 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (Rollback-Rollback-pool-5-thread-50) START, HSMClearTaskVDSCommand(vdsId = 0e0403a4-78ae-11e1-9c19-525400c49d2a, taskId=cccfc256-765c-49ab-832e-03ba206e93b8), log id: 4511dfa1
2012-03-29 09:19:59,395 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (Rollback-Rollback-pool-5-thread-50) FINISH, HSMClearTaskVDSCommand, log id: 4511dfa1
2012-03-29 09:19:59,396 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.SPMClearTaskVDSCommand] (Rollback-Rollback-pool-5-thread-50) FINISH, SPMClearTaskVDSCommand, log id: 6c727533
2012-03-29 09:19:59,431 INFO  [org.ovirt.engine.core.bll.SPMAsyncTask] (Rollback-Rollback-pool-5-thread-50) BaseAsyncTask::RemoveTaskFromDB: Removing task cccfc256-765c-49ab-832e-03ba206e93b8 from DataBase
2012-03-29 09:19:59,437 INFO  [org.ovirt.engine.core.bll.EntityAsyncTask] (Rollback-Rollback-pool-5-thread-50) EntityAsyncTask::HandleEndActionResult [within thread]: Removing EntityMultiAsyncTasks object for entity 35992c22-c8e2-4f07-8e03-34681d68be66

Regards, rene

Von: Michal Kopacki [mailto:mkopacki at gmail.com]
Gesendet: Donnerstag, 29. März 2012 08:35
An: Rene Rosenberger
Cc: users at ovirt.org
Betreff: Re: AW: [Users] importing a kvm.img to ovirt

On 03/28/2012 03:24 PM, Rene Rosenberger wrote:
Hi,

i have now converted with this command:

virt-v2v -i libvirtxml -o rhev -osd 192.168.xxx.xxx:/nfsexport --network rhevm test.xml

when I click on vm import in ovirt I get the following error message:

Failed to read VM 'test' OVF, it may be corrupted.

Any ideas what could be wrong?

Regards, rene



    Remove network and vnc config from xml file and import again with command:



virt-v2v -i libvirtxml -o rhev -os storage.example.com:/exportdomain vm-name


--
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120329/e8c98f0c/attachment-0001.html>


More information about the Users mailing list