VMware {code} Community
tos2k
Expert
Expert

ConverterApi message handling

Just on more comment:

As posted before, not just the (error) messages do currently not come up via Converter API, no, even task progress percentages as the task currently running are not available via ConverterAPI. Just not passed, ConverterApi.ConverterServerConversionConversionJobInfo does provide all necessary properties, which are not updated with the related data (just empty all the way).

Converter logs on the converter server provide all necessary information:

[#6] [2011-02-15 11:58:53.436 01268 info 'task-1'] Worker CloneTask updates, state: 1, percentage: 58, xfer rate (Bps): 4108288
[#6] [2011-02-15 11:59:27.592 01268 info 'task-1'] Worker CloneTask updates, state: 1, percentage: 58, xfer rate (Bps): 3912704
[#6] [2011-02-15 11:59:27.733 01268 info 'task-1'] Worker CloneTask updates, state: 1, percentage: 59, xfer rate (Bps): 3912704

Converter API currently does not.

Anyone getting that to work better than I do?

Tos2k

Reply
0 Kudos
1 Reply
tos2k
Expert
Expert

Current workaround:

                        try

                        {

                            currentTask = _converterService.ConverterGetTaskInfo(_converterServerContent.taskManager, cji.activeTask);

                            //print out: currentTask.name

                            //print out: currentTask.progress + " %" ...

                        }

                        catch (Exception _e)

                        {

                            //do some handling

                        }

Even if I would expect to push up those details to the main job the task is assigned to...

Strange that those tasks do NOT exist on vCenter/ESX but on Converter server...

Tos2k

Reply
0 Kudos