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

[BUG] Artifactory Upload Erroneously Throwing Stove::Error::CookbookAlreadyExists #127

Open
ghost opened this issue Sep 13, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 13, 2017

Attempting to perform an upload a new Chef Cookbook to Artifactory raises a Stove::Error::CookbookAlreadyExists. The logic seems to be guided by https://github.com/sethvargo/stove/blob/master/lib/stove/artifactory.rb#L18-L22.

Artifactory seems to throw a 403 when it encounters a Bad props auth token: and this case should not trigger this error message.

Steps to replicate are just to seemingly supply a bad token.

@biox
Copy link

biox commented Dec 12, 2017

+1 just used up a bunch of time troubleshooting this.

@belsander
Copy link

+1

@tyler-ball
Copy link

It seems to me the fix is, if the token is invalid, stove raises a Stove::Error::InvalidToken or similar error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants