Bug 1377940
| Summary: | oc observe with --resync-period should prompt --names required rather than cause panic | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> | 
| Component: | oc | Assignee: | Maciej Szulik <maszulik> | 
| Status: | CLOSED ERRATA | QA Contact: | Xingxing Xia <xxia> | 
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.0 | CC: | aos-bugs, ccoleman, jokerman, mmccomas | 
| Target Milestone: | --- | Keywords: | Rebase | 
| Target Release: | 3.9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Cause: 
Nil was causing command to fail. 
Consequence: 
Command was panic-ing. 
Fix: 
Add nil check.
Result: 
oc observe is working correctly. | Story Points: | --- | 
| Clone Of: | Environment: | ||
| Last Closed: | 2019-03-13 22:27:23 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: | |
| Embargoed: | |||
| 
        
          Description
        
        
          Xingxing Xia
        
        
        
        
        
          2016-09-21 06:03:54 UTC
        
       Upstream PR [1] has merged. Tagging as UpcomingRelease 1. https://github.com/kubernetes/kubernetes/pull/53830 The fix from [1] is now in latest master. 1. https://github.com/kubernetes/kubernetes/pull/53830 Verified in 3.9.3, no panic now, command works well $ oc observe svc --resync-period=10s -- echo print # 2018-03-08T16:57:45+08:00 Sync started # 2018-03-08T16:57:45+08:00 Sync 218204 echo print xxia-proj myapp print xxia-proj myapp # 2018-03-08T16:57:55+08:00 Sync echo print xxia-proj myapp print xxia-proj myapp Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0403 |