ansible-node-exporter
ansible-node-exporter copied to clipboard
Checksum always failing
What happened? Installed on my arm64 instance, using ansible 2.7.10, no problems. installed on my amd64 instance, using ansible 2.7.18, fails to find the correct checksum.
with logging:
TASK [node-exporter : Get checksum list from github] **************************************************************************************************************************************************************************************************************************************************************************
task path: /home/demo/zinfra/cailleach/environments/avs-test/ansible/.galaxy/node-exporter/tasks/preflight.yml:99
ok: [avs-test-sft01 -> localhost] => {
"ansible_facts": {
"_checksums": "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791 node_exporter-1.0.1.darwin-386.tar.gz', 'e51d39ef14f5c6accee158e94b5e324fa6eb647444234a4be3491fbc3983df47 node_exporter-1.0.1.darwin-amd64.tar.gz', '734e036a849152b185da2080eb8656c36cde862095a464cb17705ca723ea3929 node_exporter-1.0.1.linux-386.tar.gz', '3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae node_exporter-1.0.1.linux-amd64.tar.gz', '017514906922fcc4b7d727655690787faed0562bc7a17aa9f72b0651cb1b47fb node_exporter-1.0.1.linux-arm64.tar.gz', '38413100bfb935c59aea088a0af792134b75972eb90ab2bc6cf1c09ad3b08aea node_exporter-1.0.1.linux-armv5.tar.gz', 'c1d7affbc7762c478c169830c43b4c6177a761bf1d2dd715dbffa55ca772655a node_exporter-1.0.1.linux-armv6.tar.gz', 'e7f4427a25f1870103588e4968c7dc8c1426c00a0c029d0183a9a7afdd61357b node_exporter-1.0.1.linux-armv7.tar.gz', '43335ccab5728b3c61ea7a0977143719c392ce13a90fa0d14169b5c10e8babd0 node_exporter-1.0.1.linux-mips.tar.gz', 'c0109f2f76628d2e25ea78e39d4b95100079ee859863be1471519b5e85a2fe78 node_exporter-1.0.1.linux-mips64.tar.gz', 'bcba02058b9ce171b5c3b077f78f371eb7685239f113200d15787c55fb204857 node_exporter-1.0.1.linux-mips64le.tar.gz', '85f0a24c07c5d8237caf36a5c68a63958280dab802b5056ff36d75563d5e5241 node_exporter-1.0.1.linux-mipsle.tar.gz', '43aa5e72f5068d16eb8d33f6b729186bf558d40ec0c734746b40a16902864808 node_exporter-1.0.1.linux-ppc64.tar.gz', '5ae6c772108c877038cd66a761e4ad93edcc8c446120478499412b24e7953146 node_exporter-1.0.1.linux-ppc64le.tar.gz', '2f22d1ce18969017fb32dbd285a264adf3da6252eec05f03f105cf638ec0bb06 node_exporter-1.0.1.linux-s390x.tar.gz', '7766d78638c2f84d1084a79d8cb5d8f036b7ce375390870d5e709673118d1260 node_exporter-1.0.1.netbsd-386.tar.gz', '41cc54f77f860ed19a7b74f132269f810e3c01fbac5320c3fa2e244fa2247d56 node_exporter-1.0.1.netbsd-amd64.tar.gz']"
},
"changed": false
}
TASK [node-exporter : Get checksum for amd64 architecture] ********************************************************************************************************************************************************************************************************************************************************************
task path: /home/demo/zinfra/cailleach/environments/avs-test/ansible/.galaxy/node-exporter/tasks/preflight.yml:104
ok: [avs-test-sft01 -> localhost] => (item=['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791 node_exporter-1.0.1.darwin-386.tar.gz', 'e51d39ef14f5c6accee158e94b5e324fa6eb647444234a4be3491fbc3983df47 node_exporter-1.0.1.darwin-amd64.tar.gz', '734e036a849152b185da2080eb8656c36cde862095a464cb17705ca723ea3929 node_exporter-1.0.1.linux-386.tar.gz', '3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae node_exporter-1.0.1.linux-amd64.tar.gz', '017514906922fcc4b7d727655690787faed0562bc7a17aa9f72b0651cb1b47fb node_exporter-1.0.1.linux-arm64.tar.gz', '38413100bfb935c59aea088a0af792134b75972eb90ab2bc6cf1c09ad3b08aea node_exporter-1.0.1.linux-armv5.tar.gz', 'c1d7affbc7762c478c169830c43b4c6177a761bf1d2dd715dbffa55ca772655a node_exporter-1.0.1.linux-armv6.tar.gz', 'e7f4427a25f1870103588e4968c7dc8c1426c00a0c029d0183a9a7afdd61357b node_exporter-1.0.1.linux-armv7.tar.gz', '43335ccab5728b3c61ea7a0977143719c392ce13a90fa0d14169b5c10e8babd0 node_exporter-1.0.1.linux-mips.tar.gz', 'c0109f2f76628d2e25ea78e39d4b95100079ee859863be1471519b5e85a2fe78 node_exporter-1.0.1.linux-mips64.tar.gz', 'bcba02058b9ce171b5c3b077f78f371eb7685239f113200d15787c55fb204857 node_exporter-1.0.1.linux-mips64le.tar.gz', '85f0a24c07c5d8237caf36a5c68a63958280dab802b5056ff36d75563d5e5241 node_exporter-1.0.1.linux-mipsle.tar.gz', '43aa5e72f5068d16eb8d33f6b729186bf558d40ec0c734746b40a16902864808 node_exporter-1.0.1.linux-ppc64.tar.gz', '5ae6c772108c877038cd66a761e4ad93edcc8c446120478499412b24e7953146 node_exporter-1.0.1.linux-ppc64le.tar.gz', '2f22d1ce18969017fb32dbd285a264adf3da6252eec05f03f105cf638ec0bb06 node_exporter-1.0.1.linux-s390x.tar.gz', '7766d78638c2f84d1084a79d8cb5d8f036b7ce375390870d5e709673118d1260 node_exporter-1.0.1.netbsd-386.tar.gz', '41cc54f77f860ed19a7b74f132269f810e3c01fbac5320c3fa2e244fa2247d56 node_exporter-1.0.1.netbsd-amd64.tar.gz']) => {
"ansible_facts": {
"node_exporter_checksum": "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791"
},
"changed": false,
"item": "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791 node_exporter-1.0.1.darwin-386.tar.gz', 'e51d39ef14f5c6accee158e94b5e324fa6eb647444234a4be3491fbc3983df47 node_exporter-1.0.1.darwin-amd64.tar.gz', '734e036a849152b185da2080eb8656c36cde862095a464cb17705ca723ea3929 node_exporter-1.0.1.linux-386.tar.gz', '3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae node_exporter-1.0.1.linux-amd64.tar.gz', '017514906922fcc4b7d727655690787faed0562bc7a17aa9f72b0651cb1b47fb node_exporter-1.0.1.linux-arm64.tar.gz', '38413100bfb935c59aea088a0af792134b75972eb90ab2bc6cf1c09ad3b08aea node_exporter-1.0.1.linux-armv5.tar.gz', 'c1d7affbc7762c478c169830c43b4c6177a761bf1d2dd715dbffa55ca772655a node_exporter-1.0.1.linux-armv6.tar.gz', 'e7f4427a25f1870103588e4968c7dc8c1426c00a0c029d0183a9a7afdd61357b node_exporter-1.0.1.linux-armv7.tar.gz', '43335ccab5728b3c61ea7a0977143719c392ce13a90fa0d14169b5c10e8babd0 node_exporter-1.0.1.linux-mips.tar.gz', 'c0109f2f76628d2e25ea78e39d4b95100079ee859863be1471519b5e85a2fe78 node_exporter-1.0.1.linux-mips64.tar.gz', 'bcba02058b9ce171b5c3b077f78f371eb7685239f113200d15787c55fb204857 node_exporter-1.0.1.linux-mips64le.tar.gz', '85f0a24c07c5d8237caf36a5c68a63958280dab802b5056ff36d75563d5e5241 node_exporter-1.0.1.linux-mipsle.tar.gz', '43aa5e72f5068d16eb8d33f6b729186bf558d40ec0c734746b40a16902864808 node_exporter-1.0.1.linux-ppc64.tar.gz', '5ae6c772108c877038cd66a761e4ad93edcc8c446120478499412b24e7953146 node_exporter-1.0.1.linux-ppc64le.tar.gz', '2f22d1ce18969017fb32dbd285a264adf3da6252eec05f03f105cf638ec0bb06 node_exporter-1.0.1.linux-s390x.tar.gz', '7766d78638c2f84d1084a79d8cb5d8f036b7ce375390870d5e709673118d1260 node_exporter-1.0.1.netbsd-386.tar.gz', '41cc54f77f860ed19a7b74f132269f810e3c01fbac5320c3fa2e244fa2247d56 node_exporter-1.0.1.netbsd-amd64.tar.gz']"
}
Did you expect to see some different? rather than finding "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791", i expected node_exporter_checksum to be "3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae"
How to reproduce it (as minimally and precisely as possible): Run with ansible 2.7.18, instead of 2.7.10
Environment
-
Role version:
0.21.5
-
Ansible version information:
ansible 2.7.18 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/demo/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /home/demo/zinfra/cailleach/third_party/.poetry/venvs/third-party-jL9HBFdt-py3.8/lib/python3.8/site-packages/ansible executable location = /home/demo/zinfra/cailleach/third_party/.poetry/venvs/third-party-jL9HBFdt-py3.8/bin/ansible python version = 3.8.4 (default, Jul 13 2020, 21:16:07) [GCC 9.3.0]
-
Variables:
insert role variables relevant to the issue
- Ansible playbook execution Logs:
insert Ansible logs relevant to the issue here
Anything else we need to know?:
I suspect a regression in ansible code if it works with 2.7.10 but not 2.7.18.
and, while i cannot re-install the arm64 machine without some work, re-running the playbook on 2.7.18 on the machine it successfully installed on shows:
TASK [node-exporter : Get checksum for arm64 architecture] ********************************************************************************************************************************************************************************************************************************************************************
task path: /home/demo/wireapp/wire-server-deploy-networkless/vpc/ansible/roles-external/node-exporter/tasks/preflight.yml:104
ok: [dev-bastion -> localhost] => (item=['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791 node_exporter-1.0.1.darwin-386.tar.gz', 'e51d39ef14f5c6accee158e94b5e324fa6eb647444234a4be3491fbc3983df47 node_exporter-1.0.1.darwin-amd64.tar.gz', '734e036a849152b185da2080eb8656c36cde862095a464cb17705ca723ea3929 node_exporter-1.0.1.linux-386.tar.gz', '3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae node_exporter-1.0.1.linux-amd64.tar.gz', '017514906922fcc4b7d727655690787faed0562bc7a17aa9f72b0651cb1b47fb node_exporter-1.0.1.linux-arm64.tar.gz', '38413100bfb935c59aea088a0af792134b75972eb90ab2bc6cf1c09ad3b08aea node_exporter-1.0.1.linux-armv5.tar.gz', 'c1d7affbc7762c478c169830c43b4c6177a761bf1d2dd715dbffa55ca772655a node_exporter-1.0.1.linux-armv6.tar.gz', 'e7f4427a25f1870103588e4968c7dc8c1426c00a0c029d0183a9a7afdd61357b node_exporter-1.0.1.linux-armv7.tar.gz', '43335ccab5728b3c61ea7a0977143719c392ce13a90fa0d14169b5c10e8babd0 node_exporter-1.0.1.linux-mips.tar.gz', 'c0109f2f76628d2e25ea78e39d4b95100079ee859863be1471519b5e85a2fe78 node_exporter-1.0.1.linux-mips64.tar.gz', 'bcba02058b9ce171b5c3b077f78f371eb7685239f113200d15787c55fb204857 node_exporter-1.0.1.linux-mips64le.tar.gz', '85f0a24c07c5d8237caf36a5c68a63958280dab802b5056ff36d75563d5e5241 node_exporter-1.0.1.linux-mipsle.tar.gz', '43aa5e72f5068d16eb8d33f6b729186bf558d40ec0c734746b40a16902864808 node_exporter-1.0.1.linux-ppc64.tar.gz', '5ae6c772108c877038cd66a761e4ad93edcc8c446120478499412b24e7953146 node_exporter-1.0.1.linux-ppc64le.tar.gz', '2f22d1ce18969017fb32dbd285a264adf3da6252eec05f03f105cf638ec0bb06 node_exporter-1.0.1.linux-s390x.tar.gz', '7766d78638c2f84d1084a79d8cb5d8f036b7ce375390870d5e709673118d1260 node_exporter-1.0.1.netbsd-386.tar.gz', '41cc54f77f860ed19a7b74f132269f810e3c01fbac5320c3fa2e244fa2247d56 node_exporter-1.0.1.netbsd-amd64.tar.gz']) => {
"ansible_facts": {
"node_exporter_checksum": "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791"
},
"changed": false,
"item": "['eb7feb537a96d518644879f617eaef2c28e9af5878c671c0ba0af11d2c27c791 node_exporter-1.0.1.darwin-386.tar.gz', 'e51d39ef14f5c6accee158e94b5e324fa6eb647444234a4be3491fbc3983df47 node_exporter-1.0.1.darwin-amd64.tar.gz', '734e036a849152b185da2080eb8656c36cde862095a464cb17705ca723ea3929 node_exporter-1.0.1.linux-386.tar.gz', '3369b76cd2b0ba678b6d618deab320e565c3d93ccb5c2a0d5db51a53857768ae node_exporter-1.0.1.linux-amd64.tar.gz', '017514906922fcc4b7d727655690787faed0562bc7a17aa9f72b0651cb1b47fb node_exporter-1.0.1.linux-arm64.tar.gz', '38413100bfb935c59aea088a0af792134b75972eb90ab2bc6cf1c09ad3b08aea node_exporter-1.0.1.linux-armv5.tar.gz', 'c1d7affbc7762c478c169830c43b4c6177a761bf1d2dd715dbffa55ca772655a node_exporter-1.0.1.linux-armv6.tar.gz', 'e7f4427a25f1870103588e4968c7dc8c1426c00a0c029d0183a9a7afdd61357b node_exporter-1.0.1.linux-armv7.tar.gz', '43335ccab5728b3c61ea7a0977143719c392ce13a90fa0d14169b5c10e8babd0 node_exporter-1.0.1.linux-mips.tar.gz', 'c0109f2f76628d2e25ea78e39d4b95100079ee859863be1471519b5e85a2fe78 node_exporter-1.0.1.linux-mips64.tar.gz', 'bcba02058b9ce171b5c3b077f78f371eb7685239f113200d15787c55fb204857 node_exporter-1.0.1.linux-mips64le.tar.gz', '85f0a24c07c5d8237caf36a5c68a63958280dab802b5056ff36d75563d5e5241 node_exporter-1.0.1.linux-mipsle.tar.gz', '43aa5e72f5068d16eb8d33f6b729186bf558d40ec0c734746b40a16902864808 node_exporter-1.0.1.linux-ppc64.tar.gz', '5ae6c772108c877038cd66a761e4ad93edcc8c446120478499412b24e7953146 node_exporter-1.0.1.linux-ppc64le.tar.gz', '2f22d1ce18969017fb32dbd285a264adf3da6252eec05f03f105cf638ec0bb06 node_exporter-1.0.1.linux-s390x.tar.gz', '7766d78638c2f84d1084a79d8cb5d8f036b7ce375390870d5e709673118d1260 node_exporter-1.0.1.netbsd-386.tar.gz', '41cc54f77f860ed19a7b74f132269f810e3c01fbac5320c3fa2e244fa2247d56 node_exporter-1.0.1.netbsd-amd64.tar.gz']"
}
This role has been deprecated in favor of a the prometheus-community/ansible collection.