Reviewed: https://review.openstack.org/221780 Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=cf3cfb3a66066cfdc1ad15ac35b204d4a7b0301f Submitter: Jenkins Branch: master
commit cf3cfb3a66066cfdc1ad15ac35b204d4a7b0301f Author: Ivan Kolodyazhny <email address hidden> Date: Wed Sep 9 16:59:55 2015 +0300
Filter hosts with pool in snapshot_get_by_host
Snapshots use host field from the volume record. We need to ignore pool if it is not specified in a host param for snapshot_get_by_host method.
Also snapshot_get_by_host will return empty list if host is None or an empty string like a volume filer does.
Change-Id: I0d9eef8675d8dada3a0b6886dbb3f5807eecee73 Closes-Bug: #1493856
Reviewed: https:/ /review. openstack. org/221780 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=cf3cfb3a660 66cfdc1ad15ac35 b204d4a7b0301f
Committed: https:/
Submitter: Jenkins
Branch: master
commit cf3cfb3a66066cf dc1ad15ac35b204 d4a7b0301f
Author: Ivan Kolodyazhny <email address hidden>
Date: Wed Sep 9 16:59:55 2015 +0300
Filter hosts with pool in snapshot_ get_by_ host
Snapshots use host field from the volume record. We need to ignore pool get_by_ host method.
if it is not specified in a host param for snapshot_
Also snapshot_ get_by_ host will return empty list if host is None or an
empty string like a volume filer does.
Change-Id: I0d9eef8675d8da da3a0b6886dbb3f 5807eecee73
Closes-Bug: #1493856