Comment 0 for bug 1544818

Revision history for this message
Andrey Danin (gcon-monolake) wrote : provisioning onto a disk with 4 KB logical sector size fails

Affects 7.0, 8.0, 9.0. Reproduced with 7.0

When the first disk discovered by the bootstrap is a disk with 4k logical block size, the node with OS installed won't bring up any NICs after reboot.

Fuel-agent prepares config files for cloud-init in ISO9660 image witch has 2k block size. Then this image is written to /dev/sda. After reboot Cloud-init tries to mount it but it fails.

We need to change an image format from ISO to ext2 with 4k blocks but keep a label == 'cidata' (see [1])

Workaround: in my particular case I applied the patch [2] to collocate the ISO image with the OS filesystem which was on different disk with 512 block size.

[1] https://github.com/number5/cloud-init/blob/0.7.5/cloudinit/sources/DataSourceNoCloud.py#L95-L105
[2] https://review.openstack.org/#/c/279107/1/fuel_agent/drivers/nailgun.py