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

Issue with published sandbox libvirt bootstrap image #62

Closed
detiber opened this issue Mar 15, 2021 · 3 comments
Closed

Issue with published sandbox libvirt bootstrap image #62

detiber opened this issue Mar 15, 2021 · 3 comments

Comments

@detiber
Copy link
Contributor

detiber commented Mar 15, 2021

Expected Behaviour

Should be able to run vagrant up with the libvirt provisioner

Current Behaviour

Provisioning with vagrant/libvirt fails

With the currently published bootstrap boxes, it appears that the libvirt box has a 0 byte file for /usr/local/bin/docker-compose instead of the expected docker-compose binary.

Possible Solution

Publish an updated bootstrap image for libvirt that does not have a 0 byte file for /usr/local/bin/docker-compose

Steps to Reproduce (for bugs)

  1. On a Linux box with vagrant/libvirt, run vagrant up

Your Environment

  • Operating System and version (e.g. Linux, Windows, MacOS): Linux/Fedora 33

  • How are you running Tinkerbell? Using Vagrant & Libvirt

@gianarb
Copy link
Contributor

gianarb commented Mar 16, 2021

Thank you for reporting this issue. This is the script we use to build the baseimage https://github.com/tinkerbell/sandbox/tree/master/deploy/vagrant/basebox do you mind validating it, please?

Ideally, we should install libvirt side by side in the Github self-hosted runner and we can run the vagrant test suite twice, once on libvirt and another one with Virtualbox. I think we can pilot this setting the default provider when running go test

@detiber
Copy link
Contributor Author

detiber commented Mar 17, 2021

I tried building a box locally using the basebox configuration in tree, but ended up with a box that would not successfully ssh. I didn't troubleshoot any further, though.

@gianarb
Copy link
Contributor

gianarb commented Apr 29, 2021

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

2 participants