Dashboard Delayed Workers Error: Mysql::Error: MySQL server has gone away

66 views
Skip to first unread message

dave-stfu

unread,
Aug 5, 2011, 5:59:50 AM8/5/11
to Puppet Users
Hello

Recently, I've upgraded the Dashboard from 1.2rc3 to 1.2rc5. Now, the
delayed workers are dying right after I start them. The production.log
says:

Delayed::Backend::ActiveRecord::Job Update (0.0ms) Mysql::Error:
MySQL server has gone away: UPDATE `delayed_jobs` SET locked_by =
null, locked_at = null WHERE (locked_by = 'delayed_job.1 host:puppet
pid:16839')
#<ActiveRecord::StatementInvalid: Mysql::Error: MySQL server has gone
away: UPDATE `delayed_jobs` SET locked_by = null, locked_at = null
WHERE (locked_by = 'delayed_job.1 host:puppet pid:16839') >

The Dashboard itself is running smoothly. Also, running "rake
jobs:work" runs without any problems - it does the delayed jobs. The
settings are the same as in rc3 (user, permissions, db config).

Could this be the result of updated gems in rc5?

Cheers!
Dave

Bruno Leon

unread,
Aug 5, 2011, 5:00:26 PM8/5/11
to Puppet Users
I can confirm the exact same issue.

Russell Jackson

unread,
Aug 5, 2011, 5:37:44 PM8/5/11
to puppet...@googlegroups.com

This issued was fixed for me after I did a pull on the 1.2rc branch this
morning.

--
Russell A Jackson <r...@csub.edu>
Network Analyst
California State University, Bakersfield

Dave

unread,
Aug 6, 2011, 12:21:04 PM8/6/11
to puppet...@googlegroups.com
Thank you! Indeed, the current "1.2rc" branch fixed it.

Michael Stahnke

unread,
Aug 6, 2011, 1:27:08 PM8/6/11
to puppet...@googlegroups.com
I'll be cutting a dashboard RC some time today. We didn't fix it
until later in the day yesterday.

Mike

On Sat, Aug 6, 2011 at 9:21 AM, Dave <zumbr...@gmail.com> wrote:
> Thank you! Indeed, the current "1.2rc" branch fixed it.
>

> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/3z0YYPuRJ6AJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

Reply all
Reply to author
Forward
0 new messages