Bug 1023417 - admin console looks ugly
Summary: admin console looks ugly
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Website
Version: 2.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Luke Meyer
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-25 11:28 UTC by Johnny Liu
Modified: 2013-10-29 17:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-29 17:13:16 UTC
Target Upstream Version:


Attachments (Terms of Use)
ose admin console (52.23 KB, image/png)
2013-10-25 11:28 UTC, Johnny Liu
no flags Details
online admin console (47.93 KB, image/png)
2013-10-25 11:29 UTC, Johnny Liu
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.