blob: 865ab080f96bcad80f6fb4e59123d48df5984d14 [file] [log] [blame]
Anton Arefiev44f678c2016-03-17 12:11:30 +02001# 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 Arefieva17db022016-06-17 11:50:40 +030013from tempest.lib import exceptions
Anton Arefiev44f678c2016-03-17 12:11:30 +020014
15
16class IntrospectionFailed(exceptions.TempestException):
17 message = "Introspection failed"
18
19
20class IntrospectionTimeout(exceptions.TempestException):
21 message = "Introspection time out"
22
23
24class HypervisorUpdateTimeout(exceptions.TempestException):
25 message = "Hypervisor stats update time out"
Kamlesh Chauvhan42656a02022-05-12 14:11:14 +000026
27
28class RaidCleaningInventoryValidationFailed(exceptions.TempestException):
29 message = "RAID cleaning storage inventory validation failed"
Julia Kreger982d1772022-03-30 16:40:44 -070030
31
32class 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.")