yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #06181
[Bug 1198809] Re: fake rpc driver should raise timeout exception if no consumers registered
oslo-incubator fix is https://review.openstack.org/42739
** Changed in: oslo
Status: Triaged => Fix Released
** Changed in: nova
Status: Triaged => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1198809
Title:
fake rpc driver should raise timeout exception if no consumers
registered
Status in OpenStack Compute (Nova):
Fix Released
Status in Oslo - a Library of Common OpenStack Code:
Fix Released
Bug description:
Seen here: https://review.openstack.org/3274
If you do a call() with a real driver and no consumer responds, you
get a timeout exception
The fake driver should implement these semantics too. The patch is
simple e.g.
try:
consumer = CONSUMERS[topic][0]
except (KeyError, IndexError):
- return iter([None])
+ raise rpc_common.Timeout()
but Nova's unit tests break massively with this change, so they'd need
to be fixed first
The oslo.messaging fake driver already does the right thing.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1198809/+subscriptions