Bug #894683: nova.service does not handle attribute specific exceptions and client hangs
As Sateesh points out nova.service.Service.__getattr__ throws an AttributeError exception when the upcall method is not available.
However nova.rpc should catch all exceptions. This does not happen in this specific case because the following statement was outside the try-catch-all:
node_func = getattr(self.proxy, str(method))
(cherry picked from commit 421e5cb2b4a3f1b5a8db58543b9cd96df62e9599)
Reviewed: https:/ /review. openstack. org/3081 github. com/openstack/ nova/commit/ 3bcd2721765fd2d 74c94095c6abf6d 5cc6f9f32e
Committed: http://
Submitter: Jenkins
Branch: stable/diablo
commit 3bcd2721765fd2d 74c94095c6abf6d 5cc6f9f32e
Author: Armando Migliaccio <email address hidden>
Date: Fri Jan 6 18:40:49 2012 +0000
Bug #894683: nova.service does not handle attribute specific exceptions and client hangs
As Sateesh points out nova.service. Service. __getattr_ _ throws an AttributeError exception when the upcall method is not available.
However nova.rpc should catch all exceptions. This does not happen in this specific case because the following statement was outside the try-catch-all:
node_func = getattr(self.proxy, str(method))
(cherry picked from commit 421e5cb2b4a3f1b 5a8db58543b9cd9 6df62e9599)
Change-Id: I437c88783bca03 7e4054078d2687e f41c8fc2b83