Bug 1571800
Summary: | hammer content-view puppet-module add fails with wrong number of arguments (given 1, expected 0) | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Lukas Pramuk <lpramuk> |
Component: | Content Views | Assignee: | Evgeni Golov <egolov> |
Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | cfouant, egolov, rplevka, tstrachota |
Target Milestone: | 6.4.0 | Keywords: | Regression, Reopened, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.13.0-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-16 19:28:31 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
Lukas Pramuk
2018-04-25 12:44:33 UTC
*** Bug 1573236 has been marked as a duplicate of this bug. *** Tested upstream, couldn't reproduce: [vagrant@centos7-hammer-devel ~]$ hammer -v content-view puppet-module add --author "puppetlabs" --name "concat" --content-view-id 3 Puppet module added to content view @Sat6.4.0 Snap 2 - BUG present tfm-rubygem-hammer_cli-0.12.0-1.el7sat.noarch foreman-1.18.0.0.1-0.1.el7sat.noarch katello-3.7.0-3.nightly.el7sat.noarch # hammer content-view create --name "Puppet View" --organization-id 1 --product Internal # hammer content-view puppet-module add --author lpramuk --name mc --content-view "Puppet View" --organization-id 1 Could not add the puppet module: wrong number of arguments (given 1, expected 0) vs. @Upstream - it works OK tfm-rubygem-hammer_cli-0.13.pre.develop-1.201803232224gite493035.el7.noarch foreman-1.18.0-0.develop.201805080055git36d17b1.el7.noarch katello-3.7.0-3.nightly.el7.noarch # hammer content-view puppet-module add --author lpramuk --name mc --content-view "Puppet View" --organization-id 1 Puppet module added to content view Isn't the fix to bring hammer 0.13 downstream? Nope. I still think it's a packaging issue, looking into it it requires a change to hammer_cli_katello, which is not in a released version of that gem yet. 0.13.0 was released and built, moving to on_dev VERIFIED. @satellite-6.4.0-7.beta.el7sat.noarch foreman-1.18.0.0.7-1.el7sat.noarch katello-3.7.0-3.nightly.el7sat.noarch tfm-rubygem-hammer_cli-0.13.0-1.el7sat.noarch tfm-rubygem-hammer_cli_foreman-0.13.0-1.el7sat.noarch tfm-rubygem-hammer_cli_katello-0.13.1-1.el7sat.noarch # hammer content-view create --name "Puppet View" --organization-id 1 --product Internal Content view created # hammer content-view puppet-module add --author lpramuk --name mc --content-view "Puppet View" --organization-id 1 Puppet module added to content view 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-2018:2927 |