udacity / devops-intro-project

Project files for Intro to DevOps class
286 stars 3.57k forks source link

Command 'vagrant up' throws error #85

Open pixelprogrammer opened 4 years ago

pixelprogrammer commented 4 years ago

I have installed the virtaulbox artifact and added it with the following command:

vagrant box add ubuntu-14.04.6-server-amd64-appserver_virtualbox.box --name devops-appserver

Here is the output to show that it was successful:

==> box: Box file was not detected as metadata. Adding it directly...
==> box: Adding box 'devops-appserver' (v0) for provider: 
    box: Unpacking necessary files from: file:///blah/blah/blah/udacity/devops-intro-project/packer-templates/virtualbox/ubuntu-14.04.6-server-amd64-appserver_virtualbox.box
==> box: Successfully added box 'devops-appserver' (v0) for 'virtualbox'!

The next command I run is vagrant up and here is the output plus error:

Bringing machine 'default' up with 'libvirt' provider...
==> default: Box 'devops-appserver' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'devops-appserver' (v0) for provider: libvirt
    default: Downloading: devops-appserver
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

Couldn't open file blah/blah/blah/udacity/devops-intro-project/packer-templates/virtualbox/devops-appserver

Why can't it find the devops-appserver?

System Info OS: Fedora 30 Vagrant: 2.2.5 VirtualBox: 6.0.12_RPMFusion r132055 Packer: v1.4.4-dev (2c9615a3e)

safithetechi commented 4 years ago

I was having the same problem I installed vagrant from the website and used that instead, see issue:9788

allengb208 commented 10 months ago

is this issue solved? I'd like to contribute to it