There is plan to remove all oslo incubator code from the
clients. This removes the usage of deprecated
openstack.common.apiclient.exceptions in glance client
plugin.
The available glance HTTPNotFound exception is not usable
for validations(no message) and there is no UniqueMatch
exception.
This adds a new custom client_exception module with two
exceptions to ensure that the error messages remain the
same as before.
Closes-bug: #1665851
Change-Id: I5b32eef047a1fe38382f649532c8bb8a910315e5
(cherry picked from commit e1237f48effcd074f080090232561b0e5f550249)
Reviewed: https:/ /review. openstack. org/458884 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=84d61316ed5 52217698f2db9c2 71ddbbccf93058
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 84d61316ed55221 7698f2db9c271dd bbccf93058
Author: rabi <email address hidden>
Date: Tue Sep 27 16:52:22 2016 +0530
Don't use oslo-incubator in glance client plugin
There is plan to remove all oslo incubator code from the common. apiclient. exceptions in glance client
clients. This removes the usage of deprecated
openstack.
plugin.
The available glance HTTPNotFound exception is not usable
for validations(no message) and there is no UniqueMatch
exception.
This adds a new custom client_exception module with two
exceptions to ensure that the error messages remain the
same as before.
Closes-bug: #1665851
Change-Id: I5b32eef047a1fe 38382f649532c8b b8a910315e5 4f080090232561b 0e5f550249)
(cherry picked from commit e1237f48effcd07