Bug 1199246
Summary: | unable to update openscap policy due to broken schedule feature | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kedar Bidarkar <kbidarka> |
Component: | WebUI | Assignee: | Shlomi Zadok <szadok> |
WebUI sub component: | Foreman | QA Contact: | Kedar Bidarkar <kbidarka> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | high | CC: | bkearney, jmontleo, mmccune |
Version: | 6.1.0 | Keywords: | Triaged |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 05:29:01 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: | 1047797 |
Description
Kedar Bidarkar
2015-03-05 17:54:52 UTC
Also it feels like currently creating a cron_line is broken even during creation of policy. For clarity sake: After selecting "period as weekly" and "weekday as sunday" from the schedule tab under oscap policy creation *) we could see below NULL values for 'day_of_month' and 'cron_line'. 2015-03-05 23:23:52 [I] Processing by ScaptimonyPoliciesController#create as HTML 2015-03-05 23:23:52 [I] Parameters: {"utf8"=>"✓", "authenticity_token"=>"SiRic7p2ZM4sH0202fxc03z7I4+VYkW/p0RsXBnt6I4=", "policy"=>{"current_step"=>"Locations", "name"=>"oscap_policy3u", "description"=>"", "scap_content_id"=>"1", "scap_content_profile_id"=>"3", "period"=>"weekly", "weekday"=>"sunday", "day_of_month"=>"", "cron_line"=>"", "location_ids"=>[""], "organization_ids"=>["", "1"], "hostgroup_ids"=>[""]}, "commit"=>"Next"} Proposed fix upstream: https://github.com/OpenSCAP/foreman_openscap/pull/92 I am facing this issue again, a) selecting weekly, prompts also to fill in "day of month". b) selecting monthly, prompts also to fill in "weekday". Tried with Satellite-6.1.0-RHEL-7-20150317.0 VERIFIED with sat6.1 Beta RC3. This bug is slated to be released with Satellite 6.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/RHSA-2015:1592 |