commit 6786e9630b10c0c01c8797a4e2e0a1a35fd3ca94
Author: Julia Kreger <email address hidden>
Date: Fri Oct 8 14:35:00 2021 -0700
Ignore plug_vifs on the ironic driver
When the nova-compute service starts, by default it attempts to
startup instance configuration states for aspects such as networking.
This is fine in most cases, and makes a lot of sense if the
nova-compute service is just managing virtual machines on a hypervisor.
This is done, one instance at a time.
However, when the compute driver is ironic, the networking is managed
as part of the physical machine lifecycle potentially all the way into
committed switch configurations. As such, there is no need to attempt
to call ``plug_vifs`` on every single instance managed by the
nova-compute process which is backed by Ironic.
Additionally, using ironic tends to manage far more physical machines
per nova-compute service instance then when when operating co-installed
with a hypervisor. Often this means a cluster of a thousand machines,
with three controllers, will see thousands of un-needed API calls upon
service start, which elongates the entire process and negatively
impacts operations.
In essence, nova.virt.ironic's plug_vifs call now does nothing,
and merely issues a debug LOG entry when called.
Closes-Bug: #1777608
Change-Id: Iba87cef50238c5b02ab313f2311b826081d5b4ab
(cherry picked from commit 7f81cf28bf21ad2afa98accfde3087c83b8e269b)
(cherry picked from commit eb6d70f02daa14920a2522e5c734a3775ea2ea7c)
(cherry picked from commit f210115bcba3436b957a609cd388a13e6d77a638)
(cherry picked from commit 35fb52f53fbd3f8290f775760a842d70f583fa67)
(cherry picked from commit 2b8c1cffe409af1e1da6597ea0b7b96931a035f7)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /821352 /opendev. org/openstack/ nova/commit/ 6786e9630b10c0c 01c8797a4e2e0a1 a35fd3ca94
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 6786e9630b10c0c 01c8797a4e2e0a1 a35fd3ca94
Author: Julia Kreger <email address hidden>
Date: Fri Oct 8 14:35:00 2021 -0700
Ignore plug_vifs on the ironic driver
When the nova-compute service starts, by default it attempts to
startup instance configuration states for aspects such as networking.
This is fine in most cases, and makes a lot of sense if the
nova-compute service is just managing virtual machines on a hypervisor.
This is done, one instance at a time.
However, when the compute driver is ironic, the networking is managed
as part of the physical machine lifecycle potentially all the way into
committed switch configurations. As such, there is no need to attempt
to call ``plug_vifs`` on every single instance managed by the
nova-compute process which is backed by Ironic.
Additionally, using ironic tends to manage far more physical machines
per nova-compute service instance then when when operating co-installed
with a hypervisor. Often this means a cluster of a thousand machines,
with three controllers, will see thousands of un-needed API calls upon
service start, which elongates the entire process and negatively
impacts operations.
In essence, nova.virt.ironic's plug_vifs call now does nothing,
and merely issues a debug LOG entry when called.
Closes-Bug: #1777608 b02ab313f2311b8 26081d5b4ab afa98accfde3087 c83b8e269b) 20a2522e5c734a3 775ea2ea7c) b957a609cd388a1 3e6d77a638) 290f775760a842d 70f583fa67) e1da6597ea0b7b9 6931a035f7)
Change-Id: Iba87cef50238c5
(cherry picked from commit 7f81cf28bf21ad2
(cherry picked from commit eb6d70f02daa149
(cherry picked from commit f210115bcba3436
(cherry picked from commit 35fb52f53fbd3f8
(cherry picked from commit 2b8c1cffe409af1