Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-48345

Cloud statistics is still counting the hours even after terminated the Azure VM agents

    XMLWordPrintable

Details

    Description

      Hi Team,

       

      Have terminated the Azure VM agent but Cloud stat is still counting the hours of Azure VM agent. It is simply using the resources on Jenkins and don't have clue to terminate this

       

      Attached the screen shot

      Attachments

        Issue Links

          Activity

            zackliu Chenyang Liu added a comment -

            Previously, I thought only when provision process being terminated by accident will cause the issue. However, it seems a success provision will also cause this problem from your logs. I don't know how to reproduce this issue when all the provision processes are good.

            So, my solution is to detect whether an uncompleted cloud statistics can map to a planned node to running node. Then mark the trace to complete or failed according to whether the node is exiting. Can you accept this solution?

            zackliu Chenyang Liu added a comment - Previously, I thought only when provision process being terminated by accident will cause the issue. However, it seems a success provision will also cause this problem from your logs. I don't know how to reproduce this issue when all the provision processes are good. So, my solution is to detect whether an uncompleted cloud statistics can map to a planned node to running node. Then mark the trace to complete or failed according to whether the node is exiting. Can you accept this solution?
            hentis Henti Smith added a comment -

            zackliu, Sounds good to me. 

            hentis Henti Smith added a comment - zackliu , Sounds good to me. 
            zackliu Chenyang Liu added a comment -

            Did you ever use "Shutdown Only" strategy? We found a bug when using "Shutdown Only" VMs, so that it will lead to a lot of never end cloud statistics events. We will fix it in the next version release. 

            zackliu Chenyang Liu added a comment - Did you ever use "Shutdown Only" strategy? We found a bug when using "Shutdown Only" VMs, so that it will lead to a lot of never end cloud statistics events. We will fix it in the next version release. 
            hentis Henti Smith added a comment -

            We are using Once strategy without shutdown, so each VM is used once and then deleted. 

            hentis Henti Smith added a comment - We are using Once strategy without shutdown, so each VM is used once and then deleted. 
            azure_devops Azure DevOps added a comment -

            Fixed in 0.7.0

            azure_devops Azure DevOps added a comment - Fixed in 0.7.0

            People

              zackliu Chenyang Liu
              sabithasathesh Sabitha Sathesh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: