Bug #26865
closedcommand "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass"
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1712914
Description of problem:
command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass"
Version-Release number of selected component (if applicable):
@Satellite 6.6.0 snap 3
@tfm-rubygem-hammer_cli-0.17.1-1.el7sat.noarch
How reproducible:
always
Steps to Reproduce:
1. Run # hammer full-help
Actual results:
- gives full-help output till "hammer > docker > container > info" command after that shows error "Error: undefined method `action' for false:FalseClass"
Expected results:
- command 'hammer full-help' should run without any error and provide complete full-help output.
Additional info:
Updated by Oleh Fedorenko over 5 years ago
The problem is in hammer-cli-foreman-docker plugin which is being installed alongside with hammer-cli-katello.
Since foreman_docker is not maintained anymore [1] I guess we should drop support for it in the future hammer versions as well (hammer-cli-katello has hammer-cli-foreman-docker as dependency [2]). Removing it from there should remove all the docker commands hence this bug will not reproducible.
[1] https://github.com/theforeman/foreman_docker
[2] https://github.com/Katello/hammer-cli-katello/blob/1eb1b7948377760e26ecc69030a5cba387e8bc90/hammer_cli_katello.gemspec#L53
Updated by Oleh Fedorenko over 5 years ago
- Status changed from New to Assigned
- Assignee set to Oleh Fedorenko
- Difficulty set to trivial
- Triaged changed from No to Yes
Updated by Oleh Fedorenko over 5 years ago
- Has duplicate Bug #26864: command "hammer full-help" gives error "Error: undefined method `action' for false:FalseClass" added
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/421 added
Updated by The Foreman Bot over 5 years ago
- Pull request https://github.com/theforeman/hammer-cli/pull/304 added
Updated by Oleh Fedorenko over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|943ea36b09cbc9516bb4201e155e79e1d7a7e410.