Update resources only for specific node during deletion.
At the moment during Nova instance termination resources are
updated for all Ironic nodes. As result with high number of nodes,
removing N instances initiates N x M requests, where M is the total
number of nodes. This commit allows to update resources per specific
node on termination.
Reviewed: https:/ /review. fuel-infra. org/20574
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka
Commit: a15427f036f7c74 2813f8abfbdb5a8 b20c468915
Author: Vasyl Saienko <email address hidden>
Date: Thu May 12 11:04:57 2016
Update resources only for specific node during deletion.
At the moment during Nova instance termination resources are
updated for all Ironic nodes. As result with high number of nodes,
removing N instances initiates N x M requests, where M is the total
number of nodes. This commit allows to update resources per specific
node on termination.
Depends-On: Iffad4a6ab1aaa5 fea591c19f6d330 dc861c5675d
Closes-Bug: #1552120 f23c4f50bed190d fc66db7ba76 58760c62c30aa2b 68868087b9)
Closes-Bug: #1552446
Change-Id: Ib54741c8564e18
(cherry picked from commit 16d8819891c4bef