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

unable to save jobs when notification plugin used #1740

Closed
fiquett opened this issue Mar 8, 2016 · 5 comments
Closed

unable to save jobs when notification plugin used #1740

fiquett opened this issue Mar 8, 2016 · 5 comments
Assignees
Labels
Milestone

Comments

@fiquett
Copy link

fiquett commented Mar 8, 2016

When i attempt to edit workflow steps for a job that has notification plugin enabled: (Slack Incoming WebHook v.0.5.dev), i get the following error message after clicking save.

Looks similar to #1193

object references an unsaved transient instance - save the transient instance before flushing: rundeck.Workflow

I am using Rundeck 2.6.4 configured to use mysql for db. Worked fine in 2.6.2 with h2 db.

Temporary work around is to uncheck notification, make workflow change, save, and then add notification back and save again.

Error details:

Request: /project/Main/job/update/329041fa-13d8-4ff2-913b-a095f1ddbdf3?notifyPlugin.onsuccess.RedmineNotification.config.priority=4&notifyPlugin=%5Bonsuccess.RedmineNotification.config.priority%3A4%2C+onsuccess%3A%5BRedmineNotification.config.priority%3A4%2C+RedmineNotification%3A%5Bconfig.priority%3A4%2C+config%3A%5Bpriority%3A4%2C+subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+project%3A1%2C+tracker%3A3%2C+description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%5D%2C+config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+config.project%3A1%2C+config.tracker%3A3%2C+config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%5D%2C+enabled._RedmineNotification%3A%2C+enabled%3A%5B_RedmineNotification%3A%2C+_SlackNotification%3A%5D%2C+RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+RedmineNotification.config.project%3A1%2C+RedmineNotification.config.tracker%3A3%2C+RedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+SlackNotification.config.webhook_url%3A%2C+SlackNotification%3A%5Bconfig.webhook_url%3A%2C+config%3A%5Bwebhook_url%3A%5D%5D%2C+type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+enabled._SlackNotification%3A%5D%2C+onfailure.RedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+onfailure%3A%5BRedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+RedmineNotification%3A%5Bconfig.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+config%3A%5Bdescription%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+priority%3A4%2C+tracker%3A3%2C+project%3A1%2C+subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%5D%2C+config.priority%3A4%2C+config.tracker%3A3%2C+config.project%3A1%2C+config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%5D%2C+enabled._RedmineNotification%3A%2C+enabled%3A%5B_RedmineNotification%3A%2C+SlackNotification%3Atrue%2C+_SlackNotification%3A%5D%2C+SlackNotification.config.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+SlackNotification%3A%5Bconfig.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+config%3A%5Bwebhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%5D%5D%2C+RedmineNotification.config.priority%3A4%2C+RedmineNotification.config.tracker%3A3%2C+RedmineNotification.config.project%3A1%2C+type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+enabled.SlackNotification%3Atrue%2C+enabled._SlackNotification%3A%5D%2C+onfailure.enabled._RedmineNotification%3A%2C+onfailure.SlackNotification.config.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+onstart.SlackNotification.config.webhook_url%3A%2C+onstart%3A%5BSlackNotification.config.webhook_url%3A%2C+SlackNotification%3A%5Bconfig.webhook_url%3A%2C+config%3A%5Bwebhook_url%3A%5D%5D%2C+RedmineNotification.config.priority%3A4%2C+RedmineNotification%3A%5Bconfig.priority%3A4%2C+config%3A%5Bpriority%3A4%2C+description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+tracker%3A3%2C+project%3A1%2C+subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%5D%2C+config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+config.tracker%3A3%2C+config.project%3A1%2C+config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%5D%2C+enabled._RedmineNotification%3A%2C+enabled%3A%5B_RedmineNotification%3A%2C+_SlackNotification%3A%5D%2C+type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+RedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+enabled._SlackNotification%3A%2C+RedmineNotification.config.tracker%3A3%2C+RedmineNotification.config.project%3A1%2C+RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%5D%2C+onstart.RedmineNotification.config.priority%3A4%2C+onstart.enabled._RedmineNotification%3A%2C+onfailure.RedmineNotification.config.priority%3A4%2C+onfailure.RedmineNotification.config.tracker%3A3%2C+onfailure.RedmineNotification.config.project%3A1%2C+onstart.type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+onfailure.type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+onstart.RedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+onsuccess.enabled._RedmineNotification%3A%2C+onsuccess.RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+onstart.enabled._SlackNotification%3A%2C+onsuccess.RedmineNotification.config.project%3A1%2C+onfailure.RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+onfailure.enabled.SlackNotification%3Atrue%2C+onsuccess.RedmineNotification.config.tracker%3A3%2C+onstart.RedmineNotification.config.tracker%3A3%2C+onstart.RedmineNotification.config.project%3A1%2C+onstart.RedmineNotification.config.subject%3ARUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D%2C+onfailure.enabled._SlackNotification%3A%2C+onsuccess.RedmineNotification.config.description%3A%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D%2C+onsuccess.SlackNotification.config.webhook_url%3A%2C+onsuccess.type%3A%5BRedmineNotification%2C+SlackNotification%5D%2C+onsuccess.enabled._SlackNotification%3A%5D&loglevel=INFO&orig.notifyPlugin.onfailure.RedmineNotification.config.description=&orig=%5BnotifyPlugin.onfailure.RedmineNotification.config.description%3A%2C+notifyPlugin%3A%5Bonfailure.RedmineNotification.config.description%3A%2C+onfailure%3A%5BRedmineNotification.config.description%3A%2C+RedmineNotification%3A%5Bconfig.description%3A%2C+config%3A%5Bdescription%3A%2C+subject%3A%2C+project%3A%2C+tracker%3A%2C+priority%3A%5D%2C+config.subject%3A%2C+config.project%3A%2C+config.tracker%3A%2C+config.priority%3A%5D%2C+SlackNotification.config.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+SlackNotification%3A%5Bconfig.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+config%3A%5Bwebhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%5D%5D%2C+RedmineNotification.config.subject%3A%2C+RedmineNotification.config.project%3A%2C+RedmineNotification.config.tracker%3A%2C+RedmineNotification.config.priority%3A%5D%2C+onstart.RedmineNotification.config.subject%3A%2C+onstart%3A%5BRedmineNotification.config.subject%3A%2C+RedmineNotification%3A%5Bconfig.subject%3A%2C+config%3A%5Bsubject%3A%2C+priority%3A%2C+tracker%3A%2C+description%3A%2C+project%3A%5D%2C+config.priority%3A%2C+config.tracker%3A%2C+config.description%3A%2C+config.project%3A%5D%2C+RedmineNotification.config.priority%3A%2C+RedmineNotification.config.tracker%3A%2C+SlackNotification.config.webhook_url%3A%2C+SlackNotification%3A%5Bconfig.webhook_url%3A%2C+config%3A%5Bwebhook_url%3A%5D%5D%2C+RedmineNotification.config.description%3A%2C+RedmineNotification.config.project%3A%5D%2C+onfailure.SlackNotification.config.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+onsuccess.RedmineNotification.config.priority%3A%2C+onsuccess%3A%5BRedmineNotification.config.priority%3A%2C+RedmineNotification%3A%5Bconfig.priority%3A%2C+config%3A%5Bpriority%3A%2C+description%3A%2C+tracker%3A%2C+project%3A%2C+subject%3A%5D%2C+config.description%3A%2C+config.tracker%3A%2C+config.project%3A%2C+config.subject%3A%5D%2C+RedmineNotification.config.description%3A%2C+SlackNotification.config.webhook_url%3A%2C+SlackNotification%3A%5Bconfig.webhook_url%3A%2C+config%3A%5Bwebhook_url%3A%5D%5D%2C+RedmineNotification.config.tracker%3A%2C+RedmineNotification.config.project%3A%2C+RedmineNotification.config.subject%3A%5D%2C+onstart.RedmineNotification.config.priority%3A%2C+onfailure.RedmineNotification.config.subject%3A%2C+onsuccess.RedmineNotification.config.description%3A%2C+onstart.RedmineNotification.config.tracker%3A%2C+onfailure.RedmineNotification.config.project%3A%2C+onsuccess.SlackNotification.config.webhook_url%3A%2C+onsuccess.RedmineNotification.config.tracker%3A%2C+onstart.SlackNotification.config.webhook_url%3A%2C+onfailure.RedmineNotification.config.tracker%3A%2C+onfailure.RedmineNotification.config.priority%3A%2C+onsuccess.RedmineNotification.config.project%3A%2C+onstart.RedmineNotification.config.description%3A%2C+onstart.RedmineNotification.config.project%3A%2C+onsuccess.RedmineNotification.config.subject%3A%5D%2C+notifyPlugin.onstart.RedmineNotification.config.subject%3A%2C+notifyPlugin.onfailure.SlackNotification.config.webhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%2C+orchestratorPlugin.maxPercentage.config.percent%3A%2C+orchestratorPlugin%3A%5BmaxPercentage.config.percent%3A%2C+maxPercentage%3A%5Bconfig.percent%3A%2C+config%3A%5Bpercent%3A%5D%5D%2C+subset.config.count%3A%2C+subset%3A%5Bconfig.count%3A%2C+config%3A%5Bcount%3A%5D%5D%5D%2C+notifyPlugin.onsuccess.RedmineNotification.config.priority%3A%2C+notifyPlugin.onstart.RedmineNotification.config.priority%3A%2C+notifyPlugin.onfailure.RedmineNotification.config.subject%3A%2C+notifyPlugin.onsuccess.RedmineNotification.config.description%3A%2C+notifyPlugin.onstart.RedmineNotification.config.tracker%3A%2C+notifyPlugin.onfailure.RedmineNotification.config.project%3A%2C+notifyPlugin.onsuccess.SlackNotification.config.webhook_url%3A%2C+notifyPlugin.onsuccess.RedmineNotification.config.tracker%3A%2C+notifyPlugin.onstart.SlackNotification.config.webhook_url%3A%2C+notifyPlugin.onfailure.RedmineNotification.config.tracker%3A%2C+orchestratorPlugin.subset.config.count%3A%2C+notifyPlugin.onfailure.RedmineNotification.config.priority%3A%2C+notifyPlugin.onsuccess.RedmineNotification.config.project%3A%2C+notifyPlugin.onstart.RedmineNotification.config.description%3A%2C+notifyPlugin.onstart.RedmineNotification.config.project%3A%2C+notifyPlugin.onsuccess.RedmineNotification.config.subject%3A%5D&notifyFailureRecipients=&orig.notifyPlugin.onstart.RedmineNotification.config.subject=&_notifySuccessAttach=&notifyPlugin.onfailure.RedmineNotification.config.description=%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D&crontab.month._MAY=&crontab=%5Bmonth._MAY%3A%2C+month%3A%5B_MAY%3A%2C+_MAR%3A%2C+_APR%3A%2C+_DEC%3A%2C+_SEP%3A%2C+_FEB%3A%2C+_AUG%3A%2C+_OCT%3A%2C+_JAN%3A%2C+_JUN%3A%2C+_NOV%3A%2C+_JUL%3A%5D%2C+dayOfWeek._SAT%3A%2C+dayOfWeek%3A%5B_SAT%3A%2C+_FRI%3A%2C+_TUE%3A%2C+_SUN%3A%2C+_WED%3A%2C+_THU%3A%2C+_MON%3A%5D%2C+month._MAR%3A%2C+month._APR%3A%2C+dayOfWeek._FRI%3A%2C+month._DEC%3A%2C+dayOfWeek._TUE%3A%2C+dayOfWeek._SUN%3A%2C+month._SEP%3A%2C+month._FEB%3A%2C+month._AUG%3A%2C+month._OCT%3A%2C+dayOfWeek._WED%3A%2C+dayOfWeek._THU%3A%2C+dayOfWeek._MON%3A%2C+month._JAN%3A%2C+month._JUN%3A%2C+month._NOV%3A%2C+month._JUL%3A%5D&notifyPlugin.onfailure.enabled._RedmineNotification=&_notifyOnstartUrl=&crontab.dayOfWeek._SAT=&crontab.month._MAR=&nodeRankAttribute=&_everyDayOfWeek=&notifyPlugin.onfailure.SlackNotification.config.webhook_url=https%3A%2F%2Fhooks.slack.com%2Fservices%2F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&notifyPlugin.onstart.SlackNotification.config.webhook_url=&notifyStartRecipients=&notifyPlugin.onstart.RedmineNotification.config.priority=4&orchestratorPlugin.subset.config.count=1&orchestratorPlugin=%5Bsubset.config.count%3A1%2C+subset%3A%5Bconfig.count%3A1%2C+config%3A%5Bcount%3A1%5D%5D%2C+maxPercentage.config.percent%3A33%2C+maxPercentage%3A%5Bconfig.percent%3A33%2C+config%3A%5Bpercent%3A33%5D%5D%5D&crontab.month._APR=&dayOfMonth=%3F&notifyPlugin.onstart.enabled._RedmineNotification=&formInput=true&_notifyOnfailureEmail=&orig.notifyPlugin.onfailure.SlackNotification.config.webhook_url=https%3A%2F%2Fhooks.slack.com%2Fservices%2F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&_sessionwf=true&doNodedispatch=true&workflow.keepgoing=true&workflow=%5Bkeepgoing%3Atrue%2C+strategy%3Anode-first%5D&notifyPlugin.onfailure.RedmineNotification.config.priority=4&crontab.dayOfWeek._FRI=&crontab.month._DEC=&orig.orchestratorPlugin.maxPercentage.config.percent=&notifyPlugin.onfailure.RedmineNotification.config.tracker=3&notifyPlugin.onfailure.RedmineNotification.config.project=1&crontabString=0+59+00+%3F+*+*+*&crontab.dayOfWeek._TUE=&orig.notifyPlugin.onsuccess.RedmineNotification.config.priority=&crontab.dayOfWeek._SUN=&workflow.strategy=node-first&crontab.month._SEP=&orig.notifyPlugin.onstart.RedmineNotification.config.priority=&notifyPlugin.onstart.type=RedmineNotification&notifyPlugin.onstart.type=SlackNotification&SYNCHRONIZER_TOKEN=cd9146a713c7b4cf80aefd40e4faf76f24f901fc0a5b687aa16091cbdf343c97&notifyPlugin.onfailure.type=RedmineNotification&notifyPlugin.onfailure.type=SlackNotification&crontab.month._FEB=&notifyPlugin.onstart.RedmineNotification.config.description=%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D&_sessionopts=true&nodeExcludePrecedence=true&orig.notifyPlugin.onfailure.RedmineNotification.config.subject=&hour=00&SYNCHRONIZER_URI=%2Fproject%2FMain%2Fjob%2Fedit%2F329041fa-13d8-4ff2-913b-a095f1ddbdf3&orchestratorPlugin.maxPercentage.config.percent=33&logOutputThreshold=&_everyMonth=&crontab.month._AUG=&crontab.month._OCT=&nodeThreadcount=25&retry=&orig.notifyPlugin.onsuccess.RedmineNotification.config.description=&scheduleEnabled=true&notifyPlugin.onsuccess.enabled._RedmineNotification=&notifyPlugin.onsuccess.RedmineNotification.config.subject=RUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D&nodeRankOrderAscending=true&logOutputThresholdStatus=&notifyPlugin.onstart.enabled._SlackNotification=&notifySuccessUrl=&orig.notifyPlugin.onstart.RedmineNotification.config.tracker=&jobName=verify+no+full+filesystems&notifyPlugin.onsuccess.RedmineNotification.config.project=1&notifyPlugin.onfailure.RedmineNotification.config.subject=RUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D&notifyPlugin.onfailure.enabled.SlackNotification=true&description=&orig.notifyPlugin.onfailure.RedmineNotification.config.project=&_notifyOnfailureUrl=&notifyPlugin.onsuccess.RedmineNotification.config.tracker=3&notifyPlugin.onstart.RedmineNotification.config.tracker=3&notified=true&crontab.dayOfWeek._WED=&orig.notifyPlugin.onsuccess.SlackNotification.config.webhook_url=&nodesSelectedByDefault=true&nodeKeepgoing=true&notifyFailureUrl=&everyDayOfWeek=true&scheduled=true&notifyPlugin.onstart.RedmineNotification.config.project=1&notifyStartSubject=&crontab.dayOfWeek._THU=&orig.notifyPlugin.onsuccess.RedmineNotification.config.tracker=&orig.notifyPlugin.onstart.SlackNotification.config.webhook_url=&orig.notifyPlugin.onfailure.RedmineNotification.config.tracker=&notifyStartUrl=&filter=.*+%21tags%3Adisabled&everyMonth=true&notifySuccessRecipients=&logOutputThresholdAction=halt&notifyPlugin.onstart.RedmineNotification.config.subject=RUNDECK+%3D%3E+Projet+%3A+%5B%24%7Bjob.project%7D%5D%2C+Job+%3A+%5B%24%7Bjob.name%7D%5D+%3D%3E+%24%7Bjob.status%7D&notifyPlugin.onfailure.enabled._SlackNotification=&orig.orchestratorPlugin.subset.config.count=&useCrontabString=false&multipleExecutions=false&notifyPlugin.onsuccess.RedmineNotification.config.description=%5B%24%7Bjob.project%7D%5D+job+%3D%3E+run+by+%24%7Bjob.user%7D+%3D%3E+%24%7Bjob.status%7D&minute=59&orig.notifyPlugin.onfailure.RedmineNotification.config.priority=&crontab.dayOfWeek._MON=&notifyPlugin.onsuccess.SlackNotification.config.webhook_url=&orig.notifyPlugin.onsuccess.RedmineNotification.config.project=&notifyFailureSubject=&notifyPlugin.onsuccess.type=RedmineNotification&notifyPlugin.onsuccess.type=SlackNotification&orig.notifyPlugin.onstart.RedmineNotification.config.description=&orig.notifyPlugin.onstart.RedmineNotification.config.project=&_notifyOnstartEmail=&crontab.month._JAN=&groupPath=maintenance&_action_Update=Save&_notifyOnsuccessEmail=&orig.notifyPlugin.onsuccess.RedmineNotification.config.subject=&orchestratorId=&crontab.month._JUN=&crontab.month._NOV=&_notifyOnsuccessUrl=&notifyPlugin.onsuccess.enabled._SlackNotification=&_notifyFailureAttach=&executionEnabled=true&notifySuccessSubject=&crontab.month._JUL=&timeout=2h&_sessionEditWFObject=Workflow%3A%28threadcount%3A1%29%7B+%5Bcommand%28+exec%3A+df+-h+-x+iso9660+%7Cgrep+%27100%25%27+%26%26+exit+1+%7C%7C+exit+0description%3A+Verify+that+no+filesystems+are+at+100%25+%28excludes+cdrom%29+keepgoingOnSuccess%3A+false%29%5D+%7D&notifications=%7BeventTrigger%3Donfailure%2C+type%3DSlackNotification%2C+configuration%3D%5Bwebhook_url%3Ahttps%3A%2F%2Fhooks.slack.com%2Fservices%2F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%5D%7D
> Message: object references an unsaved transient instance - save the transient instance before flushing: rundeck.Workflow 
> Caused by: object references an unsaved transient instance - save the transient instance before flushing: rundeck.Workflow 
> Class: ScheduledExecutionController 
> At Line: [1733] 
> Code Snippet:

stack trace:

org.hibernate.TransientObjectException: object references an unsaved transient instance - save the transient instance before flushing: rundeck.Workflow
    at rundeck.services.FrameworkService.getFrameworkProject(FrameworkService.groovy:204)
    at rundeck.services.FrameworkService.getFrameworkPropertyResolver(FrameworkService.groovy:307)
    at rundeck.services.NotificationService.validatePluginConfig(NotificationService.groovy:66)
    at rundeck.services.ScheduledExecutionService.validatePluginNotification(ScheduledExecutionService.groovy:1710)
    at rundeck.services.ScheduledExecutionService$__updateNotificationsData_closure47.doCall(ScheduledExecutionService.groovy:1880)
    at rundeck.services.ScheduledExecutionService._updateNotificationsData(ScheduledExecutionService.groovy:1854)
    at rundeck.services.ScheduledExecutionService._doupdate(ScheduledExecutionService.groovy:1623)
    at rundeck.controllers.ScheduledExecutionController$_update_closure51.doCall(ScheduledExecutionController.groovy:1746)
    at rundeck.controllers.ScheduledExecutionController.update(ScheduledExecutionController.groovy:1733)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
    at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198)
    at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:539)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:288)
    at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:115)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at com.codahale.metrics.servlet.AbstractInstrumentedFilter.doFilter(AbstractInstrumentedFilter.java:97)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1331)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:477)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:486)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
    at org.eclipse.jetty.server.Server.handle(Server.java:349)
    at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:449)
    at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:925)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:857)
    at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
    at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:76)
    at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:191)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:609)
    at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:45)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:599)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:534)
    at java.lang.Thread.run(Thread.java:745)
@fiquett
Copy link
Author

fiquett commented Mar 9, 2016

Confirmed this happens with skylost Redmine Notification plugin also.

@makered
Copy link

makered commented Mar 25, 2016

Happened for me as well since upgrading 2.6.2 --> 2.6.4. Removing rundeck-slack-incoming-webhook-plugin-0.5.jar resolved it.

@fiquett
Copy link
Author

fiquett commented Mar 25, 2016

yeah I can imagine so, however we use slack heavily in conjunction with our rundeck jobs so removing it is not ideal. ;)

@jonathandietz
Copy link

This is happening for me as well.

@gschueler gschueler added the bug label Apr 11, 2016
@gschueler gschueler added this to the 2.6.5 milestone Apr 11, 2016
@gschueler gschueler mentioned this issue Apr 13, 2016
@gschueler gschueler self-assigned this Apr 13, 2016
@fiquett
Copy link
Author

fiquett commented Apr 14, 2016

thanks!!

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

No branches or pull requests

4 participants