--_4acda39e-6832-4833-88a5-489ba11c0690_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi=2C
I have modified standalone.xml and replaced 127.0.0.1 with the IP address o=
f the server and the connection to optimizer:8080 works correctly.
Using Chrome I get "Waiting for data..."
Using Firefox I get "Status: Data refresh failed: undefined"
I inspected the page and when I click on the tab I get the following errors=
:
Blocked loading mixed active content "http://optimizer:8080/ovirt-optimizer=
/result/00000001-0001-0001-0001-0000000000a1"[Learn More] angular.js:8321
"/ovirt-engine/api/hosts" result.html:419
Exception { message: ""=2C result: 2153644038=2C name: ""=2C filename:
"htt=
ps://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"=2C lineNumb=
er: 8321=2C columnNumber: 0=2C inner: null=2C data: null=2C stack: "createH=
ttpBackend/<@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:8=
180: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.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:11405:25
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleap=
is.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapi=
s.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.js:38=
69:13
bootstrap/doBootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:1380:0
bootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js=
:1394:0
angularInit@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.=
js:1307:4
@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:21459:4
trigger@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2=
509:6
createEventHandler/eventHandler/<@https://ajax.googleapis.com/ajax/libs/ang=
ularjs/1.2.16/angular.js:2780:6
forEach@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:3=
30:10
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angul=
arjs/1.2.16/angular.js:2779:4
" } angular.js:9778
"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/oVirtOpt=
imizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13
$scope.refreshHostInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirtOpti=
mizer/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.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:11405:26
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleap=
is.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapi=
s.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/angu=
lar.js:8412:7
createHttpBackend/</xhr.onreadystatechange@https://ajax.googleapis.com/ajax=
/libs/angularjs/1.2.16/angular.js:8351:1
" angular.js:9778
"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/oVirtOpt=
imizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13
$scope.refreshVmInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimi=
zer/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.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:11405:26
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleap=
is.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapi=
s.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/angu=
lar.js:8412:7
createHttpBackend/</xhr.onreadystatechange@https://ajax.googleapis.com/ajax=
/libs/angularjs/1.2.16/angular.js:8351:1
" angular.js:9778
Blocked loading mixed active content "http://optimizer:8080/ovirt-optimizer=
/result/00000001-0001-0001-0001-0000000000a1/score"[Learn More] angular.js:=
8321
Exception { message: ""=2C result: 2153644038=2C name: ""=2C filename:
"htt=
ps://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"=2C lineNumb=
er: 8321=2C columnNumber: 0=2C inner: null=2C data: null=2C stack: "createH=
ttpBackend/<@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:8=
180: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.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
qFactory/ref/<.then/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:11405:25
$RootScopeProvider/this.$get</Scope.prototype.$eval@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleap=
is.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:12516:12
timeout/timeoutId<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/a=
ngular.js:14023:24
completeOutstandingRequest@https://ajax.googleapis.com/ajax/libs/angularjs/=
1.2.16/angular.js:4300:6
Browser/self.defer/timeoutId<@https://ajax.googleapis.com/ajax/libs/angular=
js/1.2.16/angular.js:4601:6
" } angular.js:9778
By the way=2C the server.log file on the optimizer server is in debug mode =
and constantly writes the following lines:
DEBUG [org.apache.http.impl.conn.PoolingClientConnectionManager] (Thread-76=
) Closing expired connections
DEBUG [org.apache.http.impl.conn.PoolingClientConnectionManager] (Thread-76=
) Closing connections idle longer than 30 SECONDS
the file is getting very big (1GB per day) and I tried to change the log le=
vel but I couldn't. Can you please tell me how can I switch it?
Thanks=2C
Sokratis
----- Original Message -----
Hi=2C=0A=
=0A=
Please check the browser's debug console for error messages. Then check th=
e
firewall and jboss configuration on the Optimizer server.=0A=
=0A=
The JBoss log on the optimizer machine will tell you whether it does some =
computations (you will see score lines).=0A=
Then try manually connecting (telnet) to optimizer:8080 from your
machine =
(the same where the webadmin is running). =0A=
=0A=
We need more data to be able to give you more specific instructions.=0A=
=0A=
--=0A=
Martin Siv=E1k=0A=
msivak at redhat.com=0A=
Red Hat Czech=0A=
RHEV-M SLA / Brno=2C CZ=0A=
=0A=
----- Original Message -----=0A=
What is your web browser? In my case =2C if i use the Chrome then the
sta=
tus=0A=
would be "Waiting for data..." forever=2C=0A=
but when i use Firefox then everything is ok.=0A=
=0A=
by the way=2C please make sure that you optimizer can be connected from=
=0A=
ovirt-engine firstly.=0A=
e.g. if you use jboss=2C you need to run the following command:=0A=
./standalone.sh -b 0.0.0.0=0A=
if you have no -b option in your command line=2C then only localhost can =
access=0A=
the optimizer.=0A=
=0A=
=0A=
like.ma at cs2c.com.cn=0A=
=0A=
=0A=
=0A=
From: s k=0A=
Date: 2014-11-18 16:34=0A=
To: Doron Fediuck=0A=
CC: users at ovirt.org=0A=
Subject: Re: [ovirt-users] Optaplanner Problem=0A=
Network access is working both sides and i don't see any errors in the lo=
gs.=0A=
You can see a screenshot of the tab in the below link:=0A=
=0A=
http://picpaste.com/Optimizer_1-9UdHfclq.png=0A=
=0A=
> Date: Mon=2C 17 Nov 2014 11:14:16 -0500=0A=
> From: dfediuck at redhat.com=0A=
> To: sokratis123k at outlook.com=0A=
> CC: users at ovirt.org=3B msivak at redhat.com=0A=
> Subject: Re: [ovirt-users] Optaplanner Problem=0A=
> =0A=
> =0A=
> =0A=
> ----- Original Message -----=0A=
> > From: "s k" <sokratis123k at outlook.com>=0A=
> > To: users at ovirt.org=0A=
> > Sent: Monday=2C November 17=2C 2014 1:52:42 PM=0A=
> > Subject: [ovirt-users] Optaplanner Problem=0A=
> > =0A=
> > Hello=2C=0A=
> > =0A=
> > =0A=
> > I upgraded oVirt to version 3.5.0 today and I also installed Optaplan=
ner=0A=
> > in a=0A=
> > separate VM. While the installation was successful the Optimizer tab =
in=0A=
> > oVirt Engine doesn't report the correct information.
Although there a=
re=0A=
> > VMs=0A=
> > that are shutdown and the hosts are not balanced in terms of memory u=
sage=0A=
> > the Optimized tab reports the following:=0A=
> > =0A=
> > =0A=
> > SOLUTION STATUS=0A=
> > =0A=
> > Status: Waiting for data...=0A=
> > =0A=
> > Solution is being refreshed every 30 seconds.=0A=
> > =0A=
> > Freeze solution=0A=
> > =0A=
> > VMS THAT SHOULD BE STARTED=0A=
> > =0A=
> > No VM starts are requested at this moment.=0A=
> > =0A=
> > MIGRATION / START STEPS=0A=
> > =0A=
> > No migrations are needed at this moment. The state is stable.=0A=
> > =0A=
> > TARGET STATE=0A=
> > =0A=
> > host vm memory [all in GB]=0A=
> > used available=0A=
> > =0A=
> > =0A=
> > =0A=
> > No information is displayed in TARGET STATE.=0A=
> > =0A=
> =0A=
> Hi=2C=0A=
> it seems that the optimizer is not getting information=0A=
> from the engine DB=2C or the UI plugin cannot connect the=0A=
> Optimizer.=0A=
> Do you see any meaningful information in the UI?=0A=
=0A=
_______________________________________________=0A=
Users mailing list=0A=
Users at ovirt.org=0A=
http://lists.ovirt.org/mailman/listinfo/users=0A=
=
--_4acda39e-6832-4833-88a5-489ba11c0690_
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'><pre>Hi=2C<br><br><br>I have mod=
ified standalone.xml and replaced 127.0.0.1 with the IP address of the serv=
er and the connection to optimizer:8080 works
correctly.<br><br><br>Using C=
hrome I get "Waiting for data..."<br><br><br>Using Firefox I
get "Status: D=
ata refresh failed: undefined"<br><br>I inspected the page and when I
click=
on the tab I get the following
errors:<br><br><br><br><br>Blocked loading =
mixed active content "http://optimizer:8080/ovirt-optimizer/result/00000001=
-0001-0001-0001-0000000000a1"[Learn More]
angular.js:8321<br>"/ovirt-engine=
/api/hosts" result.html:419<br>Exception { message: ""=2C result:
215364403=
8=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 stack: "createHttpBackend/<=3B@https://ajax.googleapis.=
com/ajax/libs/angularjs/1.2.16/angular.js:8321:6<br>sendReq@https://ajax.go=
ogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:8180:0<br>$http/...
quest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:792=
1:15<br>qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.g=
oogleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30<br>qFa...
fer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.com/ajax/=
libs/angularjs/1.2.16/angular.js:11319:30<br>qFactory/ref/<=3B.then/<=
=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11405=
:25<br>$RootScopeProvider/this.$get<=3B/Scope.prototype.$eval@https://aja=
x.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15<br>...
peProvider/this.$get<=3B/Scope.prototype.$digest@https://ajax.googleapis.=
com/ajax/libs/angularjs/1.2.16/angular.js:12224:14<br>$RootScopeProvider/th=
is.$get<=3B/Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/=
angularjs/1.2.16/angular.js:12516:12<br>bootstrap/doBootstrap/<=3B@https:=
//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:1382:8<br>invok=
e@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:3869:13=
<br>bootstrap/doBootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1=
.2.16/angular.js:1380:0<br>bootstrap@https://ajax.googleapis.com/ajax/libs/=
angularjs/1.2.16/angular.js:1394:0<br>angularInit@https://ajax.googleapis.c=
om/ajax/libs/angularjs/1.2.16/angular.js:1307:4<br>@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:21459:4<br>trigger@https://ajax.=
googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2509:6<br>crea...
andler/eventHandler/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/=
1.2.16/angular.js:2780:6<br>forEach@https://ajax.googleapis.com/ajax/libs/a=
ngularjs/1.2.16/angular.js:330:10<br>createEventHandler/eventHandler@https:=
//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:2779:4<br>" } a=
ngular.js:9778<br><br>"Updating host
1c3b7899-bd75-4e26-aaf6-983b54c54be9" =
result.html:384<br>"Updating host fd0ea29e-2022-4a0f-8a5a-30c9b4497515"
res=
ult.html:384<br>"Updating host 7c44018d-4517-4cda-8b21-cda31fc534d2"
result=
.html:384<br>"Updating host 18152471-55d8-4cc0-8846-2071f29290df"
result.ht=
ml:384<br>"Error: $scope.result.hosts is
undefined<br>$scope.recomputeResou=
rces@https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimizer/result.html#00=
000001-0001-0001-0001-0000000000a1:354:13<br>$scope.refreshHostInfo/<=3B@=
https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimizer/result.html#0000000=
1-0001-0001-0001-0000000000a1:387:17<br>$http/promise.success/<=3B@https:=
//ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:7946:11<br>qFac=
tory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.co=
m/ajax/libs/angularjs/1.2.16/angular.js:11319:31<br>qFactory/defer/deferred=
.promise.then/wrappedCallback@https://ajax.googleapis.com/ajax/libs/angular=
js/1.2.16/angular.js:11319:31<br>qFactory/ref/<=3B.then/<=3B@https://aj=
ax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11405:26<br>...
opeProvider/this.$get<=3B/Scope.prototype.$eval@https://ajax.googleapis.c=
om/ajax/libs/angularjs/1.2.16/angular.js:12412:16<br>$RootScopeProvider/thi=
s.$get<=3B/Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/=
angularjs/1.2.16/angular.js:12224:15<br>$RootScopeProvider/this.$get<=3B/=
Scope.prototype.$apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.=
16/angular.js:12516:13<br>done@https://ajax.googleapis.com/ajax/libs/angula=
rjs/1.2.16/angular.js:8204:34<br>completeRequest@https://ajax.googleapis.co=
m/ajax/libs/angularjs/1.2.16/angular.js:8412:7<br>createHttpBackend/<=3B/=
xhr.onreadystatechange@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.=
16/angular.js:8351:1<br>" angular.js:9778<br><br>"Updating vm
315f674b-24da=
-42d7-9580-aeed5703c20c" result.html:399<br>"Updating vm
e5074245-e3cc-4423=
-bc08-ddaa32f876d4" result.html:399<br>"Updating vm
f2c61fb9-ffd6-4b96-b7bc=
-645a328371b3" result.html:399<br>"Updating vm
0c114b32-1d9f-43a1-bf75-723a=
4a3a4735" result.html:399<br>"Updating vm
b62219e2-59bd-4ee8-8ec9-fd3031403=
aa9" result.html:399<br>"Updating vm
dfabf11c-6ddf-4d36-a8b4-64dd8d7eb986" =
result.html:399<br>"Updating vm 69536040-09be-40df-8a46-51a737edadb6"
resul=
t.html:399<br>"Updating vm 9b00724b-0719-4b3b-b5c1-e304e3d14428"
result.htm=
l:399<br>"Updating vm e980d298-6dfd-4daf-adfe-32ada4375815"
result.html:399=
<br>"Updating vm 0aa48214-3377-41eb-9f29-2e0d926ab929"
result.html:399<br>"=
Updating vm fd9da855-7ef0-4d13-abac-bf29d8c23193"
result.html:399<br>"Updat=
ing vm fb333c71-1e4a-48bc-aa02-0acdc2efbd18" result.html:399<br>"Updating
v=
m dfccdc33-0260-4f0e-8a4d-3c54e754f293" result.html:399<br>"Updating vm
7eb=
0f154-f70e-442c-9719-eebea0714646" result.html:399<br>"Updating vm
91af75e8=
-9bac-45e1-8cba-1c1f5e0056f4" result.html:399<br>"Updating vm
4320fd1c-e793=
-4b44-afda-a9b8d6caade8" result.html:399<br>"Updating vm
acb28de9-f2d5-46cf=
-bb13-4dd77af516d5" result.html:399<br>"Updating vm
68a46af9-09e0-48d8-a8ec=
-c3c162cdc0f1" result.html:399<br>"Updating vm
2755eb4a-81a8-4470-870a-786a=
538b53da" result.html:399<br>"Updating vm
2d8d45b9-6b26-4de6-9093-6f3c3381b=
3be" result.html:399<br>"Updating vm
941bedb8-d0ba-4b39-a59e-fc3bfce465ec" =
result.html:399<br>"Updating vm 2fa8c60f-45a4-48ba-aa4b-7108185cb38b"
resul=
t.html:399<br>"Updating vm 7ce8d941-646d-440f-ad57-27e5bb936db0"
result.htm=
l:399<br>"Updating vm ade810f2-5e98-4a35-b09d-f76027985f1a"
result.html:399=
<br>"Updating vm 0e5949ae-0c11-43a2-8110-ff3e6940416d"
result.html:399<br>"=
Updating vm 1e20e2c5-f97d-4612-bd34-c291b2da5dd4"
result.html:399<br>"Updat=
ing vm 88a36a05-cca0-425b-a285-b527ce6fa1c6" result.html:399<br>"Updating
v=
m 10c225ee-542c-477f-8a88-31a8804e75b7" result.html:399<br>"Updating vm
10c=
65984-8f53-4a22-b28f-30562b002f51" result.html:399<br>"Updating vm
9b6fcbbf=
-dffc-405b-8380-78cbd2268c6e" result.html:399<br>"Updating vm
7824fa7f-8a2f=
-46fe-a88f-e0fd770b0d1f" result.html:399<br>"Updating vm
d6cfdd5c-e4d7-4eef=
-bb15-6e235ff5a4e7" result.html:399<br>"Updating vm
209cda34-fc7a-4976-9075=
-4dd3ca71e9cd" result.html:399<br>"Updating vm
1d22c70d-3d3e-4b75-afae-b782=
451e073f" result.html:399<br>"Updating vm
e18d33a4-5cf2-4bfc-b70e-6d0a89e74=
f5d" result.html:399<br>"Updating vm
1282c0ed-f753-4484-bb4e-82d41febbba4" =
result.html:399<br>"Updating vm a196d738-d76c-4e97-8669-bd85f6bea5da"
resul=
t.html:399<br>"Updating vm 7d462f41-fd72-4a0f-ba8d-9dc7bf23b581"
result.htm=
l:399<br>"Updating vm cb1c4af3-887e-4fee-b74d-6315ed12c056"
result.html:399=
<br>"Updating vm 6b2a185b-2d4b-4382-922e-9635466dcb3a"
result.html:399<br>"=
Updating vm 9b1f8743-c602-4924-8a14-7cae25e77900"
result.html:399<br>"Updat=
ing vm aebdede3-b00a-4565-833e-1eb86ee36ff0" result.html:399<br>"Updating
v=
m 6e42567b-30b7-4486-b9af-b5c9f426ec0f" result.html:399<br>"Updating vm
bf6=
91404-3cd8-4484-9c60-c3c6f9bdbbbb" result.html:399<br>"Updating vm
79ee24d4=
-502a-4e6c-b6db-ee6b9f41d2f1" result.html:399<br>"Updating vm
00bd150e-911f=
-432c-9e2c-caecfe944944" result.html:399<br>"Updating vm
8aa3422b-ad2c-4753=
-9784-3ded1ac5d89e" result.html:399<br>"Updating vm
6fb3683e-b8c1-45dd-9c1b=
-1a86ae810890" result.html:399<br>"Error: $scope.result.hosts is
undefined<=
br>$scope.recomputeResources@https://ovm/ovirt-engine/webadmin/plugin/oVirt=
Optimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13<br>$scope=
.refreshVmInfo/<=3B@https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimiz=
er/result.html#00000001-0001-0001-0001-0000000000a1:402:17<br>$http/promise=
.success/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angu=
lar.js:7946:11<br>qFactory/defer/deferred.promise.then/wrappedCallback@http=
s://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31<...
Factory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31<br>qFactory/ref/<=3B.=
then/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.=
js:11405:26<br>$RootScopeProvider/this.$get<=3B/Scope.prototype.$eval@htt=
ps://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16&l...
$RootScopeProvider/this.$get<=3B/Scope.prototype.$digest@https://ajax.goo=
gleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15<br>$Root...
vider/this.$get<=3B/Scope.prototype.$apply@https://ajax.googleapis.com/aj=
ax/libs/angularjs/1.2.16/angular.js:12516:13<br>done@https://ajax.googleapi=
s.com/ajax/libs/angularjs/1.2.16/angular.js:8204:34<br>completeRequest@http=
s://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:8412:7<b...
ateHttpBackend/<=3B/xhr.onreadystatechange@https://ajax.googleapis.com/aj=
ax/libs/angularjs/1.2.16/angular.js:8351:1<br>"
angular.js:9778<br><br>Bloc=
ked loading mixed active content "http://optimizer:8080/ovirt-optimizer/res=
ult/00000001-0001-0001-0001-0000000000a1/score"[Learn More] angular.js:8321=
<br>Exception { message: ""=2C result: 2153644038=2C name: ""=2C
filename: =
"https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js"=2C line=
Number: 8321=2C columnNumber: 0=2C inner: null=2C data: null=2C stack: "cre=
ateHttpBackend/<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.1=
6/angular.js:8321:6<br>sendReq@https://ajax.googleapis.com/ajax/libs/angula=
rjs/1.2.16/angular.js:8180:0<br>$http/serverRequest@https://ajax.googleapis=
.com/ajax/libs/angularjs/1.2.16/angular.js:7921:15<br>qFactory/defer/deferr=
ed.promise.then/wrappedCallback@https://ajax.googleapis.com/ajax/libs/angul=
arjs/1.2.16/angular.js:11319:30<br>qFactory/defer/deferred.promise.then/wra=
ppedCallback@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular=
.js:11319:30<br>qFactory/ref/<=3B.then/<=3B@https://ajax.googleapis.com=
/ajax/libs/angularjs/1.2.16/angular.js:11405:25<br>$RootScopeProvider/this.=
$get<=3B/Scope.prototype.$eval@https://ajax.googleapis.com/ajax/libs/angu=
larjs/1.2.16/angular.js:12412:15<br>$RootScopeProvider/this.$get<=3B/Scop=
e.prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/=
angular.js:12224:14<br>$RootScopeProvider/this.$get<=3B/Scope.prototype.$=
apply@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:125=
16:12<br>timeout/timeoutId<=3B@https://ajax.googleapis.com/ajax/libs/angu=
larjs/1.2.16/angular.js:14023:24<br>completeOutstandingRequest@https://ajax=
.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:4300:6<br>Browser/sel=
f.defer/timeoutId<=3B@https://ajax.googleapis.com/ajax/libs/angularjs/1.2=
.16/angular.js:4601:6<br>" }
angular.js:9778<br><br><br><br><br>By the way=
=2C the server.log file on the optimizer server is in debug mode and consta=
ntly writes the following lines:<br><br><br><br>DEBUG
[org.apache.http.impl=
.conn.PoolingClientConnectionManager] (Thread-76) Closing expired connectio=
ns<br>DEBUG [org.apache.http.impl.conn.PoolingClientConnectionManager] (Thr=
ead-76) Closing connections idle longer than 30 SECONDS<br><br><br>the
file=
is getting very big (1GB per day) and I tried to change the log level but =
I couldn't. Can you please tell me how can I switch
it?<br><br>Thanks=2C<br=
<br>Sokratis<br><br><br><br>-----
Original Message -----<br>>=3B<br>>=
=3BHi=2C=0A=
>=3B=0A=
>=3BPlease check the browser's debug console for error messages. Then che=
ck the firewall and jboss configuration on the Optimizer server.=0A=
>=3B=0A=
>=3BThe JBoss log on the optimizer machine will tell you whether it does =
some computations (you will see score lines).=0A=
>=3BThen try manually connecting (telnet) to optimizer:8080 from your mac=
hine (the same where the webadmin is running). =0A=
>=3B=0A=
>=3BWe need more data to be able to give you more specific instructions.=
=0A=
>=3B=0A=
>=3B--=0A=
>=3BMartin Siv=E1k=0A=
<a
href=3D"http://lists.ovirt.org/mailman/listinfo/users">&...
at r=
edhat.com</a>=0A=
>=3BRed Hat Czech=0A=
>=3BRHEV-M SLA / Brno=2C CZ=0A=
>=3B=0A=
----- Original Message -----=0A=
>=3B<i> What is your web browser? In my case =2C if i use the Chrome then=
the status=0A=
</i>>=3B<i> would be "Waiting for data..." forever=2C=0A=
</i>>=3B<i> but when i use Firefox then everything is ok.=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> by the way=2C please make sure that you optimizer can be
conn=
ected from=0A=
</i>>=3B<i> ovirt-engine firstly.=0A=
</i>>=3B<i> e.g. if you use jboss=2C you need to run the following
comman=
d:=0A=
</i>>=3B<i> ./standalone.sh -b 0.0.0.0=0A=
</i>>=3B<i> if you have no -b option in your command line=2C then only
lo=
calhost can access=0A=
</i>>=3B<i> the optimizer.=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> =0A=
</i>>=3B<i> <a
href=3D"http://lists.ovirt.org/mailman/listinfo/users">lik=
e.ma at cs2c.com.cn</a>=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> =0A=
</i>>=3B<i> =0A=
</i>>=3B<i> From: s k=0A=
</i>>=3B<i> Date: 2014-11-18 16:34=0A=
</i>>=3B<i> To: Doron Fediuck=0A=
</i>>=3B<i> CC: <a
href=3D"http://lists.ovirt.org/mailman/listinfo/users"=
users at ovirt.org</a>=0A=
</i>>=3B<i>
Subject: Re: [ovirt-users] Optaplanner Problem=0A=
</i>>=3B<i> Network access is working both sides and i don't see any
erro=
rs in the logs.=0A=
</i>>=3B<i> You can see a screenshot of the tab in the below link:=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> <a
href=3D"http://picpaste.com/Optimizer_1-9UdHfclq.png">http=
://picpaste.com/Optimizer_1-9UdHfclq.png</a>=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> >=3B Date: Mon=2C 17 Nov 2014 11:14:16 -0500=0A=
</i>>=3B<i> >=3B From: <a
href=3D"http://lists.ovirt.org/mailman/listin=
fo/users">dfediuck at redhat.com</a>=0A=
</i>>=3B<i> >=3B To: <a
href=3D"http://lists.ovirt.org/mailman/listinfo=
/users">sokratis123k at outlook.com</a>=0A=
</i>>=3B<i> >=3B CC: <a
href=3D"http://lists.ovirt.org/mailman/listinfo=
/users">users at ovirt.org</a>=3B <a
href=3D"http://lists.ovirt.org/mailman=
/listinfo/users">msivak at redhat.com</a>=0A=
</i>>=3B<i> >=3B Subject: Re: [ovirt-users] Optaplanner
Problem=0A=
</i>>=3B<i> >=3B =0A=
</i>>=3B<i> >=3B =0A=
</i>>=3B<i> >=3B =0A=
</i>>=3B<i> >=3B ----- Original Message -----=0A=
</i>>=3B<i> >=3B >=3B From: "s k" <=3B<a
href=3D"http://lists.ovirt=
.org/mailman/listinfo/users">sokratis123k at outlook.com</a>>=3B=0A=
</i>>=3B<i> >=3B >=3B To: <a
href=3D"http://lists.ovirt.org/mailman/l=
istinfo/users"
users at ovirt.org</a>=0A=
</i>>=3B<i> >=3B >=3B Sent: Monday=2C November 17=2C
2014 1:52:42 PM=
=0A=
</i>>=3B<i> >=3B >=3B Subject: [ovirt-users] Optaplanner
Problem=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B Hello=2C=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B I upgraded oVirt to version 3.5.0
today and I a=
lso installed Optaplanner=0A=
</i>>=3B<i> >=3B >=3B in a=0A=
</i>>=3B<i> >=3B >=3B separate VM. While the installation
was success=
ful the Optimizer tab in=0A=
</i>>=3B<i> >=3B >=3B oVirt Engine doesn't report the
correct informa=
tion. Although there are=0A=
</i>>=3B<i> >=3B >=3B VMs=0A=
</i>>=3B<i> >=3B >=3B that are shutdown and the hosts are
not balance=
d in terms of memory usage=0A=
</i>>=3B<i> >=3B >=3B the Optimized tab reports the
following:=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B SOLUTION STATUS=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B Status: Waiting for data...=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B Solution is being refreshed every 30
seconds.=
=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B Freeze solution=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B VMS THAT SHOULD BE STARTED=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B No VM starts are requested at this
moment.=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B MIGRATION / START STEPS=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B No migrations are needed at this
moment. The st=
ate is stable.=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B TARGET STATE=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B host vm memory [all in GB]=0A=
</i>>=3B<i> >=3B >=3B used available=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B >=3B No information is displayed in TARGET
STATE.=0A=
</i>>=3B<i> >=3B >=3B =0A=
</i>>=3B<i> >=3B =0A=
</i>>=3B<i> >=3B Hi=2C=0A=
</i>>=3B<i> >=3B it seems that the optimizer is not getting
information=
=0A=
</i>>=3B<i> >=3B from the engine DB=2C or the UI plugin cannot
connect =
the=0A=
</i>>=3B<i> >=3B Optimizer.=0A=
</i>>=3B<i> >=3B Do you see any meaningful information in the
UI?=0A=
</i>>=3B<i> =0A=
</i>>=3B<i> _______________________________________________=0A=
</i>>=3B<i> Users mailing list=0A=
</i>>=3B<i> <a
href=3D"http://lists.ovirt.org/mailman/listinfo/users">Use=
rs at ovirt.org</a>=0A=
</i>>=3B<i> <a
href=3D"http://lists.ovirt.org/mailman/listinfo/users">htt=
p://lists.ovirt.org/mailman/listinfo/users</a>=0A=
</i>>=3B<i> </i></pre> </div></body>
</html>=
--_4acda39e-6832-4833-88a5-489ba11c0690_--