Skip to content

Conversation

@alissonoliveira0607
Copy link

This PR aims to address the following provisioning bug:

TASK [Install Zabbix Agent2] ***********************************************
fatal: [app]: FAILED! => {"cache_update_time": 1715734020, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold" install 'zabbix-agent2' 'zabbix-agent2-plugin-mongodb' 'zabbix-agent2-plugin-mssql' 'zabbix-agent2-plugin-postgresql'' failed: E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mongodb/zabbix-agent2-plugin-mongodb_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable) Could not connect to repo.zabbix.com:443 (178.128.6.101), connection timed out
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix/zabbix-agent2_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mssql/zabbix-agent2-plugin-mssql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
", "rc": 100, "stderr": "E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mongodb/zabbix-agent2-plugin-mongodb_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable) Could not connect to repo.zabbix.com:443 (178.128.6.101), connection timed out
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix/zabbix-agent2_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mssql/zabbix-agent2-plugin-mssql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
", "stderr_lines": ["E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mongodb/zabbix-agent2-plugin-mongodb_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable) Could not connect to repo.zabbix.com:443 (178.128.6.101), connection timed out", "E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-postgresql/zabbix-agent2-plugin-postgresql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)", "E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix/zabbix-agent2_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)", "E: Failed to fetch https://repo.zabbix.com/zabbix/6.0/debian/pool/main/z/zabbix-agent2-plugin-mssql/zabbix-agent2-plugin-mssql_6.0.29-1%2bdebian11_amd64.deb Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)", "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following NEW packages will be installed:\n zabbix-agent2 zabbix-agent2-plugin-mongodb zabbix-agent2-plugin-mssql\n zabbix-agent2-plugin-postgresql\n0 upgraded, 4 newly installed, 0 to remove and 20 not upgraded.\nNeed to get 12.8 MB of archives.\nAfter this operation, 41.5 MB of additional disk space will be used.\nErr:1 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-mongodb amd64 1:6.0.29-1+debian11\n Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable) Could not connect to repo.zabbix.com:443 (178.128.6.101), connection timed out\nErr:2 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-postgresql amd64 1:6.0.29-1+debian11\n Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)\nErr:3 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2 amd64 1:6.0.29-1+debian11\n Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)\nErr:4 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-mssql amd64 1:6.0.29-1+debian11\n Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following NEW packages will be installed:", " zabbix-agent2 zabbix-agent2-plugin-mongodb zabbix-agent2-plugin-mssql", " zabbix-agent2-plugin-postgresql", "0 upgraded, 4 newly installed, 0 to remove and 20 not upgraded.", "Need to get 12.8 MB of archives.", "After this operation, 41.5 MB of additional disk space will be used.", "Err:1 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-mongodb amd64 1:6.0.29-1+debian11", " Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable) Could not connect to repo.zabbix.com:443 (178.128.6.101), connection timed out", "Err:2 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-postgresql amd64 1:6.0.29-1+debian11", " Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)", "Err:3 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2 amd64 1:6.0.29-1+debian11", " Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)", "Err:4 https://repo.zabbix.com/zabbix/6.0/debian bullseye/main amd64 zabbix-agent2-plugin-mssql amd64 1:6.0.29-1+debian11", " Cannot initiate the connection to repo.zabbix.com:443 (2604:a880:2:d0::2062:d001). - connect (101: Network is unreachable)"]}

Additionally, this PR adds a .gitignore and deletes the .vagrant path from the project to prevent errors.

Copy link

@JoseCarlosNF JoseCarlosNF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muitíssimo recomendado remover o .vagrant do repositório.

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

Successfully merging this pull request may close these issues.

2 participants