[openstack-ansible] git clone fatal: the remote end hung up unexpectedly
Folks, Trying to deploy an openstack-ansible Zed release but noticed strange behavior with git clone. failed: [localhost] (item={'name': 'galera_server', 'scm': 'git', 'src': 'https://opendev.org/openstack/openstack-ansible-galera_server', 'version': 'master', 'trackbranch': 'master', 'shallow_since': '2022-12-12'}) => {"ansible_loop_var": "item", "attempts": 2, "changed": false, "cmd": ["/usr/bin/git", "fetch", "--depth", "20", "--force", "origin", "+refs/heads/master:refs/remotes/origin/master"], "item": {"name": "galera_server", "scm": "git", "shallow_since": "2022-12-12", "src": "https://opendev.org/openstack/openstack-ansible-galera_server", "trackbranch": "master", "version": "master"}, "msg": "Failed to download remote objects and refs: fatal: error in object: unshallow e04aeacc58c196c4fb3d49116cb93fa74f7fba31\nfatal: the remote end hung up unexpectedly\n"} Full logs: https://paste.opendev.org/show/bUjuekKPzknE5IC8zbPa/
Hey, Can you also attach the output of the previous task as well? The error you pasted highly likely related to the depth that is used during clone. Default depth of repos that are cloned is 20. So in case more then 20 commits were made to the repo since the release you are using, git will fall to unhallow. However, parallel git clone should not be affected by that, but I assume it still fails for some reason. But it's hard to say why without output of previous task as well вс, 8 янв. 2023 г., 20:46 Satish Patel <satish.txt@gmail.com>:
Folks,
Trying to deploy an openstack-ansible Zed release but noticed strange behavior with git clone.
failed: [localhost] (item={'name': 'galera_server', 'scm': 'git', 'src': 'https://opendev.org/openstack/openstack-ansible-galera_server', 'version': 'master', 'trackbranch': 'master', 'shallow_since': '2022-12-12'}) => {"ansible_loop_var": "item", "attempts": 2, "changed": false, "cmd": ["/usr/bin/git", "fetch", "--depth", "20", "--force", "origin", "+refs/heads/master:refs/remotes/origin/master"], "item": {"name": "galera_server", "scm": "git", "shallow_since": "2022-12-12", "src": "https://opendev.org/openstack/openstack-ansible-galera_server", "trackbranch": "master", "version": "master"}, "msg": "Failed to download remote objects and refs: fatal: error in object: unshallow e04aeacc58c196c4fb3d49116cb93fa74f7fba31\nfatal: the remote end hung up unexpectedly\n"}
Full logs: https://paste.opendev.org/show/bUjuekKPzknE5IC8zbPa/
Hi, Here is the full output of previous task : https://paste.opendev.org/show/bXer4dyXV5911o8aWBrU/ Only Zed has issues but if I switch to yoga/xena all working great! Very curious how zed CI jobs are passing? On Sun, Jan 8, 2023 at 3:04 PM Dmitriy Rabotyagov <noonedeadpunk@gmail.com> wrote:
Hey,
Can you also attach the output of the previous task as well?
The error you pasted highly likely related to the depth that is used during clone. Default depth of repos that are cloned is 20. So in case more then 20 commits were made to the repo since the release you are using, git will fall to unhallow.
However, parallel git clone should not be affected by that, but I assume it still fails for some reason. But it's hard to say why without output of previous task as well
вс, 8 янв. 2023 г., 20:46 Satish Patel <satish.txt@gmail.com>:
Folks,
Trying to deploy an openstack-ansible Zed release but noticed strange behavior with git clone.
failed: [localhost] (item={'name': 'galera_server', 'scm': 'git', 'src': 'https://opendev.org/openstack/openstack-ansible-galera_server', 'version': 'master', 'trackbranch': 'master', 'shallow_since': '2022-12-12'}) => {"ansible_loop_var": "item", "attempts": 2, "changed": false, "cmd": ["/usr/bin/git", "fetch", "--depth", "20", "--force", "origin", "+refs/heads/master:refs/remotes/origin/master"], "item": {"name": "galera_server", "scm": "git", "shallow_since": "2022-12-12", "src": "https://opendev.org/openstack/openstack-ansible-galera_server", "trackbranch": "master", "version": "master"}, "msg": "Failed to download remote objects and refs: fatal: error in object: unshallow e04aeacc58c196c4fb3d49116cb93fa74f7fba31\nfatal: the remote end hung up unexpectedly\n"}
Full logs: https://paste.opendev.org/show/bUjuekKPzknE5IC8zbPa/
participants (2)
-
Dmitriy Rabotyagov
-
Satish Patel