Hide Forgot
Created attachment 551025 [details] Output from pulp of errata RHBA-2011:0849 Description of problem: When viewing the available errata for a consumer, errata is listed with package versions that are less than what is installed on the consumer. Version-Release number of selected component (if applicable): pulp-0.0.255-1.fc15.noarch How reproducible: Always Steps to Reproduce: 1. Register consumer with pulp 2. Bind consumer to the following repository: http://download.devel.redhat.com/cds/prod/content/dist/rhel/server-6/updates/ 3. Check version of sssd on consumer: rpm -q sssd sssd-1.5.1-66.el6_2.1.x86_64 4. Check available errata for consumer Actual results: Errata RHBA-2011:0849 is shown as applicable to the consumer. See attachment for errata details. Expected results: Errata RHBA-2011:0849 is not listed as applicable. Additional info:
is the package profile for this consumer up2date on pulp? seems to me like the package profile for your consumer still thinks you have older version installed. you could do a consumer update to make sure the profile is updated. If you have the yum plugin enabled, your yum operations should trigger a profile update.
Here is my test case: 1. created a repo/synced "testerrata" 2. created a consumer "prad" 3. bind the consumer to repo $ cat /etc/yum.repos.d/pulp.repo # # Pulp Repositories # Managed by Pulp client # [testerrata] name = testerrata enabled = 1 sslverify = 0 gpgcheck = 0 baseurl = https://prad.rdu.redhat.com/pulp/repos/pub/updates 4. install older version of package $ rpm -q patb patb-0.1-1.noarch 5. check applicable errata $ sudo pulp-consumer -u admin -p admin errata list+------------------------------------------+ Applicable Errata for consumer [prad] +------------------------------------------+ Id Type Title RHEA-2010:9999 enhancements test package enhancements 6. Errata install sudo pulp-admin -u admin -p admin errata install --consumerid=prad -i -e RHEA-2010:9999 7. check version $ rpm -q patb patb-0.1-2.noarch 8. update consumer profile $ sudo pulp-consumer -u admin -p admin consumer update Successfully updated consumer [prad] profile 9. check applicable errata $ sudo pulp-consumer -u admin -p admin errata list No errata available to list So based on this, if the consumer profile is updated, the errata computation does the right thing and doesnt show the applied errata. So based on the above test errata computation looks ok to me. Closing this as not a bug, please feel free to reopen if you see further issues.