Project

General

Profile

Bug #16232

Incremental Update fails with --update-all-systems

Added by John Mitsch almost 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Incremental update using cli does not update systems when --update-all-systems=true is passed

How reproducible:
Always

Steps to Reproduce:
hammer> content-view version incremental-update --content-view-version-id=2 --errata-ids=b135a87f-49fd-4925-8923-495f894b6c60 --lifecycle-environment-ids=1 --update-all-hosts=true

[Foreman] Password for admin:
An error occurred incrementally updating the content view:
Forbidden - server refused to process the request

Actual results:
The incremental update errors and does not complete

Expected results:
The incremental update finishes but the systems are updated

Additional info:

Associated revisions

Revision d715a3f1 (diff)
Added by John Mitsch almost 3 years ago

Fixes #16232 - Incremental update for multiple host check (#6262)

The structure of the version environments being checked here does
not use 'environment_ids', but rather 'environments' passed as an
array.

To test:
1) register two clients to the Katello server
2) create and sync a repository with errata
i.e. https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/
3) publish this repository in a content view
4) install a package with errata (like 'walrus') on both clients
5) downgrade package (to walrus-0.71-1), making errata available
6) associate both clients with content view
7) run this hammer command
content-view version incremental-update /
--content-view-version-id=<ccv_id> /
--errata-ids=<errata_id> /
--lifecycle-environment-ids=1 /
--update-all-hosts=true

History

#1 Updated by John Mitsch almost 3 years ago

  • Description updated (diff)

#2 Updated by The Foreman Bot almost 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to John Mitsch
  • Pull request https://github.com/Katello/katello/pull/6262 added

#3 Updated by John Mitsch almost 3 years ago

  • Target version set to 123

#4 Updated by John Mitsch almost 3 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Justin Sherrill almost 3 years ago

  • Legacy Backlogs Release (now unused) set to 184

#6 Updated by John Mitsch over 2 years ago

  • Target version changed from 123 to 169

Also available in: Atom PDF