Comment 6 for bug 1246513

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

Roman, what you're seeing is a different problem: we're not mounting XFS partitions anymore. What I think is happening for you is that ceph-deploy doesn't pass -f flag to mkfs.xfs during deployment, so mkfs.xfs detects remnants of old partitions and refuses to proceed. Please confirm if that's the case.

At the moment we zap disks in two places: astute (on node reboot) and cobbler pmanager script (during provisioning). In both places we only zap the beginning and end of the whole block device, we should zap each partition on that device before we wipe the partition table and MBR. Doing it both in astute and in pmanager will make sure that the disk is fully zapped both for new deployment on a non-blank system (pmanager), and re-deployment (astute).