Project

General

Profile

Bug #9666

hammer content-host info having blank "Release Version" every time

Added by Thomas McKay over 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1199137
Description of problem:
hammer content-host info outputs "Release Version:" as not set / empty every time, regardless of the release version set.

Version-Release number of selected component (if applicable):
rubygem-hammer_cli_katello-0.0.4-14.el6sat.noarch
rubygem-hammer_cli_foreman-0.1.1-16.el6sat.noarch
rubygem-hammer_cli_import-0.10.4-1.3.el6sat.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-3.el6sat.noarch
rubygem-hammer_cli-0.1.1-12.el6sat.noarch

How reproducible:
100%

Steps to Reproduce:
1. Have some content host
2. Set a release version (e.g. to 7Server) to the host via Web UI
3. run hammer shell and check release version:
content-host info --name=<name> --organization=<org>

4. Set a different release version via hammer:
content-host update --name=<name> --organization=<org> --release-ver=7.0

5. check release version again:
content-host info --name=<name> --organization=<org>

Actual results:
Steps 3. and 5. shows: "Release Version: "

Expected results:
Step 3. to show "Release Version: 7Server"
Step 5. to show "Release Version: 7.0"

Additional info:
Enabling hammer debugs, I see that hammer gets response to GET request with proper "release_ver" => "7Server", or "release_ver" => "7.0". So the bug lies inside hammer.

Associated revisions

Revision f4d85a9c (diff)
Added by Pavel Moravec over 6 years ago

Fixes #9666 - hammer content-host info having blank "Release Version"
every time

simple typo fixed

Signed-off-by: Pavel Moravec <>

History

#1 Updated by Anonymous over 6 years ago

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

#2 Updated by Eric Helms over 6 years ago

  • Target version set to 67
  • Legacy Backlogs Release (now unused) set to 31
  • Triaged changed from No to Yes

Also available in: Atom PDF