The function objects.Service.get_by_args raises HostBinaryNotFound
exception, but in service update function, it catches ServiceNotFound
exception by mistake.
This patch is to remove HostBinaryNotFound and use ServiceNotFound to make
things simple and consistent.
Reviewed: https:/ /review. openstack. org/285908 /git.openstack. org/cgit/ openstack/ cinder/ commit/ ?id=802c5633e06 4ad7d79ae7e5aa0 ffb2e1df60f96b
Committed: https:/
Submitter: Jenkins
Branch: master
commit 802c5633e064ad7 d79ae7e5aa0ffb2 e1df60f96b
Author: LisaLi <email address hidden>
Date: Mon Feb 29 15:12:18 2016 +0800
Fix exception during service update
The function objects. Service. get_by_ args raises HostBinaryNotFound
exception, but in service update function, it catches ServiceNotFound
exception by mistake.
This patch is to remove HostBinaryNotFound and use ServiceNotFound to make
things simple and consistent.
Change-Id: Ic2ef79ca03393f 3b1eb5bb89d4ffc f92d76460c6
Closes-bug: #1551101