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
cp error when starting dnsmasq #42
Comments
@elfosardo @derekhiggins perhaps you can help figure out exactly which files are needed here? |
mmm considering that we have this: I guess renaming ipxe-x86_64.efi makes sense |
Looks to me like this is only working because nobody is using ipxe.efi with the openshift image, we don't need it for BIOS boot so I guess nobody has tried UEFI PXE chainloading(I've been using the upstream image for IPv6 work). prepare-ipxe.sh doesn't work because its copying the file to /tftpboot, it should be /shared//tftpboot but we can't copy the files at built time as its a shared volume. the cp command in rundnsmasq.sh doesn't work because it needs to be ipxe-x86_64.efi , so I think we need logic similar to whats in prepare-ipxe.sh (different paths in RHEL/Centos) but it needs to run in rundnsmasq.sh (so it happens after the shared volume is created). I'll put a patch together and test it out. |
There is no point in copying them to /tftpboot during the build, they arn't used here, copy them directly to shared at runtime. Fixes #42
There is no point in copying them to /tftpboot during the build, they arn't used here, copy them directly to shared at runtime. Fixes #42
There is no point in copying them to /tftpboot during the build, they arn't used here, copy them directly to shared at runtime. Fixes #42
There is an error copying a pxe file on startup, in my environment dnsmasq starts, and deployment still works fine but we should probably review the files copied to ensure we have the expected files for vm/baremetal environments;
The copy happens here:
https://github.com/openshift/ironic-image/blob/master/rundnsmasq.sh#L22
Looking inside the container we can see these files:
I'm not certain atm if we can just remove the copy of ipxe.efi, or if we need to rename ipxe-x86_64.efi which does exist
The text was updated successfully, but these errors were encountered: