Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible stops on 443 check #3

Open
YurkoWasHere opened this issue Mar 17, 2023 · 1 comment
Open

Ansible stops on 443 check #3

YurkoWasHere opened this issue Mar 17, 2023 · 1 comment

Comments

@YurkoWasHere
Copy link

open 443 port is from docker that is installed by the same Ansible

TASK [install_common : Install agent role] **************************************************************************************************************************************************************************************************
fatal: [host.name.example]: FAILED! => {"attempts": 1, "changed": true, "cmd": ["bash", "xxxxxxxxxxxxxxxxxxxxxxxx"], "delta": "0:00:00.035838", "end": "2023-03-17 04:32:27.179383", "msg": "non-zero return code", "rc": 255, "start": "2023-03-17 04:32:27.143545", "stderr": "", "stderr_lines": [], "stdout": "Setting Role as agent\nSetting Public Hostname as xxx.xxx.xxx.xxx\nSetting Manager Hostname as xxx.xxx.xxx.xxx\nSetting Default Manager Token as FSVtf345dw63\nChecking if DEFAULT_PROXY_LISTENING_PORT (443) is free\nCOMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME\ndocker-pr 24382 root    4u  IPv4 136309      0t0  TCP *:443 (LISTEN)\ndocker-pr 24387 root    4u  IPv6 137295      0t0  TCP *:443 (LISTEN)\nPort (443) is in use. Installation cannot continue.", "stdout_lines": ["Setting Role as agent", "Setting Public Hostname as xxx.xxx.xxx.xxx", "Setting Manager Hostname as xxx.xxx.xxx.xxx", "Setting Default Manager Token as FSVtf345dw63", "Checking if DEFAULT_PROXY_LISTENING_PORT (443) is free", "COMMAND     PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME", "docker-pr 24382 root    4u  IPv4 136309      0t0  TCP *:443 (LISTEN)", "docker-pr 24387 root    4u  IPv6 137295      0t0  TCP *:443 (LISTEN)", "Port (443) is in use. Installation cannot continue."]}

@FlorianKrammel
Copy link

FlorianKrammel commented Jul 8, 2023

Hi @YurkoWasHere ,

I've got the same issue. I didn't read the docs and did a "blind shot" for a test-environment on a single VM. It'll work with at least 3 hosts.

The nginx-proxy is probably the reason for conflicts if "web", "agent" and/or "guac" are on the same host. Port 443 is already in use.

The 'inventory' file should look like this:

[web]
host1
[db]
host1
[agent]
host2
[guac]
host3

I still didn't read the docs. The issue may or may not be well documented.

BG

Florian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants