In multi-conductor setup, the take_over() fails for pxe drivers.
It gives the symptoms of bug #1516812. If bug #1516812 is fixed, it gives following error:
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "/opt/stack/ironic/ironic/conductor/manager.py", line 1366, in _do_takeover
task.driver.deploy.prepare(task)
File "/opt/stack/ironic/ironic/drivers/modules/ilo/deploy.py", line 338, in prepare
super(IloPXEDeploy, self).prepare(task)
File "/opt/stack/ironic/ironic/drivers/modules/iscsi_deploy.py", line 717, in prepare
task.driver.boot.prepare_instance(task)
File "/opt/stack/ironic/ironic/drivers/modules/pxe.py", line 563, in prepare_instance
iwdi, deploy_utils.is_trusted_boot_requested(node))
File "/opt/stack/ironic/ironic/drivers/modules/deploy_utils.py", line 446, in switch_pxe_config
_replace_root_uuid(path, root_uuid_or_disk_id)
File "/opt/stack/ironic/ironic/drivers/modules/deploy_utils.py", line 404, in _replace_root_uuid
_replace_lines_in_file(path, pattern, root)
File "/opt/stack/ironic/ironic/drivers/modules/deploy_utils.py", line 391, in _replace_lines_in_file
with open(path) as f:
IOError: [Errno 2] No such file or directory: '/opt/stack/data/ironic/tftpboot/0300ea2d-f269-4676-9a0b-50c09c6710be/config'
Fix proposed to branch: master /review. openstack. org/246033
Review: https:/