Service Virtualization

 View Only
  • 1.  Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 06, 2020 07:53 AM
    Hello Team,

    We are seeing below error when executing the below command while Deploying the DevTest helm charts ,

     ./helm upgrade devtest105 ./devtest-0.1.2.tgz --install --values ./custom-values-SSL-Template.yaml --namespace lisa-npe

    UPGRADE FAILED

    ROLLING BACK

    Error: "devtest105" has no deployed releases

    Error: UPGRADE FAILED: "devtest105" has no deployed releases

    Reference Link
    https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/installing/DevTest-Docker-for-Kubernetes/Deploying-DevTest-in-On-Premise-Kubernetes-Cluster.html#concept.dita_13ff1f57-c869-43a8-97f9-82ee4f9be6c3

    Please guide what can be the reason for this error?

    Regards,
    Harika Gonela.



  • 2.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Broadcom Employee
    Posted Jul 06, 2020 10:06 AM
    Hello Harika,

                Which version of helm are you using currently? 

    Regards,
    Surya



    ------------------------------
    Client Services Consultant
    Broadcom
    ------------------------------



  • 3.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 07, 2020 05:55 AM
    Hi Surya,

    helm version in 2.13

    Regards,
    Harika Gonela.




  • 4.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Broadcom Employee
    Posted Jul 07, 2020 12:14 PM
    Harika,

              Can you please get more verbose logs using the -v flag. Please refer the helm upgrade command documentation at link below for more information. This will help us identify whats causing this error. 

    https://helm.sh/docs/helm/helm_upgrade/

    Thank You,
    Regards,
    Surya

    ------------------------------
    Client Services Consultant
    Broadcom
    ------------------------------



  • 5.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 08, 2020 06:50 AM
    Hi Surya,

    This is the error we are seeing,

    ./helm upgrade --debug devtest105 ./devtest-0.1.2.tgz --install --values ./custom-values.yaml --namespace lisa-npe --kubeconfig /home/xxx/.kube/config

    history.go:52: [debug] getting history for release devtest105

    Release "devtest105" does not exist. Installing it now.

    install.go:172: [debug] Original chart version: ""

    install.go:189: [debug] CHART PATH: /apps/kubernetes/devtest_install/devtest-0.1.2.tgz

     

    Error: template: devtest/charts/iaam/templates/statefulset.yaml:41:30: executing "devtest/charts/iaam/templates/statefulset.yaml" at <.Values.container.httpsPortName>: nil pointer evaluating interface {}.httpsPortName

    helm.go:94: [debug] template: devtest/charts/iaam/templates/statefulset.yaml:41:30: executing "devtest/charts/iaam/templates/statefulset.yaml" at <.Values.container.httpsPortName>: nil pointer evaluating interface {}.httpsPortName


    Reagrds,
    Harika Gonela.


  • 6.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 08, 2020 07:09 AM
    Hi Harika,

    It seems port numbers are not configured properly in your Yaml file. Nodeports need to be updated for all pods as needed for communication among different pods.

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 7.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Broadcom Employee
    Posted Jul 08, 2020 08:17 AM
    Hello Harika,

                  What would help is for us to have a quick webex session to debug this issue. Please send me a note at suryaanilkumar.suravarapu@broadcom.com to debug this further. 

    Regards,
    Surya


    ------------------------------
    Client Services Consultant
    Broadcom
    ------------------------------



  • 8.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 07, 2020 07:56 AM
    what is the value of "fullnameOverride" in your  configuration?

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 9.  RE: Devtest deployment on Kubernetes: helm Upgrade Command

    Posted Jul 08, 2020 06:51 AM
    Hi Vaibhav,

    Updated as below under each comp
     

    fullnameOverride: devtest105-config-server

    fullnameOverride: devtest105-iaam

    fullnameOverride: devtest105-registry

    fullnameOverride: devtest105-coordinator

    fullnameOverride: devtest105-simulator

    fullnameOverride: devtest105-portal

    fullnameOverride: devtest105-vse

    fullnameOverride: devtest105-vsc

    Regards,
    Harika Gonela.