Bug 1364036 - [RHVH] [Cockpit] Error display: "getAllvmslist( ) error:405" after Login to Engine
Summary: [RHVH] [Cockpit] Error display: "getAllvmslist( ) error:405" after Login to E...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: UI
Version: 4.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ovirt-4.0.4
: 4.0
Assignee: Marek Libra
QA Contact: Yihui Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-04 11:06 UTC by Yihui Zhao
Modified: 2016-09-29 11:15 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-29 11:15:48 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
ycui: testing_ack+


Attachments (Terms of Use)
The error display "getAllvmslist( ) error:405 (104.20 KB, image/png)
2016-08-04 11:06 UTC, Yihui Zhao
no flags Details
yizhao.ks (774 bytes, text/plain)
2016-08-04 11:09 UTC, Yihui Zhao
no flags Details
sosreport,/tmp,/var/log (8.12 MB, application/x-gzip)
2016-08-05 05:03 UTC, Yihui Zhao
no flags Details
The picture of error (94.85 KB, image/png)
2016-08-05 09:50 UTC, Yihui Zhao
no flags Details
picture of error on rhvh4.0.0-20160812.0.x86_64 (45.70 KB, image/png)
2016-08-16 03:20 UTC, Yihui Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1971 0 normal SHIPPED_LIVE cockpit-ovirt for RHV 4.0.4 2016-09-29 16:41:15 UTC
oVirt gerrit 62816 0 master MERGED vdsm: Remove trailing slashes from engine url 2016-08-25 08:41:57 UTC
oVirt gerrit 62818 0 ovirt-4.0 MERGED vdsm: Remove trailing slashes from engine url 2016-08-25 08:40:51 UTC

Description Yihui Zhao 2016-08-04 11:06:33 UTC
Created attachment 1187429 [details]
The error display "getAllvmslist( ) error:405

Description of problem:
There is an error display "getAllvmslist( ) error:405" after Login to Engine.


Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20160803.3.x86_64 
imgbased-0.7.4-0.1.el7ev.noarch 
cockpit-0.114-2.el7.x86_64 
cockpit-ovirt-dashboard-0.10.6-1.3.4.el7ev.noarch 


How reproducible:
100% 
Not Regression bug 
Keywords: UI 


Steps to Reproduce:
1. Install redhat-virtualization-host-4.0-20160803.3.x86_64 with kickstart file 
2.Add host to RHEVM and setup vms
3. Login cockpit website hostIP:9090 with root account 
4.Select "virtualization" panel
5.Click "Login to Engine" link under "Technical Preview" list
6.Input engine URL and admin password,then click "Login" button
7.Login to Engine successfully,then wait for about 30 seconds,it will display error "getAllvmslist( ) error:405
8.Logout the Engine successfully.



Actual results:
There is an error display "getAllvmslist( ) error:405".

Expected results:
There is no error display.


Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-08-04 11:06:41 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Yihui Zhao 2016-08-04 11:09:16 UTC
Created attachment 1187431 [details]
yizhao.ks

Comment 3 Yihui Zhao 2016-08-05 05:03:08 UTC
Created attachment 1187746 [details]
sosreport,/tmp,/var/log

Comment 4 Michal Skrivanek 2016-08-05 07:45:04 UTC
you have oVirt/RHEV 3.6, right?

Comment 5 Yihui Zhao 2016-08-05 07:49:28 UTC
(In reply to Michal Skrivanek from comment #4)
> you have oVirt/RHEV 3.6, right?

4.0

Comment 6 Yihui Zhao 2016-08-05 07:59:36 UTC
(In reply to Yihui Zhao from comment #5)
> (In reply to Michal Skrivanek from comment #4)
> > you have oVirt/RHEV 3.6, right?
> 
> 4.0

Hi Michal,
  i add the host on rhevm and setup vms successfully.When i login to cockpit,Click "Login to Engine" link under "Technical Preview" list,
Input engine URL and admin password,then click "Login" button
Login to Engine successfully,then wait for about 30 seconds,it will display error "getAllvmslist( ) error:405

Also,click the "vms in cluster",there is no display.

Thank you.
Yihui Zhao

Comment 7 Tomas Jelinek 2016-08-05 08:05:55 UTC
there seems to be an issue when you provide the url to engine with a '/' sign on the end. Could you please check if it works when you strip this / off from the url?
thank you

Comment 8 Yihui Zhao 2016-08-05 09:47:41 UTC
(In reply to Tomas Jelinek from comment #7)
> there seems to be an issue when you provide the url to engine with a '/'
> sign on the end. Could you please check if it works when you strip this /
> off from the url?
> thank you

Hi Tomas,
  when i strip this "/" off from the url,wait for a moment,it also display the error "getAllvmslist error ( ):405".

Yhank you.

Comment 9 Yihui Zhao 2016-08-05 09:50:59 UTC
Created attachment 1187811 [details]
The picture of error

Comment 10 Michal Skrivanek 2016-08-05 09:58:52 UTC
it does work for me. Can you paste the exact URL you used in login dialog?

Comment 13 Yihui Zhao 2016-08-16 02:56:17 UTC
(In reply to Yihui Zhao from comment #11)
> (In reply to Michal Skrivanek from comment #10)
> > it does work for me. Can you paste the exact URL you used in login dialog?
> 
> https://rhevm-40-1.englab.nay.redhat.com/ovirt-engine

Hello Michal,
  The problem didn't appear on rhvh-4.0-0-20160812.0.x86_64.

Thank you
Yihui Zhao

Comment 14 Yihui Zhao 2016-08-16 03:20:40 UTC
Created attachment 1191046 [details]
picture of error on rhvh4.0.0-20160812.0.x86_64

Comment 15 Yihui Zhao 2016-08-16 03:27:49 UTC
(In reply to Michal Skrivanek from comment #10)
> it does work for me. Can you paste the exact URL you used in login dialog?

Hello Michal,
   when tested many times,the error appeared.The picture of error on attachment
     "picture of error on rhvh4.0.0-20160812.0.x86_64"

Thank you
Yihui Zhao

Comment 16 Marek Libra 2016-08-25 08:39:23 UTC
The bug is fixed by removing trailing slashes from the end of the provided engine URL.

Comment 18 Yihui Zhao 2016-09-28 01:45:09 UTC
Test the version list:

cockpit-ovirt-dashboard-0.10.6-1.4.0.el7ev.noarch
cockpit-ws-0.114-2.el7.x86_64
rhvh-4.0-0.20160919.0+1
imgbased-0.8.5-0.1.el7ev.noarch

And the result is good,the error didn't appear on  rhvh-4.0-0.20160919.0+1.


Thanks,
Yihui


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