Skip to content

Commit

Permalink
Use Groups.POST in post upgrade actor reports
Browse files Browse the repository at this point in the history
Depends-On: oamg/leapp#677
  • Loading branch information
fernflower committed Nov 18, 2020
1 parent 1f12677 commit 064e9fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def process(self):
'update GRUB core as it is not done automatically on legacy (BIOS) systems. '
),
reporting.Severity(reporting.Severity.HIGH),
reporting.Groups([reporting.Groups.BOOT]),
reporting.Groups([reporting.Groups.BOOT, reporting.Groups.POST]),
reporting.Remediation(
hint='Please run "grub2-install <GRUB_DEVICE> command manually after upgrade'),
])
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def process(self):
reporting.Title(title),
reporting.Summary(summary),
reporting.Severity(reporting.Severity.HIGH),
reporting.Groups([reporting.Groups.PYTHON]),
reporting.Groups([reporting.Groups.PYTHON, reporting.Groups.POST]),
reporting.Audience('developer'),
reporting.ExternalLink(url, title),
reporting.Remediation(hint='Please run "alternatives --set python /usr/bin/python3" after upgrade'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def _report_set_release():
reporting.Remediation(
hint='If you wish to receive updates for the latest released version of RHEL 8, run `subscription-manager'
' release --unset` after the upgrade.'),
reporting.Groups([reporting.Groups.UPGRADE_PROCESS]),
reporting.Groups([reporting.Groups.UPGRADE_PROCESS, reporting.Groups.POST]),
reporting.RelatedResource('package', 'subscription-manager')
])

Expand All @@ -41,7 +41,7 @@ def _report_unhandled_release():
),
reporting.Severity(reporting.Severity.LOW),
reporting.Remediation(hint=hint),
reporting.Groups([reporting.Groups.UPGRADE_PROCESS]),
reporting.Groups([reporting.Groups.UPGRADE_PROCESS, reporting.Groups.POST]),
reporting.RelatedResource('package', 'subscription-manager')
])

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def process(self):
reporting.Title('Could not schedule SElinux for relabelling'),
reporting.Summary('/.autorelabel file could not be created: {}.'.format(e)),
reporting.Severity(reporting.Severity.HIGH),
reporting.Groups(COMMON_REPORT_GROUPS + [reporting.Groups.FAILURE]),
reporting.Groups(COMMON_REPORT_GROUPS + [reporting.Groups.FAILURE, reporting.Groups.POST]),
reporting.Remediation(
hint='Please set autorelabelling manually after the upgrade.'
),
Expand Down

0 comments on commit 064e9fa

Please sign in to comment.