Comment 8 for bug 1581471

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Related fix merged to openstack/nova (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/21472
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 8cda4898425372a062cdec1018b56116386738f0
Author: Jay Pipes <email address hidden>
Date: Wed Jun 1 09:52:56 2016

pci: pass in instance PCI requests to claim

Removes the calls to InstancePCIRequests.get_XXX() from within the
claims.Claim and claims.MoveClaim constructors and instead has the
resource tracker construct the PCI requests and pass them into the
constructor.

This allows us to remove the needlessly duplicative _test_pci() method
in claims.MoveClaim and will allow the next patch in the series to
remove the call in nova.pci.manager.PciDevTracker.claim_instance() that
re-fetches PCI requests for the supplied instance.

Related-Bug: #1368201
Related-Bug: #1581471

Change-Id: Ib2cc7c985839fbf88b5e6e437c4b395ab484b1b6
(cherry picked from commit 74fbff88639891269f6a0752e70b78340cf87e9a)