Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update from app.vagrantup.com to vagrantcloud.com #13580

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hswong3i
Copy link
Contributor

@hswong3i hswong3i commented Jan 18, 2025

As #13571 (comment) mentioned:

After further debug, this looks like a change introduced in HCP
Vagrant Registry after 2025-01-09, that broke Vagrant versions before
2.4.0. I could confirm that everything works fine with Vagrant 2.4.0
(and later), but fails to work with Vagrant 2.3.7 (and earlier). The
root cause is that Vagrant 2.3.7 uses the equivalent of curl
--location --verbose -H "Accept: application/json"
https://vagrantcloud.com/debian/bookworm64 to fetch the box
metadata, but this no longer returns a JSON document. Vagrant 2.4.0
uses https://vagrantcloud.com/api/v2/vagrant/debian/bookworm64
instead.

This PR replace most https://developer.hashicorp.com/vagrant/vagrant-cloud/api/v2 URL from existing https://app.vagrantup.com to https://vagrantcloud.com.

Fixes #13571
Fixes #13574
Fixes #13575

As <hashicorp#13571 (comment)>
mentioned:

> After further debug, this looks like a change introduced in HCP
> Vagrant Registry after 2025-01-09, that broke Vagrant versions before
> 2.4.0. I could confirm that everything works fine with Vagrant 2.4.0
> (and later), but fails to work with Vagrant 2.3.7 (and earlier). The
> root cause is that Vagrant 2.3.7 uses the equivalent of curl
> --location --verbose -H "Accept: application/json"
> <https://vagrantcloud.com/debian/bookworm64> to fetch the box
> metadata, but this no longer returns a JSON document. Vagrant 2.4.0
> uses <https://vagrantcloud.com/api/v2/vagrant/debian/bookworm64>
> instead.

This PR replace most
<https://developer.hashicorp.com/vagrant/vagrant-cloud/api/v2> URL from
existing <https://app.vagrantup.com> to <https://vagrantcloud.com>.

Fixes <hashicorp#13571>
Fixes <hashicorp#13574>
Fixes <hashicorp#13575>

Signed-off-by: Wong Hoi Sing Edison <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant