apachehadoopvagrant

"The machine with the name 'c6401' was not found configured for this Vagrant environment." Error


I plan to work with Apache Ambari. To start, I've done everything according to https://cwiki.apache.org/confluence/display/AMBARI/Quick+Start+Guide. But whenever I try to start vms, I get following error:

The machine with the name 'c6401' was not found configured for
this Vagrant environment.

Solution

  • Had this error today on mac and decided to update this post with the solution that worked for me.

    Steps

    1. Delete all redundant machine folders ./.vagrant/machines (.vagrant folder is a hidden folder within the repo)

    2. Run vagrant global-status --prune command in the root of the project

    3. Destroy vagrant setup vagrant destroy

    4. Ensure no related machine exists in the virtualbox UI

    5. Run vagrant up again

    cheers!