To fix this bug, we need to patch fuel-agent installed in the bootstrap image so it properly handles the partitions schema created in the initial provisioning (i.e. in version 6.x). In that versions, the following partitions were created:
1. boot
2. root
3. swap
Since version 7.0, new provisioning schema (image-based) was made defualt. This schema creates the following partitions:
1. boot
2. UEFI boot
3. root
4. swap
This leads to the situation when swap partition physically is 3rd (due to partition preservation), but fuel-agent expects it to be 4th.
To fix this bug, we need to patch fuel-agent installed in the bootstrap image so it properly handles the partitions schema created in the initial provisioning (i.e. in version 6.x). In that versions, the following partitions were created:
1. boot
2. root
3. swap
Since version 7.0, new provisioning schema (image-based) was made defualt. This schema creates the following partitions:
1. boot
2. UEFI boot
3. root
4. swap
This leads to the situation when swap partition physically is 3rd (due to partition preservation), but fuel-agent expects it to be 4th.