Bug 1347319 - SSUI - vnc & spice console on an appliance give "The page you were looking for doesn't exist"
Summary: SSUI - vnc & spice console on an appliance give "The page you were looking fo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: GA
: 5.6.0
Assignee: Martin Hradil
QA Contact: Jan Krocil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-16 13:53 UTC by Martin Hradil
Modified: 2019-08-06 20:03 UTC (History)
7 users (show)

Fixed In Version: 5.6.0.13
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 16:07:44 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
404 error (31.32 KB, image/png)
2016-06-23 18:45 UTC, Shveta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Description Martin Hradil 2016-06-16 13:53:20 UTC
Description of problem:
Opening a VNC or Spice console from the SSUI does succeed but opens a new tab with "The page you were looking for doesn't exist" 404 error, instead of the actual console screen.

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


How reproducible:
always

Steps to Reproduce:
1. Have a service with a few VMs, which do have an vnc or spice console available
2. Open SSUI, go to the service
3. Click the open console button

Actual results:
A new tab with a console should open.

Expected results:
A new tab with 404 error opens.

Additional info:
Does not affect remote consoles and openstack consoles.

It's caused by skipping the needed templates in the build process - /self_service/bower_components/spice-html5-bower/spiceHTML5/spice_auto.html and /self_service/bower_components/no-vnc/vnc_auto.html are missing from public/.

Comment 3 Shveta 2016-06-23 18:45:32 UTC
Created attachment 1171641 [details]
404 error

Still see the error.

Comment 5 CFME Bot 2016-06-24 14:31:29 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/16771e0f0b845b077a76c068d0a1c2841121ac46

commit 16771e0f0b845b077a76c068d0a1c2841121ac46
Author:     Martin Hradil <mhradil>
AuthorDate: Fri Jun 24 09:12:53 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Fri Jun 24 09:12:53 2016 +0000

    MiqApache::Conf - update SSUI redirects to allow bower_components/ and gettext/
    
    SSUI needs html files under bower_components for the consoles to work, and json translations under gettext/ for translations to work.
    
    These files are there since https://github.com/ManageIQ/manageiq-ui-self_service/pull/65 , but the RewriteRule in /etc/httpd/conf.d/manageiq-redirects-ui always rewrites those URLs to /self_service/index.html => this PR makes bower_components/ and gettext/ to *not* get redirected to index.html
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1347319
    https://bugzilla.redhat.com/show_bug.cgi?id=1347312

 gems/pending/spec/util/miq_apache/conf_spec.rb | 2 +-
 gems/pending/util/miq_apache/miq_apache.rb     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 9 errata-xmlrpc 2016-06-29 16:07:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1348


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