Bug 968283

Summary: Broker outage notifications can not be shown to rhc client
Product: OpenShift Online Reporter: Jianwei Hou <jhou>
Component: PodAssignee: Ravi Sankar <rpenta>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-11 04:13:12 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 Jianwei Hou 2013-05-29 11:24:46 UTC
Description of problem:
Create broker outage with outage notification, the notification can not be shown to the end user via rhc.

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

How reproducible:
Always

Steps to Reproduce:
1. In /etc/openshift/broker-dev.conf, set ENABLE_MAINTENANCE_MODE to "true", add some message in /etc/openshift/outage_notification.txt
2. restart rhc-broker
3. Do some operation from rhc
rhc domain show


Actual results:
After step 3:
The server as unable to communicate with the broker, which is expected. However, the content in outage_notification.txt is not displayed

Expected results:ds
Should be able to see the outage notification from rhc

Additional info:

Comment 1 Ravi Sankar 2013-05-29 19:24:05 UTC
Fixed in https://github.com/openshift/origin-server/pull/2677

Comment 2 openshift-github-bot 2013-05-29 23:09:19 UTC
Commits pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/cace5adfdc06ee73ec136383b3cb56e469b87bd7
Bug 968283 - before_filter check_version must be applied before check_outage to ensure @requested_api_version is populated

https://github.com/openshift/origin-server/commit/893bd4dbfc589bf21d491684d8bf98d388624960
Merge pull request #2677 from pravisankar/dev/ravi/bug968283

Merged by openshift-bot

Comment 3 Jianwei Hou 2013-05-30 05:39:18 UTC
Verified on devenv_3289

Follow reproduce steps, and now the outage notification can be show to rhc client

$ rhc domain show
The operation did not complete successfully, but the server returned additional information:
* it's an outage