Comment 20 for bug 1314732

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/114242
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=9a9752e50a38e741a849b36cb4e7c882d599774f
Submitter: Jenkins
Branch: master

commit 9a9752e50a38e741a849b36cb4e7c882d599774f
Author: Lucas Alvares Gomes <email address hidden>
Date: Thu Aug 14 13:53:22 2014 +0100

    Remove objectify decorator from dbapi's {get, register}_conductor()

    This patch removes the objectify decorator from the get_conductor and
    register_conductor dbapi's methods.

    For get_condutor() method there's an objects interface to it so this patch
    make the code/tests use the object interface vs direct calls to dbapi.

    The problem with the objectify decorator is that dbapi methods
    doesn't get the context, so when forming the RPC object using the
    decorator we can't store the context within the object (which is what
    we want to do to have consistent object interfaces).

    Partial-Bug: 1314732
    Change-Id: I1a955a59435b35277f3bbff2c02c07dd1a4c1d66