*object.HostSystem().Properties not retrieving all durableName data on scsilun...it should be? #3467
Replies: 1 comment
-
Resolved in #3469 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am executing code to get scsiLun durable name information and what I see come back in each durableName is the least significant byte of the array of data that is in the database found in this file: vmware-vimdump_-o----U-dcui.txt.FRAG-00000 from the vm-support command.
We are expecting the type.SCSILunDurableName.Data field to have all bytes that appear in the database as retrieved from the inquiry pages, but it only has the least significant byte (first digit,) and we are not sure why. Here is the code that is executed:
The kind of output we are seeing is as follows:
"Data", in each instance, only carries the least significant byte of the json array found in the database. The question is why? How do I get all of the data if I am not doing it correctly here? Since "ps" is nil in the call to targetHost.Properties(), it should return all of the data, and certainly not just one byte of data from an array that clearly has more for each durableName.
Can anyone shed light on this for me? Thanks.
Beta Was this translation helpful? Give feedback.
All reactions