You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert "Only place disks on cluster-accessible datastores"
- These changes were originally made because it was believed that in deployments
where "vertical" storage was used (that is, storage accessible only to
a specific cluster, not all clusters), the disk could sometimes be
incorrectly placed, resulting in a CPI/deployment failure.
- Symptoms of this failure were errors like "Unable to access the
virtual machine configuration", and "Invalid configuration for device
'0'."
- There were also reports of "No valid hosts could be found due to Das
state" with this topology.
- These prior changes ran some additional accessibility checks that
verified that all datastores connected to a cluster were ALSO
explicitly mounted by each ESXi host in that cluster. This behavior
was identified as causing large performance degradations to
deployments with many hosts and/or datastores.
- Originally it was thought the errors seen above could occur _with any_
vertical storage configuration, further investigation has demonstrated
that this only occurs if:
* a deployment uses vertical storage.
* datastores specified by the deployment are _connected_ but not used
by cluster hosts (e.g., a datastores has been detached and unmounted from
a host BUT the host has not rescanned disks.)
In this circumstance, the API reports this disconnected datastore as
being a part of the cluster, but these hosts will not be able to
access it.
- While this prior change is _technically correct_ as it guards against
a possible but likely unintentional configuration, given the
associated performance cost (borne by all users, including those with
"correct" vertical storage configurations and those not using vertical
storage at all) it makes sense to remove this extra check.
- n.b. the behavior after revert still checks: 1) that the datastore is
"connected" to hosts on the cluster and 2) the datastore is
"accessible" (turned on).
This reverts commits 3d50f05 and 3ff70d1
Signed-off-by: Brian Cunnie <bcunnie@vmware.com>
0 commit comments