본문 바로가기
카테고리 없음

[AWX] Failed to seed from getrandom: Function not implemented

by Run DaramG 2021. 3. 19.

AWX 에서 Inventory 에 정상적으로 연결되는지 확인하기 위해 test 서버에 ping 으로 접속이 잘 되는지 확인하려는데 아래와 같은 에러가 발생했다. 아래와 같이 해결했다.

 

AWX Error

Failed to seed from getrandom: Function not implementedfailed to connect to the host via ssh: failed to seed from getrandom: function not implemented

 

 

원인

AWX Container 내부에 들어가서 ssh 명령어를 치니 동일한 에러가 발생한다. ssh는 설치되어있지만 정상적으로 동작하지 않는듯함.

 

AWX container 에 접속하는 방법은 AWX설치 서버에서 아래 명령어를 사용하면 된다.

$docker ps  # container 확인

 

$docker exec -it awx_task /bin/bash

$docker exec -t awx_web /bin/bash

 

해결방법

아래 명령어로 ssh를 재설치한다. AWX에서 inventory 접속 test시 정상적으로 됨을 확인함.

$sudo yum install openssh-clients

 

참조 : linuxhint.com/enable_ssh_centos8/

 

How to Enable SSH on CentOS 8 – Linux Hint

Freelancer & Linux System Administrator. Also loves Web API development with Node.js and JavaScript. I was born in Bangladesh. I am currently studying Electronics and Communication Engineering at Khulna University of Engineering & Technology (KUET), one of

linuxhint.com

 

댓글