Bug 1427260
Summary: | Hammer- can't remove puppet module from content view by id -- uuid is sent instead | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Stanislav Tkachenko <stkachen> | |
Component: | Content Views | Assignee: | Andrew Kofink <akofink> | |
Status: | CLOSED ERRATA | QA Contact: | Ales Dujicek <adujicek> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.2.8 | CC: | adujicek, akofink, bbuckingham, bkearney, jcallaha, jsherril, tstrachota | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.10.1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1427261 (view as bug list) | Environment: | ||
Last Closed: | 2018-02-21 16:54:37 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: | 1427261 |
Description
Stanislav Tkachenko
2017-02-27 17:35:52 UTC
*** Bug 1427261 has been marked as a duplicate of this bug. *** Created redmine issue http://projects.theforeman.org/issues/18923 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18923 has been resolved. Failed QA 6.3.0 snap 9.0 Getting an error when using --id [root@jsherrill-test ~]# hammer -vv -p changeme content-view puppet-module remove --content-view-id=2 --id=1 [ERROR 2017-08-02 15:51:12 Exception] Error: content_view_puppet_module not found Couldn't remove puppet module from the content view: Error: content_view_puppet_module not found [ERROR 2017-08-02 15:51:12 Exception] HammerCLIForeman::ResolverError (content_view_puppet_module not found): /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/id_resolver.rb:208:in `pick_result' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/id_resolver.rb:168:in `find_resource' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/id_resolver.rb:143:in `get_id' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/id_resolver.rb:133:in `block (2 levels) in define_id_finders' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.10.0/lib/hammer_cli_katello/content_view_puppet_module.rb:59:in `resolve_puppet_module_id_from_uuid' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_katello-0.10.0/lib/hammer_cli_katello/content_view_puppet_module.rb:65:in `all_options' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/commands.rb:125:in `get_resource_id' /opt/theforeman/tfm/root/usr/share/gems/gems/hammer_cli_foreman-0.10.2/lib/hammer_cli_foreman/commands.rb:199:in `block in customized_options' Still works fine with uuid: [root@jsherrill-test ~]# hammer -p changeme content-view puppet-module remove --content-view-id=2 --uuid=4ca76f05-f98e-407b-b7e6-a779dc5b1660 Puppet module removed from content view maybe the commit didn't make it in somehow? tfm-rubygem-hammer_cli_katello-0.10.0-1.el7sat.noarch This change starts in tfm-rubygem-hammer_cli_katello-0.10.1 Thanks Andrew! Adding 'fixed in version' based on comment 7. 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:0336
|