Skip to content

rss-ladder don't work on stand without NUMA nodes. Workaround --no-color #202

Open
@strizhechenko

Description

@strizhechenko
[root@reductor-stand statistic]# rss-ladder eth1 --cpus 0
- distribute interrupts of eth1 (-rx-) on socket None
Traceback (most recent call last):
  File "/usr/bin/rss-ladder", line 8, in <module>
    RSSLadder()
  File "/usr/lib/python2.6/site-packages/netutils_linux_tuning/rss_ladder.py", line 35, in __init__
    self.eval()
  File "/usr/lib/python2.6/site-packages/netutils_linux_tuning/rss_ladder.py", line 55, in eval
    self.apply(self.__eval(postfix, interrupts))
  File "/usr/lib/python2.6/site-packages/netutils_linux_tuning/rss_ladder.py", line 67, in apply
    print_(self.color.wrap(warning, Color.YELLOW))
AttributeError: 'NoneType' object has no attribute 'wrap'

--no-color is workaround

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions