Comment 11 for bug 1318614

Revision history for this message
Alexander Gordeev (a-gordeev) wrote : Re: [provision] Set XFS partition size to default (4k)

if mkfs.xfs, which will be installed in bootstrap image, creates 4k sector size by default, then IBP doesn't affected by this bug.

fuel-agent has support to deal with arbitrary fs options and pass them to mkfs tools. https://github.com/stackforge/fuel-web/blob/master/fuel_agent/fuel_agent/manager.py#L229-L233

However, this capability is turned off at nailgun's driver side.
None of these partition_scheme.add_fs() calls uses fs options:
https://github.com/stackforge/fuel-web/blob/master/fuel_agent/fuel_agent/drivers/nailgun.py#L250-L253
https://github.com/stackforge/fuel-web/blob/master/fuel_agent/fuel_agent/drivers/nailgun.py#L332-L335

There was relatively old bug, the fix of which introduced 512 sector size.
https://bugs.launchpad.net/fuel/+bug/1316266

meanwhile, pmanager still has hardcoded 512 sector size. https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/cobbler/templates/scripts/pmanager.py#L108 https://github.com/stackforge/fuel-library/blob/master/deployment/puppet/cobbler/templates/scripts/pmanager.py#L614

IBP should be fixed to add xfsprogs to list of packages for 'bootstrap' image. https://bugs.launchpad.net/fuel/+bug/1456325