Project

General

Profile

Bug #17608

Hammer --resolve-dependencies flag not working

Added by Andrew Kofink over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1392063
Description of problem:
Adding "--resolve-dependencies=no" to an incremental update has no effect. Dependencies are still published to the content view

Version-Release number of selected component (if applicable):
Satellite 6.2.3
tfm-rubygem-hammer_cli_katello-0.0.22.26-1.el7sat.noarch
How reproducible:
Deploy an incremental update using "--resolve-dependencies=no"
Steps to Reproduce:
1. Promote an errata that will pull in dependencies. Examples:
hammer content-view version incremental-update --organization=MyOrg --content-view-version-id=10 --errata-ids=RHBA-2016:2454 --resolve-dependencies=no #RHEL7
hammer content-view version incremental-update --organization=MyOrg --content-view-version-id=10 --errata-ids=RHSA-2016:1912 --resolve-dependencies=no #RHEL6
2. Compare command output to package list in the errata
3. Confirm by logging into a host using a view with the incremental update:
yum list glibc #RHBA-2016:2454
yum list libX11 #RHSA-2016:1912
Actual results:
Packages included via dependency and not the specified errata are displayed
New versions of packages visible to yum
Expected results:
Only packages in the errata are displayed
Yum shows previous versions of dependent packages

History

#1 Updated by Andrew Kofink over 2 years ago

  • Subject changed from Hammer --resolve-dependencies flag not working to Hammer --resolve-dependencies flag not working
  • Target version set to 147

#2 Updated by Justin Sherrill over 2 years ago

  • Tracker changed from Bug to Feature
  • Legacy Backlogs Release (now unused) set to 114

#3 Updated by Justin Sherrill over 2 years ago

  • Tracker changed from Feature to Bug

#4 Updated by Brad Buckingham over 2 years ago

  • Target version changed from 147 to 151

#5 Updated by Brad Buckingham over 2 years ago

  • Target version changed from 151 to 157

#6 Updated by Brad Buckingham over 2 years ago

  • Target version deleted (157)

This issue will require pulp changes. Refer to bugzilla and depends on for details.

Also available in: Atom PDF