-
Notifications
You must be signed in to change notification settings - Fork 926
Closed
Description
Describe the bug
I am unable to run govc disk.ls
or govc disk.ls -R
. Both fail with the same error:
$ govc disk.ls
govc: 0b5dfeb3-3b76-44c0-a183-6e082734eba5 not found: use 'disk.ls -R' to reconcile datastore inventory
$ govc disk.ls -R
govc: 0b5dfeb3-3b76-44c0-a183-6e082734eba5 not found: use 'disk.ls -R' to reconcile datastore inventory
To Reproduce
Steps to reproduce the behavior:
- Run
govc disk.ls
orgovc disk-ls -R
. - Wait a few moments.
- The error
govc: 0b5dfeb3-3b76-44c0-a183-6e082734eba5 not found: use 'disk.ls -R' to reconcile datastore inventory
is shown.
Expected behavior
The commands should finish without errors and display the disks or reconcile the disks.
Affected version
$ brew info govc
==> govc: stable 0.46.2 (bottled)
Command-line tool for VMware vSphere
Screenshots/Debug Output
types.RetrieveVStorageObject{
This: types.ManagedObjectReference{Type:"VcenterVStorageObjectManager", Value:"VStorageObjectManager", ServerGUID:""},
Id: types.ID{
Id: "0b5dfeb3-3b76-44c0-a183-6e082734eba5",
},
Datastore: types.ManagedObjectReference{Type:"Datastore", Value:"datastore-24", ServerGUID:""},
DiskInfoFlags: nil,
}
&soap.Fault{
XMLName: xml.Name{Space:"http://schemas.xmlsoap.org/soap/envelope/", Local:"Fault"},
Code: "ServerFaultCode",
String: "The object or item referred to could not be found.",
Detail: struct { Fault types.AnyType "xml:\",any,typeattr\"" }{},
}
Additional context
There are two other identical issues in the repository that were marked as closed:
Metadata
Metadata
Assignees
Labels
No labels