Bug 1391645 - Custom Logo not displayed after upgrade from 3.2
Summary: Custom Logo not displayed after upgrade from 3.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Documentation
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: cfme-future
Assignee: Suyog Sainkar
QA Contact: Dayle Parker
URL:
Whiteboard: upgrade:configuration:ui:doc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-03 16:31 UTC by Brant Evans
Modified: 2017-03-14 06:30 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-14 06:30:32 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:


Attachments (Terms of Use)
Screenshot of custom logos settings page (39.74 KB, image/png)
2016-11-03 16:31 UTC, Brant Evans
no flags Details
"Use Configuration Settings" (48.10 KB, image/png)
2016-11-03 16:46 UTC, Eric Winchell
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2749031 0 None None None 2016-11-03 23:29:51 UTC

Description Brant Evans 2016-11-03 16:31:31 UTC
Created attachment 1217087 [details]
Screenshot of custom logos settings page

Description of problem:
After upgrading from 3.2 to 4.1 the custom logo is not displayed. The correct file (custom_logo.png) is in place in vmdb/public/upload and has the correct permissions.

I have tried disabling/enabling the "Use Custom Logo Image option". I have also deleted the custom_logo.png file from the filesystem and re-uploading through the Web UI. When the custom_logo.png file is deleted from the filesystem the Web UI correctly reflects that "No custom logo image has been uploaded yet". 

[root@itmcf4rqui01 upload]# ls -alZ /var/www/miq/vmdb/public/upload
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 .
drwxr-xr-x. root root system_u:object_r:httpd_sys_content_t:s0 ..
-rw-r--r--. root root system_u:object_r:httpd_sys_content_t:s0 custom_logo.png


Attached is a screenshot showing the settings page. the logo appears to be blank (just a white block) as the image is a transparent png and the text is white so it shows on the dark background where the logo is supposed to be displayed).

Version-Release number of selected component (if applicable):
cfme-appliance-5.6.2.2-1.el7cf.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Start with a 3.2 environment that is using a custom logo
2. Upgrade to 4.1
3. Place custom_logo.png in vmdb/public/upload and ensure correct permissions and SELinux context.
3. Custom logo will not be displayed in Web UI

Actual results:
Custom logo not displayed

Expected results:
Custom logo displayed

Additional info:

Comment 3 Eric Winchell 2016-11-03 16:46:37 UTC
Created attachment 1217091 [details]
"Use Configuration Settings"

Comment 5 Andrew Dahms 2017-03-06 05:15:22 UTC
Assigning to Suyog for review.

Suyog - see the above conversation for some notes about tenants and related settings. It might be good to call this one out as an example of what this configuration option is used for.


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