Use OpenStackCloudException when _delete_server() raises
OpenStackException does not exist Change-Id: I9df905d6630dc7f0d1b3aec6e83c3c2b4d32dc7f
This commit is contained in:
parent
a5c3e9cbe7
commit
b5e3cd3307
|
@ -3704,7 +3704,7 @@ class OpenStackCloud(object):
|
|||
ips = self.search_floating_ips(filters={
|
||||
'floating_ip_address': floating_ip})
|
||||
if len(ips) != 1:
|
||||
raise OpenStackException(
|
||||
raise OpenStackCloudException(
|
||||
"Tried to delete floating ip {floating_ip}"
|
||||
" associated with server {id} but there was"
|
||||
" an error finding it. Something is exceptionally"
|
||||
|
|
Loading…
Reference in New Issue