Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1201008 - Unable to perform incremental update of puppet module in CLI
Unable to perform incremental update of puppet module in CLI
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
6.1.0
Unspecified Unspecified
unspecified Severity high (vote)
: Unspecified
: Unused
Assigned To: Eric Helms
sthirugn@redhat.com
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks: 1130651
  Show dependency treegraph
 
Reported: 2015-03-11 15:55 EDT by sthirugn@redhat.com
Modified: 2017-02-23 15:20 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:29:46 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9735 None None None 2016-04-22 12:11 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description sthirugn@redhat.com 2015-03-11 15:55:12 EDT
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 16:02:09 EDT
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 13:44:08 EDT
Created redmine issue http://projects.theforeman.org/issues/9735 from this bug
Comment 4 Bryan Kearney 2015-03-13 08:05:18 EDT
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 16:41:47 EDT
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-14 20:21:07 EDT
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 16:56:04 EDT
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 09:29:16 EDT
This bug is slated to be released with Satellite 6.1.
Comment 14 errata-xmlrpc 2015-08-12 01:29:46 EDT
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.