Tree:
5be1b6a6a9
feature/amqp-dispatch-router
feature/nats-driver
feature/pika
feature/zmq
master
stable/pike
stable/queens
stable/rocky
stable/stein
stable/train
stable/ussuri
stable/victoria
stable/wallaby
stable/xena
stable/yoga
1.10.0
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.16.0
1.17.0
1.17.1
1.2.0a1
1.2.0a10
1.2.0a11
1.2.0a2
1.2.0a3
1.2.0a4
1.2.0a5
1.2.0a6
1.2.0a7
1.2.0a8
1.2.0a9
1.3.0
1.3.0a1
1.3.0a2
1.3.0a3
1.3.0a4
1.3.0a5
1.3.0a6
1.3.0a7
1.3.0a8
1.3.0a9
1.3.1
1.4.0
1.4.0.0a1
1.4.0.0a2
1.4.0.0a3
1.4.0.0a4
1.4.0.0a5
1.4.1
1.4.2
1.5.0
1.5.1
1.6.0
1.7.0
1.8.0
1.8.1
1.8.2
1.8.3
1.9.0
10.0.0
10.1.0
10.2.0
10.2.1
10.2.2
10.2.3
10.2.4
10.3.0
10.4.0
10.4.1
10.5.0
11.0.0
12.0.0
12.1.0
12.1.1
12.1.2
12.1.3
12.1.4
12.1.5
12.1.6
12.10.0
12.11.0
12.11.1
12.12.0
12.13.0
12.14.0
12.2.0
12.2.1
12.2.2
12.3.0
12.4.0
12.5.0
12.5.1
12.5.2
12.6.0
12.6.1
12.7.0
12.7.1
12.7.2
12.7.3
12.8.0
12.9.0
12.9.1
12.9.2
12.9.3
2.0.0
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.6.1
2.7.0
2.8.0
2.8.1
2.9.0
3.0.0
3.1.0
4.0.0
4.1.0
4.2.0
4.3.0
4.4.0
4.5.0
4.5.1
4.6.0
4.6.1
5.0.0
5.1.0
5.10.0
5.10.1
5.10.2
5.11.0
5.12.0
5.13.0
5.14.0
5.15.0
5.16.0
5.17.0
5.17.1
5.17.2
5.17.3
5.17.4
5.18.0
5.19.0
5.2.0
5.20.0
5.21.0
5.22.0
5.23.0
5.24.0
5.24.1
5.24.2
5.25.0
5.26.0
5.27.0
5.28.0
5.29.0
5.3.0
5.30.0
5.30.1
5.30.2
5.30.3
5.30.4
5.30.5
5.30.6
5.30.7
5.30.8
5.31.0
5.32.0
5.33.0
5.33.1
5.34.0
5.34.1
5.35.0
5.35.1
5.35.2
5.35.3
5.35.4
5.35.5
5.35.6
5.36.0
5.4.0
5.5.0
5.6.0
5.7.0
5.8.0
5.9.0
6.0.0
6.1.0
6.2.0
6.3.0
6.4.0
6.4.1
6.5.0
7.0.0
8.0.0
8.1.0
8.1.1
8.1.2
8.1.3
8.1.4
9.0.0
9.0.1
9.1.0
9.1.1
9.2.0
9.2.1
9.3.0
9.3.1
9.4.0
9.5.0
9.5.1
9.5.2
9.6.0
9.7.0
9.7.1
9.7.2
9.8.0
icehouse-eol
juno-eol
kilo-eol
liberty-eol
mitaka-eol
newton-eol
ocata-em
ocata-eol
pike-em
queens-em
rocky-em
stein-em
train-em
ussuri-em
victoria-em
${ noResults }
3 Commits (5be1b6a6a93e2be1fd6adef109a016f49ed98b0a)
Author | SHA1 | Message | Date |
---|---|---|---|
|
5be1b6a6a9 |
Enabled hacking checks H305 and H307
* H305 imports not grouped correctly * H307 like imports should be grouped together Change-Id: I08dafc4fa150d2213b2bb002da7c9ee0ee517fac |
8 years ago |
|
7b13bc1888 |
Update ExpectedException handling
Catch expected exceptions in a way that supports subclasses also being seen as "expected." Log a little more detail about unexpected exceptions in the ExecutorBase so it is easier to add them to the list of expected exceptions. Change-Id: I1bdd628eba717308f0afe1a889efd8711bad6296 Closes-bug: #1276163 |
8 years ago |
|
f6df32d943 |
Add API for expected endpoint exceptions
Review I4e7b19dc730342091fd70a717065741d56da4555 gives a lot of the background here, but the idea is that some exceptions raised by an RPC endpoint method do not indicate any sort of failure and should not be logged by the server as an error. The classic example of this is conductor's instance_get() method raising InstanceNotFound. This is perfectly normal and should not be considered an error. The new API is a decorator which you can use with RPC endpoints methods to indicate which exceptions are expected: @messaging.expected_exceptions(InstanceNotFound) def instance_get(self, context, instance_id): ... but we also need to expose the ExpectedException type itself so that direct "local" users of the endpoint class know what type will be used to wrap expected exceptions. For example, Nova has an ExceptionHelper class which unwraps the original exception from an ExpectedException and re-raises it. I've changed from client_exceptions() and ClientException to make it more clear it's intent. I felt that the "client" naming gave the impression it was intended for use on the client side. Change-Id: Ieec4600bd6b70cf31ac7925a98a517b84acada4d |
9 years ago |