Bug 1207305
| Summary: | Incremental update with packages throws error | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | API | Assignee: | Justin Sherrill <jsherril> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sthirugn <sthirugn> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.1.0 | CC: | bbuckingham, bkearney, cwelton, jsherril, sthirugn, tkolhar |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/9951 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-08-12 14:01:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Justin Sherrill
2015-03-30 16:14:46 UTC
Created redmine issue http://projects.theforeman.org/issues/9951 from this bug Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Moving to POST since upstream bug http://projects.theforeman.org/issues/9951 has been closed ------------- Justin Sherrill Applied in changeset commit:katello|e0661bd7e992b55a2490486501c84ae5a35c9808. hi please provide verification steps thanks 1. Publish a content view with a repository and a package exclude filter filtering out at least one package 2. hammer content-view version incremental-update --package-ids 82ba8ede-9f7-4029-82b7-0a1e2057f6b8 --environment-ids=1 --id=23 where --id=23 is the content view version id, and 82ba8ede-99f7-4029-82b7-0a1e2057f6b8 is the package id It should perform an incremental update on that content view version, pushing it to Library (environment with id 1). If you need to find the package id you can use hammer -u admin -p changeme package list --search="name:kernel AND version:2.6.32" --per-page=10 for example. Verified.
Version Tested: Satellite-6.1.0-RHEL-7-20150429.2
# hammer -u admin -p changeme content-view version incremental-update --package-ids 5b4f1c13-9d1e-4da5-9c0a-69dda761aae3 --environment-ids=2 --id=3
[..........................................................] [100%]
Content View: rhel7partialcv version 1.1
Added Content:
Packages:
unzip-6.0-15.el7.x86_64
# hammer -u admin -p changeme content-view version incremental-update --package-ids 7f8a229b-c7cc-4fe6-8954-fde2b2fc3304,0fe142e8-122a-4cab-b6c8-49dab9a65c92 --environment-ids=2,3 --id=4
[..........................................................] [100%]
Content View: rhel7partialcv version 1.2
Added Content:
Packages:
freetype-2.4.11-10.el7_1.1.x86_64
freetype-devel-2.4.11-10.el7_1.1.x86_64
This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |