Cannot upload box with vagrant cloud publish
, post-auth, request fail with public_id / registry cannot be blank
#13584
Labels
Debug output
debug.log
Expected behavior
I would be expecting to create/upload the box.
Actual behavior
After running
vagrant cloud publish ...
, there is a request to Vagrant Cloud that fails withpublic_id: cannot be blank.; registry: cannot be blank
Reproduction information
I login using
hcp
, get the token and callvagrant cloud publish ....
as follows:Where
ubuntu2310-checksum.box
is the filename of the box to be uploaded toeldipa-seclab/ubuntu2310-checksum
whereeldipa-seclab
is a registry created yesterday (via https://portal.cloud.hashicorp.com)Vagrant version
Host operating system
Ubuntu
Guest operating system
Ubuntu
Steps to reproduce
hcp auth login --client-id=.... --client-secret=....
export VAGRANT_CLOUD_TOKEN="$(hcp auth print-access-token)"
BOX=ubuntu2310-checksum ; vagrant cloud publish -C sha256 -c "$(sha256sum $BOX.box | awk { print })" --release -a amd64 --direct-upload --debug "eldipa-seclab/$BOX" 1 virtualbox $BOX.box
The text was updated successfully, but these errors were encountered: