Mitaka gating - failure to import ansible.plugins.callback

Bug #1659057 reported by Charles Farquhar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

I'm consistently getting the following errors [1] during gating for os_nova. I don't believe this is related to the patch [2].

[1] http://logs.openstack.org/22/424322/1/check/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/6037c55/console.html

2017-01-24 17:17:39.581189 | linters runtests: commands[6] | ansible-playbook -i /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/inventory --syntax-check --list-tasks -e rolename=/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/test.yml
2017-01-24 17:17:39.582739 | /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty$ /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/bin/ansible-playbook -i /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/inventory --syntax-check --list-tasks -e rolename=/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/test.yml
2017-01-24 17:17:39.822619 | Traceback (most recent call last):
2017-01-24 17:17:39.822783 | File "/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/bin/ansible-playbook", line 324, in <module>
2017-01-24 17:17:39.822874 | sys.exit(main(sys.argv[1:]))
2017-01-24 17:17:39.822929 | File "/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/bin/ansible-playbook", line 210, in main
2017-01-24 17:17:39.822989 | force_handlers=options.force_handlers,
2017-01-24 17:17:39.823075 | File "/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/local/lib/python2.7/site-packages/ansible/playbook/__init__.py", line 181, in __init__
2017-01-24 17:17:39.823131 | ansible.callbacks.load_callback_plugins()
2017-01-24 17:17:39.823186 | File "/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/local/lib/python2.7/site-packages/ansible/callbacks.py", line 51, in load_callback_plugins
2017-01-24 17:17:39.823231 | callback_plugins = [x for x in utils.plugins.callback_loader.all()]
2017-01-24 17:17:39.823283 | File "/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/local/lib/python2.7/site-packages/ansible/utils/plugins.py", line 232, in all
2017-01-24 17:17:39.823347 | self._module_cache[path] = imp.load_source('.'.join([self.package, name]), path)
2017-01-24 17:17:39.823384 | File "/home/jenkins/.ansible/plugins/callback/debug_message_collector.py", line 17, in <module>
2017-01-24 17:17:39.823461 | from ansible.plugins.callback import CallbackBase
2017-01-24 17:17:39.823511 | ImportError: No module named plugins.callback
2017-01-24 17:17:39.839591 | ERROR: InvocationError: '/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/.tox/linters/bin/ansible-playbook -i /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/inventory --syntax-check --list-tasks -e rolename=/home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty /home/jenkins/workspace/gate-openstack-ansible-os_nova-linters-ubuntu-trusty/tests/test.yml'

[2] https://review.openstack.org/#/c/424322/

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

Mitaka is running a different version of ansible (1.9.x), and the callback was not loaded the same at that time, IIRC. Worth having a look IMO.

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

(I mean if it changed, or we bumped ansible version, etc.)

Revision history for this message
Jimmy McCrory (jimmy-mccrory) wrote :

This should be addressed by the following gerrit topic
https://review.openstack.org/#/q/topic:same_branch_plugins

Changed in openstack-ansible:
status: New → In Progress
Changed in openstack-ansible:
status: In Progress → Fix Committed
Mohammed Naser (mnaser)
Changed in openstack-ansible:
status: Fix Committed → 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.