Jenkins fails to start due to java.io.IOException: Unable to read /var/lib/jenkins/config.xml

Solution Verified - Updated -

Issue

Jenkins Pod fails to start due to:

Jenkins failure:
java.io.IOException: Unable to read /var/lib/jenkins/config.xml
    at hudson.XmlFile.unmarshal(XmlFile.java:161)
    at jenkins.model.Jenkins.loadConfig(Jenkins.java:3055)
    at jenkins.model.Jenkins.access$1200(Jenkins.java:307)
    at jenkins.model.Jenkins$16.run(Jenkins.java:3073)
    at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169)
    at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282)
    at jenkins.model.Jenkins$7.runTask(Jenkins.java:1089)
    at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210)
    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: com.thoughtworks.xstream.converters.ConversionException:  : end tag name </org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud> must match start tag name <Empty> from line 158 (position: TEXT seen ...ut>\n    </org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud>... @207:63)  :  : end tag name </org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud> must match start tag name <Empty> from line 158 (position: TEXT seen ...ut>\n    </org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud>... @207:63) 

Environment

  • Red Hat OpenShift Container Platform 3.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In