Skip to content

fboss_route.py thrift crashing on list_optics #16

Closed

Description

@jaymzh

Using a Wedge 40 with pure open-source ONL & FBOSS, list_optics crashes with a thrift error:

root@onl-wedge:~# fboss_route.py list_optics
Traceback (most recent call last):
  File "/usr/local/bin/fboss_route.py", line 188, in <module>
    args.func(args)
  File "/usr/local/bin/fboss_route.py", line 72, in list_optics
    for key,val in client.getTransceiverInfo(range(1,64)).iteritems():
  File "/usr/local/lib/python2.7/dist-packages/fboss/ctrl/FbossCtrl.py", line 1023, in getTransceiverInfo
    return self.recv_getTransceiverInfo()
  File "/usr/local/lib/python2.7/dist-packages/fboss/ctrl/FbossCtrl.py", line 1040, in recv_getTransceiverInfo
    raise x
thrift.Thrift.TApplicationException: St12out_of_range: flat_map::at key not found

Activity

  1. sonoble commented on Jan 7, 2016

    @sonoble
    Contributor

    I will dig into the issue (since it is possibly something in the way I setup fbthrift in ONL)

  2. oridb commented on Jan 7, 2016

    @oridb
    Contributor

    It's potentially a bug in the fboss agent itself. I'll try fixing the build and pushing an update soon.

  3. sonoble commented on Jan 7, 2016

    @sonoble
    Contributor

    Thanks! That would be great. I am trying to rebuild using the latest fboss but struggling finding the RadixTree.h referenced in this commit c77b627

  4. oridb commented on Jan 7, 2016

    @oridb
    Contributor

    Yes, known issue -- it was missed in the last push. I'll have a working build out tomorrow.

  5. oridb commented on Jan 15, 2016

    @oridb
    Contributor

    This should be fixed. Let me know if it's still busted.

  6. jaymzh commented on Jan 15, 2016

    @jaymzh
    ContributorAuthor

    Nope this is still a problem.

  7. reopened this on Jan 15, 2016
  8. capveg commented on Sep 1, 2017

    @capveg

    This code has moved into qsfp_server (for the server side) and the fboss shell on the client side, so none of the code that caused this bug still exists. I'm going to close this issue.

  9. added a commit that references this issue on Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions