ansible / workshops

Training Course for Ansible Automation Platform
MIT License
1.67k stars 1.11k forks source link

Ansible Networking Workshop error #2160

Open JamesG-Projects opened 3 days ago

JamesG-Projects commented 3 days ago

Problem Summary

Workshop Name: Ansible Automation Platform 2 Networking Automation Workshop

Workshop URL: http://m4j6m.example.opentlc.com/

Description:

The workshop provides 3 links -

  1. VS Code access
  2. Automation Controller
  3. SSH access

In some workshop user instances, when trying to access the VS Code URL, you get the message "This site cannot provide a secure connection. student3.m4j6m.example.opentlc.com sent an invalid response. ERR_SSL_PROTOCOLERROR". To circumvent this error you can change "https" to "http", and the login page will load. However_, if you then input the password, it says the password is incorrect and you cannot access the VS Code browser link.

In the event that a workshop user can successfully access the https link, this issue does not happen. Reproducing the issue is unreliable. Some instances work and some do not.

This is not an issue for the Automation Controller or the SSH access, only the VS Code link.

Issue Type

Bug

Extra vars file

N/A

Ansible Playbook Output

N/A

Ansible Version

[student@ansible-1 ~]$ ansible --version ansible [core 2.15.5] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/student/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible ansible collection location = /home/student/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.9.16 (main, Sep 12 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3) jinja version = 3.1.2 libyaml = True

Ansible Configuration

[student@ansible-1 ~]$ ansible-config dump --only-changed ACTION_WARNINGS(/etc/ansible/ansible.cfg) = False COLLECTIONS_ON_ANSIBLE_VERSION_MISMATCH(/etc/ansible/ansible.cfg) = ignore CONFIG_FILE() = /etc/ansible/ansible.cfg DEFAULT_HOST_LIST(/etc/ansible/ansible.cfg) = ['/home/student/lab_inventory/hosts'] DEFAULT_STDOUT_CALLBACK(/etc/ansible/ansible.cfg) = yaml DEFAULT_TIMEOUT(/etc/ansible/ansible.cfg) = 60 DEPRECATION_WARNINGS(/etc/ansible/ansible.cfg) = False DEVEL_WARNING(/etc/ansible/ansible.cfg) = False HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False INTERPRETER_PYTHON(/etc/ansible/ansible.cfg) = auto_silent PERSISTENT_COMMAND_TIMEOUT(/etc/ansible/ansible.cfg) = 200 PERSISTENT_CONNECT_TIMEOUT(/etc/ansible/ansible.cfg) = 200 RETRY_FILES_ENABLED(/etc/ansible/ansible.cfg) = False SYSTEM_WARNINGS(/etc/ansible/ansible.cfg) = False

Ansible Execution Node

CLI Ansible (Ansible Core)

Operating System

Windows & MacOS

IPvSean commented 2 days ago

I am trying to see what is going on, recreating now in mye nv