always_run is deprecated. Use check_mode = no instead

Bug #1643633 reported by Henry Brock
26
This bug affects 4 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Duong Ha-Quang

Bug Description

TASK [ceph : Cleaning up temp file on localhost] *******************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
ok: [controllernode -> localhost]

TASK [ceph : Creating temp file on localhost] **********************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
ok: [controllernode -> localhost]

TASK [ceph : Creating ceph_mon_config volume] **********************************
changed: [controllernode]

TASK [ceph : Writing hostname of host with existing cluster files to temp file]
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
skipping: [controllernode]

TASK [ceph : Registering host from temp file] **********************************
ok: [controllernode]

TASK [ceph : Cleaning up temp file on localhost] *******************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead..
This feature will be removed in version 2.4. Deprecation warnings can be disabled by
setting deprecation_warnings=False in ansible.cfg.
ok: [controllernode -> localhost]

Changed in kolla:
status: New → Confirmed
importance: Undecided → High
Alexis Rivera (gardlt)
Changed in kolla:
assignee: nobody → Alexis Rivera (gerrivera)
Revision history for this message
Alexis Rivera (gardlt) wrote :

https://review.openstack.org/#/c/400466/4

I made the changes, but it's not updating the launchpad.

affects: kolla → kolla-ansible
Changed in kolla-ansible:
milestone: none → ocata-2
Changed in kolla-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/400466
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=529f202d00e4615caa1fcb447aaa47fde6aa1417
Submitter: Jenkins
Branch: master

commit 529f202d00e4615caa1fcb447aaa47fde6aa1417
Author: gardlt <email address hidden>
Date: Mon Nov 21 20:22:06 2016 -0600

    updating-deprecated-ansible-modules

    * update ceph tasks
    * update mariadb tasks
    Closes-Bug: #1643633

    Change-Id: Ib81789574843edba6e33394a7f66a2e8077075eb

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
Duong Ha-Quang (duonghq) wrote : Re: DEPRECATION WARNING during deployment

The fix is reverted.

Changed in kolla-ansible:
status: Fix Released → Triaged
milestone: ocata-2 → ocata-3
Revision history for this message
Duong Ha-Quang (duonghq) wrote :

It should not be fixed soon, but later it must be fixed

Changed in kolla-ansible:
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 4.0.0.0b2

This issue was fixed in the openstack/kolla-ansible 4.0.0.0b2 development milestone.

Revision history for this message
Christian Berendt (berendt) wrote :

This is not yet fixed, removed assignee and changed status to confirmed.

summary: - DEPRECATION WARNING during deployment
+ always_run is deprecated. Use check_mode = no instead
Changed in kolla-ansible:
assignee: Alexis Rivera (gerrivera) → nobody
status: Triaged → Confirmed
Changed in kolla-ansible:
milestone: ocata-3 → ocata-rc1
Changed in kolla-ansible:
milestone: ocata-rc1 → ocata-rc2
milestone: ocata-rc2 → pike-1
Changed in kolla-ansible:
milestone: pike-2 → pike-3
Duong Ha-Quang (duonghq)
Changed in kolla-ansible:
assignee: nobody → Duong Ha-Quang (duonghq)
Changed in kolla-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.openstack.org/474439
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=41686edba9bc6e332e1eabfa6ed46469613e38da
Submitter: Jenkins
Branch: master

commit 41686edba9bc6e332e1eabfa6ed46469613e38da
Author: Duong Ha-Quang <email address hidden>
Date: Thu Jun 15 10:47:01 2017 +0700

    Replace always_run by check_mode

    always_run is deprecated and removed in Ansible 2.4
    check_mode is introduced in Ansible 2.2 and Kolla-ansible bump Ansible to
    2.2.0 so it's safe to replace always_run by check_mode now.

    Change-Id: Id1028d38b7bde30a6afe17b319dcdc77907914ab
    Closes-Bug: #1643633
    Implements: blueprint migrate-to-ansible-2-2-0

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

Fix proposed to branch: master
Review: https://review.openstack.org/478526

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla-ansible (master)

Change abandoned by caoyuan (cao.yuan@99cloud.net) on branch: master
Review: https://review.openstack.org/478526

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 5.0.0.0b3

This issue was fixed in the openstack/kolla-ansible 5.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related blueprints

Remote bug watches

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