Improve error message: "Option <name> is required, but storage value could not be read." #1954

Closed
ARentz07 opened this Issue Jul 19, 2016 · 5 comments

Projects

None yet

2 participants

@ARentz07

Lately my team's been experiencing an issue wherein specific members of the team consistently get an error message like this one, for example:

Option ZabbixPassword is required, but storage value could not be read.

In /var/log/rundeck/rundeck.log, corresponding entries can be found such as this one:

2016-06-27 08:07:14,466 [qtp1111974043-53] ERROR grails.app.controllers.rundeck.controllers.ScheduledExecutionController - Option ZabbixPassword is required, but storage value could not be read.

This has been difficult to troubleshoot for us because it doesn't occur for all users and doesn't seem to follow a pattern of OS or ACL privileges.

I think this code is where the exception is coming from: https://github.com/rundeck/rundeck/blob/master/rundeckapp/grails-app/services/rundeck/services/ExecutionService.groovy#L1938

More relevant info:
Rundeck 2.6.7-1 ("cafe bonbon goldenrod plane")
Node setup is a single app node with the embedded H2 database
Running on RHEL6.7

@gschueler
Contributor

When does this occur? Saving or running a job?

@ARentz07

When running a job. For example, right after clicking the "Run Job Now" button. Here is a screenshot of one instance.

edited_rundeck_screenshot_1

@gschueler
Contributor

it may happen if the user does not have access to the storage path..

@ARentz07

I think I got it working by updating the acl policies so that users experiencing the problem could "read" storage at the path I was using.
Sorry for logging an issue for this - not sure why but we've been using rundeck for a couple of months on my team and hadn't run into this before.

@gschueler
Contributor

@ARentz07 no problem, we should improve the error message to suggest checking ACLs

@gschueler gschueler changed the title from "Option <name> is required, but storage value could not be read." to Improve error message: "Option <name> is required, but storage value could not be read." Jul 20, 2016
@gschueler gschueler self-assigned this Jul 20, 2016
@gschueler gschueler closed this in ae0f938 Aug 1, 2016
@gschueler gschueler removed the in progress label Aug 1, 2016
@gschueler gschueler added this to the 2.6.9 milestone Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment