Project

General

Profile

Actions

Bug #9538

closed

hammer --version fails with undefined method `version' for nil:NilClass

Added by Adam Price over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1192113
Description of problem:
hammer --version fails with undefined method `version' for nil:NilClass
This time the error is caused by gutterball module.

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-7-20150210.0
rubygem-hammer_cli_gutterball-0.0.1.1-1.el7sat.noarch
rubygem-hammer_cli_foreman-0.1.4.3-1.el7sat.noarch
rubygem-hammer_cli-0.1.4.3-1.el7sat.noarch

How reproducible:
100'/.

Steps to Reproduce:
0.# sed -i 's|true|false|' /etc/hammer/cli.modules.d/[^g]*.yml
(Currently yet another module has issues with version method - foreman_bootdisk, we need to disable it in order to reproduce)

1.# hammer --version
hammer (0.1.4)
Error: undefined method `version' for nil:NilClass

Actual results:
fails with an error

Expected results:
shows module versions

Actions #1

Updated by Adam Price over 9 years ago

  • Project changed from Katello to Boot disk
  • Category deleted (Hammer)
Actions #2

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF