Red Hat Bugzilla – Bug 1311459
[networking_public_99]Minus number could be set in router RELOAD_INTERVAL
Last modified: 2017-03-08 13:26 EST
Description of problem:
minus number could be set in router RELOAD_INTERVAL
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create router in your env
2. Edit router dc to set a reload time to a minus value for router
- name: RELOAD_INTERVAL
3. Check the router log (set loglevel=5 for router)
Got "Template router will coalesce reloads within -100 seconds of each other" info from the log
[root@ip-172-18-0-36 ~]# oc logs router-9-qol1l
I0216 09:40:36.848332 1 router.go:116] Creating a new template router, writing to /var/lib/containers/router
I0216 09:40:36.853388 1 router.go:118] Router will use default/router service to identify peers
I0216 09:40:36.853421 1 router.go:158] Template router will coalesce reloads within -100 seconds of each other
I0216 09:40:36.853427 1 router.go:163] Reading persisted state
I0216 09:40:36.854875 1 router.go:167] Committing state
I0216 09:40:36.855813 1 router.go:224] Writing the router state
I0216 09:40:36.856570 1 router.go:229] Writing the router config
I0216 09:40:36.857066 1 router.go:234] Reloading the router
I0216 09:40:36.997549 1 router.go:161] Router is including routes in all namespaces
I0216 09:40:36.997632 1 controller.go:40] Running router controller
I0216 09:40:36.997644 1 reaper.go:17] Launching reaper
Minus number could not be set for router RELOAD_INTERVAL
Fixed with https://github.com/openshift/origin/pull/7703 - completing the paperwork.
Test on latest origin code, bug have been fixed
router will be deployed failed when set minus number in router RELOAD_INTERVAL
[root@ip-172-18-13-133 ~]# oc logs router-5-xnbd8
F0308 08:15:40.370781 1 helpers.go:107] error: invalid reload interval: -100 - must be a positive duration
QE will verify the bug once the PR merge to OSE
Test on latest ose env, issue have been fixed on ose.
# oc logs router-4-qmcx7
F0322 05:22:10.826550 1 helpers.go:107] error: invalid reload interval: -90 - must be a positive duration
# oc logs router-5-qcy15
W0322 05:24:35.872227 1 template.go:66] Invalid RELOAD_INTERVAL "dbdn", using default value 5 ...
Could you please move the bug to ON_QA, then I could verify it. Thanks!
This has been merged into ose and is in OSE v220.127.116.11 or newer.
Issue have been fixed on
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.