Ah,
the IE 11 issue seems to be something else. We use Angular JS for the page and the
screenshot shows that the template fields weren't replaced by content.
I found couple of references to issues with Angular and IE 11. Are you able to check if IE
10 is ok so we can isolate the issue?
--
Martin Sivák
msivak(a)redhat.com
Red Hat Czech
RHEV-M SLA / Brno, CZ
----- Original Message -----
Hi,
No it doesn't work on IE11. You can see a screenshot here:
http://picpaste.com/Optimizer_IE11-JFreSHvp.png
I managed to change the logging level to INFO (by modifying standalone.xml).
Thanks a lot!
Sokratis
> Date: Tue, 18 Nov 2014 08:29:31 -0500
> From: msivak(a)redhat.com
> To: sokratis123k(a)outlook.com
> CC: users(a)ovirt.org
> Subject: Re: Optaplanner Problem
>
> Hi,
>
> > I disabled the security check in Firefox and it works now. Is there a
> > similar
> > workaround for Chrome and IE?
>
> I have no idea about Chrome, but IE used to be OK. Is the issue there as
> well (meaning they finally included the security check)?
>
> > What about the server.log file? Why does it throw this error? How can I
> > change the logging level?
>
> Error? Do you mean the DEBUG message? You can configure JBoss logging in
> the standalone.xml file (if you use standalone). But I am not a JBoss
> expert.
>
>
https://docs.jboss.org/author/display/AS71/Logging+Configuration
>
> It should be in /usr/share/ovirt-engine-jboss-as/ somewhere if you are
> using Cent OS 6. The location is different if you use Fedora or RHEL.
>
> --
> Martin Sivák
> msivak(a)redhat.com
> Red Hat Czech
> RHEV-M SLA / Brno, CZ
>
> ----- Original Message -----
> > Hi,
> >
> > I disabled the security check in Firefox and it works now. Is there a
> > similar
> > workaround for Chrome and IE?
> >
> > What about the server.log file? Why does it throw this error? How can I
> > change the logging level?
> >
> > Thanks,
> >
> > Sokratis
> > > Date: Tue, 18 Nov 2014 07:32:47 -0500
> > > From: msivak(a)redhat.com
> > > To: sokratis123k(a)outlook.com
> > > CC: users(a)ovirt.org
> > > Subject: Re: Optaplanner Problem
> > >
> > > Hi,
> > >
> > > we do not support the newest versions of Firefox and other browsers
> > > yet.
> > > This is a known issue:
> > >
> > >
http://www.ovirt.org/Features/Optaplanner#Data_refresh_failed:_undefined
> > >
> > > that can be solved by disabling one of the browser security checks
> > > before
> > > we implement the SSL version of the optimizer service.
> > >
> > > --
> > > Martin Sivák
> > > msivak(a)redhat.com
> > > Red Hat Czech
> > > RHEV-M SLA / Brno, CZ
> > >
> > > ----- Original Message -----
> > > > Hi,
> > > >
> > > >
> > > > I have modified standalone.xml and replaced 127.0.0.1 with the IP
> > > > address
> > > > of
> > > > 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: "", result: 2153644038, name:
"", filename:
> > > >
"https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js",
> > > > lineNumber: 8321, columnNumber: 0, inner: null, data: null, stack:
> > > >
"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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
> > > >
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.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: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/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: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/angularjs/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/oVirtOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13
> > > >
$scope.refreshHostInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimizer/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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
> > > >
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.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
> > > >
> > > > "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/oVirtOptimizer/result.html#00000001-0001-0001-0001-0000000000a1:354:13
> > > >
$scope.refreshVmInfo/<@https://ovm/ovirt-engine/webadmin/plugin/oVirtOptimizer/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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:31
> > > >
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:16
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:15
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.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
> > > >
> > > > Blocked loading mixed active content
> > > >
"http://optimizer:8080/ovirt-optimizer/result/00000001-0001-0001-0001-0000000000a1/score"[Learn
> > > > More] angular.js:8321
> > > > Exception { message: "", result: 2153644038, name:
"", filename:
> > > >
"https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js",
> > > > lineNumber: 8321, columnNumber: 0, inner: null, data: null, stack:
> > > >
"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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:11319:30
> > > >
qFactory/defer/deferred.promise.then/wrappedCallback@https://ajax.googleapis.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.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12412:15
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$digest@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:12224:14
> > > >
$RootScopeProvider/this.$get</Scope.prototype.$apply@https://ajax.googleapis.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/angularjs/1.2.16/angular.js:4300:6
> > > >
Browser/self.defer/timeoutId<@https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.js:4601:6
> > > > " } angular.js:9778
> > > >
> > > >
> > > >
> > > >
> > > > By the way, 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
> > > > level but I couldn't. Can you please tell me how can I switch
it?
> > > >
> > > > Thanks,
> > > >
> > > > Sokratis
> > > >
> > > >
> > > >
> > > > ----- Original Message -----
> > > > >
> > > > >Hi,
> > > > >
> > > > >Please check the browser's debug console for error messages.
Then
> > > > >check
> > > > >the
> > > > >firewall and jboss configuration on the Optimizer server.
> > > > >
> > > > >The JBoss log on the optimizer machine will tell you whether it
does
> > > > >some
> > > > >computations (you will see score lines).
> > > > >Then try manually connecting (telnet) to optimizer:8080 from
your
> > > > >machine
> > > > >(the same where the webadmin is running).
> > > > >
> > > > >We need more data to be able to give you more specific
instructions.
> > > > >
> > > > >--
> > > > >Martin Sivák
> > > > >msivak at
redhat.com
> > > > >Red Hat Czech
> > > > >RHEV-M SLA / Brno, CZ
> > > > >
> > > > ----- Original Message -----
> > > > > What is your web browser? In my case , if i use the Chrome then
the
> > > > > status
> > > > > would be "Waiting for data..." forever,
> > > > > but when i use Firefox then everything is ok.
> > > > >
> > > > > by the way, please make sure that you optimizer can be
connected
> > > > > from
> > > > > ovirt-engine firstly.
> > > > > e.g. if you use jboss, you need to run the following command:
> > > > > ./standalone.sh -b 0.0.0.0
> > > > > if you have no -b option in your command line, then only
localhost
> > > > > can
> > > > > access
> > > > > the optimizer.
> > > > >
> > > > >
> > > > > like.ma at cs2c.com.cn
> > > > >
> > > > >
> > > > >
> > > > > 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
> > > > > the
> > > > > logs.
> > > > > You can see a screenshot of the tab in the below link:
> > > > >
> > > > >
http://picpaste.com/Optimizer_1-9UdHfclq.png
> > > > >
> > > > > > Date: Mon, 17 Nov 2014 11:14:16 -0500
> > > > > > From: dfediuck at
redhat.com
> > > > > > To: sokratis123k at
outlook.com
> > > > > > CC: users at
ovirt.org; msivak at
redhat.com
> > > > > > Subject: Re: [ovirt-users] Optaplanner Problem
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > > From: "s k" <sokratis123k at
outlook.com>
> > > > > > > To: users at
ovirt.org
> > > > > > > Sent: Monday, November 17, 2014 1:52:42 PM
> > > > > > > Subject: [ovirt-users] Optaplanner Problem
> > > > > > >
> > > > > > > Hello,
> > > > > > >
> > > > > > >
> > > > > > > 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
> > > > > > > there
> > > > > > > are
> > > > > > > VMs
> > > > > > > that are shutdown and the hosts are not balanced in
terms of
> > > > > > > memory
> > > > > > > usage
> > > > > > > the Optimized tab reports the following:
> > > > > > >
> > > > > > >
> > > > > > > SOLUTION STATUS
> > > > > > >
> > > > > > > Status: Waiting for data...
> > > > > > >
> > > > > > > Solution is being refreshed every 30 seconds.
> > > > > > >
> > > > > > > Freeze solution
> > > > > > >
> > > > > > > VMS THAT SHOULD BE STARTED
> > > > > > >
> > > > > > > No VM starts are requested at this moment.
> > > > > > >
> > > > > > > MIGRATION / START STEPS
> > > > > > >
> > > > > > > No migrations are needed at this moment. The state is
stable.
> > > > > > >
> > > > > > > TARGET STATE
> > > > > > >
> > > > > > > host vm memory [all in GB]
> > > > > > > used available
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > No information is displayed in TARGET STATE.
> > > > > > >
> > > > > >
> > > > > > Hi,
> > > > > > it seems that the optimizer is not getting information
> > > > > > from the engine DB, or the UI plugin cannot connect the
> > > > > > Optimizer.
> > > > > > Do you see any meaningful information in the UI?
> > > > >
> > > > > _______________________________________________
> > > > > Users mailing list
> > > > > Users at
ovirt.org
> > > > >
http://lists.ovirt.org/mailman/listinfo/users
> > > > >
> >