Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15578

hudson.security.AccessDeniedException2: anonymous is missing the Administer permission

      I have my Jenkins installation configured to require LDAP logins and only certain users are administrators and the rest just have read only rights. When restarting Jenkins after installing the ios-device-connector plugin, all my slaves fail to connect with the following:

      ERROR: Unexpected error in launching a slave. This is probably a bug in Jenkins.
      hudson.security.AccessDeniedException2: anonymous is missing the Administer permission
              at hudson.security.ACL.checkPermission(ACL.java:54)
              at hudson.model.Node.checkPermission(Node.java:393)
              at org.jenkinsci.plugins.ios.connector.iOSDeviceList.update(iOSDeviceList.java:91)
              at org.jenkinsci.plugins.ios.connector.ComputerListenerImpl.onOnline(ComputerListenerImpl.java:21)
              at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:396)
              at hudson.slaves.SlaveComputer.setChannel(SlaveComputer.java:317)
              at hudson.plugins.sshslaves.SSHLauncher.startSlave(SSHLauncher.java:454)
              at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:293)
              at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:200)
              at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
              at java.util.concurrent.FutureTask.run(FutureTask.java:166)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
              at java.lang.Thread.run(Thread.java:679)
      

      If I allow all users administrator access, then the slaves reconnect correctly and I can see the iOS device status.

          [JENKINS-15578] hudson.security.AccessDeniedException2: anonymous is missing the Administer permission

          Craig Newell created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Labels New: lts-candidate
          Oliver Gondža made changes -
          Labels Original: lts-candidate New: 1.509.4-fixed
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146334 ] New: JNJira + In-Review [ 191888 ]

            kohsuke Kohsuke Kawaguchi
            craign Craig Newell
            Votes:
            7 Vote for this issue
            Watchers:
            13 Start watching this issue

              Created:
              Updated:
              Resolved: