Install succeeded message when errata is actually not installed
When trying to install an errata without having an rpm profile from the consumer, The errata install gives a Install Succeeded message
[root@cloud-qe-12 ~]# rpm -qa pulp-server
[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>
#3 Updated by email@example.com over 6 years ago
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.
#9 Updated by firstname.lastname@example.org over 6 years ago
- Status changed from 5 to 6
[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
Please register to edit this issue