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ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ