Skip to content

Incomplete gNMI updates #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
bluecmd opened this issue Nov 2, 2024 · 2 comments
Open

Incomplete gNMI updates #12

bluecmd opened this issue Nov 2, 2024 · 2 comments

Comments

@bluecmd
Copy link
Contributor

bluecmd commented Nov 2, 2024

In some cases, for SONIX this is on both lab-xpd1 and lab-xpd2 as of this writing, the update seems to be incomplete:

update: {
  timestamp: 1730558895000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "MCU-1-41"
        }
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"memory\":{\"available\":\"4243460096\"}}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "xxx"
  }
}

and

update: {
  timestamp: 1730558897000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "OCH-1-1-L1"
        }
      }
      elem: {
        name: "openconfig-terminal-device:optical-channel"
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"laser-freq-offset\":\"656\"}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "xxx"
  }
}

and

update: {
  timestamp: 1730559030000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "PSU-1-21"
        }
      }
      elem: {
        name: "power-supply"
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"output-power\":\"QwwAAA==\"}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "10.99.99.31"
  }
}

Is only the first field serialized? If so, why? Is there something else going on?

@bluecmd
Copy link
Contributor Author

bluecmd commented Apr 30, 2025

@bluecmd
Copy link
Contributor Author

bluecmd commented Apr 30, 2025

Things to check:

  • Remove and re-add gNMI metrics configuration?
  • Reboot?
  • Firmware upgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant