Issue #820
closed
Install succeeded message when errata is actually not installed
Status:
CLOSED - CURRENTRELEASE
Description
When trying to install an errata without having an rpm profile from the consumer, The errata install gives a Install Succeeded message
Version
[root@cloud-qe-12 ~]# rpm -qa pulp-server
pulp-server-2.6.1-0.2.beta.el6.noarch
[root@cloud-qe-12 ~]#
[root@cloud-qe-12 ~]# pulp-admin rpm consumer errata install run --consumer-id my-el6 --errata-id 'RHEA-2015:0141'
Install task created with id [ 7407fd73-eb94-406f-9123-8877e907db75 ]
This command may be exited via ctrl+c without affecting the request.
Install Succeeded
<\pre>
- Priority changed from Normal to High
- Triaged changed from No to Yes
The ideal path is to let the client side determine what from an errata is applicable.
- Status changed from NEW to ASSIGNED
- Assignee set to jortel@redhat.com
Looks like in f21 (yum 3.4.3) and newer (maybe older) the security plugin was pulled into the core. The version of yum on EL6 and older seems to still require the plugin. Between the two, the CLI options are different. The plugin supports: --cve=CVE and the core supports --cves=CVE.
In any case, the YUM handler uses the YUM lib so not sure how this can be used at the moment.
Another approach might be to:
- Mitigate (for now) by raising an error on the server if we don't have an profiles.
- In the YUM profiler, tell the consumer to update all of the packages listed in the CVE and let YUM sort it out.
Still investigating.
- Status changed from ASSIGNED to POST
- Status changed from POST to MODIFIED
- Platform Release set to 2.6.2
- Status changed from MODIFIED to 5
- Status changed from 5 to 6
Verified
[root@mgmt12 ~]# rpm -qa pulp-server
pulp-server-2.6.2-0.2.beta.el6.noarch
[root@mgmt12 ~]#
[root@mgmt12 ~]# pulp-admin rpm consumer errata install run --consumer-id profile-test --errata-id 'RHEA-2015:0141'
Consumer has no RPM unit profile
- Status changed from 6 to CLOSED - CURRENTRELEASE
Also available in: Atom
PDF