VMware: Added check for datastore state before selection
The driver only checked for the datastore type. The datastore could
be in an inaccessible state. In such cases creating an instance to
such datastore will fail. The fix to filter out inaccessible data-
stores.
The datastores have a property called accessible. The fix is to use
this property to filter out inaccessible datastores.
Reviewed: https:/ /review. openstack. org/39720 github. com/openstack/ nova/commit/ 469ed676bbbf7dd f4803d42e6c1e3b 4dbe7d8afd
Committed: http://
Submitter: Jenkins
Branch: master
commit 469ed676bbbf7dd f4803d42e6c1e3b 4dbe7d8afd
Author: kirankv <email address hidden>
Date: Mon Jun 24 04:14:26 2013 -0700
VMware: Added check for datastore state before selection
The driver only checked for the datastore type. The datastore could
be in an inaccessible state. In such cases creating an instance to
such datastore will fail. The fix to filter out inaccessible data-
stores.
The datastores have a property called accessible. The fix is to use
this property to filter out inaccessible datastores.
fix bug #1194078
Change-Id: I372fc3adc0e89c 48d86f1f7016426 3ed35184c5d