Bug 1553105
Summary: | composite_content_view_ids field of a content_view_version is always empty | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> |
Component: | Content Views | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.3.0 | CC: | akofink, andrew.schofield, dconsoli, egolov |
Target Milestone: | 6.5.0 | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-14 12:37:00 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: |
Description
Evgeni Golov
2018-03-08 10:29:16 UTC
Scratch the "reproducible: 100%", I can't repro this when creating *new* CV/CCVs. But I see this on the dogfood server, and I've seen other people on IRC complaining about the same behaviour. Hi Evgeni, could this be a duplicate of bug 1522769? It looks like that was verified on 6.3 snap 34; however, I am not sure if that was before/after the environment above. (In reply to Brad Buckingham from comment #4) > Hi Evgeni, could this be a duplicate of bug 1522769? > > It looks like that was verified on 6.3 snap 34; however, I am not sure if > that was before/after the environment above. Given I face it on a 6.3.0 GA build, unlikely. Or at least, not verified ;) However, I cannot reliably reproduce this. Some CVs have this issue, some do not. There is also https://bugzilla.redhat.com/show_bug.cgi?id=1573193, which seems the same bug, and even has an upstream issue attached https://projects.theforeman.org/issues/23458 Created redmine issue https://projects.theforeman.org/issues/25143 from this bug *** Bug 1573193 has been marked as a duplicate of this bug. *** Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/25143 has been resolved. Steps to test: 1. Create a content-view and publish 2. Create a composite view and add content-view to composite view but don't publish 3. GET /katello/api/v2/content_view_versions/2 4. Look for the id 5. Publish the composite view 6. GET /katello/api/v2/content_view_versions/2 Actual Results --------------- Step 3 GET: { "version": "1.0", "major": 1, "minor": 0, "composite_content_view_ids": [], "published_in_composite_content_view_ids": [], "content_view_id": 3, "default": false,{ "version": "1.0", "major": 1, "minor": 0, "composite_content_view_ids": [], "published_in_composite_content_view_ids": [], "content_view_id": 3, "default": false, "description": null, "package_count": 1022, "module_stream_count": 0, "srpm_count": 0, "file_count": 0, "package_group_count": 0, "puppet_module_count": 0, "docker_manifest_count": 0, "docker_manifest_list_count": 0, "docker_tag_count": 0, "ostree_branch_count": 0, "deb_count": 0, "id": 2, "name": "content-view-testing 1.0", "created_at": "2019-01-15 14:50:34 UTC", "updated_at": "2019-01-15 14:50:34 UTC", "content_view": { "id": 3, "name": "content-view-testing", "label": "content-view-testing" }, "composite_content_views": [], "composite_content_view_versions": [], "published_in_composite_content_views": [], "environments": [ "description": null, "package_count": 1022, "module_stream_count": 0, "srpm_count": 0, "file_count": 0, "package_group_count": 0, "puppet_module_count": 0, "docker_manifest_count": 0, "docker_manifest_list_count": 0, "docker_tag_count": 0, "ostree_branch_count": 0, "deb_count": 0, "id": 2, "name": "content-view-testing 1.0", "created_at": "2019-01-15 14:50:34 UTC", "updated_at": "2019-01-15 14:50:34 UTC", "content_view": { "id": 3, "name": "content-view-testing", "label": "content-view-testing" }, "composite_content_views": [], "composite_content_view_versions": [], "published_in_composite_content_views": [], "environments": [ Step 6 GET: { "version": "1.0", "major": 1, "minor": 0, "composite_content_view_ids": [], "published_in_composite_content_view_ids": [ 2 ], "content_view_id": 3, "default": false, "description": null, "package_count": 1022, "module_stream_count": 0, "srpm_count": 0, "file_count": 0, "package_group_count": 0, "puppet_module_count": 0, "docker_manifest_count": 0, "docker_manifest_list_count": 0, "docker_tag_count": 0, "ostree_branch_count": 0, "deb_count": 0, "id": 2, "name": "content-view-testing 1.0", "created_at": "2019-01-15 14:50:34 UTC", "updated_at": "2019-01-15 14:50:34 UTC", "content_view": { "id": 3, "name": "content-view-testing", "label": "content-view-testing" }, In steps 6 you can see that the published_in_composite_content_view_ids has id 2 which came from step 3. Thus verifying that the id is present once published. Tested in 6.5.0 snap 11. 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-2019:1222 |