-
Notifications
You must be signed in to change notification settings - Fork 16.7k
[stable/Jenkins] Help needed Install jenkins offline #22174
Comments
I found the same issue here |
Another cluster that can access internet we can see the metadata been downloaded: `2020-04-20 09:40:44.439+0000 [id=37] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata 2020-04-20 09:43:31.956+0000 [id=37] INFO hudson.model.UpdateSite#updateData: Obtained the latest update center data file for UpdateSource default |
I found some jenkins core properties here: |
Please provide more details to assist with replicating the issue. I can successfully deploy chart v1.18.0 to a local kind (kubernetes in docker) cluster with no internet connectivity. I get a SEVERE error but it doesn't prevent Jenkins from starting. Initial setup with internet connectivity
Partial log
|
@wmcdona89 Now that have no access to the Internet, How does it completes downloading metadata? If you know it , pls show me. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Is your feature request related to a problem? Please describe.
My K8S cluster can not access internet, so I pre-installed all the plugins that needed.
But when I install Jenkins chart, the master will try to download metadata from jenkins update center, it will failed because the K8S can not access internet
Describe the solution you'd like
Provide install jenkins offline
the log file
Running from: /usr/share/jenkins/jenkins.war webroot: EnvVars.masterEnvVars.get("JENKINS_HOME") 2020-04-20 08:54:09.809+0000 [id=1] INFO org.eclipse.jetty.util.log.Log#initialized: Logging initialized @410ms to org.eclipse.jetty.util.log.JavaUtilLog 2020-04-20 08:54:09.951+0000 [id=1] INFO winstone.Logger#logInternal: Beginning extraction from war file 2020-04-20 08:54:09.991+0000 [id=1] WARNING o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath 2020-04-20 08:54:10.082+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: jetty-9.4.z-SNAPSHOT; built: 2019-05-02T00:04:53.875Z; git: e1bc35120a6617ee3df052294e433f3a25ce7097; jvm 1.8.0_242-b08 2020-04-20 08:54:10.419+0000 [id=1] INFO o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet 2020-04-20 08:54:10.492+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0 2020-04-20 08:54:10.492+0000 [id=1] INFO o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults 2020-04-20 08:54:10.501+0000 [id=1] INFO o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 600000ms 2020-04-20 08:54:10.934+0000 [id=1] INFO hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME") 2020-04-20 08:54:11.084+0000 [id=1] INFO o.e.j.s.handler.ContextHandler#doStart: Started w.@798162bc{Jenkins v2.204.5,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war} 2020-04-20 08:54:11.111+0000 [id=1] INFO o.e.j.server.AbstractConnector#doStart: Started ServerConnector@64616ca2{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} 2020-04-20 08:54:11.111+0000 [id=1] INFO org.eclipse.jetty.server.Server#doStart: Started @1713ms 2020-04-20 08:54:11.114+0000 [id=20] INFO winstone.Logger#logInternal: Winstone Servlet Engine v4.0 running: controlPort=disabled 2020-04-20 08:54:12.965+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Started initialization 2020-04-20 08:54:13.361+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Listed all plugins 2020-04-20 08:54:20.971+0000 [id=26] INFO jenkins.InitReactorRunner$1#onAttained: Prepared all plugins 2020-04-20 08:54:21.197+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Started all plugins 2020-04-20 08:54:22.568+0000 [id=25] INFO h.ExtensionFinder$GuiceFinder$FaultTolerantScope$1#error: Failed to instantiate optional component hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl; skipping 2020-04-20 08:54:23.134+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Augmented all extensions 2020-04-20 08:54:23.240+0000 [id=25] INFO jenkins.model.Jenkins#setBuildsAndWorkspacesDir: Using non default workspaces directories: ${JENKINS_HOME}/workspace/${ITEM_FULLNAME}. 2020-04-20 08:54:23.250+0000 [id=25] INFO jenkins.InitReactorRunner$1#onAttained: Loaded all jobs 2020-04-20 08:54:23.283+0000 [id=37] INFO hudson.model.AsyncPeriodicWork#lambda$doRun$0: Started Download metadata 2020-04-20 08:54:23.307+0000 [id=37] INFO hudson.util.Retrier#start: Attempt #1 to do the action check updates server 2020-04-20 08:54:23.924+0000 [id=26] INFO o.s.c.s.AbstractApplicationContext#prepareRefresh: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@13f7cd22: display name [Root WebApplicationContext]; startup date [Mon Apr 20 16:54:23 CST 2020]; root of context hierarchy 2020-04-20 08:54:23.924+0000 [id=26] INFO o.s.c.s.AbstractApplicationContext#obtainFreshBeanFactory: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@13f7cd22]: org.springframework.beans.factory.support.DefaultListableBeanFactory@701fcb3b 2020-04-20 08:54:23.939+0000 [id=26] INFO o.s.b.f.s.DefaultListableBeanFactory#preInstantiateSingletons: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@701fcb3b: defining beans [filter,legacy]; root of factory hierarchy 2020-04-20 08:54:24.125+0000 [id=26] INFO o.c.j.p.k.KubernetesClientProvider$SaveableListenerImpl#onChange: Invalidating Kubernetes client: kubernetes null 2020-04-20 08:56:26.025+0000 [id=21] INFO winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty 2020-04-20 08:56:26.034+0000 [id=21] INFO o.e.j.server.AbstractConnector#doStop: Stopped ServerConnector@64616ca2{HTTP/1.1,[http/1.1]}{0.0.0.0:8080} 2020-04-20 08:56:26.036+0000 [id=21] INFO o.e.j.server.session.HouseKeeper#stopScavenging: node0 Stopped scavenging 2020-04-20 08:56:26.039+0000 [id=21] INFO jenkins.model.Jenkins#cleanUp: Stopping Jenkins
The text was updated successfully, but these errors were encountered: