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
asked 4 months ago540 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions