-
Notifications
You must be signed in to change notification settings - Fork 62
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: Project update and create operations fail in Rundeck 4.16.0 #93
Comments
I believe there were some bugs fixed in the 4.17 release that might address this. Can you try that version please? |
@fdevans Thanks for the reply. I've tried 4.17 and it doesn't address the issue I was seeing. After a lot more investigation it became clear that the root cause of the problem I describe was as follows: A project setting, for a job execution plugin, had always been omitted from the configuration applied by terraform. That setting has a default in the plugin, which previous versions of Rundeck would use without error. Starting with the 4.15 release, however, Rundeck started throwing the errors given in my post above, when project configuration was set by terraform. The solution I've applied was to modify the terraform provider to include the default for that project setting in the settings it applies, unless overridden. Feel free to close this, however I would like to point out that the errors thrown by Rundeck in this situation could have been a lot more helpful. |
What setting needed a better default value? I can look into whether it's a product side or provider side issue. |
That wasn't the issue here - the default value was correct, the failure was that Rundeck was rejecting (with status 500) any attempt at setting project configuration via the API that did not include an explicit value for that key. It's worth noting that the UI shows the default value when creating a new project, so that information was being propagated through to Rundeck successfully; the error was just when attempting to configure a project via the API. The actual job execution plugin in question is one we've put together ourselves. |
Hi, I’m facing quite the same issue. Thanks, |
@rich-boyce Is there still an issue to be figured out here? |
@fdevans Apologies for the late reply - no, this seems to have been resolved one way or another. |
Starting with some release between 4.13.0 and 4.16.0, project update and create operations using terraform-provider-rundeck fail. The bug seems to be with the configuration step, since a create operation will result in a project being created but not configured.
Terraform reports this error:
Rundeck reports errors like this:
Rundeck reports warnings like this:
Rolling the Rundeck container back to 4.13.0 allows the changes to be applied successfully.
The text was updated successfully, but these errors were encountered: