Jenkins Errors due to AD

487 views
Skip to first unread message

Veera Mani

unread,
Jun 21, 2019, 10:27:16 AM6/21/19
to Jenkins Users

Hi,

I am running  jenkins-2.150.3-1.1.noarch 


But  after  Integrating with AD  , one fine day  the jenkins denied login for the AD users.
On  restart , we found the error on the  jenkins console instead of login menu.

Below is the best snippets which is a known error in jenkins.

Jun 18, 2019 12:02:12 PM jenkins.InitReactorRunner$1 onTaskFailed
SEVERE
: Failed Loading global config
java
.io.IOException: Unable to read /var/lib/jenkins/config.xml
        at hudson
.XmlFile.unmarshal(XmlFile.java:181)
        at hudson
.XmlFile.unmarshal(XmlFile.java:161)
        at jenkins
.model.Jenkins.loadConfig(Jenkins.java:3025)
        at jenkins
.model.Jenkins.access$1300(Jenkins.java:309)
        at jenkins
.model.Jenkins$13.run(Jenkins.java:3124)
        at org
.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
        at org
.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:296)
        at jenkins
.model.Jenkins$5.runTask(Jenkins.java:1083)
        at org
.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:214)
        at org
.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117)
        at java
.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java
.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java
.lang.Thread.run(Thread.java:748)
Caused by: jenkins.util.xstream.CriticalXStreamException: hudson.plugins.active_directory.ActiveDirectorySecurityRealm : hudson.plugins.active_directory.ActiveDirectorySecurityRealm
---- Debugging information ----
message            
: hudson.plugins.active_directory.ActiveDirectorySecurityRealm
cause
-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause
-message       : hudson.plugins.active_directory.ActiveDirectorySecurityRealm
class               : hudson.model.Hudson
required
-type       : hudson.model.Hudson
converter
-type      : hudson.util.RobustReflectionConverter
path                
: /hudson/securityRealm
line number        
: 17
version            
: not available
-------------------------------

I used the below  article to remove the security and restore the  login's . 



<useSecurity>false</useSecurity>
<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
<securityRealm class="hudson.security.SecurityRealm$None"/>



 After  re-joining the AD  it works fine for a day  but it breaks the AD  integration again with the same old error.
Do we have a stable version of  Jenkins ?
Is there any backup policy I can configure to restore the  best working configuration of jenkins?

Thanks 



Slide

unread,
Jun 21, 2019, 1:27:23 PM6/21/19
to Jenkins User Mailing List
What version of the Active Directory plugin do you have? Is it the latest?

Regards,

Alex

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2506ae09-109c-4614-9106-0763c3a88ef0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

Veera Mani

unread,
Jun 21, 2019, 4:50:20 PM6/21/19
to Jenkins Users
The Version of Active Directory  is  2.16 and updated  to the  latest available.



To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages