Skip to content

Unable to rename a host using object.rename #3809

@janarthanancs

Description

@janarthanancs

Describe the bug
object.rename doesn't work for a HostSystem object.

To Reproduce
Steps to reproduce the behavior:

govc object.rename /F0/DC0/host/F0/DC0_C0/DC0_C0_H0 NewHost1

Expected behavior
The HostSystem object DC0_C0_H0 is renamed to NewHost1

Actual Output
govc: ServerFaultCode: HostSytem:host-32 does not implement: Rename_Task ...

Affected version
govmomi 0.51.0
vsphere 8.0.2

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions