Description of problem: Incremental update of errata with --content-view-version-environments failed 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 --errata-ids='b34c7e36-f904-4098-b097-1c33011b78e8' --environment-ids='2' --ids='be822e60-c59c-4a19-aabe-ad5c8785ab56' --id='3' --content-view-version-environments=2 An error occurred incrementally updating the content view: can't convert Symbol into Integer Actual results: Error as shown above Expected results: No error Additional info:
Based on a variety of recent updates in this area, I'd ask that this be retested.
Failed again. - But the problem is not with --content-view-version-environments. Earlier I used the environment ids vs. environment names. See Test 1 and 2. - Then I used names in --content-view-version-environments. See Test 3 - It worked. - Then I totally removed --content-view-version-environments. See Test 4 - It worked. - So I am concluding that --content-view-version-environments is useless in this command and created a bz to remove that https://bugzilla.redhat.com/show_bug.cgi?id=1218431. - Marking this bug verified and will track the other issue in BZ 1218431 Test 1: # hammer -u admin -p changeme content-view version incremental-update --puppet-module-ids=ae007b64-68ca-4919-a811-ea6fc8c81199,9b7ffccb-c236-4c90-9133-b1da28bd8034 --content-view-version-environments=2,3 --id=9 An error occurred incrementally updating the content view: Error: option '--environment-ids' is required See: 'hammer content-view version incremental-update --help' Test 2: # 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 --content-view-version-environments=2,3 --id=9 An error occurred incrementally updating the content view: can't convert Symbol into Integer Test 3: # 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 --content-view-version-environments=QE,PROD --id=9 [..................................................................] [100%] Content View: rhel7partialcv version 1.7 Added Content: Puppet Modules: jeffmccune-motd-1.0.3 jhoblitt-selenium-0.3.0 Test 4: # 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=10 [..................................................................] [100%] Content View: rhel7partialcv version 1.8 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.
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.