Skip to content

Commit

Permalink
VMware driver: Fix for invalid datastore selection
Browse files Browse the repository at this point in the history
Added filter to ignore datastores that are not mounted, in-accessible
and read-only for volume creation. Without this VMware's VC/ESX driver can
choose such datastore with higher invalid capacity value as returned by the
server for volume creation.

Also using parent's self.mox object in the test cases rather than creating
a new mox.Mox obj everytime.

Fixes bug: 1220217

Change-Id: If8319562ddc11fc31eb928b3807aead2b11b94bc
  • Loading branch information
Kartik Bommepally committed Sep 16, 2013
1 parent e34ab12 commit 564f8d1
Show file tree
Hide file tree
Showing 2 changed files with 159 additions and 71 deletions.

0 comments on commit 564f8d1

Please sign in to comment.