Hide Forgot
Description of problem: I would be less confusing if the the message mentions that no packages were updated if an errata is installed on a consumer where there is no errata to be applied to begin with Version-Release number of selected component (if applicable): [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.14.alpha.el6.noarch How reproducible: Steps to Reproduce: 1. create & sync a repo with errata 2. bind the repo to a consumer 3. Install an errata that is not applicable on the consumer Actual results: The install still says successful when the errata is not actually installed. [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.14.alpha.el6.noarch [root@pulp-v2-server ~]# pulp-admin rpm repo create --repo-id errata-install --feed http://repos.fedorapeople.org/repos/pulp/pulp/demo_repos/test_errata_install/ Successfully created repository [errata-install] [root@pulp-v2-server ~]# pulp-admin rpm repo sync run --repo-id errata-install +----------------------------------------------------------------------+ Synchronizing Repository [errata-install] +----------------------------------------------------------------------+ This command may be exited by pressing ctrl+c without affecting the actual operation on the server. Downloading metadata... [\] ... completed Downloading repository content... [==================================================] 100% RPMs: 11/11 items Delta RPMs: 0/0 items ... completed Downloading distribution files... [==================================================] 100% Distributions: 0/0 items ... completed Importing errata... [-] ... completed Importing package groups/categories... [-] ... completed Publishing packages... [==================================================] 100% Packages: 11/11 items ... completed Publishing distributions... [==================================================] 100% Distributions: 0/0 items ... completed Generating metadata [\] ... completed Publishing repository over HTTPS [-] ... completed [root@pulp-v2-server ~]# pulp-admin rpm consumer bind --repo-id errata-install --consumer-id pulp-client This command may be exited via ctrl+c without affecting the request. -- Updating Pulp Server -- [-] Waiting to begin... [-] Running... Task Succeeded -- Notifying the Consumer -- [-] Waiting to begin... [|] Running... Task Succeeded [root@pulp-v2-server ~]# pulp-admin consumer list +----------------------------------------------------------------------+ Consumers +----------------------------------------------------------------------+ Id: node1 Display Name: node1 Description: None Bindings: Confirmed: test-upload, zoo1 Unconfirmed: Notes: Id: pulp-client Display Name: pulp-client Description: None Bindings: Confirmed: errata-install Unconfirmed: Notes: Key: value [root@pulp-v2-server ~]# pulp-admin rpm repo content errata --repo-id errata-install Description: None From: enhancements Id: RHEA-2010:9999 Issued: 2010-11-7 00:00:00 Pkglist: Name: F13 Pulp Test Packages Packages: Arch: x86_64 Epoch: 0 Filename: emoticons-0.1-2.x86_64.rpm Name: emoticons Release: 2 Src: xen-3.0.3-80.el5_3.3.src.rpm Sum: md5, 366bb5e73a5905eacb82c96e0578f92b Version: 0.1 Arch: x86_64 Epoch: 0 Filename: patb-0.1-2.x86_64.rpm Name: patb Release: 2 Src: xen-3.0.3-80.el5_3.3.src.rpm Sum: md5, f3c197a29d9b66c5b65c5d62b25db5b4 Version: 0.1 Short: F13PTP Pushcount: Reboot Suggested: False References: Release: Rights: Severity: Solution: Status: final Summary: Title: test package enhancements Type: enhancements Updated: 2010-11-8 00:00:00 Version: 1 Description: None From: pulp-list Id: grinder_test_2 Issued: 2010-11-7 00:00:00 Pkglist: Name: F14 Pulp Test Packages Packages: Arch: noarch Epoch: 0 Filename: grinder_test_package-2.0-1.fc14.noarch.rpm Name: grinder_test_package Release: 1.fc14 Src: grinder_test_package-2.0-1.fc14.src.rpm Sum: md5, 99f34d26f648d2765fa360b8d19cb020 Version: 2.0 Short: F14PTP Pushcount: Reboot Suggested: False References: Release: Rights: Severity: Solution: Status: final Summary: Title: Test Errata referring to grinder_test_package-2.0 Type: enhancements Updated: 2012-7-25 00:00:00 Version: 1 Description: None From: pulp-list Id: grinder_test_3 Issued: 2010-11-7 00:00:00 Pkglist: Name: F14 Pulp Test Packages Packages: Arch: noarch Epoch: 0 Filename: grinder_test_package-3.0-1.fc14.noarch.rpm Name: grinder_test_package Release: 1.fc14 Src: grinder_test_package-3.0-1.fc14.src.rpm Sum: md5, fd379f5e8e0b31035e0647fe6ee2994e Version: 3.0 Short: F14PTP Pushcount: Reboot Suggested: False References: Release: Rights: Severity: Solution: Status: final Summary: Title: Test Errata referring to grinder_test_package-3.0 Type: enhancements Updated: 2012-7-25 00:00:00 Version: 1 Description: None From: pulp-list Id: grinder_test_4 Issued: 2010-11-7 00:00:00 Pkglist: Name: F14 Pulp Test Packages Packages: Arch: noarch Epoch: 0 Filename: grinder_test_package-4.0-1.fc14.noarch.rpm Name: grinder_test_package Release: 1.fc14 Src: grinder_test_package-4.0-1.fc14.src.rpm Sum: md5, d89e83ed183fa55dfb0bd2eec14db93c Version: 4.0 Short: F14PTP Pushcount: Reboot Suggested: False References: Release: Rights: Severity: Solution: Status: final Summary: Title: Test Errata referring to grinder_test_package-4.0 Type: enhancements Updated: 2012-7-25 00:00:00 Version: 1 [root@pulp-v2-server ~]# pulp-admin rpm consumer errata install run --consumer-id pulp-client --errata-id grinder_test_3 This command may be exited via ctrl+c without affecting the request. [-] Waiting to begin... Install Succeeded [root@pulp-v2-client ~]# rpm -qa |grep grinder grinder-0.1.16-1.el6.noarch Expected results: Additional info:
Moved to https://pulp.plan.io/issues/371