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

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

    Details

    • Similar Issues:

      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

            Hide
            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?

            Show
            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?
            Hide
            hentis Henti Smith added a comment -

            Chenyang Liu, Sounds good to me. 

            Show
            hentis Henti Smith added a comment - Chenyang Liu , Sounds good to me. 
            Hide
            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. 

            Show
            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. 
            Hide
            hentis Henti Smith added a comment -

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

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

            Fixed in 0.7.0

            Show
            azure_devops Azure DevOps added a comment - Fixed in 0.7.0

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: