Chelsio_Adapter_Config.py Broken

jsalvo

Cadet
Joined
Nov 13, 2017
Messages
3
Trying to run the chelsio adapter utility will error out:
zsh: /usr/sbin/chelsio_adapter_config.py: bad interpreter: /usr/bin/python2: no such file or directory

Seems that python2 isn't a thing in scale land, and is a dependency for the chelsio utility. Additionally apt is disabled, so can't install python2 to fix.

Is fairly important for anyone using chelsio nics (lots of truenas users).
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

Kris Moore

SVP of Engineering
Administrator
Moderator
iXsystems
Joined
Nov 12, 2015
Messages
1,471
You can raise a ticket for us to look at it, but if the upstream source for those tools isn't updating them, then that often makes it difficult for us. In the meantime, what functionality are you trying to adjust using that tool? Might make sense to know your use-case first, see if there's some other thing we should be exposing vs using legacy EoL tools.
 

jsalvo

Cadet
Joined
Nov 13, 2017
Messages
3
You can raise a ticket for us to look at it, but if the upstream source for those tools isn't updating them, then that often makes it difficult for us. In the meantime, what functionality are you trying to adjust using that tool? Might make sense to know your use-case first, see if there's some other thing we should be exposing vs using legacy EoL tools.
How can I raise a ticket?

The tool itself is used to flash firmware to the chelsio cards allowing different protocols and configurations. In my specific case I wanted to switch a T580 from 4x10gbe mode to a 2x40Gbe mode.

I have found that the driver source code does also build a binary of the py script... which is not distributed with truenas, but which would mitigate the lack of Python2.

For my use I managed to work around it, by building the binary on another machine, finding the firmware files needed, and then copying the binary and the firmware over to truenas and then flashing the card. But obviously this wouldn't be an acceptable work around in a normal production environment.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Top