while running boot strap ansible during upgrade
https://docs.openstack.org/openstack-ansible/xena/admin/upgrades/major-upgrades.html
TASK [Install collection requirements with ansible galaxy] **************************************************************************************************
FAILED - RETRYING: Install collection requirements with ansible galaxy (5 retries left).
FAILED - RETRYING: Install collection requirements with ansible galaxy (4 retries left).
FAILED - RETRYING: Install collection requirements with ansible galaxy (3 retries left).
FAILED - RETRYING: Install collection requirements with ansible galaxy (2 retries left).
FAILED - RETRYING: Install collection requirements with ansible galaxy (1 retries left).
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": true, "cmd": ["/opt/ansible-runtime/bin/ansible-galaxy", "collection", "install", "--force", "-r", "/tmp/ansible._iayzidf", "-p", "/etc/ansible/"], "delta": "0:00:23.748827", "end": "2023-10-03 12:04:42.555685", "msg": "non-zero return code", "rc": 250, "start": "2023-10-03 12:04:18.806858", "stderr": "[DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to \nnew standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be \nremoved from ansible-core in version 2.15. Deprecation warnings can be disabled\n by setting deprecation_warnings=False in ansible.cfg.\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible-collections-openstackogo3u1m3'...\nNote: switching to '1.5.3'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at 15f73aa Merge \"Release 1.5.3 version with bugfixes\"\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible-config_templateipsd_l7y'...\nNote: switching to '1.2.1'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at 7422a09 Move config_template to plugins/action\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.generalg198dvnb'...\nNote: switching to '4.0.1'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at ac3e803a3 Release 4.0.1.\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.rabbitmqmci_h8xh'...\nNote: switching to '1.1.0'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at 90b1384 Release 1.1.0 commit (#91)\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.mysqlsh92ryb_'...\nNote: switching to '2.3.1'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at 1cb39cc Release 2.3.1 commit (#236)\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.cryptowc4lbqbt'...\nNote: switching to '1.9.5'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at fbadcbe Release 1.9.5.\nCloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible.posixy7q5nr9c'...\nNote: switching to '1.3.0'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by switching back to a branch.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -c with the switch command. Example:\n\n git switch -c <new-branch-name>\n\nOr undo this operation with:\n\n git switch -\n\nTurn off this advice by setting config variable advice.detachedHead to false\n\nHEAD is now at ab9eaf2 Merge pull request #245 from saito-hideki/release_1.3.0\n[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an\nunexpected error when getting available versions of collection\nansible.netcommon: '/api/v3/plugin/ansible/content/published/collections/index/\nansible/netcommon/versions/'\nERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/ansible/netcommon/versions/'", "stderr_lines": ["[DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to ", "new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be ", "removed from ansible-core in version 2.15. Deprecation warnings can be disabled", " by setting deprecation_warnings=False in ansible.cfg.", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible-collections-openstackogo3u1m3'...", "Note: switching to '1.5.3'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at 15f73aa Merge \"Release 1.5.3 version with bugfixes\"", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible-config_templateipsd_l7y'...", "Note: switching to '1.2.1'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at 7422a09 Move config_template to plugins/action", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.generalg198dvnb'...", "Note: switching to '4.0.1'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at ac3e803a3 Release 4.0.1.", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.rabbitmqmci_h8xh'...", "Note: switching to '1.1.0'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at 90b1384 Release 1.1.0 commit (#91)", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.mysqlsh92ryb_'...", "Note: switching to '2.3.1'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at 1cb39cc Release 2.3.1 commit (#236)", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/community.cryptowc4lbqbt'...", "Note: switching to '1.9.5'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at fbadcbe Release 1.9.5.", "Cloning into '/root/.ansible/tmp/ansible-local-338998lwmtwmc/tmpa9033xca/ansible.posixy7q5nr9c'...", "Note: switching to '1.3.0'.", "", "You are in 'detached HEAD' state. You can look around, make experimental", "changes and commit them, and you can discard any commits you make in this", "state without impacting any branches by switching back to a branch.", "", "If you want to create a new branch to retain commits you create, you may", "do so (now or later) by using -c with the switch command. Example:", "", " git switch -c <new-branch-name>", "", "Or undo this operation with:", "", " git switch -", "", "Turn off this advice by setting config variable advice.detachedHead to false", "", "HEAD is now at ab9eaf2 Merge pull request #245 from saito-hideki/release_1.3.0", "[WARNING]: Skipping Galaxy server https://galaxy.ansible.com/api/. Got an", "unexpected error when getting available versions of collection", "ansible.netcommon: '/api/v3/plugin/ansible/content/published/collections/index/", "ansible/netcommon/versions/'", "ERROR! Unexpected Exception, this is probably a bug: '/api/v3/plugin/ansible/content/published/collections/index/ansible/netcommon/versions/'"], "stdout": "Starting galaxy collection install process\nProcess install dependency map\nto see the full traceback, use -vvv", "stdout_lines": ["Starting galaxy collection install process", "Process install dependency map", "to see the full traceback, use -vvv"]}
Fix proposed to branch: stable/yoga /review. opendev. org/c/openstack /openstack- ansible/ +/897351
Review: https:/