When this swarm test installs fuel only from ISO - script bootstrap_admin_node.sh is run by something on master-node, maybe init prosess or something else. In this case it works fine, because STDIN is a terminal.
But when update need to be installed, fuel-qa executes bootstrap_admin_node.sh after it over ssh. It seems pseudo-terminal is not allocated in this case.
If you use ssh command and specify command on command-line, like
ssh root@master-node fuelmenu # will not work
ssh -t root@master-node fuelmenu # will work
Fuelmenu can run only on TTY in interactive mode.
When this swarm test installs fuel only from ISO - script bootstrap_ admin_node. sh is run by something on master-node, maybe init prosess or something else. In this case it works fine, because STDIN is a terminal.
But when update need to be installed, fuel-qa executes bootstrap_ admin_node. sh after it over ssh. It seems pseudo-terminal is not allocated in this case.
If you use ssh command and specify command on command-line, like
ssh root@master-node fuelmenu # will not work
ssh -t root@master-node fuelmenu # will work
-t option forces allocation of pseudo-terminal