Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Jenkins is installed #95

Open
sp1d3rino opened this issue Aug 6, 2018 · 3 comments
Open

Only Jenkins is installed #95

sp1d3rino opened this issue Aug 6, 2018 · 3 comments

Comments

@sp1d3rino
Copy link

I'm using minishift v1.21.0+a8c8b37

After oc new-app -n cicd -f c:\cicd-template.yaml command only Jenkis is installed.
I can't find other apps into cicd project
??

@siamaksade
Copy link
Owner

What does the installer pod logs show?

@sp1d3rino
Copy link
Author

OPENSHIFT_JENKINS_JVM_ARCH='', CONTAINER_MEMORY_IN_MB='2048', using /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/jre/bin/java and /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-0.b14.el7_4.x86_64/bin/javac
Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true
Generating kubernetes-plugin configuration (/opt/openshift/configuration/config.xml.tpl) ...
Generating kubernetes-plugin credentials (/var/lib/jenkins/credentials.xml.tpl) ...
Copying Jenkins configuration to /var/lib/jenkins ...
Copying 102 files to /var/lib/jenkins ...
Creating initial Jenkins 'admin' user ...
Migrating slave image configuration to current version tag ...

  • exec java -XX:+UseParallelGC -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Xmx1024m -Dfile.encoding=UTF8 -Duser.home=/var/lib/jenkins -Djavamelody.application-name=JENKINS -jar /usr/lib/jenkins/jenkins.war
    Picked up JAVA_TOOL_OPTIONS: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -Dsun.zip.disableMemoryMapping=true
    Running from: /usr/lib/jenkins/jenkins.war
    webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
    Aug 06, 2018 10:45:47 PM Main deleteWinstoneTempContents
    WARNING: Failed to delete the temporary Winstone file /tmp/winstone/jenkins.war
    Aug 06, 2018 10:45:47 PM org.eclipse.jetty.util.log.Log initialized
    INFO: Logging initialized @320ms to org.eclipse.jetty.util.log.JavaUtilLog
    Aug 06, 2018 10:45:47 PM winstone.Logger logInternal
    INFO: Beginning extraction from war file
    Aug 06, 2018 10:45:48 PM org.eclipse.jetty.server.handler.ContextHandler setContextPath
    WARNING: Empty contextPath
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.Server doStart
    INFO: jetty-9.4.z-SNAPSHOT
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.webapp.StandardDescriptorProcessor visitServlet
    INFO: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
    INFO: DefaultSessionIdManager workerName=node0
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.session.DefaultSessionIdManager doStart
    INFO: No SessionScavenger set, using defaults
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.session.HouseKeeper startScavenging
    INFO: Scavenging every 600000ms
    Jenkins home directory: /var/lib/jenkins found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.handler.ContextHandler doStart
    INFO: Started w.@6c345c5f{/,file:///var/lib/jenkins/war/,AVAILABLE}{/var/lib/jenkins/war}
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.AbstractConnector doStart
    INFO: Started ServerConnector@ce5a68e{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
    Aug 06, 2018 10:45:49 PM org.eclipse.jetty.server.Server doStart
    INFO: Started @2792ms
    Aug 06, 2018 10:45:49 PM winstone.Logger logInternal
    INFO: Winstone Servlet Engine v4.0 running: controlPort=disabled
    Aug 06, 2018 10:45:50 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Started initialization
    Aug 06, 2018 10:45:50 PM hudson.PluginManager loadDetachedPlugins
    INFO: Upgrading Jenkins. The last running version was 2.89.2. This Jenkins is version 2.89.4.
    Aug 06, 2018 10:45:50 PM hudson.PluginManager loadDetachedPlugins
    INFO: Upgraded Jenkins from version 2.89.2 to version 2.89.4. Loaded detached plugins (and dependencies): []
    Aug 06, 2018 10:45:50 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/authentication-tokens/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:51 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/conditional-buildstep/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:52 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/git-server/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:54 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/jira/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:54 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/job-dsl/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:54 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/jsch/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:57 PM hudson.ClassicPluginStrategy createClassJarFromWebInfClasses
    WARNING: Created /var/lib/jenkins/plugins/run-condition/WEB-INF/lib/classes.jar; update plugin to a version created with a newer harness
    Aug 06, 2018 10:45:57 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Listed all plugins
    Aug 06, 2018 10:46:06 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Prepared all plugins
    Aug 06, 2018 10:46:06 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Started all plugins
    Aug 06, 2018 10:46:09 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Augmented all extensions
    Aug 06, 2018 10:46:09 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Loaded all jobs
    Aug 06, 2018 10:46:09 PM hudson.model.AsyncPeriodicWork$1 run
    INFO: Started Download metadata
    Aug 06, 2018 10:46:10 PM hudson.model.AllView migrateLegacyPrimaryAllViewLocalizedName
    INFO: JENKINS-38606 detected for AllView in hudson.model.Hudson@69f7993e; renaming view from All to all
    Aug 06, 2018 10:46:10 PM io.fabric8.jenkins.openshiftsync.GlobalPluginConfiguration$1 doRun
    INFO: Waiting for Jenkins to be started
    Aug 06, 2018 10:46:10 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@42bf577b: display name [Root WebApplicationContext]; startup date [Mon Aug 06 22:46:10 UTC 2018]; root of context hierarchy
    Aug 06, 2018 10:46:10 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@42bf577b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@7cae90bc
    Aug 06, 2018 10:46:10 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7cae90bc: defining beans [authenticationManager]; root of factory hierarchy
    Aug 06, 2018 10:46:10 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@4295632b: display name [Root WebApplicationContext]; startup date [Mon Aug 06 22:46:10 UTC 2018]; root of context hierarchy
    Aug 06, 2018 10:46:10 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@4295632b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@2a7243c0
    Aug 06, 2018 10:46:10 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@2a7243c0: defining beans [filter,legacy]; root of factory hierarchy
    Aug 06, 2018 10:46:11 PM jenkins.InitReactorRunner$1 onAttained
    INFO: Completed initialization
    Aug 06, 2018 10:46:11 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher start
    INFO: Now handling startup build configs!!
    Aug 06, 2018 10:46:11 PM io.fabric8.jenkins.openshiftsync.ConfigMapWatcher start
    INFO: Now handling startup config maps!!
    Aug 06, 2018 10:46:11 PM io.fabric8.jenkins.openshiftsync.ImageStreamWatcher start
    INFO: Now handling startup image streams!!
    Aug 06, 2018 10:46:11 PM io.fabric8.jenkins.openshiftsync.SecretWatcher start
    INFO: Now handling startup secrets!!
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftSetOAuth setOauth
    INFO: OpenShift OAuth: enable oauth set to true force true lastCheck Thu Jan 01 00:00:00 UTC 1970
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftSetOAuth setOauth
    INFO: OpenShift OAuth: configured security realm on startup: hudson.security.HudsonPrivateSecurityRealm@7e72997a last check Thu Jan 01 00:00:00 UTC 1970
    Aug 06, 2018 10:46:11 PM hudson.model.AsyncPeriodicWork$1 run
    INFO: Finished Download metadata. 1,486 ms
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
    INFO: OpenShift OAuth: provider: OpenShiftProviderInfo: issuer: https://192.168.99.100:8443 auth ep: https://192.168.99.100:8443/oauth/authorize token ep: https://192.168.99.100:8443/oauth/token
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
    INFO: OpenShift OAuth returning true with namespace cicd SA dir null default /run/secrets/kubernetes.io/serviceaccount SA name null default jenkins client ID null default system:serviceaccount:cicd:jenkins secret null default eyJhb....... redirect null default https://192.168.99.100:8443 server null default https://openshift.default.svc
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
    INFO: OpenShift OAuth: provider: OpenShiftProviderInfo: issuer: https://192.168.99.100:8443 auth ep: https://192.168.99.100:8443/oauth/authorize token ep: https://192.168.99.100:8443/oauth/token
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftOAuth2SecurityRealm populateDefaults
    INFO: OpenShift OAuth returning true with namespace cicd SA dir null default /run/secrets/kubernetes.io/serviceaccount SA name null default jenkins client ID null default system:serviceaccount:cicd:jenkins secret null default eyJhb....... redirect null default https://192.168.99.100:8443 server null default https://openshift.default.svc
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftSetOAuth setOauth
    INFO: OpenShift OAuth: running in OpenShift pod with required OAuth features: true
    Aug 06, 2018 10:46:11 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:11 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:11 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:11 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:11 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:11 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
    INFO: Refreshing org.springframework.web.context.support.StaticWebApplicationContext@584dd491: display name [Root WebApplicationContext]; startup date [Mon Aug 06 22:46:11 UTC 2018]; root of context hierarchy
    Aug 06, 2018 10:46:11 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
    INFO: Bean factory for application context [org.springframework.web.context.support.StaticWebApplicationContext@584dd491]: org.springframework.beans.factory.support.DefaultListableBeanFactory@7b690afd
    Aug 06, 2018 10:46:11 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
    INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@7b690afd: defining beans [filter,legacy]; root of factory hierarchy
    Aug 06, 2018 10:46:11 PM org.openshift.jenkins.plugins.openshiftlogin.OpenShiftSetOAuth setOauth
    INFO: OpenShift OAuth: Jenkins security realm set to OpenShift OAuth
    Aug 06, 2018 10:46:11 PM hudson.WebAppMain$3 run
    INFO: Jenkins is fully up and running
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.SecretWatcher$1 doRun
    INFO: creating Secret watch for namespace cicd and resource version11494
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.JenkinsUtils removePodTemplate
    INFO: Removing PodTemplate: maven
    Aug 06, 2018 10:46:12 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.JenkinsUtils addPodTemplate
    INFO: Adding PodTemplate: maven
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.ConfigMapWatcher$1 doRun
    INFO: creating ConfigMap watch for namespace cicd and resource version 11494
    Aug 06, 2018 10:46:12 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.BuildWatcher$1 doRun
    INFO: creating Build watch for namespace cicd and resource version 11494
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.ImageStreamWatcher$1 doRun
    INFO: creating ImageStream watch for namespace cicd and resource version 11494
    Aug 06, 2018 10:46:12 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:12 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.PipelineJobListener buildConfigProjectForJob
    INFO: Found BuildConfigProjectProperty for namespace: cicd name: tasks-pipeline
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.PipelineJobListener upsertWorkflowJob
    INFO: Upsert WorkflowJob cicd-tasks-pipeline to BuildConfig: cicd/tasks-pipeline in OpenShift
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher$3 call
    INFO: Created job cicd-tasks-pipeline from BuildConfig NamespaceName{cicd:tasks-pipeline} with revision: 11352
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher$1 doRun
    INFO: creating BuildConfig watch for namespace cicd and resource version 11494
    Aug 06, 2018 10:46:12 PM okhttp3.internal.platform.Platform log
    INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?
    Aug 06, 2018 10:46:12 PM io.fabric8.jenkins.openshiftsync.BuildConfigWatcher updateJob
    INFO: Updated job cicd-tasks-pipeline from BuildConfig NamespaceName{cicd:tasks-pipeline} with revision: 11496

@siamaksade
Copy link
Owner

This is the Jenkins log. In the list of pods, you should see a pod that has "installer" in the name. Send the logs of that pod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants