saltstack/salt-ci-images

Fedora 33 and 34 docker container builds: Kitchen test failures with SSH

ScriptAutomate opened this issue · 2 comments

SSH fails to work properly when test-kitchen tries bringing up Fedora containers.

Fedora 33 example:

Fedora 34 example:

...
...
...
16:14:07         Waiting for SSH service on localhost:49154, retrying in 3 seconds
16:14:10         Waiting for SSH service on localhost:49154, retrying in 3 seconds
16:14:13  $$$$$$ [SSH] connection failed, terminating (#<Net::SSH::AuthenticationFailed: Authentication failed for user kitchen@localhost>)
16:14:13  >>>>>> ------Exception-------
16:14:13  >>>>>> Class: Kitchen::ActionFailed
16:14:13  >>>>>> Message: 1 actions failed.
16:14:13  >>>>>>     Failed to complete #create action: [SSH session could not be established] on py3-fedora-33-x86-64
16:14:13  >>>>>> ----------------------
16:14:13  >>>>>> Please see .kitchen/logs/kitchen.log for more details
16:14:13  >>>>>> Also try running `kitchen diagnose --all` for configuration

this is probably because they both don't support rsa with sha1 anymore. It's a similar problem for the AMI. We use user_data on the ami to add it back. It will only be so long until they stop supporting it in openssh at all.

This one is fixed with new keys