Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1201008 - Unable to perform incremental update of puppet module in CLI
Summary: Unable to perform incremental update of puppet module in CLI
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks: 1130651
TreeView+ depends on / blocked
 
Reported: 2015-03-11 19:55 UTC by sthirugn@redhat.com
Modified: 2017-02-23 20:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:29:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
production.log (13.74 KB, text/plain)
2015-03-11 19:55 UTC, sthirugn@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 9735 0 None None None 2016-04-22 16:11:14 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description sthirugn@redhat.com 2015-03-11 19:55:12 UTC
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:

Comment 1 sthirugn@redhat.com 2015-03-11 20:02:09 UTC
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

Comment 3 Eric Helms 2015-03-12 17:44:08 UTC
Created redmine issue http://projects.theforeman.org/issues/9735 from this bug

Comment 4 Bryan Kearney 2015-03-13 12:05:18 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9735 has been closed
-------------
Eric Helms
Applied in changeset commit:katello|ca29f5912983d6f536b033a514e062d462354ffc.

Comment 7 sthirugn@redhat.com 2015-03-23 20:41:47 UTC
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

Comment 10 Eric Helms 2015-04-15 00:21:07 UTC
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.

Comment 12 sthirugn@redhat.com 2015-05-04 20:56:04 UTC
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

Comment 13 Bryan Kearney 2015-08-11 13:29:16 UTC
This bug is slated to be released with Satellite 6.1.

Comment 14 errata-xmlrpc 2015-08-12 05:29:46 UTC
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


Note You need to log in before you can comment on or make changes to this bug.