Comment 9 for bug 1671648

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

Reviewed: https://review.openstack.org/446685
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b6b5438c3ddeedab6c7f83d1998d283f1bb503bc
Submitter: Jenkins
Branch: master

commit b6b5438c3ddeedab6c7f83d1998d283f1bb503bc
Author: melanie witt <email address hidden>
Date: Thu Mar 16 18:24:23 2017 +0000

    Fix functional regression/recreate test for bug 1671648

    There are a couple of issues with the test:

      1. It doesn't consider both hosts from the two compute services
         during scheduling.

      2. There is a race where sometimes claims.Claim.__init__ won't
         be called because if the RT instance_claim runs before
         update_available_resource has run, it will create a
         claims.NopClaim instead.

    This adds the RetryFilter to enabled_filters, adds set_nodes() calls
    to set the nodenames of each compute service to match its host,
    resulting in consideration of both hosts for scheduling, and stubs
    resource_tracker.ResourceTracker.instance_claim instead of
    claims.Claim.__init__.

    Related-Bug: #1671648

    Change-Id: I541c03a7960b8f135b005c43cb5c7bcb0b63b9ae