Bug 1388025

Summary: [networking_public_59]Should store the network check result when using oadm diagnostics NetworkCheck even if there is no error happen
Product: OKD Reporter: zhaozhanqi <zzhao>
Component: NetworkingAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: zhaozhanqi <zzhao>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.xCC: aos-bugs, bbennett
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-09 21:50:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description zhaozhanqi 2016-10-24 09:11:05 UTC
Description of problem:
When there is no error happen using 'oadm diagnostic NetworkCheck --network-logdir='/tmp/openshift/result'

Version-Release number of selected component (if applicable):
#openshift version
openshift v1.4.0-alpha.0+0787d9f-738
kubernetes v1.4.0+776c994
etcd 3.1.0-alpha.1

How reproducible:
always

Steps to Reproduce:
1. setup cluster openshift and the env are working well
2. run 'oadm diagnostics NetworkCheck -network-logdir='/tmp/openshift/result'
3. ls /tmp

Actual results:
No /tmp/openshift/result is created


Expected results:
should store the check result into the --network-logdir

Additional info:

Comment 1 Ravi Sankar 2016-10-27 19:45:17 UTC
This is expected behavior. We want to collect data for further analysis in case of errors. Don't see much value in collect and copy data if everything is working fine.

Comment 2 zhaozhanqi 2016-10-31 02:18:34 UTC
ok, thanks.

According to comment 1. this bug can be verified.

Comment 3 openshift-github-bot 2016-11-04 17:12:54 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/18c21d4d32e28217ee124f65d5b501048e8e29e9
Bug 1388025 - Update NetworkDiagDefaultLogDir description