Last active
September 28, 2018 13:59
-
-
Save jlsherrill/b726468444d5372bbf78 to your computer and use it in GitHub Desktop.
Errata debugging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6.0/2.0 | |
> foreman-rake console | |
> User.current = User.first | |
check to make sure we know which repos the system is using (this is sent by katello-agent) | |
> Katello::System.where(:name => 'hp-dl580g5-01.rhts.eng.bos.redhat.com').first.bound_yum_repos | |
Ask pulp directly what errata it thinks are applicable | |
> Katello::System.where(:name => 'hp-dl580g5-01.rhts.eng.bos.redhat.com').first.errata_ids | |
6.1/2.1/2.2 | |
> foreman-rake console | |
check to make sure we know which repos the system is using (this is sent by katello-agent) | |
> Katello::System.where(:name => 'hp-dl580g5-01.rhts.eng.bos.redhat.com').first.bound_repositories | |
check to make sure we indexed the repositories properly: | |
> Katello::System.where(:name => 'hp-dl580g5-01.rhts.eng.bos.redhat.com').first.bound_repositories.map{|r| r.errata.count} | |
Ask pulp directly what errata it thinks are applicable | |
> Katello::System.where(:name => 'hp-dl580g5-01.rhts.eng.bos.redhat.com').first.errata_ids | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment