Remove "Check if service is up" for 403
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 28 Feb 2014 15:12:55 +0000 (17:12 +0200)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Fri, 28 Feb 2014 15:12:55 +0000 (17:12 +0200)
kamaki/cli/commands/errors.py

index 911d4d2..f9a909a 100644 (file)
@@ -74,7 +74,7 @@ class generic(object):
                         '    /config set cloud.default.token <token>',
                         '  to get current token:',
                         '    /config get cloud.default.token'] + CLOUDNAME)
-                elif ce.status in range(-12, 200) + [302, 401, 403, 500]:
+                elif ce.status in range(-12, 200) + [302, 401, 500]:
                     raiseCLIError(ce, importance=3, details=[
                         'Check if service is up'])
                 elif ce.status == 404 and 'kamakihttpresponse' in ce_msg: