Bug 1103937 - Package Profile only uploaded every 4 hours
Summary: Package Profile only uploaded every 4 hours
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: Sachin Ghai
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-02 23:50 UTC by Justin Sherrill
Modified: 2019-09-26 17:40 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-02 14:05:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Before installing any package, the count is 431 (52.66 KB, image/png)
2014-06-19 11:31 UTC, Sachin Ghai
no flags Details
installed "virtualization" package group (58.95 KB, image/png)
2014-06-19 11:32 UTC, Sachin Ghai
no flags Details
after installing "virtualization" package group count raised to 452 (56.21 KB, image/png)
2014-06-19 11:33 UTC, Sachin Ghai
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 6103 0 Normal Closed Package Profile only uploaded every 4 hours 2021-01-31 07:38:52 UTC

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.


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