Bug 1199101 - auto-attach content hosts bulk action does not reindex elasticsearch
Summary: auto-attach content hosts bulk action does not reindex elasticsearch
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Tom McKay
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-05 13:19 UTC by Tom McKay
Modified: 2017-02-23 20:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:59:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9655 0 None None None 2016-04-22 16:14:51 UTC

Description Tom McKay 2015-03-05 13:19:28 UTC
After running auto-attach on all content hosts via bulk action, the subscriptions page showed obsolete data. rake katello:reindex corrected.

Comment 1 Tom McKay 2015-03-05 13:19:29 UTC
Created from redmine issue http://projects.theforeman.org/issues/9655

Comment 3 Bryan Kearney 2015-04-20 22:05:33 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9655 has been closed
-------------
Thomas McKay
Applied in changeset commit:katello|98e27b80f96e3d5d15776ee9c20fa9897651eb13.

Comment 4 Bryan Kearney 2015-04-21 01:28:41 UTC
commit 8589d0bc27cb61a4e4625ed4cb1aebb4703d7ee5
Author: Tom McKay <thomasmckay>
Date:   Mon Apr 20 15:10:12 2015 -0400

    fixes #9655 - reindex content hosts and ignore warnings
    
    changed generic exception for rubocop
    
    (cherry picked from commit 98e27b80f96e3d5d15776ee9c20fa9897651eb13)

Comment 5 Bryan Kearney 2015-04-21 01:28:57 UTC
commit 8589d0bc27cb61a4e4625ed4cb1aebb4703d7ee5
Author: Tom McKay <thomasmckay>
Date:   Mon Apr 20 15:10:12 2015 -0400

    fixes #9655 - reindex content hosts and ignore warnings
    
    changed generic exception for rubocop
    
    (cherry picked from commit 98e27b80f96e3d5d15776ee9c20fa9897651eb13)

Comment 6 Tazim Kolhar 2015-04-30 09:27:01 UTC
hi

please provide verification steps

thanks

Comment 7 Tom McKay 2015-05-05 11:49:58 UTC
To verify, run auto-attach from the content hosts bulk action UI page. Note that a system that switches from red to green due to the auto-attach will still show up in searches for "status:red" instead of properly showing up in "status:green".

Comment 8 Tazim Kolhar 2015-05-06 08:56:02 UTC
VERIFIED :

# rpm -qa  | grep foreman
ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-gce-1.7.2.18-1.el7sat.noarch
foreman-postgresql-1.7.2.18-1.el7sat.noarch
foreman-compute-1.7.2.18-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.12-1.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.8-1.el7sat.noarch
foreman-libvirt-1.7.2.18-1.el7sat.noarch
foreman-vmware-1.7.2.18-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.1.0-1.el7sat.noarch
ruby193-rubygem-foreman-tasks-0.6.12.4-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.6-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.12-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.10-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.10-1.el7sat.noarch
foreman-debug-1.7.2.18-1.el7sat.noarch
foreman-proxy-1.7.2.4-1.el7sat.noarch
ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-client-1.0-1.noarch
ibm-hs22-02.rhts.eng.brq.redhat.com-foreman-proxy-1.0-2.noarch
foreman-1.7.2.18-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
puppet-foreman_scap_client-0.3.3-8.el7sat.noarch
foreman-ovirt-1.7.2.18-1.el7sat.noarch


steps:
Upload manifest
enable some redhat repos
register a content host
run auto-attach from the content hosts bulk action UI page
system switches from red to green due to the auto-attach

Comment 9 Bryan Kearney 2015-08-11 13:34:00 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 Bryan Kearney 2015-08-12 13:59:06 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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