Bug 1201008
| Summary: | Unable to perform incremental update of puppet module in CLI | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | sthirugn <sthirugn> | ||||
| Component: | Content Management | Assignee: | Eric Helms <ehelms> | ||||
| Status: | CLOSED ERRATA | QA Contact: | sthirugn <sthirugn> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.1.0 | CC: | bkearney, jmontleo, mmccune, walden | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| URL: | http://projects.theforeman.org/issues/9735 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-08-12 05:29:46 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: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1130651 | ||||||
| Attachments: |
|
||||||
Same error happens with incremental update of puppet module name: hammer> content-view version incremental-update --puppet-modules='motd' --environment-ids='2' --ids='be822e60-c59c-4a19-aabe-ad5c8785ab56' --id='3' An error occurred incrementally updating the content view: undefined method `any?' for nil:NilClass Created redmine issue http://projects.theforeman.org/issues/9735 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/9735 has been closed ------------- Eric Helms Applied in changeset commit:katello|ca29f5912983d6f536b033a514e062d462354ffc. Failed hammer> content-view version incremental-update --puppet-module-ids='6750ac81-2261-4c08-8650-761a6391ad26' --environment-ids='2' --ids='5a6c99bc-5c1f-4203-a9e0-0802c261319b' --id='3' An error occurred incrementally updating the content view: Error: undefined method `key?' for nil:NilClass There have been a few fixes in this area that have gone in and as a result this issue should be fixed; moving to post. Verified.
Version Tested:
Satellite-6.1.0-RHEL-7-20150429.2
Applying 1 puppet module:
# hammer -u admin -p changeme content-view version incremental-update --puppet-module-ids=256b2143-90db-4786-a337-5c5caf14eb42 --environment-ids=2,3 --id=7
[..........................................................] [100%]
Content View: rhel7partialcv version 1.5
Added Content:
Puppet Modules:
puppetlabs-apache-1.4.1
Applying two puppet modules:
# hammer -u admin -p changeme content-view version incremental-update --puppet-module-ids=ae007b64-68ca-4919-a811-ea6fc8c81199,9b7ffccb-c236-4c90-9133-b1da28bd8034 --environment-ids=2,3 --id=8
[..........................................................] [100%]
Content View: rhel7partialcv version 1.6
Added Content:
Puppet Modules:
jeffmccune-motd-1.0.3
jhoblitt-selenium-0.3.0
This bug is slated to be released with Satellite 6.1. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592 |
Created attachment 1000648 [details] production.log Description of problem: Unable to perform incremental update of puppet module in CLI Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150303.0 How reproducible: Always Steps to Reproduce: hammer> content-view version incremental-update --puppet-module-ids='7e004f56-c4a9-40d0-8792-f19227792cf5' --environment-ids='2' --ids='be822e60-c59c-4a19-aabe-ad5c8785ab56' --id='3' An error occurred incrementally updating the content view: undefined method `any?' for nil:NilClass Actual results: Error as shown above (production.log attached) Expected results: Puppet module incremental update should work fine Additional info: