Bug #20493
closedmissing ansible_verbosity setting
Description
Hi,
I'm running:
- foreman . 1.15.2
- katello: 3.4.4
- foreman_ansible: 1.4.5
As found in the release note for foreman_ansible 1.4.1 there should be a verbosity level setting in the ansible tab of the foreman setting, in my setup it is just missing (see screenshot)
How to get that back?
Files
Updated by Daniel Lobato Garcia over 7 years ago
Can you share the content of the Administer > About "Installed packages" section? Also ensure it's at 1.4.5 on the same page, "System status" card, "Plugins" tab.
I can't think of any reason why the setting is not there on 1.4.5 right now. Have you restarted the server (systemctl restart httpd) after installing/updating the plugin?
Updated by Arsene Gschwind over 7 years ago
Daniel Lobato Garcia wrote:
Can you share the content of the Administer > About "Installed packages" section? Also ensure it's at 1.4.5 on the same page, "System status" card, "Plugins" tab.
I can't think of any reason why the setting is not there on 1.4.5 right now. Have you restarted the server (systemctl restart httpd) after installing/updating the plugin?
Here the installed packages and the version seems correct:
Installed Packages
candlepin-2.0.40-1.el7.noarch
candlepin-selinux-2.0.40-1.el7.noarch
foreman-1.15.2-1.el7.noarch
foreman-cli-1.15.2-1.el7.noarch
foreman-compute-1.15.2-1.el7.noarch
foreman-debug-1.15.2-1.el7.noarch
foreman-installer-1.15.2-1.el7.noarch
foreman-installer-katello-3.4.4-1.el7.noarch
foreman-ovirt-1.15.2-1.el7.noarch
foreman-postgresql-1.15.2-1.el7.noarch
foreman-proxy-1.15.2-1.el7.noarch
foreman-release-1.15.2-1.el7.noarch
foreman-release-scl-3-1.el7.noarch
foreman-selinux-1.15.2-1.el7.noarch
katello-3.4.4-2.el7.noarch
katello-certs-tools-2.4.0-1.el7.noarch
katello-client-bootstrap-1.4.0-2.el7.noarch
katello-common-3.4.4-2.el7.noarch
katello-debug-3.4.4-2.el7.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-3.4.4-1.el7.noarch
katello-repos-3.4.0-3.el7.noarch
katello-selinux-3.0.2-1.el7.noarch
katello-server-ca-1.0-4.noarch
katello-service-3.4.4-2.el7.noarch
pulp-client-1.0-2.noarch
pulp-docker-plugins-2.4.0-2.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
pulp-puppet-plugins-2.13.2-1.el7.noarch
pulp-puppet-tools-2.13.2-1.el7.noarch
pulp-rpm-plugins-2.13.2-1.el7.noarch
pulp-selinux-2.13.2-1.el7.noarch
pulp-server-2.13.2-1.el7.noarch
python-gofer-qpid-2.7.6-1.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-kombu-3.0.33-6.pulp.el7.noarch
python-pulp-common-2.13.2-1.el7.noarch
python-pulp-docker-common-2.4.0-2.el7.noarch
python-pulp-oid_validation-2.13.2-1.el7.noarch
python-pulp-puppet-common-2.13.2-1.el7.noarch
python-pulp-repoauth-2.13.2-1.el7.noarch
python-pulp-rpm-common-2.13.2-1.el7.noarch
python-pulp-streamer-2.13.2-1.el7.noarch
python-qpid-1.36.0-1.el7.noarch
python-qpid-proton-0.17.0-3.el7.x86_64
python-qpid-qmf-1.36.0-1.el7.x86_64
python-urllib3-1.10.2-2.katello.el7.noarch
qpid-cpp-client-1.36.0-1.el7.x86_64
qpid-cpp-client-devel-1.36.0-1.el7.x86_64
qpid-cpp-server-1.36.0-1.el7.x86_64
qpid-cpp-server-linearstore-1.36.0-1.el7.x86_64
qpid-dispatch-router-0.7.0-1.el7.x86_64
qpid-proton-c-0.17.0-3.el7.x86_64
qpid-qmf-1.36.0-1.el7.x86_64
qpid-tools-1.36.0-1.el7.noarch
rubygem-smart_proxy_pulp-1.3.0-1.el7.noarch
spfy-tfm.host.sapify.ch-apache-1.0-5.noarch
spfy-tfm.host.sapify.ch-foreman-client-1.0-2.noarch
spfy-tfm.host.sapify.ch-foreman-proxy-1.0-3.noarch
spfy-tfm.host.sapify.ch-foreman-proxy-client-1.0-2.noarch
spfy-tfm.host.sapify.ch-puppet-client-1.0-2.noarch
spfy-tfm.host.sapify.ch-qpid-broker-1.0-3.noarch
spfy-tfm.host.sapify.ch-qpid-client-cert-1.0-2.noarch
spfy-tfm.host.sapify.ch-qpid-router-client-1.0-2.noarch
spfy-tfm.host.sapify.ch-qpid-router-server-1.0-2.noarch
spfy-tfm.host.sapify.ch-tomcat-1.0-2.noarch
tfm-rubygem-activerecord-session_store-0.1.2-2.el7.noarch
tfm-rubygem-addressable-2.3.6-4.el7.noarch
tfm-rubygem-algebrick-0.7.3-4.el7.noarch
tfm-rubygem-ancestry-2.2.1-1.el7.noarch
tfm-rubygem-anemone-0.7.2-14.el7.noarch
tfm-rubygem-angular-rails-templates-0.1.2-5.el7.noarch
tfm-rubygem-apipie-bindings-0.2.0-1.el7.noarch
tfm-rubygem-apipie-params-0.0.5-1.el7.noarch
tfm-rubygem-apipie-rails-0.4.0-2.el7.noarch
tfm-rubygem-audited-4.4.1-1.el7.noarch
tfm-rubygem-awesome_print-1.7.0-1.el7.noarch
tfm-rubygem-bastion-5.0.6-1.fm1_15.el7.noarch
tfm-rubygem-bundler_ext-0.4.1-1.el7.noarch
tfm-rubygem-clamp-1.0.0-5.el7.noarch
tfm-rubygem-concurrent-ruby-1.0.3-1.fm1_15.el7.noarch
tfm-rubygem-concurrent-ruby-edge-0.2.3-1.fm1_15.el7.noarch
tfm-rubygem-css_parser-1.4.7-1.el7.noarch
tfm-rubygem-daemons-1.2.3-3.el7.noarch
tfm-rubygem-deacon-1.0.0-1.el7.noarch
tfm-rubygem-deep_cloneable-2.2.2-1.el7.noarch
tfm-rubygem-deface-1.2.0-1.el7.noarch
tfm-rubygem-docker-api-1.28.0-2.el7.noarch
tfm-rubygem-domain_name-0.5.20160310-1.el7.noarch
tfm-rubygem-dynflow-0.8.24-1.fm1_15.el7.noarch
tfm-rubygem-excon-0.51.0-1.el7.noarch
tfm-rubygem-facter-2.4.0-3.el7.x86_64
tfm-rubygem-fast_gettext-1.1.0-1.el7.noarch
tfm-rubygem-fog-1.38.0-1.el7.noarch
tfm-rubygem-fog-aws-1.2.0-1.el7.noarch
tfm-rubygem-fog-core-1.42.0-1.el7.noarch
tfm-rubygem-fog-google-0.1.0-2.el7.noarch
tfm-rubygem-fog-json-1.0.2-4.el7.noarch
tfm-rubygem-fog-openstack-0.1.18-1.el7.noarch
tfm-rubygem-fog-rackspace-0.1.4-1.el7.noarch
tfm-rubygem-fog-vsphere-1.7.0-1.el7.noarch
tfm-rubygem-fog-xenserver-0.2.3-1.el7.noarch
tfm-rubygem-fog-xml-0.1.2-4.el7.noarch
tfm-rubygem-foreman-tasks-0.9.4-1.fm1_15.el7.noarch
tfm-rubygem-foreman-tasks-core-0.1.4-1.fm1_15.el7.noarch
tfm-rubygem-foreman_ansible-1.4.5-1.fm1_15.el7.noarch
tfm-rubygem-foreman_ansible_core-1.1.1-1.fm1_15.el7.noarch
tfm-rubygem-foreman_dhcp_browser-0.0.7-3.fm1_11.el7.noarch
tfm-rubygem-foreman_discovery-9.1.1-1.fm1_15.el7.noarch
tfm-rubygem-foreman_docker-3.2.1-1.fm1_15.el7.noarch
tfm-rubygem-foreman_hooks-0.3.14-1.fm1_15.el7.noarch
tfm-rubygem-foreman_remote_execution-1.3.3-1.fm1_15.el7.noarch
tfm-rubygem-foreman_remote_execution_core-1.0.5-1.fm1_15.el7.noarch
tfm-rubygem-formatador-0.2.1-9.el7.noarch
tfm-rubygem-friendly_id-5.1.0-3.el7.noarch
tfm-rubygem-get_process_mem-0.2.1-1.el7.noarch
tfm-rubygem-gettext_i18n_rails-1.2.1-3.el7.noarch
tfm-rubygem-hammer_cli-0.10.2-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.10.2-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-5.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-2.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.10-2.fm1_12.el7.noarch
tfm-rubygem-hammer_cli_import-0.11.3-1.el7.noarch
tfm-rubygem-hammer_cli_katello-0.10.0-1.el7.noarch
tfm-rubygem-hashie-2.0.5-4.el7.noarch
tfm-rubygem-highline-1.7.8-2.el7.noarch
tfm-rubygem-http-cookie-1.0.2-1.el7.noarch
tfm-rubygem-ipaddress-0.8.0-9.el7.noarch
tfm-rubygem-katello-3.4.4-1.el7.noarch
tfm-rubygem-ldap_fluff-0.4.6-1.el7.noarch
tfm-rubygem-little-plugger-1.1.3-21.el7.noarch
tfm-rubygem-locale-2.0.9-11.el7.noarch
tfm-rubygem-logging-1.8.2-4.el7.noarch
tfm-rubygem-net-ldap-0.15.0-1.el7.noarch
tfm-rubygem-net-ping-2.0.1-1.el7.noarch
tfm-rubygem-net-scp-1.1.0-6.el7.noarch
tfm-rubygem-net-ssh-4.0.1-2.el7.noarch
tfm-rubygem-netrc-0.7.7-7.el7.noarch
tfm-rubygem-oauth-0.5.1-1.el7.noarch
tfm-rubygem-parse-cron-0.1.4-2.fm1_11.el7.noarch
tfm-rubygem-passenger-4.0.18-9.11.el7.x86_64
tfm-rubygem-passenger-native-4.0.18-9.11.el7.x86_64
tfm-rubygem-passenger-native-libs-4.0.18-9.11.el7.x86_64
tfm-rubygem-pg-0.15.1-3.el7.x86_64
tfm-rubygem-powerbar-1.0.17-1.el7.noarch
tfm-rubygem-qpid_messaging-0.34.1-1.el7.x86_64
tfm-rubygem-rabl-0.12.0-2.el7.noarch
tfm-rubygem-rack-jsonp-1.3.1-5.el7.noarch
tfm-rubygem-rails-i18n-4.0.9-1.el7.noarch
tfm-rubygem-rainbow-2.2.1-1.el7.noarch
tfm-rubygem-rbovirt-0.1.3-1.el7.noarch
tfm-rubygem-rbvmomi-1.10.0-1.el7.noarch
tfm-rubygem-responders-2.3.0-1.el7.noarch
tfm-rubygem-rest-client-1.8.0-1.el7.noarch
tfm-rubygem-roadie-3.2.1-1.el7.noarch
tfm-rubygem-roadie-rails-1.1.1-1.el7.noarch
tfm-rubygem-robotex-1.0.0-19.el7.noarch
tfm-rubygem-ruby2ruby-2.1.3-4.el7.noarch
tfm-rubygem-ruby_parser-3.6.3-4.el7.noarch
tfm-rubygem-runcible-1.12.0-1.el7.noarch
tfm-rubygem-safemode-1.3.1-1.el7.noarch
tfm-rubygem-scoped_search-4.1.0-1.el7.noarch
tfm-rubygem-secure_headers-3.4.1-1.el7.noarch
tfm-rubygem-sequel-4.20.0-5.el7.noarch
tfm-rubygem-sexp_processor-4.4.4-3.el7.noarch
tfm-rubygem-smart_proxy_dynflow_core-0.1.6-2.fm1_15.el7.noarch
tfm-rubygem-sshkey-1.9.0-1.el7.noarch
tfm-rubygem-trollop-2.1.2-1.el7.noarch
tfm-rubygem-unf-0.1.3-5.el7.noarch
tfm-rubygem-unf_ext-0.0.6-6.el7.x86_64
tfm-rubygem-unicode-display_width-1.0.5-1.el7.noarch
tfm-rubygem-useragent-0.16.8-1.el7.noarch
tfm-rubygem-validates_lengths_from_database-0.5.0-3.el7.noarch
tfm-rubygem-webpack-rails-0.9.8-1.el7.noarch
tfm-rubygem-wicked-1.1.0-4.el7.noarch
tfm-rubygem-will_paginate-3.1.5-1.el7.noarch
tfm-rubygem-x-editable-rails-1.5.5-1.el7.noarch
tfm-runtime-3.2-9.el7.x86_64
I did service restart and even reboot the server.
Thanks
Updated by Arsene Gschwind over 7 years ago
Hi,
I've made further investigation.
When setting a default value for ansible_verbosity in /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_ansible-1.4.5/app/models/setting/ansible.rb like:
.....
set(
'ansible_verbosity',
N_('Foreman will add the this level of verbosity for '\
'additional debugging output when running Ansible playbooks.'),
'1',
N_('Default verbosity level'),
nil,
:collection => lambda do
{ '' => N_('Disabled'),
'1' => N_('Level 1 (-v)'),
'2' => N_('Level 2 (-vv)'),
'3' => N_('Level 3 (-vvv)'),
'4' => N_('Level 4 (-vvvv)') }
end
),
.....
and restarting the service, the missing entry in ansible setting will appear.
Is there a missing placeholder or is it not correctly initialized before first use?
Rgds,
Arsène
Updated by Daniel Lobato Garcia over 6 years ago
- Status changed from New to Closed
This has already been merged
Updated by Anonymous over 6 years ago
On a clean install of foreman 1.17/Katello 3.6, it seems this bug still exists, the ansible verbosity field is not displayed in Ansible Settings web page. Should I create another issue ?
Updated by Arsene Gschwind over 6 years ago
Hart Mel wrote:
On a clean install of foreman 1.17/Katello 3.6, it seems this bug still exists, the ansible verbosity field is not displayed in Ansible Settings web page. Should I create another issue ?
I can confirm on foreman 1.17/Katello 3.6 it still doesn't appear.