Skip to content

Vagrant-registry post-processor failure on box creation #128

@agafonoo

Description

@agafonoo

Debug output

Screenshot from 2024-08-16 12-40-55

Screenshot from 2024-08-16 12-56-33

Expected behavior

Package.box file should have been uploaded to the Hashicorp Vagrant Registry using the Packer post-processor "vagrant-registry".

Actual behavior

The box was "created" but the package.box file never got uploaded to the regsitry.

Reproduction information

Vagrant version

Vagrant 2.4.1

Packer version

Packer v1.11.2

Host operating system

Ubuntu 22.04.3 LTS

Guest operating system

Ubuntu 22.04.4 live server (amd64)

Steps to reproduce

packer init ./
packer build -var-file=variables.auto.pkvars.hcl ./

The variables file contains HCP client and secret.

Packer template file

[Gist] (https://gist.github.com/agafonoo/6d18ef31f2eeb3923059a3d8acbeefa8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions