Replies: 9 comments
-
@a89h4ya does |
Beta Was this translation helpful? Give feedback.
-
hi @zcobol . Its literally "Red Hat Virtualization" (https://access.redhat.com/products/red-hat-virtualization) "Red Hat Virtualization is an enterprise virtualization platform that supports key virtualization workloads including resource-intensive and critical applications, built on Red Hat Enterprise Linux and KVM and fully supported by Red Hat." |
Beta Was this translation helpful? Give feedback.
-
So that's kernel based virtualization. Amazon is providing |
Beta Was this translation helpful? Give feedback.
-
Hey, @zcobol I am aware of https://cdn.amazonlinux.com/al2023/os-images/2023.5.20240624.0/kvm/. However, this would be a blank image. Missing all the customizations and hardening that we made to our template/goldenimage AMI. We dont have any issue booting it, I also already use a seed.iso to configure it with cloud init, which works perfectly fine when using it with QEMU. Its just that "Red Hat Virtualization" is not able to make any console input once its completly booted. I can see the hostname, I can see the prompt for user login, I can see the cursor blink. Its not frozen. It just does not accept any input. |
Beta Was this translation helpful? Give feedback.
-
For the delta between what's on an AMI (which you would export), and what's on the on-prem images at that URL, check out https://docs.aws.amazon.com/linux/al2023/ug/al2023-ami-kvm-image.html Notable packages:
So I'd look at those packages and the docs there. Also have a look at https://docs.aws.amazon.com/linux/al2023/ug/kvm-supported-configurations.html and check your VM configuration around our list of supported hardware. IIRC the vm import/export may try to make some modifications, but may not get all of them. There's a TODO item somewhere on our joint list to try and standardize a package/script/command for Linux distributions to ensure a smooth conversion between on-prem and cloud environments if anything is required. Does this help? |
Beta Was this translation helpful? Give feedback.
-
Hey @stewartsmith. Thanks for your answer. I think I will try the KVM optimized image. If we dont have any issues there then, I will try to find out which package could make the difference. |
Beta Was this translation helpful? Give feedback.
-
@a89h4ya which option are you using? |
Beta Was this translation helpful? Give feedback.
-
@zcobol Sorry for the late reply. The team that is managing the RHV instance is not the one I am in, so I am dependent on their cooperation to get such information. They created a case with RH and Redhat said that AL2023 is not supported on their system. Right now it looks like that I am due to this not getting much backing anymore from that team regarding our case. I will try to get that info (whether they use SPICE or VNC), but it could be that I wont get it. |
Beta Was this translation helpful? Give feedback.
-
I'm going to move this over to a Discussion rather than an issue, and if a specific issue we can address is found, we can always create one. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I am working in a enterprise environment and we just recently moved all our EC2 instances to AL2023. However, we are running a CICD System with Agents/Runners and some of them are on-premise to reach certain network zones. To have a homogenous environment we desired to run them with AL2023 aswell. We followed the documentation at https://docs.aws.amazon.com/vm-import/latest/userguide/vmexport_image.html to export them.
We had some issues properly booting the disk image which were solved by adding virtio modules into the initial ramdisk:
dracut -f initramfs-6.1.82-99.168.amzn2023.x86_64.img 6.1.82-99.168.amzn2023.x86_64 --add-drivers "virtio virtio_pci virtio_blk virtio_net"
This worked well with qemu. However, the destination is a Red Hat Virtualization System. There, the VM also boots, but no console input is possible. This could also be an Issue with Red Hat Virtualization, so we opened a case with Redhat. However, during the bootloading we are able to navigate the EFI menu with the keyboard.
My current assumption is, that the kernel of AL2023 might be missing some modules needed to properly identify the keyboard. In contrast, the EFI contains the proper drivers and thus allows keyboard usage.
I investigated a bit into virtio and found that there are besides "virtio virtio_pci virtio_blk virtio_net" also "virtio_input" and "virtio_console". But I cant add them via dracut, they seem to be missing (And I would need to add them to the kernel instead of the initrd anyway, right?)
This topic is leaving my field of expertise, so I would appreciate for any confirmation of my thoughts, different ideas or troubleshooting suggestions.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Keyboard can be used to login to console after boot
Beta Was this translation helpful? Give feedback.
All reactions