File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1610,12 +1610,6 @@ def init_host(self, service_ref):
1610
1610
# NOTE(gibi): At this point the compute_nodes of the resource tracker
1611
1611
# has not been populated yet so we cannot rely on the resource tracker
1612
1612
# here.
1613
- # NOTE(gibi): If ironic and vcenter virt driver slow start time
1614
- # becomes problematic here then we should consider adding a config
1615
- # option or a driver flag to tell us if we should thread
1616
- # _destroy_evacuated_instances and
1617
- # _error_out_instances_whose_build_was_interrupted out in the
1618
- # background on startup
1619
1613
context = nova.context.get_admin_context()
1620
1614
nodes_by_uuid = self._get_nodes(context)
1621
1615
@@ -1633,6 +1627,12 @@ def init_host(self, service_ref):
1633
1627
self._validate_pinning_configuration(instances)
1634
1628
self._validate_vtpm_configuration(instances)
1635
1629
1630
+ # NOTE(gibi): If ironic and vcenter virt driver slow start time
1631
+ # becomes problematic here then we should consider adding a config
1632
+ # option or a driver flag to tell us if we should thread
1633
+ # _destroy_evacuated_instances and
1634
+ # _error_out_instances_whose_build_was_interrupted out in the
1635
+ # background on startup
1636
1636
try:
1637
1637
# checking that instance was not already evacuated to other host
1638
1638
evacuated_instances = self._destroy_evacuated_instances(
You can’t perform that action at this time.
0 commit comments