VMware Cloud Community
darrenoid
Enthusiast
Enthusiast

Some storage not showing up under reservation

Hello vRA Community!

I have a newly added vsphere cluster in vRA. When I go to create a reservation for it, not all of the available storage paths show up for it. Some, but not all. The direct local storage datastores on each host show up, but the external SAS attached datastores do not. I do see mention of the datastores in the vsphere agent log on the IaaS server. Here is a snippet of one of the missing datastores as picked up by the agent:

  <obj id="ds:///vmfs/volumes/53a0723e-2cbe6b0e-a9aa-002655ded24d/" type="Storage">

    <attr name="Name" value="Scale_SAN_1a" />

    <attr name="Capacity" value="1198832746496" />

    <attr name="FreeCapacity" value="1153747124224" />

    <attr name="Type" value="VMFS" />

    <attr name="IsFileLevelCloningEnabled" value="False" />

    <attr name="NameInStorageArray" value="" />

    <attr name="VolumeSaving" value="0" />

    <attr name="ExternalReferenceId" value="datastore-3578" />

  </obj>

I do not see any errors in the logs other than when a data collection is run, all VMs using that storage are reporting cannot find storage:

[UTC:2016-11-27 23:58:58 Local:2016-11-27 15:58:58] [Error]: [sub-thread-Id="23"  context=""  token=""] Cannot find storage 'ds:///vmfs/volumes/53a0723e-2cbe6b0e-a9aa-002655ded24d/', disk 'Hard disk 1', VirtualMachine 'DBG 115 A'

It is as if the datastores just were not added to the IaaS database, even after the vsphere agent detected them. What seems to be common here is all of the datastores that are missing are on the same external SAS device. The only thing I can think of is the fact that the external SAS device is only connected to 3 out of 4 hosts in the cluster. But I don't think vRA is smart enough to know that, it should only be checking the cluster for resources and the cluster shows the datastores as related objects.

I am running vRA 7.0.1 with vSphere 6 and a external HP SAS connected SAN.

Any advice on where to look to find out why datastores on this particular device are not playing nice with vRA?

Thanks,

Darren

Reply
0 Kudos
2 Replies
GrantOrchardVMw
Commander
Commander

Yeah, you've hit the nail on the head - it needs to be connected to all hosts in the cluster.

Grant http://grantorchard.com
Reply
0 Kudos
darrenoid
Enthusiast
Enthusiast

Hello GrantOrchardVMware,

Thanks for your response. I wonder how vRA makes this determination. I do not see any messages in the logs indicating the storage is unusable or not attached to all hosts. The local storage on each host is showing up fine, and those datastores are not available on all hosts in the cluster. The storage we are using is directly attached via SAS cables and is theoretically local storage. It just happens to be attached to more than one host at the same time. Is there a setting somewhere or database field that can be changed to treat these datastores the same as local storage?

Regards,

Darren

Reply
0 Kudos