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

Empty ERROR: log at startup. #40297

Closed
dan-perron opened this issue May 17, 2018 · 2 comments
Closed

Empty ERROR: log at startup. #40297

dan-perron opened this issue May 17, 2018 · 2 comments
Labels
affects_2.5 This issue/PR affects Ansible v2.5 bug This issue/PR relates to a bug. inventory Inventory category support:core This issue/PR relates to code supported by the Ansible Engineering Team.

Comments

@dan-perron
Copy link

ISSUE TYPE
  • Bug Report
COMPONENT NAME

inventory

ANSIBLE VERSION
ansible 2.5.2
  config file = /root/triggr_misc/Ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]
CONFIGURATION
DEFAULT_LOG_PATH(/root/triggr_misc/Ansible/ansible.cfg) = /var/log/ansible.log
DEFAULT_PRIVATE_KEY_FILE(/root/triggr_misc/Ansible/ansible.cfg) = /root/.ssh/Ans
DEFAULT_REMOTE_USER(/root/triggr_misc/Ansible/ansible.cfg) = ubuntu
DEFAULT_TRANSPORT(/root/triggr_misc/Ansible/ansible.cfg) = ssh
OS / ENVIRONMENT

Ubuntu 14.

SUMMARY

On startup there's an ERROR: log with no content.

STEPS TO REPRODUCE

This happens when I run any ansible command.

ansible tag_OS_Windows -i ec2.py --vault-password-file ~/triggr-vault-password.txt -m win_ping -vvvv
EXPECTED RESULTS
ACTUAL RESULTS

Everything works but I get a scary error line.

ansible 2.5.2
  config file = /root/triggr_misc/Ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python2.7/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.12 (default, Dec  4 2017, 14:50:18) [GCC 5.4.0 20160609]
Using /root/triggr_misc/Ansible/ansible.cfg as config file
setting up inventory plugins
 [ERROR]:

Parsed /root/triggr_misc/Ansible/ec2.py inventory source with script plugin
Loading callback plugin minimal of type stdout, v2.0 from /usr/local/lib/python2.7/dist-packages/ansible/plugins/callback/minimal.pyc
META: ran handlers
Trying secret FileVaultSecret(filename='/root/triggr-vault-password.txt') for vault_id=default
Trying secret FileVaultSecret(filename='/root/triggr-vault-password.txt') for vault_id=default
Trying secret FileVaultSecret(filename='/root/triggr-vault-password.txt') for vault_id=default
Using module file /usr/local/lib/python2.7/dist-packages/ansible/modules/windows/win_ping.ps1
<sisense01-prd.triggr.co> ESTABLISH WINRM CONNECTION FOR USER: administrator on PORT 5986 TO sisense01-prd.triggr.co
checking if winrm_host sisense01-prd.triggr.co is an IPv6 address
EXEC (via pipeline wrapper)
sisense01-prd.triggr.co | SUCCESS => {
    "changed": false, 
    "ping": "pong"
}
META: ran handlers
META: ran handlers
@ansibot
Copy link
Contributor

ansibot commented May 17, 2018

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot ansibot added affects_2.5 This issue/PR affects Ansible v2.5 bug This issue/PR relates to a bug. inventory Inventory category needs_triage Needs a first human triage before being processed. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels May 17, 2018
@jborean93
Copy link
Contributor

duplicate of #39007, fixed in #39019

@mkrizek mkrizek removed the needs_triage Needs a first human triage before being processed. label May 18, 2018
@ansible ansible locked and limited conversation to collaborators May 17, 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 bug This issue/PR relates to a bug. inventory Inventory category support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

No branches or pull requests

4 participants