provisioning onto 4K native disks fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Dmitry Guryanov | ||
7.0.x |
Fix Released
|
High
|
Sergii Rizvan | ||
8.0.x |
Fix Released
|
High
|
Sergii Rizvan | ||
Mitaka |
Fix Released
|
High
|
Dmitry Guryanov |
Bug Description
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 and switch to data source ConfigDrive with disk label == 'config-2' (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:/
[2] https:/
summary: |
- provisioning onto a disk with 4 KB logical sector size fails + provisioning onto 4K native disks fails |
Changed in fuel: | |
assignee: | Fuel for Openstack (fuel) → Fuel Python Team (fuel-python) |
description: | updated |
tags: | added: area-python |
tags: | added: feature-image-based |
tags: |
added: module-volumes removed: feature-image-based need-info |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Dmitry Guryanov (dguryanov) |
Changed in fuel: | |
milestone: | 9.0 → 10.0 |
tags: | added: on-verification |
so, we're dealing here with 4K native (or 4Kn) disks [1]
https:/ /en.wikipedia. org/wiki/ Advanced_ Format# 4K_native [1]