-
Notifications
You must be signed in to change notification settings - Fork 7
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
Switch to Linode API v4 #9
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There were type errors when providing the object. This is a change from the previous fog linode provider.
This reverts commit d0d710b.
This just wraps the API calls in a retry when the API returns a 408. By default it retries 3 times, that can be adjusted using the `api_retries` config option. Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Now the code will check if another server is already using the label is wants, and if so it'll pick a different random suffix. Added retry support if we do end up with a non-unique label on server create. Added better error handling on deletes so a 404 doesn't make it nervous. Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Retry API requests on timeouts (HTTP status 408)
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
Signed-off-by: M. David Bennett <mdavidbennett@syntheticworks.com>
@ssplatt is this project still being maintained? |
This was referenced Aug 3, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Howdy! This is a major update to switch this project to use Linode API v4. As well, it modernizes the code to follow patterns in other upstream kitchen drivers, including switching to
chefstyle
instead of usingrubocop
directly and bumping all dependencies. A more comprehensive list of changes follows:chefstyle
so we don't have to managed our ownrubocop
config.kernel
, for example) that aren't supported on the create call..kitchen.yml
file to test all base images. This is not added to the CI at this time.