Skip to content
This repository was archived by the owner on Jun 26, 2019. It is now read-only.
This repository was archived by the owner on Jun 26, 2019. It is now read-only.

Issue w/ Getting Started and Alternate Providers #2

@n4580

Description

@n4580

I'm not sure if this counts as an issue, since it requires a previous install of Vagrant and an additional provider installed, but it did cause me some trouble until I was able to find some additional documentation elsewhere.

I have the vagrant-parallels provider installed. I didn't have the VAGRANT_DEFAULT_PROVIDER environment variable set. When I installed Otto and followed the Getting Started guide, it attempted to create the local development environment using the Parallels provider. Since there is no box that matches, it errors out. I was trying to find a way to specify the default provider in the Appfile by skipping ahead in the guide, but I eventually switched to looking for how to set the default provider in Vagrant. That led to the documentation on that environment variable, which fixed the issue.

I'm not sure if there's a good way to specify a specific provider in the Getting Started files, or if it's worth having a note of some sort elsewhere, but there's probably a few people that'll hit the same issue if they use Parallels for other Vagrant configurations, and decide to try out Otto.

% otto dev
==> Creating local development environment with Vagrant if it doesn't exist...
    Raw Vagrant output will begin streaming in below. Otto does
    not create this output. It is mirrored directly from Vagrant
    while the development environment is being created.

Bringing machine 'default' up with 'parallels' provider...
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find and install...
    default: Box Provider: parallels
    default: Box Version: >= 0
==> default: Loading metadata for box 'hashicorp/precise64'
    default: URL: https://atlas.hashicorp.com/hashicorp/precise64
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.


If you're adding a box from HashiCorp's Atlas, make sure the box is
released.

Name: hashicorp/precise64
Address: https://atlas.hashicorp.com/hashicorp/precise64
Requested provider: [:parallels]

Error building dev environment: Error executing Vagrant: exit status 1

The error messages from Vagrant are usually very informative.
Please read it carefully and fix any issues it mentions. If
the message isn't clear, please report this to the Otto project.
%

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions