Dashboard can't process pending tasks when using Apache Passenger
I am using open source Puppet 3.6.1 and Dashboard 1.2.23 on Debian 7.5 x86_64. I have Puppet master, PuppetDB, and Puppet Dashboard running on separate boxes. Puppet master and agents are working fine.
For Puppet Dashboard, for some reason it CANNOT process any pending tasks when using Apache Passenger. When I disable the puppetdashboard virtual host in Apache2, and switch back to use the puppet-dashboard and puppet-dashboard-workers services, pending tasks are processed correctly.
Here is the screenshot for Dashboard using Passenger:
Per 'passenger-status', the puppet-dashboard Rake app is running. However, it does not process any pending tasks.
root@puppetdashboard:~# passenger-status ----------- General information ----------- max = 12 count = 1 active = 0 inactive = 1 Waiting on global queue: 0 ----------- Application groups ----------- /usr/share/puppet-dashboard: App root: /usr/share/puppet-dashboard * PID: 4374 Sessions: 0 Processed: 1 Uptime: 24s
Here is my puppetdashboard virtual host definition:
PassengerRuby /usr/bin/ruby1.8 PassengerHighPerformance on PassengerMaxPoolSize 12 PassengerPoolIdleTime 1500 PassengerStatThrottleRate 120 RailsAutoDetect On Listen 3000 <VirtualHost *:3000> ServerName dashboard.localdomain DocumentRoot /usr/share/puppet-dashboard/public/ <Directory /usr/share/puppet-dashboard/public/> Options None Order allow,deny allow from all </Directory> ErrorLog /var/log/apache2/dashboard_error.log LogLevel warn CustomLog /var/log/apache2/dashboard_access.log combined ServerSignature On </VirtualHost>
What maybe the root cause?