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

cloud provider upload: 404 Not Found - Resource not found on undefined version #11221

Open
Mno-hime opened this issue Nov 27, 2019 · 0 comments

Comments

@Mno-hime
Copy link

vagrant cloud provider upload ends with a backtrace, when the version (i.e. 3) does not exist:

$ /opt/vagrant/bin/vagrant cloud provider upload mnowak/test qemu 3 centos-7-x86_64_box.box
/opt/vagrant/embedded/gems/2.2.6/gems/vagrant_cloud-2.0.3/lib/vagrant_cloud/client.rb:56:in `rescue in request': 404 Not Found - Resource not found! (VagrantCloud::ClientError)
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant_cloud-2.0.3/lib/vagrant_cloud/client.rb:51:in `request'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant_cloud-2.0.3/lib/vagrant_cloud/provider.rb:108:in `upload_url'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/plugins/commands/cloud/provider/upload.rb:54:in `upload_provider'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/plugins/commands/cloud/provider/upload.rb:42:in `execute'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/plugins/commands/cloud/provider/root.rb:46:in `execute'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/plugins/commands/cloud/root.rb:73:in `execute'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/cli.rb:66:in `execute'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/lib/vagrant/environment.rb:290:in `cli'
	from /opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant:182:in `<main>'

It wasn't imminently clear to me what's the problem.

I run official Vagrant 2.2.6 RPM on Fedora 31.

@briancain briancain added this to the 2.2 milestone Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants