Skip to content
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

Portstat : TypeError: 'NoneType' object is not iterable #41

Closed
maq123 opened this issue Apr 25, 2017 · 14 comments
Closed

Portstat : TypeError: 'NoneType' object is not iterable #41

maq123 opened this issue Apr 25, 2017 · 14 comments
Assignees
Labels

Comments

@maq123
Copy link

maq123 commented Apr 25, 2017

HW :

    "aboot_platform": "x86_64-arista_7050_qx32s", 
    "aboot_version": "4.0.4-2086886", 
    "aboot_machine": "arista_7050_qx32s", 
    "aboot_build_date": "2014-09-25T06:28:52.000000000", 
    "minigraph_hwsku": "Arista-7050-QX32S"

Error

root@sonic:/usr/share/sonic/device/x86_64-arista_7050_qx32s# portstat 
Traceback (most recent call last):
  File "/usr/bin/portstat", line 333, in <module>
    main()
  File "/usr/bin/portstat", line 286, in main
    cnstat_dict = portstat.get_cnstat()
  File "/usr/bin/portstat", line 80, in get_cnstat
    for port in natsorted(counter_port_name_map):
  File "/usr/lib/python2.7/dist-packages/natsort/natsort.py", line 328, in natsorted
    key=natsort_keygen(key, alg=alg))
TypeError: 'NoneType' object is not iterable
@sihuihan88
Copy link
Contributor

Can you use sudo generate_dump and upload the file under /var/dump to provide more information?

@maq123
Copy link
Author

maq123 commented Apr 27, 2017

@sihuihan88
Copy link
Contributor

Thanks for providing the information. We find that there are some platform related files missing for arista_7050_qx32s and we are working with Arista to get the needed information as soon as possible. We will keep you posted. BTW, arista_7050_qx32 devices work well. That is also an option to use at the same time.

@maq123
Copy link
Author

maq123 commented Apr 27, 2017

ok, thanks for info. Well, I only have 32S in my lab :)

@maq123
Copy link
Author

maq123 commented May 1, 2017

any chance to tell when this has a chance to be resolved? Would be nice to know if it could be 1-2 weeks or maybe more than a month.

@stcheng
Copy link
Contributor

stcheng commented May 1, 2017

@maq123 Hi, @sihuihan88 is on vacation right now. I will follow up with this. According to my understanding, this issue won't last more than two weeks.

@maq123
Copy link
Author

maq123 commented May 1, 2017

@stcheng Thx for an update :)

@stcheng
Copy link
Contributor

stcheng commented May 12, 2017

@maq123 sonic-net/sonic-buildimage#597 This pull request is to address the support for the platform x86_64-arista_7050_qx32s. We need to evaluate both this pull request and the Broadcom SAI packages which we will update later.

@maq123
Copy link
Author

maq123 commented May 12, 2017

hi @stcheng , thanks for info. looking forward for the build then:)

@stcheng
Copy link
Contributor

stcheng commented Jun 6, 2017

@maq123 Hello, after working with Arista to finish all the platform supporting files, we have make it successful for SONiC to running on Arista-7050-QX32S platform. Once the two pull requests get merged, sonic-net/sonic-buildimage#671 and sonic-net/sonic-buildimage#674.

@maq123
Copy link
Author

maq123 commented Jun 6, 2017

@stcheng good! thx for info :)

@jleveque
Copy link
Contributor

@maq123: I believe this issue can safely be closed, but I wanted your input. Could you please confirm that this issue is resolved for you? Thanks.

@maq123
Copy link
Author

maq123 commented Sep 27, 2017

@jleveque sorry, I managed to get another piece of hardware (s6000) to play with SONiC and getting it running on Arista went bit down in my work queue list ;)
If you are interested in my feedback I can verify it on my HW but this might take some time.

@jleveque
Copy link
Contributor

@maq123: Thanks for the quick reply. Portstat appears to work fine on the Arista-7050-QX32S running the July 25 build of SONiC in our lab, so I am going to close this.

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

No branches or pull requests

4 participants