Project

General

Profile

Actions

User story #10237

closed

Make package cache refresh frequency configurable

Added by Hamlyn Mootoo almost 8 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Assignee:
-
Category:
Agent
Target version:
UX impact:
Suggestion strength:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Medium
Name check:
Fix check:
To do
Regression:

Description

I have a directive associated with a rule that is supposed to install the telnet package. My test platform has 3 servers, RHEL 6, RHEL 5, and CentOS 6.
The Agent Run Schedule is 5 minutes, and the Maximum Delay is set to 0 (screenshot attached).
On the rule, I have the MOTD directive attached, for debugging purposes.

Within 10 minutes, one of the servers re-installs telnet but the other 2 do not. After about 30 minutes, the second one gets installed, but the third doesn't.
Eventually, the 3rd one will get installed, but I'm not sure about the time. The output on each server follows:

---------------Start of First Server-------------------
[root@rclient1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.5 (Santiago)
[root@rclient1 ~]# date;yum -y -q remove telnet; echo > /etc/motd
Mon Feb 20 16:43:29 EST 2017
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
[root@rclient1 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:43:52 EST 2017
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Available Packages
telnet.x86_64 1:0.17-48.el6 rhui-rhel-6-server-rhui-rpms

[root@rclient1 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:49:21 EST 2017
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Available Packages
telnet.x86_64 1:0.17-48.el6 rhui-rhel-6-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient1 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:55:27 EST 2017
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Available Packages
    telnet.x86_64 1:0.17-48.el6 rhui-rhel-6-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient1 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:57:35 EST 2017
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Installed Packages
    telnet.x86_64 1:0.17-48.el6 @rhui-rhel-6-server-rhui-rpms
  • This line was put here by Rudder ***
    -------------End of First Server---------------------------

----------Beginning of Second Server-------------------------
[root@rclient5 ~]# cat /etc/redhat-release
CentOS release 6.4 (Final)
[root@rclient5 ~]# date;yum -y -q remove telnet; echo > /etc/motd
Mon Feb 20 16:42:46 EST 2017
[root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:43:55 EST 2017
Available Packages
telnet.x86_64 1:0.17-48.el6 base

[root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:49:32 EST 2017
Available Packages
telnet.x86_64 1:0.17-48.el6 base
  • This line was put here by Rudder ***
    [root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:55:33 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-48.el6 base
  • This line was put here by Rudder ***
    [root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:57:43 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-48.el6 base
  • This line was put here by Rudder ***
    [root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:03:40 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-48.el6 base
  • This line was put here by Rudder ***
    [root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:04:57 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-48.el6 base
  • This line was put here by Rudder ***
    [root@rclient5 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:15:38 EST 2017
    Installed Packages
    telnet.x86_64 1:0.17-48.el6 @base
  • This line was put here by Rudder ***
    [root@rclient5 ~]#
    -------------End of Second Server---------------------------------

-------------Start of Third Server--------------------------------
[root@rclient2 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.11 (Tikanga)
[root@rclient2 ~]# date;yum -y -q remove telnet; echo > /etc/motd
Mon Feb 20 16:42:48 EST 2017
[root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:43:59 EST 2017
Available Packages
telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms

[root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
Mon Feb 20 16:49:36 EST 2017
Available Packages
telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:55:37 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 16:57:48 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:03:48 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:05:03 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:15:44 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]# date;yum -q list telnet; cat /etc/motd
    Mon Feb 20 17:22:00 EST 2017
    Available Packages
    telnet.x86_64 1:0.17-41.el5 rhui-rhel-5-server-rhui-rpms
  • This line was put here by Rudder ***
    [root@rclient2 ~]#
    ----------------------End of Third Server---------------------------- (telnet still not installed after about 40 minutes)

Files

RunSched.JPG (57.1 KB) RunSched.JPG Hamlyn Mootoo, 2017-02-20 23:13
telnet-directive.JPG (63.7 KB) telnet-directive.JPG Hamlyn Mootoo, 2017-02-20 23:28
rule.JPG (96.5 KB) rule.JPG Hamlyn Mootoo, 2017-02-20 23:29

Related issues 1 (0 open1 closed)

Blocked by Rudder - User story #9110: Make the package_module bodies configurableReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF