hashicorp / hashicorp/packer-plugin-vagrant

Vagrant error messages are suppressed

Open
#17 0 comments 7 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
16
Forks
28
PR merge metrics
No merged PRs in 30d

Description

#### Overview of the Issue

When an underlying vagrant issue occurs (such as a plugin issue) the error message from packer can be quite obscure.

For example, an out-of-date Vagrant VMware utility caused Packer to report:

```
Build 'vmware' errored after 8 seconds 844 milliseconds: error: SSH Port was not properly retrieved from SSHConfig.
```

#### Reproduction Steps

Have a config that will produce some vagrant error;

Run a packer build using the vagrant builder.

### Plugin and Packer version

Packer 1.7.2

### Operating system and Environment details

macOS 11.4 on Intel

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported failure with a Packer build using the Vagrant builder and compare the visible message with the underlying Vagrant error. The issue names no files or tests, so trace the Vagrant builder's error-handling path and define done as preserving the underlying error details in the reported build failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.