Bug 1351417 - CloudForm 4.1: WebUI switch CloudForms to run on port 80 (from 443) break the portal
Summary: CloudForm 4.1: WebUI switch CloudForms to run on port 80 (from 443) break the...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.7.0
Assignee: Martin Povolny
QA Contact: Dmitry Misharov
URL:
Whiteboard: ui
Depends On:
Blocks: 1354538
TreeView+ depends on / blocked
 
Reported: 2016-06-30 04:27 UTC by Faiaz Ahmed
Modified: 2019-11-14 08:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1354538 (view as bug list)
Environment:
Last Closed: 2016-09-30 14:36:01 UTC
Category: ---
Cloudforms Team: Unknown
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
CloudForm Broken Page (12.84 KB, image/png)
2016-06-30 04:27 UTC, Faiaz Ahmed
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1381853 0 None None None 2016-06-30 04:28:17 UTC

Internal Links: 1334969

Description Faiaz Ahmed 2016-06-30 04:27:34 UTC
Created attachment 1174327 [details]
CloudForm Broken Page

Description of problem:
CloudForm 4.1: WebUI switch CloudForms to run on port 80 (from 443) break the portal

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

CFME Engine: cfme-rhos-5.6.0.13-1.x86_64 (for openstack)

Linux xxxxx 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux


How reproducible:
Use the below KCS and Docs bug been use to reproduce.


Steps to Reproduce:
1. KCS: https://access.redhat.com/solutions/1381853
2. Doc Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1334969
3. 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$ cat manageiq-http.conf
## ManageIQ HTTP Virtual Host Context

# Timeout: The number of seconds before receives and sends time out.
Timeout 120

# HTTP Start-up error log
ErrorLog /var/www/miq/vmdb/log/apache/miq_apache.log

# Disable this section if using HTTP only
#RewriteEngine On
#Options SymLinksIfOwnerMatch
#RewriteCond %{SERVER_PORT} !^443$
#RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]

# Enable this section if using HTTP only
<VirtualHost *:80>
  Include conf.d/manageiq-redirects-ui
  Include conf.d/manageiq-redirects-ws
  Include conf.d/manageiq-redirects-websocket
  ProxyPreserveHost on
</VirtualHost>


$ grep :secure /var/www/miq/vmdb/config/initializers/session_store.rb
    #session_options[:secure]   = true
    session_options[:secure]   = false
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Actual results:
- Come in a broken page as attached after switching to HTTP as above doc. Authentication even don't work.
- HTTPs (secure) page interesting still working

Expected results:

- On 4.0 and 3.x this procedure to enable http was working fine.


Additional info:
Customer Complained, Cloudforms http only not working in Cloudforms 4.1. Displaying Apache Test page.

Comment 2 Martin Povolny 2016-06-30 17:00:21 UTC
QE: can you, please, test the steps in the linked DOC BZ?

Please, make sure that HTML5 consoles, API and SSUI all work as expected.

If all works well we can have the documentation updated.

Comment 5 Martin Povolny 2016-07-21 09:24:00 UTC
solution is provided in https://bugzilla.redhat.com/show_bug.cgi?id=1354538


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