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.
Bug 1740943 - Increasing Ansible verbosity level does not increase the verbosity of output
Summary: Increasing Ansible verbosity level does not increase the verbosity of output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Ansible - Configuration Management
Version: 6.5.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.8.0
Assignee: Adam Ruzicka
QA Contact: Lukas Pramuk
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-13 23:15 UTC by Danny Synk
Modified: 2023-03-24 15:14 UTC (History)
5 users (show)

Fixed In Version: tfm-rubygem-foreman_ansible-4.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 12:59:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 27236 0 Normal Closed Verbosity setting is not sent over to the smart proxy 2021-02-16 10:44:00 UTC
Red Hat Knowledge Base (Solution) 4628531 0 None None None 2019-12-03 08:46:58 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:59:20 UTC

Description Danny Synk 2019-08-13 23:15:59 UTC
Description of problem:

Changing the value of Ansible's default verbosity setting in Satellite does not change the output of Ansible remote jobs.


Version-Release number of selected component (if applicable):
6.5.2


How reproducible:
100% reproducible


Steps to Reproduce:

1. In the Satellite webUI, navigate to Administer >> Settings >> Ansible;

2. Change the value of the `Default verbosity level` setting to anything other than the default (which is `Disabled`);

3. Initiate an Ansible remote job run against a set of content hosts;

4. Navigate to the `Remote action` subtask for the job.


Actual results:

Output is the same regardless of the value of the `Default verbosity level` setting.


Expected results:

Output verbosity corresponds to the value of this setting.

Comment 3 Lukas Zapletal 2019-08-15 07:42:19 UTC
Hello,

I am not Ansible expert however before someone from the Satellite Ansible team picks up, I can comment that this setting should only add "ansible -vvvv" options. The more you set it more "-v" characters are appended.

Comment 4 Ondřej Pražák 2019-11-20 07:01:44 UTC
Created redmine issue https://projects.theforeman.org/issues/28312 from this bug

Comment 5 Nagoor Shaik 2019-12-02 16:17:00 UTC
This is fixed with https://projects.theforeman.org/issues/27236

Comment 6 Bryan Kearney 2019-12-02 17:06:54 UTC
Upstream bug assigned to aruzicka

Comment 7 Bryan Kearney 2019-12-02 17:06:56 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/27236 has been resolved.

Comment 9 Lukas Pramuk 2020-09-21 22:53:09 UTC
VERIFIED.

@Satellite 6.8.0 Snap16
tfm-rubygem-foreman_ansible_core-3.0.3-1.el7sat.noarch

by the following manual reproducer:

1) Set ansible verbosity level to 'Level 4' (-vvvv) at Administer -> Settings -> tab Ansible - item 'Default verbosity level' 

2) Run ansible REX command against a host 

3) Inspect respective dynflow task:

___/ Run \______

 3: Actions::ProxyAction (success) [ 1010.67s / 0.01s ]

Queue: remote_execution

Started at: 2020-09-21 22:07:48 UTC

Ended at: 2020-09-21 22:24:38 UTC

Real time: 1010.67s

Execution time (excluding suspended state): 0.01s

Input: 
---
proxy_operation_name: ansible-runner
ansible_inventory:
...
verbosity_level: '4'
...

>>> verbosity level from setting is present in the proxy task

Comment 12 errata-xmlrpc 2020-10-27 12:59:02 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 (Important: Satellite 6.8 release), 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/RHSA-2020:4366


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