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:
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.
Created attachment 1187431 [details] yizhao.ks
Created attachment 1187746 [details] sosreport,/tmp,/var/log
you have oVirt/RHEV 3.6, right?
(In reply to Michal Skrivanek from comment #4) > you have oVirt/RHEV 3.6, right? 4.0
(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
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
(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.
Created attachment 1187811 [details] The picture of error
it does work for me. Can you paste the exact URL you used in login dialog?
(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
Created attachment 1191046 [details] picture of error on rhvh4.0.0-20160812.0.x86_64
(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
The bug is fixed by removing trailing slashes from the end of the provided engine URL.
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