OpenStack deployment fails with: The resulting partition is not properly aligned for best performance.\nError: The location 1020930 is outside of the device /dev/sda.

Solution In Progress - Updated -

Issue

An OpenStack deployment fails with: The resulting partition is not properly aligned for best performance.\nError: The location 1020930 is outside of the device /dev/sda.

Full trace:

(undercloud) [root@undercloud-0 ~]# zgrep ERROR /var/log/ironic/ironic-conductor.log-20191009.gz | tail -n20
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor   File "/usr/lib/python2.7/site-packages/ironic/conductor/task_manager.py", line 148, in wrapper
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     return f(*args, **kwargs)
2019-10-08 15:25:24.462 31169 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-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     uuid_dict_returned = do_agent_iscsi_deploy(task, self._client)
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor   File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 60, in wrapped
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     result = f(*args, **kwargs)
2019-10-08 15:25:24.462 31169 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-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     uuid_dict_returned = continue_deploy(task, iqn=iqn, address=address)
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor   File "/usr/lib/python2.7/site-packages/ironic_lib/metrics.py", line 60, in wrapped
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     result = f(*args, **kwargs)
2019-10-08 15:25:24.462 31169 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-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     _fail_deploy(task, e)
2019-10-08 15:25:24.462 31169 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-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor     raise exception.InstanceDeployFailure(msg)
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor InstanceDeployFailure: Deploy failed for instance 352ebd1a-b78e-4b7b-bd2a-45d55641a6bb. Error: Unexpected error while running command.
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor Command: sudo ironic-rootwrap /etc/ironic/rootwrap.conf parted -a optimal -s /dev/disk/by-path/ip-192.168.24.24:3260-iscsi-iqn.2008-10.org.openstack:faff2584-4d1b-4c67-adc4-1910bb250151-lun-1 -- unit MiB mklabel msdos mkpart primary  1 2 mkpart primary  2 1020930 set 2 boot on
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor Exit code: 1
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor Stdout: u''
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor Stderr: u'Warning: The resulting partition is not properly aligned for best performance.\nError: The location 1020930 is outside of the device /dev/sda.\n'
2019-10-08 15:25:24.462 31169 ERROR ironic.drivers.modules.agent_base_vendor 

Environment

Red Hat OpenStack Platform 13

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In