opiproject / lab

OPI lab and automation
Apache License 2.0
1 stars 6 forks source link

ansible(mev): looks like HTTP proxy (squid) is not working #50

Open glimchb opened 2 months ago

glimchb commented 2 months ago
TASK [ansible.builtin.package] **************************************************************************************************************************************************************
fatal: [mev]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "rc": 1, "results": []}
Sakethanne commented 2 months ago

While I am trying to install the latest telegraf on the MEV host, is is failing from the past few days, upon logging into it, found that the NetworkManager service is down from last 5 months. Below is the log. [root@ipu-acc ~]# systemctl status NetworkManager-wait-online.service × NetworkManager-wait-online.service - Network Manager Wait Online Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; preset: disabled) Active: failed (Result: exit-code) since Wed 2024-03-13 17:25:05 UTC; 5 months 14 days ago Docs: man:NetworkManager-wait-online.service(8) Process: 1057 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=1/FAILURE) Main PID: 1057 (code=exited, status=1/FAILURE) CPU: 22ms Even after restarting the service, still when I try to install telegraf on it through docker, it keeps failing with the same error. [root@ipu-acc ~]# systemctl status NetworkManager-wait-online.service ● NetworkManager-wait-online.service - Network Manager Wait Online Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; preset: disabled) Active: active (exited) since Mon 2024-08-26 22:53:12 UTC; 10s ago Docs: man:NetworkManager-wait-online.service(8) Process: 214265 ExecStart=/usr/bin/nm-online -s -q (code=exited, status=0/SUCCESS) Main PID: 214265 (code=exited, status=0/SUCCESS) CPU: 14ms

glimchb commented 1 month ago

probably this commit broke it https://github.com/opiproject/lab/commit/2a39c64249bc3969c8164bf6b952bcbbf5fe8155