The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #10270

Dashboard workers init script not quite functional

Added by Michael Stahnke over 2 years ago. Updated over 2 years ago.

Status:ClosedStart date:10/25/2011
Priority:HighDue date:
Assignee:Jonathan Grochowski% Done:

0%

Category:-
Target version:1.2.3
Keywords: Affected URL:
Branch: Affected Dashboard version:

Description

Hi,

the puppet-dashboard-workers init script does not correctly start the delayed_jobs unless you replace:

for pidfile in $(ls -1 “${DASHBOARD_ROOT}”/tmp/pids/.*.pid 2>/dev/null)

with:

for pidfile in $(ls -1 “${DASHBOARD_ROOT}”/tmp/pids/delayed_job.*.pid 2>/dev/null)

in /etc/init.d/puppet-dashboard-workers

Greets Marcus

History

#1 Updated by Jonathan Grochowski over 2 years ago

  • Description updated (diff)

We can’t seem to find that exact line anywhere. Can you give us some more information on what platform and exact version of puppet-dashboard you are using?

#2 Updated by Michael Stahnke over 2 years ago

To clarify, we find the line with without the ..pid, just .pid in all of our scripts, even looking back through git history, at least at first glance.

#3 Updated by Cory Stoker over 2 years ago

I have run into this issue as well. The version of dashboard installed is puppet-dashboard-1.2.1-1.el6.noarch. I am running CentOS 6.0. I was able to get the workers process running after the edit proposed by the original submitter. The issue was found at line 64 of /etc/init.d/puppet-dashboard-workers.

#4 Updated by Michael Stahnke over 2 years ago

  • Status changed from Investigating to Needs More Information

This appears to be fixed in the 1.2.2 rpm of puppet dashboard http://downloads.puppetlabs.com/dashboard/puppet-dashboard-1.2.2-1.el6.noarch.rpm

Can you confirm?

#5 Updated by Michael Stahnke over 2 years ago

  • Status changed from Needs More Information to Accepted

Nevermind, I see the issue. I was looking at the wrong pattern. Arg. Sorry. Fix forthcoming.

#6 Updated by Michael Stahnke over 2 years ago

  • Priority changed from Normal to High
  • Target version set to 1.2.3

#7 Updated by Jonathan Grochowski over 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review

#8 Updated by Michael Stahnke over 2 years ago

  • Status changed from In Topic Branch Pending Review to Merged - Pending Release

#9 Updated by Matthaus Owens over 2 years ago

  • Status changed from Merged - Pending Release to Closed

Released in 1.2.3rc1

Also available in: Atom PDF