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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.9.0
    • Fix Version/s: None
    • Component/s: Hypervisor Controller
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      cloudstack xenserver6.5
    • Flags:
      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

            People

            • Assignee:
              Unassigned
              Reporter:
              wenwenxiong wenwenxiong
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: