Project

General

Profile

Bug #9742

hammer --version command fails with inappropriate error

Added by Tomáš Strachota over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
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:

Associated revisions

Revision dbbbbcdb (diff)
Added by Tomáš Strachota over 7 years ago

Fixes #9742 - version fails with error

Revision e45f74a9
Added by Martin Bacovsky over 7 years ago

Merge pull request #165 from tstrachota/version_9742

Fixes #9742 - version fails with error

History

#1 Updated by Tomáš Strachota over 7 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.

#2 Updated by The Foreman Bot over 7 years ago

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

#3 Updated by Anonymous over 7 years ago

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

Also available in: Atom PDF