tern-tools / tern

Tern is a software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles. The SBOM that Tern generates will give you a layer-by-layer view of what's inside your container in a variety of formats including human-readable, JSON, HTML, SPDX and more.
BSD 2-Clause "Simplified" License
960 stars 188 forks source link

Installation instructions with vagrant don't work on my system #1184

Closed arun-kumar2 closed 1 year ago

arun-kumar2 commented 2 years ago

Describe the bug Unable to start tern with the instructions given for vagrant, I followed the instructions in the "Getting Started with Vagrant" section in the Readme: https://github.com/tern-tools/tern. When i do vagrant up, i get a message saying that: Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period.

If i start the VM in Virtualbox, i see this error: dependency failed for hyper-v kvp protocol daemon

To Reproduce Steps to reproduce the behavior:

  1. Follow the instructions in the "Getting Started with Vagrant" section in the Readme: https://github.com/tern-tools/tern.
  2. run vagrant up
  3. i get a message saying that: Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period.

If i start the VM in Virtualbox, i see this error: dependency failed for hyper-v kvp protocol daemon image

Expected behavior VM should start without any errors to enable me to use tern

Environment you are running Tern on Enter all that apply

rnjudge commented 1 year ago

Hi @arun-kumar2, I'm not sure that this is a Tern error. Sounds like there might be a dependency missing on your system perhaps? But I will give it a try and see if I can reproduce.

rnjudge commented 1 year ago

I overlooked the fact that you are working on a Windows computer so I won't be able to attempt to reproduce since I have a Mac. I was able to find a similar bug that you're seeing open in the Ubuntu bugset: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1820063

I'm sorry I can't be more helpful. But closing this bug since it's not related to Tern, rather, it's an issue with vagrant on windows.