Comment 11 for bug 1260265

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

Reviewed: https://review.openstack.org/99027
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=9373b141c79f8fc69fc21442e29c5c4a25ec0a52
Submitter: Jenkins
Branch: master

commit 9373b141c79f8fc69fc21442e29c5c4a25ec0a52
Author: Hans Lindgren <email address hidden>
Date: Tue Jun 10 12:39:53 2014 +0200

    Add missing stats to IronicNodeState

    This is the second in a series of patches to prepare Ironic for the
    removal of capabilities in Nova HostManager.

    IronicHostManager used to rely on capabilities info to decide which
    host state class to use, VM or baremetal. This has been broken since
    host capabilities reporting were removed in Nova, resulting in Nova
    HostState class always being used.

    Before IronicNodeState class can be used again, it must be updated to
    store host stats as this is needed by ComputeCapabilitiesFilter to
    correctly filter hosts or this filter will return no hosts.

    Change-Id: I1661107883722bf14a488842373fd3027dc7a62c
    Partial-Bug: #1260265