• Petr Pudlak's avatar
    Update QA to test custom SSH ports · ec7b6d63
    Petr Pudlak authored
    
    
    This patch adds the `ssh-port` option. If set to a non-standard port,
    the QA script sets up the default node group with this port, and before
    running tests it adds `iptable` rules to all nodes so that the nodes
    see each other's SSH servers as running on this port.
    Their SSH configuration is _not_ changed and other machines see the
    nodes on 22 as before.
    
    The `iptable` rules are reset on each QA run, trying to preserve any
    existing rules (not created by the script) that might be present.
    Signed-off-by: default avatarPetr Pudlak <pudlak@google.com>
    Reviewed-by: default avatarHrvoje Ribicic <riba@google.com>
    ec7b6d63
ganeti-qa.py 30.4 KB