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

CentOS Stream build failing #1341

Closed
elreydetoda opened this issue Mar 3, 2021 · 1 comment
Closed

CentOS Stream build failing #1341

elreydetoda opened this issue Mar 3, 2021 · 1 comment
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@elreydetoda
Copy link
Contributor

elreydetoda commented Mar 3, 2021

Version:

lastest master: 6a1a2ed

Environment:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal

$ vboxmanage --version
6.1.16_Ubuntur140961

$ packer --version
1.7.0

$ uname -srvmo 
Linux 5.4.0-66-generic #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021 x86_64 GNU/Linux

Scenario:

Trying to build the CentOS Stream packer build for virtualbox-iso.

Steps to Reproduce:

  1. clone repo
  2. cd bento/packer_templates/centos/
  3. packer build -only=virtualbox-iso centos-stream-8-x86_64.json

Expected Result:

Successful build and vagrant box image created

Actual Result:

Fails on Virtualbox Guest additions install ( specifically in the shell script modinfo vboxsf ), because it fails to install the guest additions.

Here is a picture of me running the build command inside the box before it destroys the box ( I added -on-error=ask to the packer build command ).

image

Here is the /var/log/vboxadd-setup.log that I uploaded from the machine: https://pastebin.com/GGEQcGJP

Here is the full build log from packer's build: packer_build.log

Extra Info

I don't 100% know what is going on ( not really familiar with RHEL based distros ), but it seems like Vbox Guest additions doesn't like the kernel that is showing up. Which from the log file seems to be 4.18.0-277.el8.x86_64.

Thanks you for the amazing project and let me know if there is any way I could help 😁

@elreydetoda elreydetoda added the Status: Untriaged An issue that has yet to be triaged. label Mar 3, 2021
@Stromweld
Copy link
Collaborator

Closing this issue due to age. Please feel free to re-open or submit a new issue if the problem still exists with the latest version of the bento code.

@Stromweld Stromweld closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

2 participants