You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the rocky Linux 9.5 standard distribution, when installing pigsty on the network, this kind of error is unusually high, and the success of the installation depends on luck, which is not conducive to user research and learning pigsty. As a best practice, pigsty allows for explicit networking or explicit offline package installations, ensuring a successful installation every time ./install.yml is executed. Now the following mistake has become a great problem for research and learning.:
TASK [node : make node local repo cache] *****************************************************************************************************************
fatal: [192.168.0.4]: FAILED! => {"changed": true, "cmd": "yum makecache; \n", "delta": "0:00:00.243006", "end": "2025-02-25 11:49:30.027720", "msg": "non-zero return code", "rc": 1, "start": "2025-02-25 11:49:29.784714", "stderr": "Errors during downloading metadata for repository 'pigsty-local':\n - Status code: 404 for http://192.168.0.4/pigsty/repodata/repomd.xml (IP: 192.168.0.4)\nError: Failed to download metadata for repo 'pigsty-local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "stderr_lines": ["Errors during downloading metadata for repository 'pigsty-local':", " - Status code: 404 for http://192.168.0.4/pigsty/repodata/repomd.xml (IP: 192.168.0.4)", "Error: Failed to download metadata for repo 'pigsty-local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried"], "stdout": "Pigsty Local 9 - x86_64 1.9 kB/s | 19 B 00:00 ", "stdout_lines": ["Pigsty Local 9 - x86_64 1.9 kB/s | 19 B 00:00 "]}
The text was updated successfully, but these errors were encountered:
It looks like you're encountering a 404 error when trying to download metadata for the Pigsty repository, (build on the admin node) which suggests that the repository metadata (repomd.xml) is missing or the URL is incorrect.
Could you please check the following:
Exact OS Major Minor Release version
Exact Pigsty Version
ls /www/pigsty ,Check if any packages exists
cat /www/pigsty/repo_complete to see if the mark file exists
I just re-run on fresh RockyLinux 9.5 machine and can't repreoduce this.
If you are sure that /www/pigsty/repodata/repomd.xml exists and no other prior errors. Please
Check you firewall, selinux, and security group settings and make sure nothing blocks local Nginx HTTP access.
In the rocky Linux 9.5 standard distribution, when installing pigsty on the network, this kind of error is unusually high, and the success of the installation depends on luck, which is not conducive to user research and learning pigsty. As a best practice, pigsty allows for explicit networking or explicit offline package installations, ensuring a successful installation every time ./install.yml is executed. Now the following mistake has become a great problem for research and learning.:
TASK [node : make node local repo cache] *****************************************************************************************************************
fatal: [192.168.0.4]: FAILED! => {"changed": true, "cmd": "yum makecache; \n", "delta": "0:00:00.243006", "end": "2025-02-25 11:49:30.027720", "msg": "non-zero return code", "rc": 1, "start": "2025-02-25 11:49:29.784714", "stderr": "Errors during downloading metadata for repository 'pigsty-local':\n - Status code: 404 for http://192.168.0.4/pigsty/repodata/repomd.xml (IP: 192.168.0.4)\nError: Failed to download metadata for repo 'pigsty-local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "stderr_lines": ["Errors during downloading metadata for repository 'pigsty-local':", " - Status code: 404 for http://192.168.0.4/pigsty/repodata/repomd.xml (IP: 192.168.0.4)", "Error: Failed to download metadata for repo 'pigsty-local': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried"], "stdout": "Pigsty Local 9 - x86_64 1.9 kB/s | 19 B 00:00 ", "stdout_lines": ["Pigsty Local 9 - x86_64 1.9 kB/s | 19 B 00:00 "]}
The text was updated successfully, but these errors were encountered: