Describe the bug
When baking an AMI with Amazon Linux 2 the data device disappears during the AMI baking process.
At the beginning of the ami baking process:
[root@ip-10-11-20-121 ~]# ls -l /dev/xvdb
lrwxrwxrwx 1 root root 7 Feb 14 05:43 /dev/xvdb -> nvme1n1
After the mounting attempt in the AMI baking process:
[root@ip-10-11-20-121 ~]# ls -l /dev/xvdb
ls: cannot access /dev/xvdb: No such file or directory
[root@ip-10-11-20-121 ~]# ls -l /dev/nvme1n1
ls: cannot access /dev/nvme1n1: No such file or directory
this is happening across all components.
To Reproduce
Steps to reproduce the behavior:
Start AMI baking using Amazon Linux 2
Wait until the AMI baking failed.
The Inspec test to validate if the data device is mounted to /mnt/ebs1 will fail
Expected behavior
AMI baking should pass and the data device should be mounted at /mnt/ebs1
Environment (please complete the following information if relevant):
Describe the bug When baking an AMI with Amazon Linux 2 the data device disappears during the AMI baking process.
At the beginning of the ami baking process:
After the mounting attempt in the AMI baking process:
this is happening across all components.
To Reproduce Steps to reproduce the behavior:
Expected behavior AMI baking should pass and the data device should be mounted at /mnt/ebs1
Environment (please complete the following information if relevant):