
Date: Tue=2C 18 Nov 2014 07:32:47 -0500 From: msivak@redhat.com To: sokratis123k@outlook.com CC: users@ovirt.org Subject: Re: Optaplanner Problem =20 Hi=2C =20 we do not support the newest versions of Firefox and other browsers yet. = This is a known issue: =20 http://www.ovirt.org/Features/Optaplanner#Data_refresh_failed:_undefined =20 that can be solved by disabling one of the browser security checks before= we implement the SSL version of the optimizer service. =20 -- Martin Siv=E1k msivak@redhat.com Red Hat Czech RHEV-M SLA / Brno=2C CZ =20 ----- Original Message -----
Hi=2C =20 =20 I have modified standalone.xml and replaced 127.0.0.1 with the IP addre= ss of the server and the connection to optimizer:8080 works correctly. =20 =20 Using Chrome I get "Waiting for data..." =20 =20 Using Firefox I get "Status: Data refresh failed: undefined" =20 I inspected the page and when I click on the tab I get the following er= rors: =20 =20 =20 =20 Blocked loading mixed active content "http://optimizer:8080/ovirt-optimizer/result/00000001-0001-0001-0001-0= 000000000a1"[Learn More] angular.js:8321 "/ovirt-engine/api/hosts" result.html:419 Exception { message: ""=2C result: 2153644038=2C name: ""=2C filename: "https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"=2C lineNumber: 8321=2C columnNumber: 0=2C inner: null=2C data: null=2C sta= ck: "createHttpBackend/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.= 2.16/angular.js:8321:6 sendReq@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:8180:0 $http/serverRequest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2= .16/angular.js:7921:15 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30 qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1= .2.16/angular.js:11405:25 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.google= apis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.goog= leapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:12516:12 bootstrap/doBootstrap/<@https://ajax.googleapis.com/ajax/libs/angularjs= /1.2.16/angular.js:1382:8 invoke@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.j= s:3869:13 bootstrap/doBootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1= .2.16/angular.js:1380:0 bootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angula= r.js:1394:0 angularInit@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angu= lar.js:1307:4 @https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2145= 9:4 trigger@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:2509:6 createEventHandler/eventHandler/<@https://ajax.googleapis.com/ajax/libs= /angularjs/1.2.16/angular.js:2780:6 forEach@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:330:10 createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:2779:4 " } angular.js:9778 =20 "Updating host 1c3b7899-bd75-4e26-aaf6-983b54c54be9" result.html:384 "Updating host fd0ea29e-2022-4a0f-8a5a-30c9b4497515" result.html:384 "Updating host 7c44018d-4517-4cda-8b21-cda31fc534d2" result.html:384 "Updating host 18152471-55d8-4cc0-8846-2071f29290df" result.html:384 "Error: $scope.result.hosts is undefined $scope.recomputeResources@https://ovm/ovirt-engine/webadmin/plugin/oVir= tOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13 $scope.refreshHostInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirt= Optimizer/result.html#00000001-0001-0001-0001-0000000000a1:387:17 $http/promise.success/<@https://ajax.googleapis.com/ajax/libs/angularjs= /1.2.16/angular.js:7946:11 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31 qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1= .2.16/angular.js:11405:26 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.google= apis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.goog= leapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:12516:13 done@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:= 8204:34 completeRequest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/= angular.js:8412:7 createHttpBackend/</xhr.onreadystatechange@https://ajax.googleapis.com/= ajax/libs/angularjs/1.2.16/angular.js:8351:1 " angular.js:9778 =20 "Updating vm 315f674b-24da-42d7-9580-aeed5703c20c" result.html:399 "Updating vm e5074245-e3cc-4423-bc08-ddaa32f876d4" result.html:399 "Updating vm f2c61fb9-ffd6-4b96-b7bc-645a328371b3" result.html:399 "Updating vm 0c114b32-1d9f-43a1-bf75-723a4a3a4735" result.html:399 "Updating vm b62219e2-59bd-4ee8-8ec9-fd3031403aa9" result.html:399 "Updating vm dfabf11c-6ddf-4d36-a8b4-64dd8d7eb986" result.html:399 "Updating vm 69536040-09be-40df-8a46-51a737edadb6" result.html:399 "Updating vm 9b00724b-0719-4b3b-b5c1-e304e3d14428" result.html:399 "Updating vm e980d298-6dfd-4daf-adfe-32ada4375815" result.html:399 "Updating vm 0aa48214-3377-41eb-9f29-2e0d926ab929" result.html:399 "Updating vm fd9da855-7ef0-4d13-abac-bf29d8c23193" result.html:399 "Updating vm fb333c71-1e4a-48bc-aa02-0acdc2efbd18" result.html:399 "Updating vm dfccdc33-0260-4f0e-8a4d-3c54e754f293" result.html:399 "Updating vm 7eb0f154-f70e-442c-9719-eebea0714646" result.html:399 "Updating vm 91af75e8-9bac-45e1-8cba-1c1f5e0056f4" result.html:399 "Updating vm 4320fd1c-e793-4b44-afda-a9b8d6caade8" result.html:399 "Updating vm acb28de9-f2d5-46cf-bb13-4dd77af516d5" result.html:399 "Updating vm 68a46af9-09e0-48d8-a8ec-c3c162cdc0f1" result.html:399 "Updating vm 2755eb4a-81a8-4470-870a-786a538b53da" result.html:399 "Updating vm 2d8d45b9-6b26-4de6-9093-6f3c3381b3be" result.html:399 "Updating vm 941bedb8-d0ba-4b39-a59e-fc3bfce465ec" result.html:399 "Updating vm 2fa8c60f-45a4-48ba-aa4b-7108185cb38b" result.html:399 "Updating vm 7ce8d941-646d-440f-ad57-27e5bb936db0" result.html:399 "Updating vm ade810f2-5e98-4a35-b09d-f76027985f1a" result.html:399 "Updating vm 0e5949ae-0c11-43a2-8110-ff3e6940416d" result.html:399 "Updating vm 1e20e2c5-f97d-4612-bd34-c291b2da5dd4" result.html:399 "Updating vm 88a36a05-cca0-425b-a285-b527ce6fa1c6" result.html:399 "Updating vm 10c225ee-542c-477f-8a88-31a8804e75b7" result.html:399 "Updating vm 10c65984-8f53-4a22-b28f-30562b002f51" result.html:399 "Updating vm 9b6fcbbf-dffc-405b-8380-78cbd2268c6e" result.html:399 "Updating vm 7824fa7f-8a2f-46fe-a88f-e0fd770b0d1f" result.html:399 "Updating vm d6cfdd5c-e4d7-4eef-bb15-6e235ff5a4e7" result.html:399 "Updating vm 209cda34-fc7a-4976-9075-4dd3ca71e9cd" result.html:399 "Updating vm 1d22c70d-3d3e-4b75-afae-b782451e073f" result.html:399 "Updating vm e18d33a4-5cf2-4bfc-b70e-6d0a89e74f5d" result.html:399 "Updating vm 1282c0ed-f753-4484-bb4e-82d41febbba4" result.html:399 "Updating vm a196d738-d76c-4e97-8669-bd85f6bea5da" result.html:399 "Updating vm 7d462f41-fd72-4a0f-ba8d-9dc7bf23b581" result.html:399 "Updating vm cb1c4af3-887e-4fee-b74d-6315ed12c056" result.html:399 "Updating vm 6b2a185b-2d4b-4382-922e-9635466dcb3a" result.html:399 "Updating vm 9b1f8743-c602-4924-8a14-7cae25e77900" result.html:399 "Updating vm aebdede3-b00a-4565-833e-1eb86ee36ff0" result.html:399 "Updating vm 6e42567b-30b7-4486-b9af-b5c9f426ec0f" result.html:399 "Updating vm bf691404-3cd8-4484-9c60-c3c6f9bdbbbb" result.html:399 "Updating vm 79ee24d4-502a-4e6c-b6db-ee6b9f41d2f1" result.html:399 "Updating vm 00bd150e-911f-432c-9e2c-caecfe944944" result.html:399 "Updating vm 8aa3422b-ad2c-4753-9784-3ded1ac5d89e" result.html:399 "Updating vm 6fb3683e-b8c1-45dd-9c1b-1a86ae810890" result.html:399 "Error: $scope.result.hosts is undefined $scope.recomputeResources@https://ovm/ovirt-engine/webadmin/plugin/oVir= tOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13 $scope.refreshVmInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirtOp= timizer/result.html#00000001-0001-0001-0001-0000000000a1:402:17 $http/promise.success/<@https://ajax.googleapis.com/ajax/libs/angularjs= /1.2.16/angular.js:7946:11 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31 qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1= .2.16/angular.js:11405:26 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.google= apis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.goog= leapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:12516:13 done@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:= 8204:34 completeRequest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/= angular.js:8412:7 createHttpBackend/</xhr.onreadystatechange@https://ajax.googleapis.com/= ajax/libs/angularjs/1.2.16/angular.js:8351:1 " angular.js:9778 =20 Blocked loading mixed active content "http://optimizer:8080/ovirt-optimizer/result/00000001-0001-0001-0001-0= 000000000a1/score"[Learn More] angular.js:8321 Exception { message: ""=2C result: 2153644038=2C name: ""=2C filename: "https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"=2C lineNumber: 8321=2C columnNumber: 0=2C inner: null=2C data: null=2C sta= ck: "createHttpBackend/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.= 2.16/angular.js:8321:6 sendReq@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:8180:0 $http/serverRequest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2= .16/angular.js:7921:15 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30 qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30 qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1= .2.16/angular.js:11405:25 $RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.google= apis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15 $RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.goog= leapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14 $RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googl= eapis.com/ajax/libs/angularjs/1.2.16/angular.js:12516:12 timeout/timeoutId<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.= 16/angular.js:14023:24 completeOutstandingRequest@https://ajax.googleapis.com/ajax/libs/angula= rjs/1.2.16/angular.js:4300:6 Browser/self.defer/timeoutId<@https://ajax.googleapis.com/ajax/libs/ang=
--_3013e4b3-bf65-4e09-a8e8-9c0397b17637_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I disabled the security check in Firefox and it works now. Is there a simil= ar workaround for Chrome and IE? What about the server.log file? Why does it throw this error? How can I cha= nge the logging level? Thanks=2C Sokratis ularjs/1.2.16/angular.js:4601:6
" } angular.js:9778 =20 =20 =20 =20 By the way=2C the server.log file on the optimizer server is in debug m= ode and constantly writes the following lines: =20 =20 =20 DEBUG [org.apache.http.impl.conn.PoolingClientConnectionManager] (Threa= d-76) Closing expired connections DEBUG [org.apache.http.impl.conn.PoolingClientConnectionManager] (Threa= d-76) Closing connections idle longer than 30 SECONDS =20 =20 the file is getting very big (1GB per day) and I tried to change the lo= g level but I couldn't. Can you please tell me how can I switch it? =20 Thanks=2C =20 Sokratis =20 =20 =20 ----- Original Message -----
Hi=2C
Please check the browser's debug console for error messages. Then chec=
k the
firewall and jboss configuration on the Optimizer server.
The JBoss log on the optimizer machine will tell you whether it does s= ome computations (you will see score lines). Then try manually connecting (telnet) to optimizer:8080 from your mach= ine (the same where the webadmin is running).
We need more data to be able to give you more specific instructions.
-- Martin Siv=E1k msivak at redhat.com Red Hat Czech RHEV-M SLA / Brno=2C CZ
----- Original Message -----
What is your web browser? In my case =2C if i use the Chrome then the= status would be "Waiting for data..." forever=2C but when i use Firefox then everything is ok. =20 by the way=2C please make sure that you optimizer can be connected fr= om ovirt-engine firstly. e.g. if you use jboss=2C you need to run the following command: ./standalone.sh -b 0.0.0.0 if you have no -b option in your command line=2C then only localhost = can access the optimizer. =20 =20 like.ma at cs2c.com.cn =20 =20 =20 From: s k Date: 2014-11-18 16:34 To: Doron Fediuck CC: users at ovirt.org Subject: Re: [ovirt-users] Optaplanner Problem Network access is working both sides and i don't see any errors in th= e logs. You can see a screenshot of the tab in the below link: =20 http://picpaste.com/Optimizer_1-9UdHfclq.png =20
Date: Mon=2C 17 Nov 2014 11:14:16 -0500 From: dfediuck at redhat.com To: sokratis123k at outlook.com CC: users at ovirt.org=3B msivak at redhat.com Subject: Re: [ovirt-users] Optaplanner Problem =20 =20 =20 ----- Original Message -----
From: "s k" <sokratis123k at outlook.com> To: users at ovirt.org Sent: Monday=2C November 17=2C 2014 1:52:42 PM Subject: [ovirt-users] Optaplanner Problem =20 Hello=2C =20 =20 I upgraded oVirt to version 3.5.0 today and I also installed Optaplanner in a separate VM. While the installation was successful the Optimizer = tab in oVirt Engine doesn't report the correct information. Although the= re are VMs that are shutdown and the hosts are not balanced in terms of memo= ry usage the Optimized tab reports the following: =20 =20 SOLUTION STATUS =20 Status: Waiting for data... =20 Solution is being refreshed every 30 seconds. =20 Freeze solution =20 VMS THAT SHOULD BE STARTED =20 No VM starts are requested at this moment. =20 MIGRATION / START STEPS =20 No migrations are needed at this moment. The state is stable. =20 TARGET STATE =20 host vm memory [all in GB] used available =20 =20 =20 No information is displayed in TARGET STATE. =20 =20 Hi=2C it seems that the optimizer is not getting information from the engine DB=2C or the UI plugin cannot connect the Optimizer. Do you see any meaningful information in the UI? =20
Users mailing list Users at ovirt.org http://lists.ovirt.org/mailman/listinfo/users
=
<div>What about the server.log file? Why does it throw this error? How can= I change the logging level?</div><div><br></div><div><br></div><div>Thanks= =2C</div><div><br></div><div><br></div><div>Sokratis</div><div><br><div>>= =3B Date: Tue=2C 18 Nov 2014 07:32:47 -0500<br>>=3B From: msivak@redhat.c= om<br>>=3B To: sokratis123k@outlook.com<br>>=3B CC: users@ovirt.org<br>= >=3B Subject: Re: Optaplanner Problem<br>>=3B <br>>=3B Hi=2C<br>>= =3B <br>>=3B we do not support the newest versions of Firefox and other b= rowsers yet. This is a known issue:<br>>=3B <br>>=3B http://www.ovirt.o= rg/Features/Optaplanner#Data_refresh_failed:_undefined<br>>=3B <br>>=3B=
>=3B >=3B $scope.recomputeResources@https://ovm/ovirt-engine/webadmin/=
>=3B >=3B >=3B<br>>=3B >=3B >=3BHi=2C<br>>=3B >=3B >=3B<= br>>=3B >=3B >=3BPlease check the browser's debug console for error m= essages. Then check the<br>>=3B >=3B >=3Bfirewall and jboss configura= tion on the Optimizer server.<br>>=3B >=3B >=3B<br>>=3B >=3B >= =3BThe JBoss log on the optimizer machine will tell you whether it does som= e<br>>=3B >=3B >=3Bcomputations (you will see score lines).<br>>=3B= >=3B >=3BThen try manually connecting (telnet) to optimizer:8080 from = your machine<br>>=3B >=3B >=3B(the same where the webadmin is running= ).<br>>=3B >=3B >=3B<br>>=3B >=3B >=3BWe need more data to be a= ble to give you more specific instructions.<br>>=3B >=3B >=3B<br>>= =3B >=3B >=3B--<br>>=3B >=3B >=3BMartin Siv=E1k<br>>=3B >=3B = >=3Bmsivak at redhat.com<br>>=3B >=3B >=3BRed Hat Czech<br>>=3B &= gt=3B >=3BRHEV-M SLA / Brno=2C CZ<br>>=3B >=3B >=3B<br>>=3B >= =3B ----- Original Message -----<br>>=3B >=3B >=3B What is your web b= rowser? In my case =2C if i use the Chrome then the status<br>>=3B >=3B= >=3B would be "Waiting for data..." forever=2C<br>>=3B >=3B >=3B b= ut when i use Firefox then everything is ok.<br>>=3B >=3B >=3B <br>&g= t=3B >=3B >=3B by the way=2C please make sure that you optimizer can be= connected from<br>>=3B >=3B >=3B ovirt-engine firstly.<br>>=3B >= =3B >=3B e.g. if you use jboss=2C you need to run the following command:<= br>>=3B >=3B >=3B ./standalone.sh -b 0.0.0.0<br>>=3B >=3B >=3B = if you have no -b option in your command line=2C then only localhost can<br= >=3B >=3B >=3B access<br>>=3B >=3B >=3B the optimizer.<br>>= =3B >=3B >=3B <br>>=3B >=3B >=3B <br>>=3B >=3B >=3B like.ma= at cs2c.com.cn<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B <br>>=3B= >=3B >=3B <br>>=3B >=3B >=3B From: s k<br>>=3B >=3B >=3B D= ate: 2014-11-18 16:34<br>>=3B >=3B >=3B To: Doron Fediuck<br>>=3B &= gt=3B >=3B CC: users at ovirt.org<br>>=3B >=3B >=3B Subject: Re: [o= virt-users] Optaplanner Problem<br>>=3B >=3B >=3B Network access is w= orking both sides and i don't see any errors in the<br>>=3B >=3B >=3B= logs.<br>>=3B >=3B >=3B You can see a screenshot of the tab in the b= elow link:<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B http://picpaste= .com/Optimizer_1-9UdHfclq.png<br>>=3B >=3B >=3B <br>>=3B >=3B >= =3B >=3B Date: Mon=2C 17 Nov 2014 11:14:16 -0500<br>>=3B >=3B >=3B = >=3B From: dfediuck at redhat.com<br>>=3B >=3B >=3B >=3B To: sokr= atis123k at outlook.com<br>>=3B >=3B >=3B >=3B CC: users at ovirt.o= rg=3B msivak at redhat.com<br>>=3B >=3B >=3B >=3B Subject: Re: [ovi= rt-users] Optaplanner Problem<br>>=3B >=3B >=3B >=3B <br>>=3B >= =3B >=3B >=3B <br>>=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B = >=3B ----- Original Message -----<br>>=3B >=3B >=3B >=3B >=3B F= rom: "s k" <=3Bsokratis123k at outlook.com>=3B<br>>=3B >=3B >=3B = >=3B >=3B To: users at ovirt.org<br>>=3B >=3B >=3B >=3B >=3B = Sent: Monday=2C November 17=2C 2014 1:52:42 PM<br>>=3B >=3B >=3B >= =3B >=3B Subject: [ovirt-users] Optaplanner Problem<br>>=3B >=3B >= =3B >=3B >=3B <br>>=3B >=3B >=3B >=3B >=3B Hello=2C<br>>=3B= >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >=3B >=3B <br>>= =3B >=3B >=3B >=3B >=3B I upgraded oVirt to version 3.5.0 today and= I also installed<br>>=3B >=3B >=3B >=3B >=3B Optaplanner<br>>= =3B >=3B >=3B >=3B >=3B in a<br>>=3B >=3B >=3B >=3B >=3B = separate VM. While the installation was successful the Optimizer tab in<br>= >=3B >=3B >=3B >=3B >=3B oVirt Engine doesn't report the correct = information. Although there are<br>>=3B >=3B >=3B >=3B >=3B VMs<b= r>>=3B >=3B >=3B >=3B >=3B that are shutdown and the hosts are no= t balanced in terms of memory<br>>=3B >=3B >=3B >=3B >=3B usage<b= r>>=3B >=3B >=3B >=3B >=3B the Optimized tab reports the followin= g:<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >=3B &g= t=3B <br>>=3B >=3B >=3B >=3B >=3B SOLUTION STATUS<br>>=3B >= =3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >=3B >=3B Status: Wai= ting for data...<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >=3B &g= t=3B >=3B >=3B Solution is being refreshed every 30 seconds.<br>>=3B = >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >=3B >=3B Freeze s=
--_3013e4b3-bf65-4e09-a8e8-9c0397b17637_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>Hi=2C<div><br></div><div><br></d= iv><div>I disabled the security check in Firefox and it works now. Is there= a similar workaround for Chrome and IE?</div><div><br></div><div><br></div= that can be solved by disabling one of the browser security checks before = we implement the SSL version of the optimizer service.<br>>=3B <br>>=3B= --<br>>=3B Martin Siv=E1k<br>>=3B msivak@redhat.com<br>>=3B Red Hat = Czech<br>>=3B RHEV-M SLA / Brno=2C CZ<br>>=3B <br>>=3B ----- Original= Message -----<br>>=3B >=3B Hi=2C<br>>=3B >=3B <br>>=3B >=3B <b= r>>=3B >=3B I have modified standalone.xml and replaced 127.0.0.1 with = the IP address of<br>>=3B >=3B the server and the connection to optimiz= er:8080 works correctly.<br>>=3B >=3B <br>>=3B >=3B <br>>=3B >= =3B Using Chrome I get "Waiting for data..."<br>>=3B >=3B <br>>=3B &g= t=3B <br>>=3B >=3B Using Firefox I get "Status: Data refresh failed: un= defined"<br>>=3B >=3B <br>>=3B >=3B I inspected the page and when I= click on the tab I get the following errors:<br>>=3B >=3B <br>>=3B &= gt=3B <br>>=3B >=3B <br>>=3B >=3B <br>>=3B >=3B Blocked loading= mixed active content<br>>=3B >=3B "http://optimizer:8080/ovirt-optimiz= er/result/00000001-0001-0001-0001-0000000000a1"[Learn<br>>=3B >=3B More= ] angular.js:8321<br>>=3B >=3B "/ovirt-engine/api/hosts" result.html:41= 9<br>>=3B >=3B Exception { message: ""=2C result: 2153644038=2C name: "= "=2C filename:<br>>=3B >=3B "https://ajax.googleapis.com/ajax/libs/angu= larjs/1.2.16/angular.js"=2C<br>>=3B >=3B lineNumber: 8321=2C columnNumb= er: 0=2C inner: null=2C data: null=2C stack:<br>>=3B >=3B "createHttpBa= ckend/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular= .js:8321:6<br>>=3B >=3B sendReq@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:8180:0<br>>=3B >=3B $http/serverRequest@http= s://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:7921:15<br>&g= t=3B >=3B qFactory/defer/deferred.promise.then/wrappedCallback@https://aj= ax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30<br>>=3B = >=3B qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.go= ogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30<br>>=3B >= =3B qFactory/ref/<=3B.then/<=3B@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:11405:25<br>>=3B >=3B $RootScopeProvider/thi= s.$get<=3B/Scope.prototype.$eval@https://ajax.googleapis.com/ajax/libs/an= gularjs/1.2.16/angular.js:12412:15<br>>=3B >=3B $RootScopeProvider/this= .$get<=3B/Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:12224:14<br>>=3B >=3B $RootScopeProvider/thi= s.$get<=3B/Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:12516:12<br>>=3B >=3B bootstrap/doBootstrap/= <=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:13= 82:8<br>>=3B >=3B invoke@https://ajax.googleapis.com/ajax/libs/angularj= s/1.2.16/angular.js:3869:13<br>>=3B >=3B bootstrap/doBootstrap@https://= ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:1380:0<br>>=3B = >=3B bootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/ang= ular.js:1394:0<br>>=3B >=3B angularInit@https://ajax.googleapis.com/aja= x/libs/angularjs/1.2.16/angular.js:1307:4<br>>=3B >=3B @https://ajax.go= ogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:21459:4<br>>=3B >=3B= trigger@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:= 2509:6<br>>=3B >=3B createEventHandler/eventHandler/<=3B@https://ajax= .googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2780:6<br>>=3B >= =3B forEach@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:330:10<br>>=3B >=3B createEventHandler/eventHandler@https://ajax.goo= gleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2779:4<br>>=3B >=3B "= } angular.js:9778<br>>=3B >=3B <br>>=3B >=3B "Updating host 1c3b78= 99-bd75-4e26-aaf6-983b54c54be9" result.html:384<br>>=3B >=3B "Updating = host fd0ea29e-2022-4a0f-8a5a-30c9b4497515" result.html:384<br>>=3B >=3B= "Updating host 7c44018d-4517-4cda-8b21-cda31fc534d2" result.html:384<br>&g= t=3B >=3B "Updating host 18152471-55d8-4cc0-8846-2071f29290df" result.htm= l:384<br>>=3B >=3B "Error: $scope.result.hosts is undefined<br>>=3B &= gt=3B $scope.recomputeResources@https://ovm/ovirt-engine/webadmin/plugin/oV= irtOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13<br>>= =3B >=3B $scope.refreshHostInfo/<=3B@https://ovm/ovirt-engine/webadmin/= plugin/oVirtOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:387:= 17<br>>=3B >=3B $http/promise.success/<=3B@https://ajax.googleapis.co= m/ajax/libs/angularjs/1.2.16/angular.js:7946:11<br>>=3B >=3B qFactory/d= efer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.com/ajax= /libs/angularjs/1.2.16/angular.js:11319:31<br>>=3B >=3B qFactory/defer/= deferred.promise.then/wrappedCallback@https://ajax.googleapis.com/ajax/libs= /angularjs/1.2.16/angular.js:11319:31<br>>=3B >=3B qFactory/ref/<=3B.= then/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:11405:26<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scope.proto= type.$eval@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.j= s:12412:16<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scope.protot= ype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:12224:15<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scope.proto= type.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.= js:12516:13<br>>=3B >=3B done@https://ajax.googleapis.com/ajax/libs/ang= ularjs/1.2.16/angular.js:8204:34<br>>=3B >=3B completeRequest@https://a= jax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:8412:7<br>>=3B &= gt=3B createHttpBackend/<=3B/xhr.onreadystatechange@https://ajax.googleap= is.com/ajax/libs/angularjs/1.2.16/angular.js:8351:1<br>>=3B >=3B " angu= lar.js:9778<br>>=3B >=3B <br>>=3B >=3B "Updating vm 315f674b-24da-4= 2d7-9580-aeed5703c20c" result.html:399<br>>=3B >=3B "Updating vm e50742= 45-e3cc-4423-bc08-ddaa32f876d4" result.html:399<br>>=3B >=3B "Updating = vm f2c61fb9-ffd6-4b96-b7bc-645a328371b3" result.html:399<br>>=3B >=3B "= Updating vm 0c114b32-1d9f-43a1-bf75-723a4a3a4735" result.html:399<br>>=3B= >=3B "Updating vm b62219e2-59bd-4ee8-8ec9-fd3031403aa9" result.html:399<= br>>=3B >=3B "Updating vm dfabf11c-6ddf-4d36-a8b4-64dd8d7eb986" result.= html:399<br>>=3B >=3B "Updating vm 69536040-09be-40df-8a46-51a737edadb6= " result.html:399<br>>=3B >=3B "Updating vm 9b00724b-0719-4b3b-b5c1-e30= 4e3d14428" result.html:399<br>>=3B >=3B "Updating vm e980d298-6dfd-4daf= -adfe-32ada4375815" result.html:399<br>>=3B >=3B "Updating vm 0aa48214-= 3377-41eb-9f29-2e0d926ab929" result.html:399<br>>=3B >=3B "Updating vm = fd9da855-7ef0-4d13-abac-bf29d8c23193" result.html:399<br>>=3B >=3B "Upd= ating vm fb333c71-1e4a-48bc-aa02-0acdc2efbd18" result.html:399<br>>=3B &g= t=3B "Updating vm dfccdc33-0260-4f0e-8a4d-3c54e754f293" result.html:399<br>= >=3B >=3B "Updating vm 7eb0f154-f70e-442c-9719-eebea0714646" result.htm= l:399<br>>=3B >=3B "Updating vm 91af75e8-9bac-45e1-8cba-1c1f5e0056f4" r= esult.html:399<br>>=3B >=3B "Updating vm 4320fd1c-e793-4b44-afda-a9b8d6= caade8" result.html:399<br>>=3B >=3B "Updating vm acb28de9-f2d5-46cf-bb= 13-4dd77af516d5" result.html:399<br>>=3B >=3B "Updating vm 68a46af9-09e= 0-48d8-a8ec-c3c162cdc0f1" result.html:399<br>>=3B >=3B "Updating vm 275= 5eb4a-81a8-4470-870a-786a538b53da" result.html:399<br>>=3B >=3B "Updati= ng vm 2d8d45b9-6b26-4de6-9093-6f3c3381b3be" result.html:399<br>>=3B >= =3B "Updating vm 941bedb8-d0ba-4b39-a59e-fc3bfce465ec" result.html:399<br>&= gt=3B >=3B "Updating vm 2fa8c60f-45a4-48ba-aa4b-7108185cb38b" result.html= :399<br>>=3B >=3B "Updating vm 7ce8d941-646d-440f-ad57-27e5bb936db0" re= sult.html:399<br>>=3B >=3B "Updating vm ade810f2-5e98-4a35-b09d-f760279= 85f1a" result.html:399<br>>=3B >=3B "Updating vm 0e5949ae-0c11-43a2-811= 0-ff3e6940416d" result.html:399<br>>=3B >=3B "Updating vm 1e20e2c5-f97d= -4612-bd34-c291b2da5dd4" result.html:399<br>>=3B >=3B "Updating vm 88a3= 6a05-cca0-425b-a285-b527ce6fa1c6" result.html:399<br>>=3B >=3B "Updatin= g vm 10c225ee-542c-477f-8a88-31a8804e75b7" result.html:399<br>>=3B >=3B= "Updating vm 10c65984-8f53-4a22-b28f-30562b002f51" result.html:399<br>>= =3B >=3B "Updating vm 9b6fcbbf-dffc-405b-8380-78cbd2268c6e" result.html:3= 99<br>>=3B >=3B "Updating vm 7824fa7f-8a2f-46fe-a88f-e0fd770b0d1f" resu= lt.html:399<br>>=3B >=3B "Updating vm d6cfdd5c-e4d7-4eef-bb15-6e235ff5a= 4e7" result.html:399<br>>=3B >=3B "Updating vm 209cda34-fc7a-4976-9075-= 4dd3ca71e9cd" result.html:399<br>>=3B >=3B "Updating vm 1d22c70d-3d3e-4= b75-afae-b782451e073f" result.html:399<br>>=3B >=3B "Updating vm e18d33= a4-5cf2-4bfc-b70e-6d0a89e74f5d" result.html:399<br>>=3B >=3B "Updating = vm 1282c0ed-f753-4484-bb4e-82d41febbba4" result.html:399<br>>=3B >=3B "= Updating vm a196d738-d76c-4e97-8669-bd85f6bea5da" result.html:399<br>>=3B= >=3B "Updating vm 7d462f41-fd72-4a0f-ba8d-9dc7bf23b581" result.html:399<= br>>=3B >=3B "Updating vm cb1c4af3-887e-4fee-b74d-6315ed12c056" result.= html:399<br>>=3B >=3B "Updating vm 6b2a185b-2d4b-4382-922e-9635466dcb3a= " result.html:399<br>>=3B >=3B "Updating vm 9b1f8743-c602-4924-8a14-7ca= e25e77900" result.html:399<br>>=3B >=3B "Updating vm aebdede3-b00a-4565= -833e-1eb86ee36ff0" result.html:399<br>>=3B >=3B "Updating vm 6e42567b-= 30b7-4486-b9af-b5c9f426ec0f" result.html:399<br>>=3B >=3B "Updating vm = bf691404-3cd8-4484-9c60-c3c6f9bdbbbb" result.html:399<br>>=3B >=3B "Upd= ating vm 79ee24d4-502a-4e6c-b6db-ee6b9f41d2f1" result.html:399<br>>=3B &g= t=3B "Updating vm 00bd150e-911f-432c-9e2c-caecfe944944" result.html:399<br>= >=3B >=3B "Updating vm 8aa3422b-ad2c-4753-9784-3ded1ac5d89e" result.htm= l:399<br>>=3B >=3B "Updating vm 6fb3683e-b8c1-45dd-9c1b-1a86ae810890" r= esult.html:399<br>>=3B >=3B "Error: $scope.result.hosts is undefined<br= plugin/oVirtOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:= 13<br>>=3B >=3B $scope.refreshVmInfo/<=3B@https://ovm/ovirt-engine/we= badmin/plugin/oVirtOptimizer/result.html#00000001-0001-0001-0001-0000000000= a1:402:17<br>>=3B >=3B $http/promise.success/<=3B@https://ajax.google= apis.com/ajax/libs/angularjs/1.2.16/angular.js:7946:11<br>>=3B >=3B qFa= ctory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.c= om/ajax/libs/angularjs/1.2.16/angular.js:11319:31<br>>=3B >=3B qFactory= /defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.com/aj= ax/libs/angularjs/1.2.16/angular.js:11319:31<br>>=3B >=3B qFactory/ref/= <=3B.then/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/a= ngular.js:11405:26<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scop= e.prototype.$eval@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/an= gular.js:12412:16<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scope= .prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/a= ngular.js:12224:15<br>>=3B >=3B $RootScopeProvider/this.$get<=3B/Scop= e.prototype.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/a= ngular.js:12516:13<br>>=3B >=3B done@https://ajax.googleapis.com/ajax/l= ibs/angularjs/1.2.16/angular.js:8204:34<br>>=3B >=3B completeRequest@ht= tps://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:8412:7<br>&= gt=3B >=3B createHttpBackend/<=3B/xhr.onreadystatechange@https://ajax.g= oogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:8351:1<br>>=3B >=3B= " angular.js:9778<br>>=3B >=3B <br>>=3B >=3B Blocked loading mixed= active content<br>>=3B >=3B "http://optimizer:8080/ovirt-optimizer/res= ult/00000001-0001-0001-0001-0000000000a1/score"[Learn<br>>=3B >=3B More= ] angular.js:8321<br>>=3B >=3B Exception { message: ""=2C result: 21536= 44038=2C name: ""=2C filename:<br>>=3B >=3B "https://ajax.googleapis.co= m/ajax/libs/angularjs/1.2.16/angular.js"=2C<br>>=3B >=3B lineNumber: 83= 21=2C columnNumber: 0=2C inner: null=2C data: null=2C stack:<br>>=3B >= =3B "createHttpBackend/<=3B@https://ajax.googleapis.com/ajax/libs/angular= js/1.2.16/angular.js:8321:6<br>>=3B >=3B sendReq@https://ajax.googleapi= s.com/ajax/libs/angularjs/1.2.16/angular.js:8180:0<br>>=3B >=3B $http/s= erverRequest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular= .js:7921:15<br>>=3B >=3B qFactory/defer/deferred.promise.then/wrappedCa= llback@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11= 319:30<br>>=3B >=3B qFactory/defer/deferred.promise.then/wrappedCallbac= k@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:3= 0<br>>=3B >=3B qFactory/ref/<=3B.then/<=3B@https://ajax.googleapis.= com/ajax/libs/angularjs/1.2.16/angular.js:11405:25<br>>=3B >=3B $RootSc= opeProvider/this.$get<=3B/Scope.prototype.$eval@https://ajax.googleapis.c= om/ajax/libs/angularjs/1.2.16/angular.js:12412:15<br>>=3B >=3B $RootSco= peProvider/this.$get<=3B/Scope.prototype.$digest@https://ajax.googleapis.= com/ajax/libs/angularjs/1.2.16/angular.js:12224:14<br>>=3B >=3B $RootSc= opeProvider/this.$get<=3B/Scope.prototype.$apply@https://ajax.googleapis.= com/ajax/libs/angularjs/1.2.16/angular.js:12516:12<br>>=3B >=3B timeout= /timeoutId<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/ang= ular.js:14023:24<br>>=3B >=3B completeOutstandingRequest@https://ajax.g= oogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:4300:6<br>>=3B >=3B= Browser/self.defer/timeoutId<=3B@https://ajax.googleapis.com/ajax/libs/a= ngularjs/1.2.16/angular.js:4601:6<br>>=3B >=3B " } angular.js:9778<br>&= gt=3B >=3B <br>>=3B >=3B <br>>=3B >=3B <br>>=3B >=3B <br>>= =3B >=3B By the way=2C the server.log file on the optimizer server is in = debug mode and<br>>=3B >=3B constantly writes the following lines:<br>&= gt=3B >=3B <br>>=3B >=3B <br>>=3B >=3B <br>>=3B >=3B DEBUG [o= rg.apache.http.impl.conn.PoolingClientConnectionManager] (Thread-76)<br>>= =3B >=3B Closing expired connections<br>>=3B >=3B DEBUG [org.apache.h= ttp.impl.conn.PoolingClientConnectionManager] (Thread-76)<br>>=3B >=3B = Closing connections idle longer than 30 SECONDS<br>>=3B >=3B <br>>=3B= >=3B <br>>=3B >=3B the file is getting very big (1GB per day) and I = tried to change the log<br>>=3B >=3B level but I couldn't. Can you plea= se tell me how can I switch it?<br>>=3B >=3B <br>>=3B >=3B Thanks= =2C<br>>=3B >=3B <br>>=3B >=3B Sokratis<br>>=3B >=3B <br>>=3B= >=3B <br>>=3B >=3B <br>>=3B >=3B ----- Original Message -----<br= olution<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >= =3B >=3B VMS THAT SHOULD BE STARTED<br>>=3B >=3B >=3B >=3B >=3B= <br>>=3B >=3B >=3B >=3B >=3B No VM starts are requested at this = moment.<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B >= =3B >=3B MIGRATION / START STEPS<br>>=3B >=3B >=3B >=3B >=3B <b= r>>=3B >=3B >=3B >=3B >=3B No migrations are needed at this momen= t. The state is stable.<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B &g= t=3B >=3B >=3B >=3B TARGET STATE<br>>=3B >=3B >=3B >=3B >= =3B <br>>=3B >=3B >=3B >=3B >=3B host vm memory [all in GB]<br>&g= t=3B >=3B >=3B >=3B >=3B used available<br>>=3B >=3B >=3B >= =3B >=3B <br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >=3B >=3B = >=3B >=3B <br>>=3B >=3B >=3B >=3B >=3B No information is disp= layed in TARGET STATE.<br>>=3B >=3B >=3B >=3B >=3B <br>>=3B >= =3B >=3B >=3B <br>>=3B >=3B >=3B >=3B Hi=2C<br>>=3B >=3B &g= t=3B >=3B it seems that the optimizer is not getting information<br>>= =3B >=3B >=3B >=3B from the engine DB=2C or the UI plugin cannot conn= ect the<br>>=3B >=3B >=3B >=3B Optimizer.<br>>=3B >=3B >=3B &= gt=3B Do you see any meaningful information in the UI?<br>>=3B >=3B >= =3B <br>>=3B >=3B >=3B ______________________________________________= _<br>>=3B >=3B >=3B Users mailing list<br>>=3B >=3B >=3B Users = at ovirt.org<br>>=3B >=3B >=3B http://lists.ovirt.org/mailman/listinf= o/users<br>>=3B >=3B >=3B<br></div></div> </div></body> </html>= --_3013e4b3-bf65-4e09-a8e8-9c0397b17637_--