-
Notifications
You must be signed in to change notification settings - Fork 59
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
AWS Fedora CoreOS missing /dev/xvd* symlinks #601
Comments
Thanks for the report. This is a duplicate of #104. @davdunc from AWS was having a look at this. Our hope is that they eventually manage to upstream this, possibly into systemd default udev rules: systemd/systemd#11532. |
Thanks @lucab, thought I was almost there by using the files from https://github.com/coreos/fedora-coreos-config/pull/476/files, but it turns out the |
@velothump good catch! I think it's quite safe to say we should bake it into FCOS config. The utility is packaged in Fedora as |
This has been a headscratcher for a couple of hours. Is there any traction on this? Because this is a necessary and vital udev configuration for anyone using AWS. |
Bumping this issue for traction. We're running into this while migrating our Kubernetes clusters to m5 instances and not sure where to go from here. |
More detail: We have added a script that calls |
Ignition normally waits for device nodes before trying to use them. Could you post logs of the failure? One thing to check is that you've included |
We have been booting vanilla upstream FCOS AMIs. What you're suggesting would require building our own images, right? |
Oh, I see what you meant. Yes, that's right. You can't use an Ignition config to add udev rules affecting the behavior of Ignition. |
That makes sense. Hopefully this is an easy process. We are under a lot of pressure to move to m5 instances. It looks like Amazon Linux creates the symlink for you (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/nvme-ebs-volumes.html). |
Can you use a hybrid approach as a workaround? If you install the udev rules into the rootfs via Ignition, that should make the kubelet happy, and in the Ignition config itself you can use the underlying |
From the link:
I don't think that's going to be reliable. |
I would love to work in tandem, so if we can start to identify individual rules in ec2-utils and then milestone on specific use cases and get it done sooner that would be ideal. Are we still targeting moving this into systemd? |
@lucab - would you want to work with @davdunc on this?
I think that was (is?) the plan. |
@davdunc the rules we are talking about are basically https://github.com/coreos/fedora-coreos-config/pull/476/files, which originates in Container Linux https://github.com/coreos/init/pull/268/files but are based on what |
@davdunc has taken an action in today's community meeting:
|
We discussed this in the community meeting today.
|
CoreOS used to symlink /dev/xvd* to the /dev/nvme devices: coreos/bugs#2399.
We're attempting to migrate Kubernetes workloads, and the kubelet is attempting to mount the /dev/xvd* devices.
The text was updated successfully, but these errors were encountered: