Bug #16232
Incremental Update fails with --update-all-systems
Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
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
History
#1
Updated by John Mitsch almost 6 years ago
- Description updated (diff)
#2
Updated by The Foreman Bot almost 6 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 6 years ago
- Target version set to 123
#4
Updated by John Mitsch almost 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|d715a3f13bf648328fe508bb9f601e90b8ceed6b.
#5
Updated by Justin Sherrill almost 6 years ago
- Legacy Backlogs Release (now unused) set to 184
#6
Updated by John Mitsch over 5 years ago
- Target version changed from 123 to 169
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