[openstack-ansible] git clone fatal: the remote end hung up unexpectedly

Dmitriy Rabotyagov noonedeadpunk at gmail.com
Sun Jan 8 19:52:03 UTC 2023


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 at 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230108/38b1788e/attachment.htm>


More information about the openstack-discuss mailing list