Bug 1103937

Summary: Package Profile only uploaded every 4 hours
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: katello-agentAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Sachin Ghai <sghai>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.3CC: cwelton, jmontleo, jsherril, mmccune, sghai
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/6103
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 14:05:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Before installing any package, the count is 431
none
installed "virtualization" package group
none
after installing "virtualization" package group count raised to 452 none

Description Justin Sherrill 2014-06-02 23:50:26 UTC
Description of problem:
Currently the package profile of a system is only updated every 4 hours.  This means you can:

* Install a package
* uninstall a package
* install an errata

and you will not see the action reflected in the system package profile or applicable errata list until up to 4 hours later.


Additional info:


Satellite 5 provided this information instantly.

Comment 1 Justin Sherrill 2014-06-02 23:52:42 UTC
not sure if this should be implemented in katello agent or rhsm.  rhsm would make the most sense, but due to the issue of updating clients, maybe katello agent would be best.  It would know when packages are installed/updated/removed through katello.

Comment 3 Justin Sherrill 2014-06-06 18:29:10 UTC
Created redmine issue http://projects.theforeman.org/issues/6103 from this bug

Comment 4 Bryan Kearney 2014-06-11 12:38:35 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/6103 has been closed

Comment 6 Sachin Ghai 2014-06-18 08:57:27 UTC
I was trying to verify this bz with sat6 beta snap9 compose2, but not sure what changed have been made and where. I can still see the certCheckInterval time to 240 min (4 hours) for rhsmcertd in /etc/rhsm/rhsm.conf on client.


@Justin, Request you to please share steps to verify this bz.

Comment 7 Justin Sherrill 2014-06-18 13:03:43 UTC
Steps to verify:

1.  Register a client to a sat6 server
2.  Ensure that katello-agent is installed 
3.  Subscribe host to some repository with content
4.  Go to packages tab
5.  Note package list

Perform one of the following:

a)  Package install
b)  Package remove
c)  errata install (from errata tab)
d)  package group install
e)  package group remove

6.  Go back to the package list

Any changes that occured (package remove/install) should immediately be reflected in the package list.

Comment 8 Sachin Ghai 2014-06-19 11:29:48 UTC
Thanks Justin.

I followed the steps as you suggested in comment7 with sat6 beta snap10. 

I tried package install/remove also package group install/remove. In both cases, the changes immediately reflected in he package list.

Comment 9 Sachin Ghai 2014-06-19 11:31:13 UTC
Created attachment 910351 [details]
Before installing any package, the count is 431

Comment 10 Sachin Ghai 2014-06-19 11:32:03 UTC
Created attachment 910352 [details]
installed "virtualization" package group

Comment 11 Sachin Ghai 2014-06-19 11:33:00 UTC
Created attachment 910354 [details]
after installing "virtualization" package group count raised to 452

Comment 12 Bryan Kearney 2014-07-02 14:05:04 UTC
This was delivered with 6.0.3, which is the Satellite 6 Beta.