Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMZ2] Data device disappears during AMI baking #259

Open
mbloch1986 opened this issue Feb 14, 2022 · 0 comments
Open

[AMZ2] Data device disappears during AMI baking #259

mbloch1986 opened this issue Feb 14, 2022 · 0 comments
Labels

Comments

@mbloch1986
Copy link
Contributor

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:

  1. Start AMI baking using Amazon Linux 2
  2. Wait until the AMI baking failed.
  3. 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):

  • packer-aem 5.12.0
  • amz2
@mbloch1986 mbloch1986 added the bug label Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant