Artifactory Pro Vagrant repo and box update

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Artifactory Pro Vagrant repo and box update

jimklo
We recently setup an AP installation and created an Vagrant repo.

I've been able to successfully deploy boxes to Artifactory as well as downloading new boxes from Artificatory via vagrant box add https://myartifactory....

But what I cannot get to work is `vagrant box update`, I just get a 401 unauthorized error - and both ATLAS_TOKEN and VAGRANT_SERVER_URL are set and exported.

Any thoughts on how I might resolve this?

Reply | Threaded
Open this post in threaded view
|

Re: Artifactory Pro Vagrant repo and box update

jimklo
Okay, I've solved this myself.

Turns out there is a bug in the version of Vagrant I was using that was not passing the ATLAS_TOKEN to Artifactory when requesting the BOX.

I was using Vagrant 1.8.1, the issue is supposedly fixed in 1.8.3, and I've installed the latest 1.8.5, which seems to also contain the fix.