Bug 1313697 - Host card fails to report OS because lsb_release is not installed on the machine
Summary: Host card fails to report OS because lsb_release is not installed on the machine
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: core
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 2
Assignee: anmol babu
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 09:12 UTC by Martin Bukatovic
Modified: 2016-05-24 09:04 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-24 09:04:19 UTC
Target Upstream Version:


Attachments (Terms of Use)
screenshot of Hosts page (48.26 KB, image/png)
2016-03-02 09:13 UTC, Martin Bukatovic
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 277132 0 None None None 2016-05-24 08:56:01 UTC

Description Martin Bukatovic 2016-03-02 09:12:29 UTC
Description of problem
======================

Host cards of some machines fail to report version of the operating system
properly.

Version-Release number of selected component
============================================

USM machine:
rhscon-ceph-0.0.6-10.el7.x86_64
rhscon-core-0.0.8-9.el7.x86_64
rhscon-ui-0.0.18-1.el7.noarch

USM MON machine:
rhscon-agent-0.0.3-3.el7.noarch

USM OSD machines:
rhscon-agent-0.0.3-3.el7.noarch

How reproducible
================

100 %

Steps to Reproduce
==================

1. Install USM according to the documentation
2. Accept all hosts
3. Go to Hosts page

Actual results
==============

On the Hosts page, cards of future OSD machines reports the following:

~~~
OS :  lsb_release: command
~~~

While cards of future MON machines reports:

~~~
OS :  RedHatEnterpriseServer 7.2
~~~

Expected results
================

No matter of a type of a machine, all cards should report the OS properly
like this:

~~~
OS :  RedHatEnterpriseServer 7.2
~~~

Additional info
===============

This is likely caused by the fact that lsb_release is not installed on
OSD machines:

~~~
[root@mbukatov-usm1-node1 ~]# # lsb_release
-bash: lsb_release: command not found
~~~

But it's available on MON machine:

~~~
[root@mbukatov-usm1-mon1 ~]# lsb_release 
LSB Version:	:core-4.1-amd64:core-4.1-noarch
[root@mbukatov-usm1-mon1 ~]#  rpm -qa 'rhscon*
~~~

Also note that on usm cluster I deployed in a previous week, 
redhat-lsb-core-4.1-27.el7.x86_64 package was installed on all machines.

Comment 1 Martin Bukatovic 2016-03-02 09:13:26 UTC
Created attachment 1132195 [details]
screenshot of Hosts page

Comment 4 anmol babu 2016-05-24 09:04:19 UTC
This has been fixed in the api but, the detail has been removed from latest UI mock up as in https://docs.google.com/presentation/d/1E7ZHHMYufugMjuVceluP7FCfUM9CQNsN5QWmGruRth0/edit#slide=id.gae7c907e0_0_12


Note You need to log in before you can comment on or make changes to this bug.