Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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