Skip to content
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

elilo-xcat-3.14-5_all.deb missing elilo-x86.efi #42

Closed
sjjf opened this issue Nov 25, 2020 · 9 comments
Closed

elilo-xcat-3.14-5_all.deb missing elilo-x86.efi #42

sjjf opened this issue Nov 25, 2020 · 9 comments
Assignees
Milestone

Comments

@sjjf
Copy link

sjjf commented Nov 25, 2020

The elilo-xcat package in the 2.16 bionic apt repo (elilo-xcat-3.14-5_all.deb) doesn't contain the elilo-x86.efi file. Looking at the debian packaging config it's not clear why, but it's definitely missing.

The sha1sum in the repo Packages file (fe6be1663d76b1434d7e0d07ad71d9a0f3720b72) matches the package I've got installed, so I'm pretty sure it's an issue with the package build.

The previous version (available in the 2.15 repo) doesn't have this problem.

@cxhong
Copy link
Contributor

cxhong commented Nov 25, 2020

@sjjf Thank you so much to catch this. I put new package in the devel tree
https://xcat.org/files/xcat/repos/apt/devel/xcat-dep/pool/main/e/elilo-xcat/elilo-xcat_3.14-5_all.deb
you can manually download this and run apt install command.

@sjjf
Copy link
Author

sjjf commented Nov 25, 2020

Thanks. Fortunately I don't need the support for larger kernels at the moment, but the fixed package is definitely appreciated.

@sjjf
Copy link
Author

sjjf commented Nov 26, 2020

Um, the updated file works fine in a local install, but installing from the repository fails - the metadata in the repository needs to be updated to match the changed file contents (apt is complaining about the size not matching). Maybe updating the package version to 3.14-6 would be the easiest fix.

@gurevichmark
Copy link
Contributor

@sjjf How did you encounter this issue ? Did you just notice that elilo-xcat-3.14-5_all.deb was missing elilo-x86.efi ? Or was there some action/command that failed for you ?

@gurevichmark gurevichmark self-assigned this Dec 1, 2020
@sjjf
Copy link
Author

sjjf commented Dec 2, 2020

@gurevichmark I was bitten by xcat2/xcat-core#6817, and went looking for a workaround. The workaround I picked was chain booting via elilo (the fallback path that xnba uses for older kernel images), and that lead me to discover that the elilo executable was missing.

Before we upgraded to 2.16.1 in early November /all/ our EFI builds were using the elilo chain boot, and then after the upgrade none of them were, despite exactly the same kernel images being in use - we successfully built a number of nodes mid-October, and they all came up with the chain boot configuration, then last week we tried building more nodes and had them fail with the direct boot configuration. I couldn't find any 2.16.0 packages to see what the cause of this change was, but in the end I modified xnba.pm:has_efistub() to unconditionally return 0 to force setstate() to use the fallback chain boot config.

@sjjf
Copy link
Author

sjjf commented May 5, 2021

@gurevichmark After upgrading to the latest snapshot I've been hit by this issue again, so it looks like the updated package still hasn't hit the repository? Any chance of getting this sorted properly?

@gurevichmark
Copy link
Contributor

@sjjf
Did you upgrade from online repository or from the download of xcat-dep-ubuntu-202011301320.tar.bz2
And is the issue that apt is complaining about the size not matching or that package doesn't contain the elilo-x86.efi file ?

@sjjf
Copy link
Author

sjjf commented May 6, 2021

I upgraded from the online repository to the 2.16.1-snap202104121621 version. The elilo-xcat package appears to still be the 3.14-5 version which doesn't include the elilo.x86.efi file. The package doesn't have any /packaging/ errors - all the package metadata matches the package itself, it's just that the package is missing the elilo.x86.efi file (which is the whole point of the package, of course).

I suspect the best way to resolve this would be to create a new package version (3.14-6) which fixes the packaging issue - trying to replace the package file with an updated one of the same version is likely to lead to confusion.

@gurevichmark gurevichmark added this to the 2.16.2 milestone May 6, 2021
@gurevichmark
Copy link
Contributor

elilo-xcat-3.14-6 RPM and DEB files are now available on xcat.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants