-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Rundeck provider not working #14781
Comments
And just incase... Yes I've verified that the auth token is correct by issuing my own CURLs against my rundeck system |
So I fiddled a bit with the ACL policies, and I updated the |
Any speculation on this? I'm currently blocked from using the rundeck resources and the debug logging isn't much help. |
This might be a mis-nomer due to the way that terraform is determining the DNS address of the host I'm reaching. Even though my local host is correctly connecting to the right host via DNS name, it seems that Terraform (GO) is looking up the IP of the DNS name for the provider, and connecting to that information. Since I'm functioning in a split horizon DNS world, this is apparently causing havoc. Not sure if there's anything that can be done about this on the end of Terraform, but it is very real-world to have to deal with split horizon DNS and multiple valid paths to the same hostname depending on VPN rules. I'll close this; but could someone please just acknowledge it and comment if there's another reasonable course of action that may or may not be taken on the Hashicorp side? |
Hi @mengesb, It sounds like you've found that Terraform was connecting to the wrong server, and so the 405 Method Not Allowed was a result of trying to send Rundeck API requests to something that isn't Rundeck. Is that right? Terraform currently leans on the Go resolver, which we know has some limitations on Mac OS X where it just uses In future we may be able to change our build process to include something like xgo to accommodate this properly, but this is not something we're able to do in the short term, unfortunately. |
Thanks @apparentlymart ; I just wanted to bring some attention to it; I'll close this one out. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Seems I'm having issues using the Rundeck provider and I'm wondering if perhaps it has to do with the updates to the API. I see that the code for Terraform's Rundeck provider uses API version 13 for Rundeck. The most recent API supported by Rundeck is version 19, which may also solve noted documentation caveats (which are a bit confusing by the way) surrounding file creation of the resources file and such...
Since I couldn't get any of the resources to work, I simplified this configuration paste to just attempting to get the
rundeck_project
resource working...Terraform Version
0.9.3
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
https://gist.github.com/mengesb/9e24c677c5bb9a994595f4fa2366cd1f
Panic Output
N/A
Expected Behavior
Rundeck project created
Actual Behavior
Error:
rundeck_project.project: HTTP Error %!i(int=405)
Steps to Reproduce
terraform apply
Important Factoids
Attempted to use
rundeck_project
,rundeck_private_key
,rundeck_public_key
,rundeck_job
and they're all failing. Seems that the root of it all is the provider.References
The text was updated successfully, but these errors were encountered: