Comment 6 for bug 1602410

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

Reviewed: https://review.openstack.org/387652
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=128c025fc10e315df486729becdb9cd04b0c5f1e
Submitter: Jenkins
Branch: master

commit 128c025fc10e315df486729becdb9cd04b0c5f1e
Author: Ruby Loo <email address hidden>
Date: Mon Oct 17 15:37:50 2016 -0400

    Remove 'agent_last_heartbeat' from node.driver_internal_info

    node.driver_internal_info['agent_last_heartbeat'] was not being used by
    ironic, and Ic198f6a952ed135099bcc525ef548a4aea005056 removed the code
    that sets that value.

    However, for existing nodes, driver_internal_info['agent_last_heartbeat']
    may already exist, so we need to delete it. This patch does that.

    In addition, a LOG line was moved (and a nit addressed) to make the code
    a bit easier to read.

    This is a followup to Ic198f6a952ed135099bcc525ef548a4aea005056.

    Change-Id: I194d22c0e605b187823ceebae94d3ef895fb91f5
    Related-Bug: #1602410