Bug 1402034 - net-tools RPM not available on CFME containers (podified or monolithic)
Summary: net-tools RPM not available on CFME containers (podified or monolithic)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: cfme-container
Version: 5.6.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: 5.8.0
Assignee: Satoe Imaishi
QA Contact: Einat Pacifici
Red Hat CloudForms Documentation
URL:
Whiteboard: container:cli
Depends On:
Blocks: 1414884
TreeView+ depends on / blocked
 
Reported: 2016-12-06 15:40 UTC by Franco Bladilo
Modified: 2018-04-17 08:25 UTC (History)
3 users (show)

Fixed In Version: 5.8.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1414884 (view as bug list)
Environment:
Last Closed: 2017-06-12 16:51:18 UTC
Category: ---
Cloudforms Team: Container Management
Target Upstream Version:


Attachments (Terms of Use)

Description Franco Bladilo 2016-12-06 15:40:10 UTC
Description of problem:

The net-tools RPM is not available on CFME container builds and appliance logs are issuing a warning.

Version-Release number of selected component (if applicable):

[root@be05a03c3bd8 vmdb]# cat VERSION
5.6.3.3

How reproducible:

Always

Steps to Reproduce:

[root@franco-fed24 ~]# docker run -d -p 443:443 registry.access.redhat.com/cloudforms/cfme4
be05a03c3bd8bc61ad34cf8d6825662b47692b5d015ba84eea0c3a4c17f50d2d

[root@franco-fed24 ~]# docker ps -a
CONTAINER ID        IMAGE                                         COMMAND             CREATED             STATUS              PORTS                          NAMES
be05a03c3bd8        registry.access.redhat.com/cloudforms/cfme4   "/usr/sbin/init"    6 seconds ago       Up 3 seconds        80/tcp, 0.0.0.0:443->443/tcp   clever_dijkstra

[root@franco-fed24 ~]# docker exec -ti be05a03c3bd8 bash -l

[root@be05a03c3bd8 vmdb]# rpm -q net-tools
package net-tools is not installed

[root@be05a03c3bd8 vmdb]# grep WARN log/evm.log 
[----] W, [2016-12-06T15:34:47.295569 #517:fa7990]  WARN -- : Diagnostics: [Currently active interfaces] command [ifconfig] failed with error [No such file or directory - ifconfig]
[----] W, [2016-12-06T15:34:47.312481 #517:fa7990]  WARN -- : Diagnostics: [IP Routing table] command [route] failed with error [No such file or directory - route]
[----] W, [2016-12-06T15:34:47.332773 #517:fa7990]  WARN -- : Diagnostics: [Network interface table] command [netstat] failed with error [No such file or directory - netstat]
[----] W, [2016-12-06T15:34:47.352304 #517:fa7990]  WARN -- : Diagnostics: [Network statistics] command [netstat] failed with error [No such file or directory - netstat]


Actual results:


Expected results:

No warnings for network diagnostics tools on appliance.


Additional info:

Please note the same applies for CFME 5.7 CFME container builds as well as the openshift CFME podified containers. Needs to addressed on those too.

Comment 2 Dave Johnson 2016-12-06 16:51:35 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

Comment 8 Dafna Ron 2017-02-10 14:02:26 UTC
verified on cfme pod 

[root@dafna-openshift-master01 ~]# oc rsh cloudforms-1-bx09n
sh-4.2# rpm -q net-tools
net-tools-2.0-0.17.20131004git.el7.x86_64
sh-4.2# ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1450
        inet XXXXX  netmask 255.255.254.0  broadcast 0.0.0.0
        inet6 fe80::XXXX  prefixlen 64  scopeid 0x20<link>
        ether de:1b:cd:c2:cb:6d  txqueuelen 0  (Ethernet)
        RX packets 8084388  bytes 3569019414 (3.3 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8352341  bytes 2004814420 (1.8 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 2050512  bytes 266491279 (254.1 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2050512  bytes 266491279 (254.1 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


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