[ovirt-devel] UI is not coming up after pulled latest code from master

Greg Sheremeta gshereme at redhat.com
Thu Mar 22 10:12:17 UTC 2018


Gobinda, try this:

https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

Mine:
$ cat /etc/sysctl.conf
#
fs.inotify.max_user_watches=524288


I just verified that master is working fine for me.

Greg


On Thu, Mar 22, 2018 at 4:27 AM, Gobinda Das <godas at redhat.com> wrote:

> Still no luck.I recompiled as did engine-setup but still same issue. I
> tried in both (FF and Chrome)
> I also tried to Compile with  DEV_EXTRA_BUILD_FLAGS_GWT_
> DEFAULTS="-Dgwt.userAgent=safari,gecko1_8" but webadmin giving
> compilation error like:
>
> [INFO]
> [INFO] --- gwt-maven-plugin:2.8.0:compile (gwtcompile) @ webadmin ---
> [INFO] info AspectJ Weaver Version 1.8.10 built on Monday Dec 12, 2016 at
> 19:07:48 GMT
> [INFO] info register classloader sun.misc.Launcher$AppClassLoader at 18b4aac2
> [INFO] info using configuration file:/home/godas/workspace/
> ovirt-engine/frontend/webadmin/modules/gwt-aop/
> target/gwt-aop-4.3.0-SNAPSHOT.jar!/META-INF/aop.xml
> [INFO] info register aspect org.ovirt.engine.ui.gwtaop.DontPrune
> [INFO] Mar 22, 2018 12:58:37 PM java.util.prefs.FileSystemPreferences$1
> run
> [INFO] INFO: Created user preferences directory.
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/
> webadmin-4.3.0-SNAPSHOT/WEB-INF/classes failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/src/main/java failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/annotations
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/gwt
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/
> webadmin-4.3.0-SNAPSHOT/WEB-INF/classes failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/src/main/java failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/annotations
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/gwt
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/
> webadmin-4.3.0-SNAPSHOT/WEB-INF/classes failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/src/main/java failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/annotations
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [ERROR] The attempt to retrieve files in /home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-sources/gwt
> failed.
> [ERROR] java.io.IOException: User limit of inotify watches reached
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.implRegister(
> LinuxWatchService.java:264)
> [ERROR] at sun.nio.fs.AbstractPoller.processRequests(
> AbstractPoller.java:260)
> [ERROR] at sun.nio.fs.LinuxWatchService$Poller.run(LinuxWatchService.
> java:364)
> [ERROR] at java.lang.Thread.run(Thread.java:748)
> [INFO] Compiling module org.ovirt.engine.ui.webadmin.WebAdmin
> [INFO] warning javax.* types are not being woven because the weaver option
> '-Xset:weaveJavaxPackages=true' has not been specified
> [INFO]    Computing all possible rebind results for
> 'com.gwtplatform.mvp.client.ApplicationController'
> [INFO]       Rebinding com.gwtplatform.mvp.client.ApplicationController
> [INFO]          Invoking generator com.gwtplatform.mvp.rebind.
> ApplicationControllerGenerator
> [INFO]             [ERROR] The type 'org.ovirt.engine.ui.webadmin.system.ApplicationInit'
> was not found, either the class name is wrong or there are compile errors
> in your code.
> [INFO]             [ERROR] The type 'org.ovirt.engine.ui.webadmin.system.ApplicationInit'
> was not found, either the class name is wrong or there are compile errors
> in your code.
> [INFO]             [ERROR] There was a problem generating the
> ApplicationController, this can be caused by bad GWT module configuration
> or compile errors in your source code.
> [INFO]    [WARN] For the following type(s), generated source was never
> committed (did you forget to call commit()?)
> [INFO]       [WARN] com.gwtplatform.mvp.client.ApplicationControllerImpl
> [INFO]    [ERROR] Could not find com.gwtplatform.mvp.client.ApplicationControllerImpl
> in types compiled from source. Is the source glob too strict?
> [INFO]    [ERROR] Errors in 'gen/com/google/gwt/lang/org_
> 00046ovirt_00046engine_00046ui_00046webadmin_00046WebAdmin__
> EntryMethodHolder.java'
> [INFO]       [ERROR] Line 3: Rebind result 'com.gwtplatform.mvp.client.ApplicationControllerImpl'
> could not be found
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] oVirt Findbugs Filters ............................. SUCCESS [
> 0.914 s]
> [INFO] ovirt-root ......................................... SUCCESS [
> 1.138 s]
> [INFO] oVirt Build Tools root ............................. SUCCESS [
> 0.480 s]
> [INFO] oVirt checkstyle ................................... SUCCESS [
> 1.161 s]
> [INFO] oVirt Checkstyle Checks ............................ SUCCESS [
> 1.298 s]
> [INFO] oVirt Modules - backend ............................ SUCCESS [
> 0.477 s]
> [INFO] oVirt Manager ...................................... SUCCESS [
> 0.440 s]
> [INFO] oVirt Engine dependencies .......................... SUCCESS [
> 0.406 s]
> [INFO] oVirt Engine common dependencies ................... SUCCESS [
> 1.485 s]
> [INFO] oVirt Engine tools dependencies .................... SUCCESS [
> 0.490 s]
> [INFO] Utilities to extend java.logging framework ......... SUCCESS [
> 0.781 s]
> [INFO] Extensions API root ................................ SUCCESS [
> 0.175 s]
> [INFO] ovirt-engine-extensions-api ........................ SUCCESS [
> 4.015 s]
> [INFO] oVirt Modules - manager ............................ SUCCESS [
> 1.279 s]
> [INFO] Universal utilities ................................ SUCCESS [
> 13.829 s]
> [INFO] Extensions manager ................................. SUCCESS [
> 2.554 s]
> [INFO] GWT UI Compatibility ............................... SUCCESS [
> 2.837 s]
> [INFO] Common Code ........................................ SUCCESS [
> 16.813 s]
> [INFO] Common utilities ................................... SUCCESS [
> 21.710 s]
> [INFO] Branding package ................................... SUCCESS [
> 3.830 s]
> [INFO] ovirt-engine sso ................................... SUCCESS [
> 2.750 s]
> [INFO] Data Access Layer .................................. SUCCESS [
> 13.241 s]
> [INFO] engine scheduler bean .............................. SUCCESS [
> 2.494 s]
> [INFO] Vds broker ......................................... SUCCESS [
> 19.855 s]
> [INFO] builtin-extensions ................................. SUCCESS [
> 1.471 s]
> [INFO] Search Backend ..................................... SUCCESS [
> 5.694 s]
> [INFO] Backend Authentication, Authorization and Accounting SUCCESS [
> 3.395 s]
> [INFO] Custom Application Server Authentication Plugin .... SUCCESS [
> 1.529 s]
> [INFO] Backend Logic @Service bean ........................ SUCCESS [01:19
> min]
> [INFO] oVirt RESTful API Backend Integration .............. SUCCESS [
> 0.623 s]
> [INFO] oVirt RESTful API interface ........................ SUCCESS [
> 0.563 s]
> [INFO] oVirt Engine API Definition ........................ SUCCESS [
> 26.998 s]
> [INFO] oVirt Engine API Commom Parent POM ................. SUCCESS [
> 0.632 s]
> [INFO] oVirt Engine API Common JAX-RS ..................... SUCCESS [
> 4.128 s]
> [INFO] oVirt RESTful API Backend Integration Type Mappers . SUCCESS [
> 11.256 s]
> [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SUCCESS [
> 58.203 s]
> [INFO] oVirt RESTful API Backend Integration Webapp ....... SUCCESS [
> 0.719 s]
> [INFO] oVirt RESTful API Documentation .................... SUCCESS [
> 0.960 s]
> [INFO] Custom Logger Using Extensions ..................... SUCCESS [
> 1.394 s]
> [INFO] oVirt Engine Web Root .............................. SUCCESS [
> 0.890 s]
> [INFO] ovirt-engine services .............................. SUCCESS [
> 2.293 s]
> [INFO] ovirt-engine docs .................................. SUCCESS [
> 1.543 s]
> [INFO] ovirt-engine welcome ............................... SUCCESS [
> 3.594 s]
> [INFO] oVirt Engine Microbenchmarks ....................... SUCCESS [
> 6.231 s]
> [INFO] oVirt Engine Tools ................................. SUCCESS [
> 5.764 s]
> [INFO] oVirt Engine extensions tool ....................... SUCCESS [
> 2.274 s]
> [INFO] oVirt Engine sso client registration tool .......... SUCCESS [
> 1.398 s]
> [INFO] oVirt Modules :: Frontend .......................... SUCCESS [
> 0.504 s]
> [INFO] oVirt Modules :: Brands ............................ SUCCESS [
> 0.622 s]
> [INFO] oVirt Engine brand ................................. SUCCESS [
> 1.265 s]
> [INFO] oVirt Modules :: Webadmin .......................... SUCCESS [
> 0.539 s]
> [INFO] oVirt UI Modules ................................... SUCCESS [
> 0.657 s]
> [INFO] AOP tweaks for GWT compiler ........................ SUCCESS [
> 2.388 s]
> [INFO] Extensions for GWT ................................. SUCCESS [
> 2.587 s]
> [INFO] UI Utils Compatibility (for UICommon) .............. SUCCESS [
> 3.766 s]
> [INFO] Frontend for GWT UI Projects ....................... SUCCESS [
> 14.865 s]
> [INFO] UICommonWeb ........................................ SUCCESS [
> 30.380 s]
> [INFO] oVirt GWT UI common infrastructure ................. SUCCESS [
> 21.623 s]
> [INFO] Frontend Assembly Descriptors ...................... SUCCESS [
> 0.455 s]
> [INFO] WebAdmin ........................................... FAILURE [
> 51.844 s]
> [INFO] oVirt Server EAR ................................... SKIPPED
> [INFO] ovirt-engine maven make ............................ SKIPPED
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 07:48 min
> [INFO] Finished at: 2018-03-22T12:59:06+05:30
> [INFO] Final Memory: 640M/2353M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.0:compile
> (gwtcompile) on project webadmin: Command [[
> [ERROR] /bin/sh -c '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.161-5.b14.fc27.x86_64/jre/bin/java'
> '-javaagent:/home/godas/.m2/repository/org/aspectj/aspectjweaver/1.8.10/aspectjweaver-1.8.10.jar'
> '-Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.
> ThreadedPermutationWorkerFactory' '-Dgwt.jjs.maxThreads=4'
> '-Djava.io.tmpdir=/home/godas/workspace/ovirt-engine/
> frontend/webadmin/modules/webadmin/target/tmp'
> '-Djava.util.prefs.systemRoot=/home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/tmp'
> '-Djava.util.prefs.userRoot=/home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/tmp'
> '-Djava.util.logging.config.class=org.ovirt.engine.ui.gwtaop.JavaLoggingConfig'
> '-Xms1024M' '-Xmx8192M' '-Dgwt.dontPrune=org\.ovirt\.
> engine\.core\.(common|compat)\..*' 'com.google.gwt.dev.Compiler'
> '-logLevel' 'INFO' '-war' '/home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/target/generated-gwt'
> '-localWorkers' '4' '-failOnError' '-XfragmentCount' '-1' '-sourceLevel'
> 'auto' '-style' 'OBF' '-gen' '/home/godas/workspace/ovirt-
> engine/frontend/webadmin/modules/webadmin/gen'
> 'org.ovirt.engine.ui.webadmin.WebAdmin'
> [ERROR] ]] failed with status 1
> [ERROR] -> [Help 1]
>
>
>
> On Wed, Mar 21, 2018 at 6:37 PM, Benny Zlotnik <bzlotnik at redhat.com>
> wrote:
>
>> Had this issue too (FF & Chrome), I've recompiled, ran engine-setup again
>> and it resolved
>>
>> On Wed, Mar 21, 2018 at 3:01 PM, Greg Sheremeta <gshereme at redhat.com>
>> wrote:
>>
>>> That message is probably not related, and is generally harmless. Compile
>>> with  DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=safari,gecko1_8"
>>> to stop that message.
>>>
>>> Does it work in firefox? Please share your ui.log from the server.
>>>
>>> Greg
>>>
>>> On Wed, Mar 21, 2018 at 8:55 AM, Gobinda Das <godas at redhat.com> wrote:
>>>
>>>> Hi,
>>>> UI keeps on loading and I can see below error in browser.
>>>>
>>>> webadmin-0.js:422 Wed Mar 21 14:59:47 GMT+530 2018
>>>> com.google.gwt.logging.client.LogConfiguration
>>>> SEVERE: Possible problem with your *.gwt.xml module file.
>>>> The compile time user.agent value (gecko1_8) does not match the runtime
>>>> user.agent value (safari).
>>>> Expect more errors.
>>>> com.google.gwt.useragent.client.UserAgentAsserter$UserAgentAssertionError:
>>>> Possible problem with your *.gwt.xml module file.
>>>> The compile time user.agent value (gecko1_8) does not match the runtime
>>>> user.agent value (safari).
>>>> Expect more errors.
>>>> at Unknown.L(webadmin-0.js)
>>>> at Unknown.oj(webadmin-0.js)
>>>> at Unknown.new pj(webadmin-0.js)
>>>> at Unknown.nj(webadmin-0.js)
>>>> at Unknown.nb(webadmin-0.js)
>>>> at Unknown.qb(webadmin-0.js)
>>>> at Unknown.eval(webadmin-0.js)
>>>>
>>>> --
>>>> Thanks,
>>>> Gobinda
>>>>
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> GREG SHEREMETA
>>>
>>> SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX
>>>
>>> Red Hat NA
>>>
>>> <https://www.redhat.com/>
>>>
>>> gshereme at redhat.com    IRC: gshereme
>>> <https://red.ht/sig>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>
>>
>
>
> --
> Thanks,
> Gobinda
>



-- 

GREG SHEREMETA

SENIOR SOFTWARE ENGINEER - TEAM LEAD - RHV UX

Red Hat NA

<https://www.redhat.com/>

gshereme at redhat.com    IRC: gshereme
<https://red.ht/sig>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20180322/5115578b/attachment-0001.html>


More information about the Devel mailing list