Issue Type: Bug Bug
Assignee: Kohsuke Kawaguchi
Components: ios-device-connector
Created: 19/Oct/12 9:38 AM
Description:

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.

Environment: Jenkins 1.486 on Linux x86 with Mac OS X 10.8.2 slaves
Project: Jenkins
Priority: Blocker Blocker
Reporter: Craig Newell
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to