Skip to content

ManagedObjectNotFound: The object 'vim.Task:task-256811' has already been deleted or has not been completely created #93

@anissmajlovic

Description

@anissmajlovic

Hi Encore team,

We have been using the patching module for some time, and no issue, and suddenly we got the error below (it is random, from 10 times doing snapshot will come once, it is always same inputs):
{
"msg" : "ManagedObjectNotFound: The object 'vim.Task:task-256811' has already been deleted or has not been completely created",
"kind" : "bolt/plan-failure",
"details" : {
"class" : "Bolt::PAL::PALError"
}
}
I think that message comes from VMware (error in Plan output above) reference: https://kb.vmware.com/s/article/1039326

I wonder if it is possible to take an exception and proceed with the Plan because when this fails Plan is stopped. Since this is a function, can we raise an exception in Ruby code in case of the error above to proceed?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions