[katello 2.1] hammer os list missing information

When I create an OS in katello 2.1 in either the web front-end or via
hammer, I seem to be missing information when listing the OS's via hammer:

> os create --name OEL --major=5 --minor=6 --description "Oracle
Enterprise Linux 5u6" --family Redhat
Operating system created
> os list
—|-----------|--------------|-------

ID FULL NAME RELEASE NAME FAMILY
1 Redhat
2 Redhat

On a katello 2.0 system, It looks correct.

> os list
—|------------------------------|--------------|--------

ID FULL NAME RELEASE NAME FAMILY
9 CentOS 7.0 Redhat
2 CentOS 6.5 Redhat
14 CentOS 6 Redhat

<snip>

What populates the "Full Name" field in katello 2.1?

Hello,
I guess it's Bug #7917: API for operating systems no longer sends fullname - Hammer CLI - Foreman
What version of hammer-cli(-foreman) do you use?

Tomas

··· On 03/18/2015 08:11 PM, GD wrote: > When I create an OS in katello 2.1 in either the web front-end or via > hammer, I seem to be missing information when listing the OS's via hammer: > > > os create --name OEL --major=5 --minor=6 --description "Oracle > Enterprise Linux 5u6" --family Redhat > Operating system created > > os list > ---|-----------|--------------|------- > ID | FULL NAME | RELEASE NAME | FAMILY > ---|-----------|--------------|------- > 1 | | | Redhat > 2 | | | Redhat > > > On a katello 2.0 system, It looks correct. > > > > os list > ---|------------------------------|--------------|-------- > ID | FULL NAME | RELEASE NAME | FAMILY > ---|------------------------------|--------------|-------- > 9 | CentOS 7.0 | | Redhat > 2 | CentOS 6.5 | | Redhat > 14 | CentOS 6 | | Redhat > > > What populates the "Full Name" field in katello 2.1? > > -- > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-users+unsubscribe@googlegroups.com > . > To post to this group, send email to foreman-users@googlegroups.com > . > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.

> When I create an OS in katello 2.1 in either the web front-end or via
> hammer, I seem to be missing information when listing the OS's via hammer:
>
> > os create --name OEL --major=5 --minor=6 --description "Oracle
> Enterprise Linux 5u6" --family Redhat
> Operating system created
> > os list
> —|-----------|--------------|-------
> ID | FULL NAME | RELEASE NAME | FAMILY
> —|-----------|--------------|-------
> 1 | | | Redhat
> 2 | | | Redhat
>
>
> On a katello 2.0 system, It looks correct.
>
>
> > os list
> —|------------------------------|--------------|--------
> ID | FULL NAME | RELEASE NAME | FAMILY
> —|------------------------------|--------------|--------
> 9 | CentOS 7.0 | | Redhat
> 2 | CentOS 6.5 | | Redhat
> 14 | CentOS 6 | | Redhat
> <snip>
>
> What populates the "Full Name" field in katello 2.1?

Full name is populated by the Operating system description in the UI. If
it's empty, it uses the Operating systems title (name + release, where
release is 'major.minor').

The other field, Release name, is used for distributions that use
words to describe the version, such as Debian 'squeeze', etc…

Hope that helped,

··· On 03/18, GD wrote: > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato

I'm using the hammer that's packaged with katello 2.1 and foreman 1.7.3.

rubygem-hammer_cli_foreman-0.1.3-1.el6.noarch
rubygem-hammer_cli_katello-0.0.7-1.el6.noarch
rubygem-hammer_cli-0.1.3-1.el6.noarch

Thanks!

··· >

I confirm it's the issue I sent in the first reply. The fix has been
released in hammer 0.1.4. You can download it from nightly repos or wait
for the foreman 1.8 that will be released soon.

Tomas

··· On 03/20/2015 12:38 PM, GD wrote: > I'm using the hammer that's packaged with katello 2.1 and foreman 1.7.3. > > rubygem-hammer_cli_foreman-0.1.3-1.el6.noarch > rubygem-hammer_cli_katello-0.0.7-1.el6.noarch > rubygem-hammer_cli-0.1.3-1.el6.noarch > > Thanks! >