#404 add support for TEST_SSHD_USEDNS_NO
Merged by astepano. Opened by rmeggins.
rmeggins/standard-test-roles bootcmd-UseDNS-no  into  master

Download 404.patch

TEST_SSHD_USEDNS_NO

Some EL7 systems have sshd configured with UseDNS yes by default. This will
cause terrible performance with ssh and especially with Ansible. You can use
--sshd-usedns-no or set TEST_SSHD_USEDNS_NO=True to configure the VM to use
UseDNS no instead.

rebased onto 88a68724f5a0d45c96063f7e2eedec997d79114b

This fix works for me flawlessly. One question, shouldn't this be a default behavior for RHEL 7? Without adding TEST_SSHD_USEDNS_NO=True performance of rhel 7 VM is terrible.

This fix works for me flawlessly. One question, shouldn't this be a default behavior for RHEL 7? Without adding TEST_SSHD_USEDNS_NO=True performance of rhel 7 VM is terrible.

I think we need to add some sort of item to our config.json which will allow to specify environment variables for each image e.g.

    {
      "name": "rhel-7",
      ...
      "env": {
         "TEST_SSHD_USEDNS_NO": "True"
      }

we need something like this for el6 as well to set the ssh cipher parameters, which we definitely only want to set for el6:

    {
      "name": "rhel-6",
      ...
      "env": {
         "TEST_EXTRA_SSH_ARGS": "-o PubkeyAcceptedKeyTypes=+ssh-rsa"
      }

@rmeggins please let me know when this PR can be merged.

@rmeggins please let me know when this PR can be merged.

It is ready to be merged

Commit 5bb8fc13 fixes this pull-request

Pull-Request has been merged by astepano

Pull-Request has been merged by astepano

Metadata