Skip to content

ERROR:install default node packages #728

@jinliang-qi

Description

@jinliang-qi

during the installation of pigsty versions 3.6-4.2.1, as soon as this error occurs, please ask how to handle this step Errors during downloading metadata for repository 'pigsty-infra': this [node: Why you need to make the node local repo cache] https://repo.pigsty.cc/yum/infra/x86_64/repodata/repomd.xml outside, I was offline for installation.


TASK [node : make node local repo cache] **************************************************************************************************************************************************************************************************************
fatal: [10.11.83.134]: FAILED! => {"changed": true, "cmd": "yum makecache;    \n", "delta": "0:01:38.327914", "end": "2026-03-13 11:12:00.365085", "msg": "non-zero return code", "rc": 1, "start": "2026-03-13 11:10:22.037171", "stderr": "Errors during downloading metadata for repository 'pigsty-infra':\n  - Curl error (7): Couldn't connect to server for https://repo.pigsty.cc/yum/infra/x86_64/repodata/repomd.xml [Failed to connect to repo.pigsty.cc port 443: Connection timed out]\nError: Failed to download metadata for repo 'pigsty-infra': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried", "stderr_lines": ["Errors during downloading metadata for repository 'pigsty-infra':", "  - Curl error (7): Couldn't connect to server for https://repo.pigsty.cc/yum/infra/x86_64/repodata/repomd.xml [Failed to connect to repo.pigsty.cc port 443: Connection timed out]", "Error: Failed to download metadata for repo 'pigsty-infra': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried"], "stdout": "Updating Subscription Management repositories.\nUnable to read consumer identity\n\nThis system is not registered with an entitlement server. You can use subscription-manager to register.\n\nPigsty INFRA 8 - x86_64                         0.0  B/s |   0  B     01:36    ", "stdout_lines": ["Updating Subscription Management repositories.", "Unable to read consumer identity", "", "This system is not registered with an entitlement server. You can use subscription-manager to register.", "", "Pigsty INFRA 8 - x86_64                         0.0  B/s |   0  B     01:36    "]}

PLAY RECAP ********************************************************************************************************************************************************************************************************************************************
10.11.83.134               : ok=21   changed=9    unreachable=0    failed=1    skipped=22   rescued=0    ignored=0   
localhost                  : ok=6    changed=4    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0   

[root@bjvltfindb2547 pigsty-3.7.0]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.10 (Ootpa)
[root@bjvltfindb2547 pigsty-3.7.0]# uname -a
Linux bjvltfindb2547 4.18.0-553.72.1.el8_10.x86_64 #1 SMP Sat Aug 23 20:13:38 EDT 2025 x86_64 x86_64 x86_64 GNU/Linux
[root@bjvltfindb2547 pigsty-3.7.0]# cat pigsty.yml | grep version
    version: v3.7.0                   # pigsty version string
    #node_packages: [openssh-server]      # packages to be installed current nodes with the latest version
    pg_version: 18                      # default postgres version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions