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

Che pod is not deploying in "Deploy the CI\CD Demo" exercise #71

Open
fasalzaman opened this issue Aug 22, 2020 · 0 comments
Open

Che pod is not deploying in "Deploy the CI\CD Demo" exercise #71

fasalzaman opened this issue Aug 22, 2020 · 0 comments

Comments

@fasalzaman
Copy link
Contributor

In Exercise “Deploy the CI\CD Demo” (https://github.com/microsoft/aroworkshop/blob/master/_entries/04-02%20deploy_cicd_demo.md#deploy-the-demo ), che pod is not getting deployed.
When I ran “oc get pod”, Che pod was missing. As a result I was not able to run Cloud Native IDE exercise. (https://github.com/microsoft/aroworkshop/blob/master/_entries/04-04%20cloud_native_ide.md) .

Please find the output log below :

odl_user@Azure:~$ ./cicd/scripts/provision.sh deploy --enable-che --ephemeral --project-suffix aro

###############################################################################
MAKE SURE YOU ARE LOGGED IN:
$ oc login http://console.your.openshift.com
###############################################################################
WARN: Unknown option (ignored): --enable-che

########################################################################
OpenShift CI/CD Demo (Thu Aug 20 19:59:48 UTC 2020)
########################################################################
Deploying demo...
Now using project "dev-aro" on server "https://api.ks0z7mzg.centralus.aroapp.io:6443".

You can add applications to this project with the 'new-app' command. For example, try:

oc new-app ruby~https://github.com/sclorg/ruby-ex.git

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

Now using project "stage-aro" on server "https://api.ks0z7mzg.centralus.aroapp.io:6443".

You can add applications to this project with the 'new-app' command. For example, try:

oc new-app ruby~https://github.com/sclorg/ruby-ex.git

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node

Now using project "cicd-aro" on server "https://api.ks0z7mzg.centralus.aroapp.io:6443".

You can add applications to this project with the 'new-app' command. For example, try:

oc new-app ruby~https://github.com/sclorg/ruby-ex.git

to build a new example application in Ruby. Or use kubectl to deploy a simple Kubernetes application:

kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node
Warning: Group 'system:serviceaccounts:cicd-aro' not found
clusterrole.rbac.authorization.k8s.io/edit added: "system:serviceaccounts:cicd-aro"
Warning: Group 'system:serviceaccounts:cicd-aro' not found
clusterrole.rbac.authorization.k8s.io/edit added: "system:serviceaccounts:cicd-aro"
--> Deploying template "openshift/jenkins-ephemeral" to project cicd-aro

Jenkins (Ephemeral)
---------
Jenkins service, without persistent storage.

 WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing.

 A Jenkins service has been created in your project.  Log into Jenkins with your OpenShift account.  The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.

With parameters:
* Jenkins Service Name=jenkins
* Jenkins JNLP Service Name=jenkins-jnlp
* Enable OAuth in Jenkins=true
* Memory Limit=1Gi
* Jenkins ImageStream Namespace=openshift
* Disable memory intensive administrative monitors=false
* Jenkins ImageStreamTag=jenkins:2
* Allows use of Jenkins Update Center repository with invalid SSL certificate=false

--> Creating resources ...
route.route.openshift.io "jenkins" created
deploymentconfig.apps.openshift.io "jenkins" created
serviceaccount "jenkins" created
rolebinding.authorization.openshift.io "jenkins_edit" created
service "jenkins-jnlp" created
service "jenkins" created
--> Success
Access your application via route 'jenkins-cicd-aro.apps.ks0z7mzg.centralus.aroapp.io'
Run 'oc status' to view your app.
Using template https://raw.githubusercontent.com/siamaksade/openshift-cd-demo/ocp-4.3/cicd-template.yaml
--> Deploying template "cicd-aro/cicd" for "https://raw.githubusercontent.com/siamaksade/openshift-cd-demo/ocp-4.3/cicd-template.yaml" to project cicd-aro

cicd
---------
Use the following credentials for login:
Jenkins: use your OpenShift credentials
Nexus: admin/admin123
SonarQube: admin/admin
Gogs Git Server: gogs/gogs
With parameters:
* DEV project name=dev-aro
* STAGE project name=stage-aro
* Ephemeral=false
* WEBHOOK_SECRET=EgfCYckk # generated
* Integrate Quay.io=false
* Quay.io Username=
* Quay.io Password=
* Quay.io Image Repository=tasks-app

--> Creating resources ...
rolebinding.authorization.openshift.io "default_admin" created
buildconfig.build.openshift.io "tasks-pipeline" created
configmap "jenkins-slaves" created
job.batch "cicd-demo-installer" created
--> Success
JenkinsPipeline build strategy is deprecated. Use Jenkinsfiles directly on Jenkins or OpenShift Pipelines instead
Use 'oc start-build tasks-pipeline' to start a build.
Run 'oc status' to view your app.

Provisioning completed successfully!
(Completed in 0 min 24 sec)

odl_user@Azure:~$ oc get pod -n cicd-aro

NAME READY STATUS RESTARTS AGE
cicd-demo-installer-96t5s 0/1 Completed 0 7m8s
gogs-1-deploy 0/1 Completed 0 6m45s
gogs-1-qbfwb 1/1 Running 0 6m42s
gogs-postgresql-1-deploy 0/1 Completed 0 6m45s
gogs-postgresql-1-n5jsb 1/1 Running 0 6m42s
jenkins-2-deploy 0/1 Completed 0 6m34s
jenkins-2-nm2v4 1/1 Running 0 6m30s
nexus-1-b79kg 1/1 Running 0 6m35s
nexus-1-deploy 0/1 Completed 0 6m38s
nexus-1-hook-post 0/1 Completed 0 2m47s
sonardb-2-deploy 0/1 Completed 0 6m38s
sonardb-2-plqf4 1/1 Running 0 6m35s
sonarqube-1-deploy 0/1 Completed 0 6m39s
sonarqube-1-ghx8f 1/1 Running 0 6m36s

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

1 participant