merge_configs.py: TypeError: _make_tmp_path() takes exactly 2 arguments (1 given)

Bug #1586018 reported by Christian Berendt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Unassigned

Bug Description

With Ansible 2.1.0.0 I got the following error when using a task that calls the merge_configs action:

The error was: TypeError: _make_tmp_path() takes exactly 2 arguments (1 given)

The problem is the changed method signature of _make_tmp_path in the ActionBase class https://github.com/ansible/ansible/blob/devel/lib/ansible/plugins/action/__init__.py#L204.

The _make_tmp_path method is used in https://github.com/openstack/kolla/blob/master/ansible/action_plugins/merge_configs.py#L45.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/321754
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=3545e6d503c7451921333134fb75d3fef3713952
Submitter: Jenkins
Branch: master

commit 3545e6d503c7451921333134fb75d3fef3713952
Author: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Date: Fri May 27 01:04:03 2016 +0800

    Fix the incompatibility for ansible 2.1.0

    Ansible 2.1.0 has lots of change and the plugin is not compatible
    between 2.0.0 and 2.1.0. This change fix the gap.

    * fix the signature change for _make_tmp_path in ansible 2.1.0
    * fix the common_options in the kolla_docker.py

    Change-Id: I05f5f05581c8bd625cd868fa0db549d0c60a7043
    Closes-Bug: #1586018

Changed in kolla:
status: New → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/kolla 3.0.0.0b1

This issue was fixed in the openstack/kolla 3.0.0.0b1 development milestone.

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.