From d6cfd34e13426b88b40cb6ef7fdcd60d9b7dcb6b Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Thu, 9 Apr 2015 14:41:36 +0900 Subject: [PATCH] Revert "Remove unused AlreadyAttachedClient" The removal of AlreadyAtatchedClient exception from neutronclient suddenly causes the failure of neutronclient icehouse job. It is better to wait the removal of the exception until Icehouse EOL (which will come soon). This reverts commit 30b198edec988d7c969c1edd4a2754bd9c9c79f4. Closes-Bug: #1441969 Change-Id: Ifa02a4ca39bc9c0fe9b65d5b0d66c588885cb12c --- neutronclient/common/exceptions.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/neutronclient/common/exceptions.py b/neutronclient/common/exceptions.py index 9a12f1995..9728fbdd7 100644 --- a/neutronclient/common/exceptions.py +++ b/neutronclient/common/exceptions.py @@ -148,6 +148,12 @@ class OverQuotaClient(Conflict): pass +# TODO(amotoki): It is unused in Neutron, but it is referred to +# in Horizon code. After Horizon code is updated, remove it. +class AlreadyAttachedClient(Conflict): + pass + + class IpAddressGenerationFailureClient(Conflict): pass