Skip to content

Commit

Permalink
Fleecing support for VSAN.
Browse files Browse the repository at this point in the history
  • Loading branch information
roliveri committed Mar 25, 2015
1 parent 9e339f3 commit fefb52b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion vmdb/app/models/job_proxy_dispatcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def get_eligible_proxies_for_job(job)
return []
end
else
unless ["VMFS", "NAS", "NFS", "ISCSI", "DIR", "FCP"].include?(@vm.storage.store_type)
unless ["VSAN", "VMFS", "NAS", "NFS", "ISCSI", "DIR", "FCP"].include?(@vm.storage.store_type)
msg = "Vm storage type [#{@vm.storage.store_type}] not supported [#{job.target_id}], aborting job [#{job.guid}]."
self.queue_signal(job, {:args => [:abort, msg, "error"]})
return []
Expand Down
1 change: 1 addition & 0 deletions vmdb/app/models/vm_or_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,7 @@ def path

case self.storage.store_type
when "VMFS" then "[#{storage.name}] #{location}"
when "VSAN" then "[#{storage.name}] #{location}"
when "NFS" then "[#{storage.name}] #{location}"
when "NAS" then File.join(storage.name, location)
else
Expand Down

0 comments on commit fefb52b

Please sign in to comment.