Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary #31677

Merged
merged 3 commits into from Jan 16, 2018
Merged

Temporary #31677

merged 3 commits into from Jan 16, 2018

Conversation

bcoca
Copy link
Member

@bcoca bcoca commented Oct 13, 2017

SUMMARY

normalize 'temporary dir handling'
this is partially done by also making shell plugins part of the new plugin config framework
fixes #31022

ISSUE TYPE
  • Feature Pull Request
  • Bugfix Pull Request
COMPONENT NAME

config

ANSIBLE VERSION
2.5

@ansibot ansibot added WIP This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers. affects_2.5 This issue/PR affects Ansible v2.5 feature_pull_request needs_triage Needs a first human triage before being processed. playbook/play_context plugins/action plugins/connection plugins/shell support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Oct 13, 2017
@bcoca bcoca removed the needs_triage Needs a first human triage before being processed. label Oct 13, 2017
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 21, 2017
@bcoca bcoca added this to In Progress in 2.5 Oct 24, 2017
@ansible ansible deleted a comment from ansibot Oct 27, 2017
@ansibot ansibot removed the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Oct 27, 2017
@ansible ansible deleted a comment from ansibot Oct 28, 2017
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Nov 6, 2017
@ansibot ansibot added the needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html label Nov 14, 2017
@ansibot ansibot removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Nov 17, 2017
@ansibot ansibot added docs_pull_request test This PR relates to tests. needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI. and removed needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI. labels Nov 18, 2017
@bcoca bcoca added this to In Progress in ansible config Nov 20, 2017
@bcoca bcoca changed the title [WIP] Temporary Temporary Nov 20, 2017
@bcoca bcoca removed the WIP This issue/PR is a work in progress. Nevertheless it was shared for getting input from peers. label Nov 20, 2017
@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed core_review In order to be merged, this PR must follow the core review workflow. labels Jan 12, 2018
@abadger
Copy link
Contributor

abadger commented Jan 15, 2018

rebuild_merge

@abadger abadger merged commit bbd6b8b into ansible:devel Jan 16, 2018
@abadger
Copy link
Contributor

abadger commented Jan 16, 2018

Merged for 2.5. @jborean93 and I will get our other changes to this (as promised in the review orin the branch) submitted against the devel.

@benjixx
Copy link
Contributor

benjixx commented Jan 16, 2018

I'm getting the following traceback on devel, potentially due to this PR getting merged into devel:

Traceback (most recent call last):
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/bin/ansible-playbook", line 118, in <module>
    exit_code = cli.run()
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/cli/playbook.py", line 122, in run
    results = pbex.run()
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 89, in run
    self._tqm.load_callbacks()
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 190, in load_callbacks
    for callback_plugin in callback_loader.all(class_only=True):
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/plugins/loader.py", line 462, in all
    self._update_object(obj, name, path)
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/plugins/loader.py", line 346, in _update_object
    self._load_config_defs(name, path)
  File "/home/travis/build/goodplay/goodplay/.tox/py27-ansibledevel/lib/python2.7/site-packages/ansible/plugins/loader.py", line 217, in _load_config_defs
    if 'options' in dstring and isinstance(dstring['options'], dict):
TypeError: argument of type 'NoneType' is not iterable

@abadger
Copy link
Contributor

abadger commented Jan 16, 2018

@benjixx Please open a bug for that and link to this PR since you think it's probably a change in here somewhere. @bcoca is on vacation and I don't have time to look into the problem today but definitely don't want it to get forgotten.

@sivel
Copy link
Member

sivel commented Jan 16, 2018

@benjixx your traceback does not align with the current code in devel. The code in your traceback was changed in 869a3184922 which landed in September, far before this PR.

@ansibot ansibot added docs This issue/PR relates to or includes documentation. feature This issue/PR relates to a feature request. and removed docs_pull_request labels Mar 4, 2018
@bcoca bcoca moved this from In Progress to Done in 2.5 Mar 14, 2018
@bcoca bcoca moved this from In Progress to Review in ansible config Nov 13, 2018
@bcoca bcoca moved this from Review to Done in ansible config Nov 13, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.5 This issue/PR affects Ansible v2.5 docs This issue/PR relates to or includes documentation. feature This issue/PR relates to a feature request. inventory Inventory category module This issue/PR relates to a module. needs_maintainer Ansibot is unable to identify maintainers for this PR. (Check `author` in docs or BOTMETA.yml) needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. playbook/play_context plugins/action plugins/connection plugins/shell support:community This issue/PR relates to code supported by the Ansible community. support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests. windows Windows community
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

normalize temp dir/file usage (remote_tmp, etc)
9 participants