Bug #9666
closedhammer content-host info having blank "Release Version" every time
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.