Ironic Deploy Failed consistently when writing config drive data

asked 2019-09-30 00:50:19 -0600

hoodl gravatar image

updated 2019-09-30 01:01:17 -0600

Hi.

I was trying to deploy baremetal servers using a bios-gpt partitioned whole disk image. I have deployed this image on quite an amount of servers, but for some reason, it will fail consistently on certain servers. It seems to failed when ironic is trying to modify the partition table to include config drive partition. Here are the errors after it deployed failed:

2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor Traceback (most recent call last): 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/agent_base_vendor.py", line 316, in heartbeat 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor self.continue_deploy(task) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 60, in wrapped 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor result = f(args, *kwargs) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", line 148, in wrapper 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor return f(args, *kwargs) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 408, in continue_deploy 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor uuid_dict_returned = do_agent_iscsi_deploy(task, self._client) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 60, in wrapped 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor result = f(args, *kwargs) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 333, in do_agent_iscsi_deploy 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor uuid_dict_returned = continue_deploy(task, iqn=iqn, address=address) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 60, in wrapped 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor result = f(args, *kwargs) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 269, in continue_deploy 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor _fail_deploy(task, e) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor File "/usr/lib/python2.7/site-packages/ironic/drivers/modules/iscsi_deploy.py", line 240, in _fail_deploy 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor raise exception.InstanceDeployFailure(msg) 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor InstanceDeployFailure: Deploy failed for instance None. Error: Failed to retrieve partition labels on disk /dev/disk/by-path/ip-192.168.136.59:3260-iscsi-iqn.2008-10.org.openstack:3ceb22a8-e36b-44ec-9d9d-1b6dbb9a0e6a-lun-1 for node 3ceb22a8-e36b-44ec-9d9d-1b6dbb9a0e6a. Error: Unexpected error while running command. 2019-09-30 13:30:21.750 21472 ERROR ironic.drivers.modules.agent_base_vendor ... (more)

edit retag flag offensive close merge delete