Project

General

Profile

Actions

Bug #9742

closed

hammer --version command fails with inappropriate error

Added by Tomáš Strachota about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190013
Description of problem:
hammer --version command fails with inappropriate error

Version-Release number of selected component (if applicable):
  1. rpm -q foreman
    foreman-1.7.2.3-1.el7sat.noarch

How reproducible:
everytime

Steps to Reproduce:
1.# hammer --version
hammer (0.1.4) * hammer_cli_foreman (0.1.4)
Error: undefined method `version' for HammerCLIForemanBootdisk:Module

2.
3.

Actual results:
hammer --version fails

Expected results:
--version should work as expected

Additional info:

Actions #1

Updated by Tomáš Strachota about 9 years ago

  • Category set to Hammer core
  • Status changed from New to Assigned

The error appears when hammer is configured to use a plugin that doesn't provide version info.

Actions #2

Updated by The Foreman Bot about 9 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/165 added
  • Pull request deleted ()
Actions #3

Updated by Anonymous about 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF