The same problem can be reproduced with RHEL-8.6 edge installer.
+++ This bug was initially created as a clone of Bug #2125542 +++
Description of problem:
Using Image Builder I've created an edge installer. When I try to create a custom data partion (/data) I get the error during the installation progress "The following error occurred while installing the payload. This a fatal error and installation will be aborted. The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32.
I've seen that if I create the data directory in a separate console under /mnt/sysimage and then making again mount --rbind /mnt/sysimage /mnt/sysroot the directory is properly created.
Version-Release number of selected component (if applicable):
- RHEL 9
- anaconda 22.214.171.124
- composer-cli v35.5
- API server status:
Database version: 0
Database supported: true
Schema version: 0
API version: 1
How reproducible: everytime
Steps to Reproduce:
1. Select Installation Destination
2. Select Storage Configuration as Custom
3. Add a new mount point with Mount Point "/data" and Desiderd Capacity: 2 GiB
4. Accept changes
5. Begin installation
Installation reports "The following error occurred while installing the payload. This a fatal error and installation will be aborted. The command 'mount --bind /mnt/sysimage/data /mnt/sysroot/data' exited with the code 32."
Installation complete with success.
The bug can also be reproduced with a regular RHEL-8.7 installer, when pointing it to a remote ostree via a kickstart file, for example:
part --size 1 --grow /
part --size 2048 /data
ostreesetup --nogpg --osname=rhel-edge --remote=rhel-edge --url=http://192.168.122.2/ostree/repo --ref=rhel/8/x86_64/edge