Anton Arefiev | 44f678c | 2016-03-17 12:11:30 +0200 | [diff] [blame] | 1 | # Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 2 | # not use this file except in compliance with the License. You may obtain |
| 3 | # a copy of the License at |
| 4 | # |
| 5 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | # |
| 7 | # Unless required by applicable law or agreed to in writing, software |
| 8 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 9 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 10 | # License for the specific language governing permissions and limitations |
| 11 | # under the License. |
| 12 | |
Anton Arefiev | a17db02 | 2016-06-17 11:50:40 +0300 | [diff] [blame] | 13 | from tempest.lib import exceptions |
Anton Arefiev | 44f678c | 2016-03-17 12:11:30 +0200 | [diff] [blame] | 14 | |
| 15 | |
| 16 | class IntrospectionFailed(exceptions.TempestException): |
| 17 | message = "Introspection failed" |
| 18 | |
| 19 | |
| 20 | class IntrospectionTimeout(exceptions.TempestException): |
| 21 | message = "Introspection time out" |
| 22 | |
| 23 | |
| 24 | class HypervisorUpdateTimeout(exceptions.TempestException): |
| 25 | message = "Hypervisor stats update time out" |
Kamlesh Chauvhan | 42656a0 | 2022-05-12 14:11:14 +0000 | [diff] [blame] | 26 | |
| 27 | |
| 28 | class RaidCleaningInventoryValidationFailed(exceptions.TempestException): |
| 29 | message = "RAID cleaning storage inventory validation failed" |
Julia Kreger | 982d177 | 2022-03-30 16:40:44 -0700 | [diff] [blame] | 30 | |
| 31 | |
| 32 | class InsufficientAPIAccess(exceptions.TempestException): |
| 33 | message = ("Insufficent Access to the API exists. Please use a user " |
| 34 | "with an elevated level of access to execute this test.") |