Uploaded image for project: 'Puppet Enterprise (moved to puppet.atlassian.net)'
  1. Puppet Enterprise (moved to puppet.atlassian.net)
  2. ENTERPRISE-517

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • PE 3.7.2
    • PE 3.8.0
    • None

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support