Hide Forgot
Description of problem: Issuing an errata install for a consumer results in a lengthy period of time between that particular errata (and any other errata that no longer apply) being installed successfully and from being removed from the consumer's available errata. Version-Release number of selected component (if applicable): pulp-0.0.255-1.fc15.noarch How reproducible: Always Steps to Reproduce: 1. Have a RHEL 6.1 consumer registered with pulp and bound to the repository http://download.devel.redhat.com/cds/prod/content/dist/rhel/server-6/updates/ 2. Issue an errata install on the consumer via Pulp API for RHBA-2011:1170 Actual results: After issuing errata install, both pulp and gofer logs show issuing of package install for packages contained within errata. Both logs show successful completion of package installs related to those specified in the errata and pulp log shows task completion. Errata RHBA-2011:1170 still shows up as available to consumer. 42 minutes after issuing errata install the pulp log displays: "Successfully updated package profile for consumer 7bd6d569-98b7-4116-8aea-d4eb08edfb4a" After the above entry in the pulp log, the available consumer errata appears updated with errata RHBA-2011:1170 no longer available and the total available errata count now down from 214 to 174. Expected results: After choosing to install errata RHBA-2011:1170, and receiving a success notice, RHBA-2011:1170 should no longer be listed as available to the consumer. Additional info:
Initial attempt to reproduce in F14 using fabricated errata shows profile update for consumer received by pulp server (1) second prior to associated package install result. I will continue to try and reproduce. ----- 2012-01-11 14:21:46,518 2151:-1385170064: gofer.rmi.policy:INFO: policy:139 sent (jortel): { "classname": "Packages", "kws": {}, "args": [ [ "zsh" ], false ], "method": "install", "cntr": [ [], { "importkeys": false } ] } 2012-01-11 14:22:11,155 2151:-1366344848: pulp.server.api.consumer:INFO: consumer:419 Successfully updated package profile for consumer jortel 2012-01-11 14:22:12,116 2151:-1385170064: pulp.server.tasking.task:INFO: task:440 Task succeeded: Task e2540deb-3c91-11e1-b8b2-0019d21a40be: ConsumerApi.__installpackages(jortel, ['zsh'], )
The pulp.spec installs the yum-plugin for uploading profiles post yum transactions. Since it uses %{_libdir} it is installed in /usr/lib64/yum-plugins on x86_64. Unfortunately yum only looks in /usr/lib/yum-plugins. Fixing. Eric, I assume your consumer (client) is x86_64?
Jeff, correct assumption - the consumer I was using was x86_64.
build: 0.258
verified [root@preethi ~]# rpm -q pulp pulp-0.0.267-1.fc15.noarch [root@preethi ~]# pulp-admin errata list --consumerid=client1 |grep RHSA-2012:0135 RHSA-2012:0135 security Critical: java-1.6.0-openjdk security update [root@preethi ~]# pulp-admin errata install -e RHSA-2012:0135 --consumerid=client1 Created task id: ff31531c-5d86-11e1-af00-002564a85a58 Waiting: [\] Errata applied to [client1]; packages installed: [{u'name': u'java-1.6.0-openjdk', u'qname': u'1:java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.x86_64', u'epoch': u'1', u'version': u'1.6.0.0', u'release': u'1.43.1.10.6.el6_2', u'arch': u'x86_64', u'repoid': u'rhel6_2'}] Please reboot at your earliest convenience [root@preethi ~]# pulp-admin errata list --consumerid=client1 |grep RHSA-2012:0135
Pulp v1.0 is released Closed Current Release.
Pulp v1.0 is released.