Project

Profile

Help

Issue #820

closed

Install succeeded message when errata is actually not installed

Added by pthomas@redhat.com about 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6 Beta
Platform Release:
2.6.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

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>
Actions #1

Updated by mhrivnak almost 9 years ago

  • 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.

Actions #2

Updated by jortel@redhat.com almost 9 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com
Actions #3

Updated by jortel@redhat.com almost 9 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.

Still investigating.

Actions #4

Updated by jortel@redhat.com almost 9 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by jortel@redhat.com almost 9 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by dkliban@redhat.com almost 9 years ago

  • Platform Release set to 2.6.2
Actions #7

Updated by dkliban@redhat.com almost 9 years ago

  • Status changed from MODIFIED to 5
Actions #9

Updated by pthomas@redhat.com almost 9 years ago

  • 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
Actions #10

Updated by dkliban@redhat.com over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #12

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF