Getting " Instance reachability check failed" when launched instance from Oracle Linux 9 AMI

0

We built an OVA file from an Oracle Linux 9 iso file using the packer script. When trying to import the OVA as an AMI, we got the error: Import task import-ami-02dbc7596bebe7a13 failed with status message: ClientError: BLSC-style GRUB found, but unable to detect default kernel, error: ResourceNotReady: failed waiting for successful resource state For this error, there's an AWS article suggesting doing the following: set GRUB_ENABLE_BLSCFG=false in /etc/default/grub run: grub2-mkconfig -o /boot/grub2/grub.cfg

After making the above grub changes, the import then failed with a new error: FirstBootFailure: This import request failed because the instance failed to boot and establish network connectivity.

After doing more research, some people suggested the following: first import the VMDK file as a snapshot, then register the snapshot as an image

Importing snapshot and register image was successful. However, when launching an instance using this new image, the instance passes 1 of 2 checks. Instance reachability check failed.

Following some troubleshooting tips, trying to get the system logs and connecting to instance console. However, there is absolutely nothing showing for system logs and nothing for instance console.

What are some other things we can look at? Thanks for the help in advance.

Wing
已提问 4 个月前545 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则