Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1167949

Summary: non-scaling app creation with HA routing causes NGINX to no longer start
Product: OpenShift Container Platform Reporter: chris alfonso <calfonso>
Component: NodeAssignee: chris alfonso <calfonso>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.2.0CC: bleanhar, hbrock, jialiu, jokerman, libra-onpremise-devel, mmccomas, pruan, tiwillia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-10 13:25:28 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 chris alfonso 2014-11-25 17:02:58 UTC
Description of problem:
The routing-daemon is creating an alias file for non-scalable applications but since there are no endpoints published for the backend pool_ file, you are left with an invalid nginx configuration and nginx will no longer be able to restart. This will cause all subsequent application configurations to never be loaded and if a service nginx* restart is done, the service will be off and no existing, previously loaded configurations will be able to be serviced.


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


How reproducible:


Steps to Reproduce:
1. create a non-scalable application
2. check the nginx configuraiton files, it's all broken
3.

Actual results:


Expected results:


Additional info:

Comment 2 chris alfonso 2014-11-25 17:50:57 UTC
PR is open upstream https://github.com/openshift/origin-server/pull/5977

I'll do the needful once it's merged

Comment 3 chris alfonso 2014-11-25 17:57:41 UTC
Found an issue in additional testing...

Comment 4 chris alfonso 2014-11-25 18:11:44 UTC
https://github.com/openshift/origin-server/pull/5978

Comment 8 Johnny Liu 2014-11-26 06:30:38 UTC
Verified this bug with rubygem-openshift-origin-routing-daemon-0.20.2.3-1.el6op.noarch, and PASS.


Create a non-scaling app, no nginx files are landed, then create one scalable app, access it via nginx successfully.

Comment 10 errata-xmlrpc 2014-12-10 13:25:28 UTC
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://rhn.redhat.com/errata/RHBA-2014-1979.html