A worker was found in dead state

Bug #1747629 reported by Jean-Philippe Evrard
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
High
Unassigned

Bug Description

The translations job seem to regularily fail due to the following reason [1]: "A worker was found in dead state".

This started to appear when we moved to ansible 2.4, IIRC,
and doesn't seem to happen on my machine.

Further investigation is needed to ensure everything is well tested.

[1]: http://logs.openstack.org/periodic/git.openstack.org/openstack/openstack-ansible/master/openstack-ansible-deploy-translations-ubuntu-xenial/7f00866/job-output.txt.gz#_2018-02-06_07_54_53_970546

description: updated
Revision history for this message
Frank Kloeker (f-kloeker) wrote :
Revision history for this message
Marcin Dulak (marcin-dulak) wrote :

This is an Ansible error reported in many places by many people, outside of openstack-ansible, and long before Ansible 2.4 https://github.com/ansible/ansible/issues/12239

I've never been able to trigger this error using a simple playbook, but give the openstack-ansible deployment host 512 MB RAM and you will most likely see it.

Revision history for this message
Frank Kloeker (f-kloeker) wrote :

Meanwhile I can confirm the error on a Ubuntu 16.04 VM with 8 GB of RAM. Will test with other Ansible versions.

Revision history for this message
Frank Kloeker (f-kloeker) wrote :

OSA master is using currenly ansible 2.4.2.0.
I had the same experience with 2.4.3.0
In ansible 2.5.0a1 I've got
ERROR! Unexpected Exception, this is probably a bug: module 'ansible.playbook.play_context' has no attribute 'MAGIC_VARIABLE_MAPPING'
+ ansible -m setup -a gather_subset=network,hardware,virtual hosts
Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables_translations.yml -e @/etc/openstack_deploy/user_variables.yml "
to see the full traceback, use -vvv
++ exit_fail 347 0
++ set +x
ERROR! Unexpected Exception, this is probably a bug: module 'ansible.playbook.play_context' has no attribute 'MAGIC_VARIABLE_MAPPING'

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Yeah we are not ready for 2.5 yet, but I didn't expect a RAM issue for our translations deploy until 2.4 appeared. That's what I meant. Probably worth digging deeper in why the memory is higher up for this deploy, and how can we reduce it.

Revision history for this message
Marcin Dulak (marcin-dulak) wrote :

There are some memory fixes promised in 2.4.4.0 https://github.com/ansible/ansible/issues/31673 but one project https://github.com/iiab/iiab/pull/671 reverted to 2.4.2.0, since it turned out 2.4.3.0 was aggravating memory problems

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Doesn't happen now, so marking as resolved

Changed in openstack-ansible:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.