Bug 1309226
| Summary: | 'hidden value' flag is not listed in hammer parameter info output | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
| Component: | Hammer | Assignee: | orabin |
| Status: | CLOSED ERRATA | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | Nightly | CC: | bbuckingham, kbidarka |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/13750 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 11:18:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1278718 | ||
Created redmine issue http://projects.theforeman.org/issues/13750 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/13750 has been closed ------------- Ori Rabin Applied in changeset commit:hammer-cli-foreman|b41686566e7c16cb8ad084e7510bd59b32ef21bf. The issue is still reproducible in Sat 6.2 snap 4. The hidden value flag is not displayed in the hammer info output of smart class parameter as well as smart variable. So moving this to Failed QA. This fix is available in hammer_cli_foreman version 0.6.2. Snap 4 is using 0.5.1 so this should be tested again when the hammer version is updated or cherry-picked for the next snap. ~]# hammer sc-param info --id 16
[Foreman] Password for admin:
Id: 16
Parameter: ca_file
Default Value: ${$::foreman_scap_client::params::ca_file}
Override: false
Puppet class: foreman_scap_client
Description:
Type: string
Hidden Value?: false
Required: false
Validator:
Type:
Rule:
Override values:
Merge overrides: no
Merge default value: no
Avoid duplicates: no
Order: fqdn, hostgroup, os, domain
Values:
Environments:
production
Created at: 2016/05/19 09:33:41
Updated at: 2016/05/19 09:33:41
We can now see the "hidden value" flag from the hammer cli output.
VERIFIED with sat62-snap12.1
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, 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/RHBA-2016:1501 |
Description of problem: hidden value flag is not displayed in the output of hammer sc-param info --id <id>. Version-Release number of selected component (if applicable): foreman-1.11.0-0.develop.201601251557git59dc77b.el6.noarch How reproducible: Always Steps to Reproduce: 1. From hammer CLI, info some parameter # hammer sc-param info --id <id> Actual results: The 'hidden value' flag for that parameter is not displayed/listed in output. Output: #hammer sc-param info --id 319 Ignoring ruby-libvirt-0.5.2 because its extensions are not built. Try: gem pristine ruby-libvirt --version 0.5.2 Id: 319 Parameter: admin_password Default Value: [123] Override: true Puppet class: nova::api Description: sadsa dsadwq 3r q3rq f fdfs dfdsf dsd 23e 3rrdsf dsdsfdfdf 323e3 ewewe#@#@#@#@#@!*()*&(&&$%%#@$# Type: array Required: false Validator: Type: Rule: kit,sit Override values: Merge overrides: no Merge default value: no Avoid duplicates: no Order: hostgroup, organization, fqdn, domain, os Values: 1) Id: 26 Match: os=rhel76 Value: ["sit"] Environments: KT_Default_Organization_Library_cv_puppet_2 Created at: 2016/01/27 10:18:52 Updated at: 2016/02/17 09:23:59 Expected results: 'hidden value' flag should be added/displayed in info output of sc-param. Additional info: