Bug 1023417

Summary: admin console looks ugly
Product: OpenShift Container Platform Reporter: Johnny Liu <jialiu>
Component: WebsiteAssignee: Luke Meyer <lmeyer>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 2.0.0CC: jialiu, libra-onpremise-devel, lmeyer
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-10-29 17:13:16 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:
Attachments:
Description Flags
ose admin console
none
online admin console none

Description Johnny Liu 2013-10-25 11:28:24 UTC
Description of problem:
The page of admin console looks ugly, no background, and css stuff, even no fresh button.

Attach screen-shot for ose and online for compare.

Version-Release number of selected component (if applicable):
2.0/2013-10-23.2

How reproducible:
Always

Steps to Reproduce:
1.Follow https://access.redhat.com/site/articles/502123 to enable admin console
2.Access it web page in browser - https://<broker>/admin-console/
3.

Actual results:
The page looks ugly.

Expected results:
The page looks beautiful.

Additional info:

Comment 1 Johnny Liu 2013-10-25 11:28:55 UTC
Created attachment 816109 [details]
ose admin console

Comment 2 Johnny Liu 2013-10-25 11:29:25 UTC
Created attachment 816110 [details]
online admin console

Comment 4 Luke Meyer 2013-10-28 13:51:23 UTC
I can take a look. It sounds like either the /assets URL didn't get proxied or possibly the broker options to enable the asset pipeline didn't get activated.

I think it's the former. Looking at your config on the OSE host (assuming the host was left the same) I see:

  ProxyPass /admin-console44 http://127.0.0.1:8080/admin-console44
  ProxyPass /admin-console44 http://127.0.0.1:8080/admin-console44

  ProxyPass /broker http://127.0.0.1:8080/broker
  ProxyPassReverse / http://127.0.0.1:8080/

You can reconfigure the /admin-console URL but unfortunately not the /assets URL - you still need to proxy that. So you need:

  ProxyPass /assets http://127.0.0.1:8080/assets

Can you confirm if having that in your /etc/httpd/conf.d/000002_openshift_origin_broker_proxy.conf resolves the problem?

Comment 5 Johnny Liu 2013-10-29 02:53:25 UTC
Hi Luke, 
After I add "ProxyPass /assets http://127.0.0.1:8080/assets" in /etc/httpd/conf.d/000002_openshift_origin_broker_proxy.conf, the web page UI looks good. Thanks for your debug.