Project

Profile

Help

Issue #820

Install succeeded message when errata is actually not installed

Added by pthomas@redhat.com over 6 years ago. Updated over 2 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>

History

#1 Updated by mhrivnak over 6 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.

#2 Updated by jortel@redhat.com over 6 years ago

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

#3 Updated by jortel@redhat.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.

Still investigating.

#4 Updated by jortel@redhat.com over 6 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by jortel@redhat.com over 6 years ago

  • Status changed from POST to MODIFIED

#6 Updated by dkliban@redhat.com over 6 years ago

  • Platform Release set to 2.6.2

#7 Updated by dkliban@redhat.com over 6 years ago

  • Status changed from MODIFIED to 5

#9 Updated by pthomas@redhat.com over 6 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

#10 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#12 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF