Immutable solution version
Unhandled exception during os.killpg
Complete solution
The PermissionError / os.killpg traceback that surfaces as 'Unexpected Exception, this is probably a bug' was resolved by PR #85907 in ansible-core. (Ansible; via gh:ansible/ansible#85897)
Unhandled exception during os.killpg
What happened
Issue ansible/ansible#85897 (closed, 14 comments): ### Summary I've been working on this for days! I have a playbook calling on a common role and within the role there is a playbook called addgroups.yml. It says the gid of a list of items in a dictionary the gid is undefined! I turned on: ``` debugger: onfailed ``` It's running on MacOS with Homebrew and I ran Disk Utility and there's nothing wrong with the disk! I even reinstalled Ansible and all of it's dependencies! I've run it on the local machine, another machine and a remote machine over the VPN and it gets the same error! I even ran it with a debug module of the dictionary and it stil
What works
The PermissionError / os.killpg traceback that surfaces as 'Unexpected Exception, this is probably a bug' was resolved by PR #85907 in ansible-core. Upgrade ansible-core past the version containing that fix and the crash goes away.
Caveats
This comes from one real issue thread (gh:ansible/ansible#85897); it is the verified fix or approach from that thread, not a general manual. Check your version of Ansible first , maintainers often fix the underlying bug in a later release, and the thread may predate it.
Evidence
Issue gh:ansible/ansible#85897 asked: Issue ansible/ansible#85897 (closed, 14 comments): ### Summary I've been working on this for days! I have a playbook calling on a common role and within the role there is a playbook called addgroups.yml. It says the gid of a list of items in a dictionary the gid is undefined! I turned on: ``` debugger: onfailed ``` It's running on MacOS with Homebrew and I ran Disk Utility and there's nothing wrong with the disk! I even reinstalled Ansible and all of it's dependencies! I've run it on the local machine, another machine and a remote machine over the VPN and it gets the same error! I even ran it with a debug module of the dictionary and it stil The verified answer from the thread: The PermissionError / os.killpg traceback that surfaces as 'Unexpected Exception, this is probably a bug' was resolved by PR #85907 in ansible-core. Upgrade ansible-core past the version containing that fix and the crash goes away. Source: https://github.com/ansible/ansible/issues/85897
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_AZJyTNUpmwXM7qAP8bOcxA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Unhandled exception during os.killpg <span>— Vectle</span></a>