Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Descriptionsthirugn@redhat.com
2017-10-24 17:48:25 UTC
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:
in 1.2.0, /var/log/satellite-clone/playbook.log is the location of the log file
Comment 4sthirugn@redhat.com
2018-01-04 21:42:49 UTC
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
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: