| Summary: | Unable to update policy when associated hostgroup is deleted | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Ranjan Kumar <rankumar> |
| Component: | SCAP Plugin | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2.0 | CC: | bkearney, ehelms, jcallaha, kbidarka, vmeghana |
| Target Milestone: | Unspecified | Keywords: | Patch, 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: | 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: | |
|
Description
Ranjan Kumar
2016-08-21 07:48:50 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/16210 has been closed We are now able to update the policy successfully when hostgroup added to policy is deleted.
2017-09-04 11:43:24 b68f65f6 [app] [I] Started PATCH "/compliance/policies/1" for 10.67.116.57 at 2017-09-04 11:43:24 -0400
2017-09-04 11:43:24 b68f65f6 [app] [I] Processing by PoliciesController#update as HTML
2017-09-04 11:43:24 b68f65f6 [app] [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"mgKYllMsY7c2saKvnCoKtnDVAfyIANzOVBsa8o0oXy41CmM3hm1w3GaPi7xOqIUVqDXueUGqYHxTqDDiBwlxzw==", "policy"=>{"name"=>"rhel7grp_policy", "description"=>"", "scap_content_id"=>"4", "scap_content_profile_id"=>"24", "tailoring_file_id"=>"", "period"=>"weekly", "weekday"=>"tuesday", "day_of_month"=>"1", "cron_line"=>"", "location_ids"=>["2", ""], "organization_ids"=>["1", ""], "hostgroup_ids"=>["", "3"]}, "commit"=>"Submit", "id"=>"1"}
2017-09-04 11:43:24 b68f65f6 [app] [I] Current user: admin (administrator)
2017-09-04 11:43:25 b68f65f6 [app] [I] Redirected to https://qe-sat6.domain.redhat.com/compliance/policies
2017-09-04 11:43:25 b68f65f6 [app] [I] Completed 302 Found in 179ms (ActiveRecord: 26.3ms)
VERIFIED with sat630-snap14.0
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
|