Bug 1509161 - [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated (ANSIBLE >2.4)
Summary: [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated (AN...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Upstream M2
: 14.0 (Rocky)
Assignee: Gaël Chamoulaud
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-03 08:53 UTC by Gaël Chamoulaud
Modified: 2019-01-11 11:49 UTC (History)
7 users (show)

Fixed In Version: openstack-tripleo-validations-9.3.1-0.20181008110747.4064fb7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-11 11:48:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 517272 0 None master: MERGED tripleo-validations: Fix include action DEPRECATION WARNING (Ansible >2.4) (Id0bf75346956a385fc89fcd3b17c70937fe9c4b7) 2018-07-19 01:26:45 UTC
Red Hat Product Errata RHEA-2019:0045 0 None None None 2019-01-11 11:49:03 UTC

Description Gaël Chamoulaud 2017-11-03 08:53:36 UTC
Only validations/undercloud-disk-space.yaml and validations/undercloud-disk-space-pre-upgrade.yaml are impacted by this deprecation warning:


2017-10-31 16:33:08 | + ansible-playbook /usr/share/openstack-tripleo-validations/validations/undercloud-disk-space.yaml
2017-10-31 16:33:10 | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 
2017-10-31 16:33:10 | 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
2017-10-31 16:33:10 |  This feature will be removed in a future release. Deprecation warnings can be 
2017-10-31 16:33:10 | disabled by setting deprecation_warnings=False in ansible.cfg.
2017-10-31 16:33:10 | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
2017-10-31 16:33:10 |  discouraged. The module documentation details page may explain more about this
2017-10-31 16:33:10 |  rationale.. This feature will be removed in a future release. Deprecation 
2017-10-31 16:33:10 | warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
2017-10-31 16:33:16 | Task 'Verify root disk space' failed:
2017-10-31 16:33:16 | Host: localhost
2017-10-31 16:33:16 | Message: The available space on the root partition is 51.7 GB, but it should be at least 60 GB.
2017-10-31 16:33:16 | 
2017-10-31 16:33:16 | Failure! The validation failed for all hosts:
2017-10-31 16:33:16 | * localhost

Comment 7 Udi Kalifon 2018-04-24 07:11:48 UTC
The fix is not present in openstack-tripleo-validations-8.4.0-2.el7ost.noarch. Setting the bug back to "assigned".

Comment 15 Udi Kalifon 2018-11-12 11:46:20 UTC
Verified: openstack-tripleo-validations-9.3.1-0.20181008110747.4064fb7.el7ost.noarch

Comment 18 errata-xmlrpc 2019-01-11 11:48:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045


Note You need to log in before you can comment on or make changes to this bug.