bitnami / charts

Bitnami Helm Charts
https://bitnami.com
Other
8.85k stars 9.14k forks source link

Getting error while launching Jenkins SaaS service in IBM Cloud #2065

Closed ankurgarg21 closed 4 years ago

ankurgarg21 commented 4 years ago

Hi Team,

I am facing below error when launching Jenkins SaaS service offered by IBM in Catalog.

https://cloud.ibm.com/catalog/content/jenkins-Qml0bmFtaS1qZW5raW5z-global

Please if you can check on same.

2020/03/16 02:26:13 Terraform apply | Debug : Nap for 5 sec for Tiller installation to finish. 2020/03/16 02:26:13 Terraform apply | Error : issue with tiller installation.. exiting 2020/03/16 02:26:13 Terraform apply | Error : No response received from tiller in 60 sec 2020/03/16 02:26:13 Terraform apply | Client: &version.Version{SemVer:"v2.16.3", GitCommit:"1ee0254c86d4ed6887327dabed7aa7da29d7eb0d", GitTreeState:"clean"} 2020/03/16 02:26:13 Terraform apply | Error: could not find a ready tiller pod 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform apply | Terraform does not automatically rollback in the face of errors. 2020/03/16 02:26:13 Terraform apply | Instead, your Terraform state file has been partially updated with 2020/03/16 02:26:13 Terraform apply | any resources that successfully completed. Please address the error 2020/03/16 02:26:13 Terraform apply | above and apply again to incrementally change your infrastructure. 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform apply | 2020/03/16 02:26:13 Terraform APPLY error: Terraform APPLY errorexit status 1

Thanks, Ankur

beltran-rubo commented 4 years ago

Hi @ankurgarg21 It seems there was an issue installing Helm Tiller in your K8s cluster. It is failing before installing the Jenkins Helm Chart. @gmendel is that something you can help with?

gmendel commented 4 years ago

This look like a Schematics issue with the tiller version, open a ticket on the IBM cloud

ankurgarg21 commented 4 years ago

HI @gmendel

This look like a Schematics issue with the tiller version, open a ticket on the IBM cloud

Hi @gmendel Before open a case here I checked already with IBM on this and they reply below.

As they answered, support for third-party services is provided directly by the service provider. For this Jenkins offer, support is provided by Bitnami, as you can read at the end of the Readme page (https://cloud.ibm.com/catalog/content/jenkins-Qml0bmFtaS1qZW5raW5z-global#about) of the Catalog offer.

Can you give me more insight on this issue so that I can open case again with IBM.

Thanks in advance.

ankurgarg21 commented 4 years ago

HI @gmendel

This look like a Schematics issue with the tiller version, open a ticket on the IBM cloud

Hi @gmendel Before open a case here I checked already with IBM on this and they reply below.

As they answered, support for third-party services is provided directly by the service provider. For this Jenkins offer, support is provided by Bitnami, as you can read at the end of the Readme page (https://cloud.ibm.com/catalog/content/jenkins-Qml0bmFtaS1qZW5raW5z-global#about) of the Catalog offer.

Can you give me more insight on this issue so that I can open case again with IBM.

Thanks in advance.

Also I found tiller is not installed in Kube cluster which means issue is with Kube cluster not Jenkins service. I am checking with IBM support on this.

Please find the output below:

Admins-MacBook-Pro:~ admin$ helm status Error: could not find tiller

beltran-rubo commented 4 years ago

As @gmendel mentioned, this is probably an issue in IBM schematics. That is the responsible of installing Tiller to be able to deploy Helm Charts. Please report this issue to IBM support as it should be fixed in Schematics.

From Bitnami, we will be happy to help you with any issues with the Helm Chart deployment & configuration.

ankurgarg21 commented 4 years ago

As @gmendel mentioned, this is probably an issue in IBM schematics. That is the responsible of installing Tiller to be able to deploy Helm Charts. Please report this issue to IBM support as it should be fixed in Schematics.

From Bitnami, we will be happy to help you with any issues with the Helm Chart deployment & configuration.

Thanks @beltran-rubo I am checking with IBM and will get back to you if needed. Thanks for your support.

beltran-rubo commented 4 years ago

Thanks, please keep us in the loop with the solution and let us know if there is anything we can help you with.

ankurgarg21 commented 4 years ago

Thanks, please keep us in the loop with the solution and let us know if there is anything we can help you with.

I almost resolved this issue now ending up another issue where I need to overwrite value for nodeSelector, can you give me an example to overwrite same:

nodeSelector: {{- include "jenkins.tplValue" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }}

how to fill above value with node name.

thanks

beltran-rubo commented 4 years ago

the "nodeSelector" option is available via parameter. Check the "Set the deployment values" and you are able to configure that option.

Screen Shot 2020-03-31 at 14 51 38
ankurgarg21 commented 4 years ago

the "nodeSelector" option is available via parameter. Check the "Set the deployment values" and you are able to configure that option.

Screen Shot 2020-03-31 at 14 51 38

yes I know therefore I am asking for right syntax to fill the right value because I tried below didn't work: {ip-address}

ankurgarg21 commented 4 years ago

I found it myself, its working fine thanks.

{ ibm-cloud.kubernetes.io/internal-ip: 1.2.3.4 }