Description of problem: satellite-clone does not populate logs/playbook.log Version-Release number of selected component (if applicable): satellite-clone-1.1.3-1.el7sat.noarch How reproducible: Always Steps to Reproduce: 1. Provision a new rhel7vm 2. Install satellite-clone from satellite-maintenance repo 3. Update required variables and run satellite-clone Actual results: This is all I saw in logs/playbook.log: 2017-10-24 11:36:11,641 p=12097 u=root | [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. 2017-10-24 11:36:11,718 p=12097 u=root | [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. 2017-10-24 11:36:11,940 p=12097 u=root | ERROR! Unexpected Exception, this is probably a bug: 'CallbackModule' object has no attribute 'set_options' 2017-10-24 11:36:11,941 p=12097 u=root | to see the full traceback, use -vvv 2017-10-24 11:36:11,941 p=12097 u=root | the full traceback was: Traceback (most recent call last): File "/usr/bin/ansible-playbook", line 106, in <module> exit_code = cli.run() File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 130, in run results = pbex.run() File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 90, in run self._tqm.load_callbacks() File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 203, in load_callbacks callback_obj .set_options(C.config.get_plugin_options('callback', callback_plugin._load_name)) AttributeError: 'CallbackModule' object has no attribute 'set_options' 2017-10-24 11:39:24,781 p=12270 u=root | ERROR! Unexpected Exception, this is probably a bug: 'CallbackModule' object has no attribute 'set_options' 2017-10-24 11:39:24,782 p=12270 u=root | to see the full traceback, use -vvv 2017-10-24 11:39:24,782 p=12270 u=root | the full traceback was: Traceback (most recent call last): File "/usr/bin/ansible-playbook", line 106, in <module> exit_code = cli.run() File "/usr/lib/python2.7/site-packages/ansible/cli/playbook.py", line 130, in run results = pbex.run() File "/usr/lib/python2.7/site-packages/ansible/executor/playbook_executor.py", line 90, in run self._tqm.load_callbacks() File "/usr/lib/python2.7/site-packages/ansible/executor/task_queue_manager.py", line 203, in load_callbacks callback_obj .set_options(C.config.get_plugin_options('callback', callback_plugin._load_name)) AttributeError: 'CallbackModule' object has no attribute 'set_options' Expected results: The ansible run output should be saved in logs for records. Additional info:
This was fixed upstream as part of a larger change and will be available in 1.2.0+ https://github.com/RedHatSatellite/satellite-clone/pull/245
in 1.2.0, /var/log/satellite-clone/playbook.log is the location of the log file
Verified in satellite-clone-1.2.0-1.el7sat.noarch (released to Prod on 1/4/2017) Now - 1. I am able to see the satellite-clone logs in the terminal while running `satellite-clone` command 2. The logs are also getting populated in /var/log/satellite-clone/playbook.log