Bug 1212003

Summary: trigger content host checkin when last_checkin specified to create/update api
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: Content ManagementAssignee: Tom McKay <tomckay>
Status: CLOSED CURRENTRELEASE QA Contact: Tazim Kolhar <tkolhar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.4CC: cwelton, dlobatog, tkolhar
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10144
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 16:02:49 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:

Description Tom McKay 2015-04-15 11:46:02 UTC
Content hosts "check in" periodically via /rhsm. To facilitate mimicing this through v2 api, process the last_checkin parameter as a checkin.

To test: Create or update a content host, specifying last_checkin, then note "Last Checkin" column in UI.

Comment 1 Tom McKay 2015-04-15 11:46:03 UTC
Created from redmine issue http://projects.theforeman.org/issues/10144

Comment 2 Tom McKay 2015-04-15 11:46:05 UTC
Upstream bug assigned to tomckay

Comment 3 Tom McKay 2015-04-15 11:47:02 UTC
Needed for splice

Comment 5 Bryan Kearney 2015-04-21 14:06:35 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10144 has been closed
-------------
Thomas McKay
Applied in changeset commit:katello|e5f7c8467d0cb40f1f259f599ce17f78aed27c6a.

Comment 7 Bryan Kearney 2015-06-26 14:32:35 UTC
Delivered in Snap10

Comment 8 Tazim Kolhar 2015-07-10 08:58:38 UTC
VERIFIED:

# rpm -qa | grep foreman
ruby193-rubygem-foreman-tasks-0.6.12.8-1.el7sat.noarch
rubygem-hammer_cli_foreman_docker-0.0.3.9-1.el7sat.noarch
foreman-selinux-1.7.2.13-1.el7sat.noarch
foreman-ovirt-1.7.2.30-1.el7sat.noarch
rubygem-hammer_cli_foreman_bootdisk-0.1.2.7-1.el7sat.noarch
foreman-debug-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2.13-1.el7sat.noarch
foreman-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_docker-1.2.0.18-1.el7sat.noarch
ruby193-rubygem-foreman-redhat_access-0.2.0-8.el7sat.noarch
rubygem-hammer_cli_foreman_discovery-0.0.1.10-1.el7sat.noarch
foreman-proxy-1.7.2.5-1.el7sat.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-client-1.0-1.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-client-1.0-1.noarch
foreman-compute-1.7.2.30-1.el7sat.noarch
foreman-vmware-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.14-1.el7sat.noarch
foreman-libvirt-1.7.2.30-1.el7sat.noarch
ruby193-rubygem-foreman_gutterball-0.0.1.9-1.el7sat.noarch
ibm-x3755-02.ovirt.rhts.eng.bos.redhat.com-foreman-proxy-1.0-1.noarch
foreman-gce-1.7.2.30-1.el7sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3.4-1.el7sat.noarch
ruby193-rubygem-foreman_discovery-2.0.0.17-1.el7sat.noarch
foreman-postgresql-1.7.2.30-1.el7sat.noarch

steps:
update a content host, specifying last_checkin, then note "Last Checkin" column in UI.

Comment 9 Bryan Kearney 2015-08-12 16:02:49 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.