Comment 8 for bug 894683

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/diablo)

Reviewed: https://review.openstack.org/3081
Committed: http://github.com/openstack/nova/commit/3bcd2721765fd2d74c94095c6abf6d5cc6f9f32e
Submitter: Jenkins
Branch: stable/diablo

commit 3bcd2721765fd2d74c94095c6abf6d5cc6f9f32e
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 421e5cb2b4a3f1b5a8db58543b9cd96df62e9599)

    Change-Id: I437c88783bca037e4054078d2687ef41c8fc2b83