Bug 1318601
Summary: | Unable to remove ostree content from selected content-view | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> | ||||
Component: | Content Management | Assignee: | Partha Aji <paji> | ||||
Status: | CLOSED ERRATA | QA Contact: | Peter Ondrejka <pondrejk> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.2.0 | CC: | bbuckingham, bkearney | ||||
Target Milestone: | Unspecified | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-21 16:51:07 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: | 1321771 | ||||||
Attachments: |
|
Couple of things with this issue 1) It happens when you are trying to remove the last remaining repo from the content view. So if you said Add 3 repos and remove 2 . Its able to do that but its unable to remove the last one 2) This behaviour happens for yum/ostree. Thanks Partha for checking this. Issue appears with the deletion of last remaining repo from the content-view. Also, same issue with yum repos too. This should have been resolved in GA Verified in satellite-6.2.3-1.0, ostree and yum repos can now be successfully removed from a cv even if they are the last remaining. 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
|
Created attachment 1137340 [details] Not able to remove ostree content from CV via webUI Description of problem: I was trying to remove an ostree repo that was added to selected content-view from webUI. Version-Release number of selected component (if applicable): Sat 6.2 snap4 How reproducible: always Steps to Reproduce: 1. create/sync a ostree repo 2. create a CV and add os tree content 3. now remove the ostree content from CV Actual results: web UI throws notification 'Content-view updated' but it doesn't remove the ostree from selected CV Expected results: As soon as user remove the ostree content listed under 'List/Remove' tab , it should go to 'Add' tab. In any case user should be able to remove ostree content from CV via webUI Additional info: No error in logs: 2016-03-17 06:28:59 [app] [I] Started PUT "/katello/api/v2/content_views/3?organization_id=1" for 10.65.193.200 at 2016-03-17 06:28:59 -0400 2016-03-17 06:28:59 [app] [I] Processing by Katello::Api::V2::ContentViewsController#update as JSON 2016-03-17 06:28:59 [app] [I] Parameters: {"content_host_count"=>0, "composite"=>false, "repository_ids"=>nil, "component_ids"=>nil, "default"=>false, "next_version"=>1, "id"=>"3", "name"=>"cv_ostree", "label"=>"cv_ostree", "description"=>nil, "organization"=>{"name"=>"Default Organization", "label"=>"Default_Organization", "id"=>1}, "created_at"=>"2016-03-17 15:44:09 +0530", "updated_at"=>"2016-03-17 15:44:09 +0530", "environments"=>nil, "repositories"=>[{"id"=>18, "name"=>"Red Hat Enterprise Linux Atomic Host Trees", "label"=>"Red_Hat_Enterprise_Linux_Atomic_Host_Trees", "content_type"=>"ostree"}], "puppet_modules"=>[{"id"=>1, "name"=>"motd", "author"=>"jeffmccune", "uuid"=>nil, "created_at"=>"2016-03-17 15:45:00 +0530", "updated_at"=>"2016-03-17 15:45:00 +0530"}], "versions"=>nil, "components"=>nil, "activation_keys"=>nil, "last_published"=>nil, "permissions"=>{"view_content_views"=>true, "edit_content_views"=>true, "destroy_content_views"=>true, "publish_content_views"=>true, "promote_or_remove_content_views"=>true}, "organization_id"=>"1", "api_version"=>"v2", "content_view"=>{"id"=>"3", "name"=>"cv_ostree", "label"=>"cv_ostree", "description"=>nil, "default"=>false, "created_at"=>"2016-03-17 15:44:09 +0530", "updated_at"=>"2016-03-17 15:44:09 +0530", "composite"=>false, "next_version"=>1, "repository_ids"=>nil, "component_ids"=>nil}} 2016-03-17 06:28:59 [app] [I] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.7/app/views/katello/api/v2/common/update.json.rabl within katello/api/v2/layouts/resource (14.8ms) 2016-03-17 06:28:59 [app] [I] Completed 200 OK in 279ms (Views: 13.3ms | ActiveRecord: 53.3ms)