Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1363806 - NoMethodError: undefined method `openscap_proxy_id_changed?' for #<Host::Managed:>
Summary: NoMethodError: undefined method `openscap_proxy_id_changed?' for #<Host::Mana...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: SCAP Plugin
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: Marek Hulan
QA Contact: Sanket Jagtap
URL:
Whiteboard:
: 1386524 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-03 15:38 UTC by Kathryn Dixon
Modified: 2020-07-16 08:51 UTC (History)
12 users (show)

Fixed In Version: tfm-rubygem-foreman_openscap-0.5.3.22-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1446730 (view as bug list)
Environment:
Last Closed: 2017-06-20 17:53:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Migrate_foreman (28.15 KB, text/plain)
2017-05-31 15:14 UTC, Sanket Jagtap
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16485 0 None None None 2016-09-08 11:55:21 UTC

Description Kathryn Dixon 2016-08-03 15:38:17 UTC
Description of problem:

when upgrading to satellite 6.2 from 6.1.9 we received openscap error in the satellite.log 

Version-Release number of selected component (if applicable):


How reproducible: have not reproduced. pre health check script passed before upgrade.


Steps to Reproduce:
1. 
2.
3.

Actual results: 

db:migrate
18195 (See full trace by running task with --trace)
18196 == 20150612135546 CreateHostStatus: migrating =================================
18197 -- create_table(:host_status)
18198    -> 0.0412s
18199 -- add_index(:host_status, :host_id)
18200    -> 0.0051s
18201 -- add_foreign_key("host_status", "hosts", {:name=>"host_status_hosts_host_id_fk", :column=>"host_id"})
18202    -> 0.0044s
18203 -- add_column(:hosts, :global_status, :integer, {:default=>0, :null=>false})

Expected results: a completed satellite upgrade or the health check for hosts to fail before upgrade.

We did delete the host out of the webui, and it did not get us passed this error.

Additional info: adding full satellite.log

Comment 3 Marek Hulan 2016-09-08 11:55:17 UTC
Created redmine issue http://projects.theforeman.org/issues/16485 from this bug

Comment 4 Bryan Kearney 2016-09-13 16:17:43 UTC
Upstream bug assigned to mhulan

Comment 5 Bryan Kearney 2016-09-13 16:17:46 UTC
Upstream bug assigned to mhulan

Comment 6 Bryan Kearney 2016-09-21 08:18:03 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16485 has been resolved.

Comment 7 Marek Hulan 2016-10-19 11:44:34 UTC
*** Bug 1386524 has been marked as a duplicate of this bug. ***

Comment 11 Mike McCune 2017-04-27 14:57:14 UTC
Marek: can you get QE some guidelines on how to test this during an upgrade?

Comment 12 Marek Hulan 2017-04-28 13:42:01 UTC
If the bug was present, it would fail on upgrade during rake db:migrate. So in order to test it is fixed, make sure you have Satellite 6.1, make sure some host has at least one openscap report, try upgrading to 6.2 where host statuses were introduced.

Comment 13 Sanket Jagtap 2017-05-31 15:13:59 UTC
Build: Satellite 6.2.10 snap2 

1) Satellite 6.1 (hosts+reports)
2) Perfromed upgrade from 6.1 to 6.2.10 snap2

Upgrade was successful

PFA, Upgrade Step: migrate_foreman...

Comment 14 Sanket Jagtap 2017-05-31 15:14:51 UTC
Created attachment 1283828 [details]
Migrate_foreman

Comment 15 Bryan Kearney 2017-06-20 17:53:55 UTC
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/RHBA-2017:1553


Note You need to log in before you can comment on or make changes to this bug.