Project

General

Profile

Actions

Bug #4131

closed

`os info` command is missing minor/major versions

Added by Dominic Cleal almost 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem:
ClI : hammer cli command `os info` gives incomplete details

Version-Release number of selected component (if applicable):
  1. rpm -qa | grep foreman
    rubygem-foreman_api-0.1.9-1.el6.noarch
    foreman-compute-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-libvirt-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-postgresql-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-selinux-1.4.0-0.develop.201311220906gite342a0b.el6.noarch
    rubygem-hammer_cli_foreman-0.0.15-1.el6.noarch
    foreman-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-ovirt-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-installer-1.4.0-0.develop.201401031335gitf3eee21.el6.noarch
    foreman-release-1.4.0-0.develop.201401071212git9ef39dd.el6.noarch
    foreman-proxy-1.4.0-0.develop.201401031522gitd3509e6.el6.noarch

How reproducible:
everytime

Steps to Reproduce:
1.# hammer os info --id 3
Id: 3
Name: k8y1ty 1.1
Release name:
Family:
Installation media:
Architectures:
Partition tables:
Config templates:
Parameters:

2.
3.

Actual results:
info is insufficient

Expected results:
info should show major and minor details

(https://bugzilla.redhat.com/show_bug.cgi?id=1051557)


Related issues 1 (0 open1 closed)

Has duplicate Hammer CLI - Bug #4466: Hammer - os info doesn't show values for architecture, ptables, media and config templatesClosed02/26/2014Actions
Actions #1

Updated by Dominic Cleal almost 11 years ago

It should also include the new description field.

Actions #2

Updated by Stephan Dollberg almost 11 years ago

I also experienced this bug today and created a fix.

https://github.com/theforeman/hammer-cli-foreman/pull/90

Unfortunately, I didn't see the Hammer-Cli subsection first and reposted it in the normal Foreman section. Thus, the new version number.

http://projects.theforeman.org/issues/4466

Actions #3

Updated by Dominic Cleal almost 11 years ago

  • Has duplicate Bug #4466: Hammer - os info doesn't show values for architecture, ptables, media and config templates added
Actions #4

Updated by Dominic Cleal almost 11 years ago

  • Status changed from New to Duplicate
Actions #5

Updated by Dominic Cleal almost 11 years ago

  • Subject changed from `os info` command gives incomplete deta to `os info` command is missing minor/major versions
  • Status changed from Duplicate to New

Reopening to include the minor/major version info in hammer output.

Actions #6

Updated by Tomáš Strachota over 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
  • Target version set to 1.8.1
Actions #7

Updated by Tomáš Strachota over 10 years ago

  • Status changed from Assigned to Closed

Already fixed in:

commit fbad391ae8ac7265430c6741a4edd55254b6a936
Author: Tomas Strachota <tstrachota@redhat.com>
Date:   Fri Apr 18 15:32:39 2014 +0000

The output is now:

#hammer os info --id 3
Id:                 3
Full name:          RedHat 6.3
Release name:
Family:             Redhat
Name:               RedHat
Major version:      6
Minor version:      3
Partition tables:

Default templates:
    WAIK default PXELinux (PXELinux)
    UserData default (user_data)
Architectures:

Installation media:

Templates:

Parameters:

Actions

Also available in: Atom PDF