I tried to compare the content of pulp-rpm-yumplugins-2.19.1-1.el7.noarch.rpm and pulp-rpm-yumplugins-2.20.0-1.el7.noarch.rpm but the only difference found was:
$ diff -Naur plug_19/pulp-profile-update.py plug_20/pulp-profile-update.py --- plug_19/pulp-profile-update.py 2019-05-30 15:16:40.000000000 +0300 +++ plug_20/pulp-profile-update.py 2019-07-10 23:41:04.000000000 +0300 @@ -41,7 +41,15 @@ cfg['filesystem']['id_cert_dir'], cfg['filesystem']['id_cert_filename']) ssl = cfg.parse_bool(cfg['server']['verify_ssl']) - connection = PulpConnection(host, port, cert_filename=cert, verify_ssl=ssl) + proxy_host = cfg['server']['proxy_host'] + proxy_port = int(cfg['server']['proxy_port']) + connection = PulpConnection( + host, + port, + cert_filename=cert, + verify_ssl=ssl, + proxy_host=proxy_host, + proxy_port=proxy_port) Bindings.__init__(self, connection) Tried to uncomment proxy_port and proxy_host in the config but it didn't help. I also tried to remove .pyc and .pyo, but no effect. вс, 14 июл. 2019 г. в 23:54, Konstantin M. Khankin < khankin.konstan...@gmail.com>: > Hi! > > I've upgraded my clients to 2.20.0 and now each of them reports "Plugin > "pulp-profile-update" can't be imported" on any yum operation. > > I took one client which was not updated and didn't have this issue and ran > "yum update": > > # yum upgrade > > *Loaded plugins: fastestmirror, pulp-profile-update, versionlock*Loading > mirror speeds from cached hostfile > Resolving Dependencies > --> Running transaction check > ---> Package pulp-agent.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-agent.noarch 0:2.20.0-1.el7 will be an update > ---> Package pulp-consumer-client.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-consumer-client.noarch 0:2.20.0-1.el7 will be an update > ---> Package pulp-puppet-consumer-extensions.noarch 0:2.19.1-1.el7 will be > updated > ---> Package pulp-puppet-consumer-extensions.noarch 0:2.20.0-1.el7 will be > an update > ---> Package pulp-puppet-handlers.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-puppet-handlers.noarch 0:2.20.0-1.el7 will be an update > ---> Package pulp-rpm-consumer-extensions.noarch 0:2.19.1-1.el7 will be > updated > ---> Package pulp-rpm-consumer-extensions.noarch 0:2.20.0-1.el7 will be an > update > ---> Package pulp-rpm-handlers.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-rpm-handlers.noarch 0:2.20.0-1.el7 will be an update > ---> Package pulp-rpm-yumplugins.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-rpm-yumplugins.noarch 0:2.20.0-1.el7 will be an update > ---> Package python-pulp-agent-lib.noarch 0:2.19.1-1.el7 will be updated > ---> Package python-pulp-agent-lib.noarch 0:2.20.0-1.el7 will be an update > ---> Package python-pulp-bindings.noarch 0:2.19.1-1.el7 will be updated > ---> Package python-pulp-bindings.noarch 0:2.20.0-1.el7 will be an update > ---> Package python-pulp-client-lib.noarch 0:2.19.1-1.el7 will be updated > ---> Package python-pulp-client-lib.noarch 0:2.20.0-1.el7 will be an update > ---> Package python-pulp-common.noarch 0:2.19.1-1.el7 will be updated > ---> Package python-pulp-common.noarch 0:2.20.0-1.el7 will be an update > ---> Package python-pulp-puppet-common.noarch 0:2.19.1-1.el7 will be > updated > ---> Package python-pulp-puppet-common.noarch 0:2.20.0-1.el7 will be an > update > ---> Package python-pulp-rpm-common.noarch 0:2.19.1-1.el7 will be updated > ---> Package python-pulp-rpm-common.noarch 0:2.20.0-1.el7 will be an update > --> Finished Dependency Resolution > ... > > Now this client has this issue: > > # yum upgrade > > *Plugin "pulp-profile-update" can't be imported*Loaded plugins: > fastestmirror, versionlock > Loading mirror speeds from cached hostfile > ^C > > Downgrade to 2.19.1 helps: > > # yum downgrade pulp-rpm-yumplugins python-pulp-bindings > python-pulp-common python-pulp-puppet-common pulp-consumer-client > python-pulp-client-lib pulp-agent python-pulp-agent-lib > python-pulp-rpm-common pulp-puppet-handlers > pulp-puppet-consumer-extensions pulp-rpm-handlers > pulp-rpm-consumer-extensions > > *Plugin "pulp-profile-update" can't be imported*Loaded plugins: > fastestmirror, versionlock > Loading mirror speeds from cached hostfile > Resolving Dependencies > --> Running transaction check > ---> Package pulp-agent.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package pulp-agent.noarch 0:2.20.0-1.el7 will be erased > ---> Package pulp-consumer-client.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package pulp-consumer-client.noarch 0:2.20.0-1.el7 will be erased > ---> Package pulp-puppet-consumer-extensions.noarch 0:2.19.1-1.el7 will be > a downgrade > ---> Package pulp-puppet-consumer-extensions.noarch 0:2.20.0-1.el7 will be > erased > ---> Package pulp-puppet-handlers.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package pulp-puppet-handlers.noarch 0:2.20.0-1.el7 will be erased > ---> Package pulp-rpm-consumer-extensions.noarch 0:2.19.1-1.el7 will be a > downgrade > ---> Package pulp-rpm-consumer-extensions.noarch 0:2.20.0-1.el7 will be > erased > ---> Package pulp-rpm-handlers.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package pulp-rpm-handlers.noarch 0:2.20.0-1.el7 will be erased > ---> Package pulp-rpm-yumplugins.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package pulp-rpm-yumplugins.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-agent-lib.noarch 0:2.19.1-1.el7 will be a > downgrade > ---> Package python-pulp-agent-lib.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-bindings.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package python-pulp-bindings.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-client-lib.noarch 0:2.19.1-1.el7 will be a > downgrade > ---> Package python-pulp-client-lib.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-common.noarch 0:2.19.1-1.el7 will be a downgrade > ---> Package python-pulp-common.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-puppet-common.noarch 0:2.19.1-1.el7 will be a > downgrade > ---> Package python-pulp-puppet-common.noarch 0:2.20.0-1.el7 will be erased > ---> Package python-pulp-rpm-common.noarch 0:2.19.1-1.el7 will be a > downgrade > ---> Package python-pulp-rpm-common.noarch 0:2.20.0-1.el7 will be erased > --> Finished Dependency Resolution > ... > > # yum upgrade > *Loaded plugins: fastestmirror, pulp-profile-update, versionlock* > Loading mirror speeds from cached hostfile > Resolving Dependencies > --> Running transaction check > ---> Package pulp-agent.noarch 0:2.19.1-1.el7 will be updated > ---> Package pulp-agent.noarch 0:2.20.0-1.el7 will be an update > ... > > I tried debugging with yum -v, yum -e 10 and with strace but can't find > difference. I added new options to the config consumer.conf but they are > commented out so should not influence. I tried to go with yum source code > to see how it imports plugins but also couldn't find an issue. > > What could be the cause? > > Thanks! > > -- > Konstantin Khankin > -- Ханкин Константин
_______________________________________________ Pulp-list mailing list Pulp-list@redhat.com https://www.redhat.com/mailman/listinfo/pulp-list