Bug 1940473
Summary: | Satellite 6.8 upgrade fails with error "Validation failed: Lookup values is invalid" at db:migrate stage | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | James Jeffers <jjeffers> |
Component: | SCAP Plugin | Assignee: | Ondřej Pražák <oprazak> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.8.0 | CC: | ahumbe, bkearney, matthew.lesieur, mhulan, mmccune, oezr, oprazak, rankumar, tbrisker, vijsingh, zhunting |
Target Milestone: | 6.8.5 | Keywords: | PrioBumpGSS, Triaged, Upgrades |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-foreman_openscap-4.0.6 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 1935786 | Environment: | |
Last Closed: | 2021-03-31 19:48:19 UTC | Type: | --- |
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: | 1942073 | ||
Bug Blocks: |
Description
James Jeffers
2021-03-18 13:58:35 UTC
// Workaround Go to Configure --> Smart Class Parameters --> click on foreman_scap_client --> click on "Smart Class Parameter" tab --> click on port Scroll down and submit. After submitting you will get an error "The class could not be saved because of an error in one of the class parameters." Scroll down to "Specify Matchers" and correct all the fields marked in Red color. Or you can delete Incorrect matchers. And submit again Once you get a "Successfully updated foreman_scap_client." message Re-run the migration #foreman-rake db:migrate Verified Verified with: - Satellite 6.8.5 snap 3 - tfm-rubygem-foreman_openscap-4.0.6-1.el7sat.noarch Test steps: 1. Install Satellite 6.7.5 2. Import puppet_foreman_scap_client 3. Do not set up any policies or make sure port param has override: false 4. Upgrade Satellite 6.7.5 to Satellite 6.8.5 snap 3 Observations: - Upgrade completed successfully. - No migration failures. 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 (Satellite 6.8.5 Async Bug Fix Update), 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/RHBA-2021:1057 |