sandialabs / sceptre-phenix

phenix is an orchestration tool and GUI for Sandia's minimega platform
https://sandialabs.github.io/sceptre-docs/
GNU General Public License v3.0
17 stars 23 forks source link

fix: avoid tunnel failures from expected errors #177

Closed activeshadow closed 7 months ago

activeshadow commented 7 months ago

When cc tunnel is run in a namespace that has multiple nodes, each node will try to create the tunnel and only one will succeed since the VM being used for the tunnel will only be on one node. The other nodes will report back an error, and this was causing phēnix to assume the tunnel creation had failed.

This commit updates the cc tunnel command to be prefixed with the node to execute the command on rather than having it sprayed to all nodes.

activeshadow commented 7 months ago

I have tested this fix in an environment with multiple compute nodes.