Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-517

If pe-puppetserver starts before pe-puppet then it fails to start because /var/run/pe-puppet doesn't exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PE 3.7.2
    • Fix Version/s: PE 3.8.0
    • Component/s: None
    • Labels:
    • Template:

      Description

      To reproduce if you don't hit the issue on boot of EL 7 then you can just do the following.

      service pe-puppet stop
      rm -rf /var/run/pe-puppet/
      service pe-puppetserver restart
      

      Check your /var/log/pe-puppetserver/puppetserver.log for errors like:

      2015-02-08 01:47:52,045 ERROR [puppet-server] Puppet Could not set 'directory' on ensure: Permission denied - /var/run/pe-puppet
      org/jruby/RubyDir.java:443:in `mkdir'
      

      or

      2015-02-08 01:47:52,087 ERROR [puppet-server] /File[/var/run/pe-puppet]/ensure change from absent to directory failed: Could not set 'directory' on ensure: Permission denied - /var/run/pe-puppet
      2015-02-08 01:47:52,181 ERROR [p.t.internal] shutdown-on-error triggered because of exception!
      java.lang.IllegalStateException: There was a problem adding a JRubyPuppet instance to the pool.
      

      You can correct the issue by starting the pe-puppet service or creating the directory with the correct permissions.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  nick.walker Nick Walker
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: