2018-02-02 11:23 GMT+01:00 Gianluca Cecchi <gianluca.cecchi@gmail.com>:
On Fri, Feb 2, 2018 at 10:56 AM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:



The katello-agent rpm contains:
/etc/yum/pluginconf.d/package_upload.conf

and as seen above it was also installed subscription-manager-1.19.23-1.el7.centos.x86_64
that puts:

/etc/yum/pluginconf.d/subscription-manager.conf
/etc/yum/pluginconf.d/product-id.conf
/etc/yum/pluginconf.d/search-disabled-repos.conf

Reasons?

Ciao Gianluca, 
katello-agent has been added to hosts in 4.1.9[1] to ease integration with foreman/katello also with oVirt Node.
if you don't use foreman you can disable the agent and the yum plugin but you may also consider adding katello to your datacenter


 


Actually it seems to me that the culprit of the latencies is subscription-manager plug-in

When running yum update on my CentOS 7 node I get this netstat:

 tcp        0      1 10.4.4.20:39994         209.132.183.108:443     SYN_SENT   

[root@ov42 ~]# nslookup 209.132.183.108
Server: 10.4.1.11
Address: 10.4.1.11#53

Non-authoritative answer:
108.183.132.209.in-addr.arpa name = subscription.rhsm.redhat.com.

and it depends on my proxy settings put in /etc/yum.conf not acquired by subscription manager that uses its own file for these settings....

But my question is: why a CentOS system with oVirt should contact subscription.rhsm.redhat.com?

Agreed, this is not needed. It should contact local datacenter katello instance.
Please open a BZ about it

 

Gianluca



--

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA