ovirt 4.2.1 and uploading package profile problem

Hello, I'm testing a 4.2.1 environment that uses a proxy for yum. I see that after enabling 4.2.1pre repos on my future host and instaling ovirt packages, now every yum command gets this message in output: Uploading Package Profile and after a couple of minutes wait Unable to upload Package Profile Searching through internet I found posts related to katello... Indeed the ovirt install produced installation of katello-agent and katello-agent-fact-plugin rpms (version 2.9.0.1-1) How can I solve this? Do I need to put the proxy anywhere or do I have to disable any not necessary service? Thanks, Gianluca

On Thu, Feb 1, 2018 at 10:17 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:
Hello, I'm testing a 4.2.1 environment that uses a proxy for yum.
I see that after enabling 4.2.1pre repos on my future host and instaling ovirt packages, now every yum command gets this message in output:
Uploading Package Profile
and after a couple of minutes wait
Unable to upload Package Profile
Searching through internet I found posts related to katello...
Indeed the ovirt install produced installation of katello-agent and katello-agent-fact-plugin rpms (version 2.9.0.1-1)
How can I solve this? Do I need to put the proxy anywhere or do I have to disable any not necessary service?
Thanks,
Gianluca
What I notice is on a CentOS 7 host with 4.1.9 I have these yum plugins listed when I run "yum update" Loaded plugins: fastestmirror, langpacks Instead on this CentOS 7 host where I enabled the 4.2.1pre repos I get Loaded plugins: fastestmirror, langpacks, package_upload, product-id, search-disabled-repos, : subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. During install I got in yum.log: . . . Jan 29 15:44:59 Installed: libvirt-daemon-driver-interface-3.2.0-14.el7_4.7.x86_64 Jan 29 15:45:00 Installed: vhostmd-0.5-12.el7.x86_64 Jan 29 15:45:00 Installed: vdsm-hook-vhostmd-4.20.17-1.el7.centos.noarch Jan 29 15:45:00 Installed: dnsmasq-2.76-2.el7_4.2.x86_64 Jan 29 15:45:00 Installed: python-netifaces-0.10.4-3.el7.x86_64 Jan 29 15:45:00 Installed: python-rhsm-certificates-1.19.10-1.el7_4.x86_64 Jan 29 15:45:00 Installed: python-rhsm-1.19.10-1.el7_4.x86_64 Jan 29 15:45:01 Installed: subscription-manager-1.19.23-1.el7.centos.x86_64 Jan 29 15:45:01 Installed: katello-agent-fact-plugin-2.9.0.1-1.el7.noarch Jan 29 15:45:01 Installed: usbredir-0.7.1-2.el7.x86_64 Jan 29 15:45:01 Installed: scrub-2.5.2-7.el7.x86_64 . . . 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? Gianluca

2018-02-01 12:25 GMT+01:00 Gianluca Cecchi <gianluca.cecchi@gmail.com>:
On Thu, Feb 1, 2018 at 10:17 AM, Gianluca Cecchi < gianluca.cecchi@gmail.com> wrote:
Hello, I'm testing a 4.2.1 environment that uses a proxy for yum.
I see that after enabling 4.2.1pre repos on my future host and instaling ovirt packages, now every yum command gets this message in output:
Uploading Package Profile
and after a couple of minutes wait
Unable to upload Package Profile
Searching through internet I found posts related to katello...
Indeed the ovirt install produced installation of katello-agent and katello-agent-fact-plugin rpms (version 2.9.0.1-1)
How can I solve this? Do I need to put the proxy anywhere or do I have to disable any not necessary service?
Thanks,
Gianluca
What I notice is on a CentOS 7 host with 4.1.9 I have these yum plugins listed when I run "yum update"
Loaded plugins: fastestmirror, langpacks
Instead on this CentOS 7 host where I enabled the 4.2.1pre repos I get
Loaded plugins: fastestmirror, langpacks, package_upload, product-id, search-disabled-repos, : subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register.
During install I got in yum.log: . . . Jan 29 15:44:59 Installed: libvirt-daemon-driver- interface-3.2.0-14.el7_4.7.x86_64 Jan 29 15:45:00 Installed: vhostmd-0.5-12.el7.x86_64 Jan 29 15:45:00 Installed: vdsm-hook-vhostmd-4.20.17-1.el7.centos.noarch Jan 29 15:45:00 Installed: dnsmasq-2.76-2.el7_4.2.x86_64 Jan 29 15:45:00 Installed: python-netifaces-0.10.4-3.el7.x86_64 Jan 29 15:45:00 Installed: python-rhsm-certificates-1.19.10-1.el7_4.x86_64 Jan 29 15:45:00 Installed: python-rhsm-1.19.10-1.el7_4.x86_64 Jan 29 15:45:01 Installed: subscription-manager-1.19.23- 1.el7.centos.x86_64 Jan 29 15:45:01 Installed: katello-agent-fact-plugin-2.9.0.1-1.el7.noarch Jan 29 15:45:01 Installed: usbredir-0.7.1-2.el7.x86_64 Jan 29 15:45:01 Installed: scrub-2.5.2-7.el7.x86_64 . . .
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 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1525933
Gianluca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D Red Hat EMEA <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>

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? Gianluca

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 <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
participants (2)
-
Gianluca Cecchi
-
Sandro Bonazzola