Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9537

cloudstack can only get network data of eth0 in the xenserver host

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.9.0
    • None
    • Hypervisor Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • cloudstack xenserver6.5
    • Important

    Description

      in com.cloud.hypervisor.xenserver.resource.CitrixResourceBase

      the getHostStats function
      .....
      if (type.equalsIgnoreCase("host")) {

      if (param.matches("pif_eth0_rx"))

      { hostStats.setNetworkReadKBs(getDataAverage(dataNode, col, numRows)/1000); }

      else if (param.matches("pif_eth0_tx")) {
      hostStats.setNetworkWriteKBs(getDataAverage(dataNode, col, numRows)/1000);
      .....

      this code is fix to get network data from eth0 from xenserver host

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            wenwenxiong wenwenxiong

            Dates

              Created:
              Updated:

              Issue deployment