Commit Graph

4 Commits

Author SHA1 Message Date
Kendall Nelson 353f75eca0 Retire Karbor
As announced on the openstack-discuss ML[1], Karbor is retiring
this cycle (Wallaby).

This commit retires this repository as per the process defined in
the project-guide[2].

Thank you to all the contributors of Karbor for your hard work!

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-November/018643.html
[2] https://docs.openstack.org/project-team-guide/repository.html#retiring-a-repository

Depends-On: https://review.opendev.org/c/openstack/project-config/+/767030
Change-Id: I972ffb299f93863c4e34b1f504b002095661e6af
2020-12-21 11:51:02 -08:00
wangyu e167485dd7 Fix inner has no attribute 'message'
When DBDeadlock in karbor-api service, it get the following error:
AttributeError: 'DBDeadlock' object has no attribute 'message'.

This patch corrects that problem.

Change-Id: I1b268f5cca2c4efdcfb055d2fd8dfe522e6daf9d
Closes-Bug: #1891571
2020-08-14 10:28:51 +08:00
jiaopengju b5834a701f Add error log message in FaltWrapper
After installing karbor from source code, with executing
karbor related command, for example 'karbor service-list',
it returns 500 with 'The server has either erred or is
incapable of performing the requested operation. (HTTP 500)'.
In karbor api log, we can not find any useful word to point
out where the error occurs. So we should add error message
in FaltWrapper to record the error reason.

Closes-Bug: #1801920

Change-Id: I3e7e00d8a48d5cea38d4fb1ca0e62d558598bf6d
2018-11-07 09:40:03 +00:00
chenying 8b98ecd056 Fix the error about the translation of KarborException message
1, Introduce FaultWrapper from cinder to make exceptions into karbor's
wsgi faults. So that the messages can be translated, it can be shown
in a WSGI response.

2, Avoid Forcing the Translation of Translatable Variables[1]

[1]http://docs.openstack.org/developer/oslo.i18n/guidelines.html#avoid-forcing-the-translation-of-translatable-variables

Closes-Bug: 1698757
Change-Id: Id85871b3a4c9ec7049f42e15141a678dba7316c2
2017-06-19 19:44:54 +08:00