redhat-performance/JetSki

badfish commands do not locate idrac_interfaces.yml due to incorrect path

dustinblack opened this issue · 0 comments

Changes introduced in commit 9568108 set the chdir for the shell command to the new path of the badfish.py scripts. However, the the cmd still expects that the badfish command is being run relative to the badfish_tempdir.path, which causes a failure in looking for the idrac_interfaces.yml file in the relative path config/idrac_interfaces.yml. Because of this, the commands to set the nodes to director boot order fails.

Unfortunately, the badfish command exits 0 regardless, so we don't easily catch this failure, and it is only evident if the nodes are not already in the default director boot order.