| Summary: | API 'api/v2/puppetclasses/<puppet-class-id>/smart_class_parameters' returns duplicate records. | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Ranjan Kumar <rankumar> | |
| Component: | API | Assignee: | Swapnil Abnave <sabnave> | |
| Status: | CLOSED ERRATA | QA Contact: | Katello QA List <katello-qa-list> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 6.2.2 | CC: | andrew.schofield, bbuckingham, jcallaha, mhulan, sabnave, xdmoon | |
| Target Milestone: | Unspecified | Keywords: | Triaged | |
| Target Release: | Unused | |||
| Hardware: | x86_64 | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1432927 (view as bug list) | Environment: | ||
| Last Closed: | 2018-02-21 16:54: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: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1432927 | |||
|
Description
Ranjan Kumar
2016-10-16 12:24:03 UTC
Verified by automation on Satellite 6.3 Snap 8 and Satellite 6.2.7 both via API and CLI. Trimmed example output: https://sat6.com/api/v2/puppetclasses/106/smart_class_parameters { "total": 200, "subtotal": 200, "page": 1, "per_page": 20, "search": null, "sort": { "by": null, "order": null }, "results": [ { "description": null, "override": false, "parameter_type": "string", "default_value": "koquuo1Je4", "hidden_value?": false, "hidden_value": "*****", "use_puppet_default": null, "required": false, "validator_type": null, "validator_rule": null, "merge_overrides": false, "merge_default": false, "avoid_duplicates": false, "override_value_order": "fqdn\nhostgroup\nos\ndomain", "created_at": "2017-01-20 16:07:30 +0200", "updated_at": "2017-01-20 16:07:30 +0200", "puppetclass_name": "api_test_classparameters", "parameter": "api_classparameters_scp_001", "id": 2420, "puppetclass_id": 106, "override_values_count": 0 }, { "description": null, "override": false, "parameter_type": "string", "default_value": "io4moo3Ipa", "hidden_value?": false, "hidden_value": "*****", "use_puppet_default": null, "required": false, "validator_type": null, "validator_rule": null, "merge_overrides": false, "merge_default": false, "avoid_duplicates": false, "override_value_order": "fqdn\nhostgroup\nos\ndomain", "created_at": "2017-01-20 16:07:30 +0200", "updated_at": "2017-01-20 16:07:30 +0200", "puppetclass_name": "api_test_classparameters", "parameter": "api_classparameters_scp_002", "id": 2421, "puppetclass_id": 106, "override_values_count": 0 }, (In reply to Stanislav Tkachenko from comment #2) > Verified by automation on Satellite 6.3 Snap 8 and Satellite 6.2.7 both via > API and CLI. Sorry, verified on 6.3 only, on 6.2.7 it is failing if same module was imported twice to different content views. But as this bug is marked with flag 6.3.0 only, status still is verified. *** Bug 1432927 has been marked as a duplicate of this bug. *** 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/RHSA-2018:0336
|