[Engine-devel] problem trying to add a host
by Duncan Mac-Vicar P.
Hi!
I am trying to add a host to my engine...
2011-11-15 08:05:01,282 ERROR
[org.ovirt.engine.core.utils.hostinstall.MinaInstallWrapper]
(http-0.0.0.0-8080-3) Could not connect to server X.X.X.X: Failed
connecting to X.X.X.X using given password! Please verify your password
is correct and that the host accepts password-based authentication
2011-11-15 08:05:01,282 WARN [org.ovirt.engine.core.bll.AddVdsCommand]
(http-0.0.0.0-8080-3) CanDoAction of action AddVds failed.
Reasons:VDS_CANNOT_CONNECT_TO_SERVER,VAR__ACTION__ADD,VAR__TYPE__HOST
The thing is, I can connect via ssh from the engine to the host, and I
can telnet to the host vdsm from the engine: telnet X.X.X.X 54321
Anything else I should check?
--
Duncan Mac-Vicar P. - http://www.suse.com/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
13 years, 1 month
[Engine-devel] Trouble building ovirt engine - exit code 137 from javac
by Steve Gordon
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
http://pastebin.com/VZvUpmTK
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
13 years, 1 month
Re: [Engine-devel] Trouble building ovirt engine - exit code 137 from javac
by Doron Fediuck
Sent from my Android phone. Please ignore typos.
-----Original Message-----
From: Steve Gordon [sgordon(a)redhat.com]
Received: Friday, 11 Nov 2011, 21:09
To: engine-devel(a)ovirt.org
Subject: [Engine-devel] Trouble building ovirt engine - exit code 137 from javac
Hi all,
I am having some trouble building the engine with `mvn clean install -Pgwt-admin,gwt-user -DskipTests=true -X`, the output I eventually get indicates a failure in building WebAdmin. I am doing this in a clean F16 environment with a fresh clone of the repository. The javac version is javac 1.6.0_22.
http://pastebin.com/VZvUpmTK
Any suggestions on how to get past this and successfully building the WebAdmin stuff?
Thanks,
Steve
Hi Steve,
I'm not familiar with such an issue. That said I've seen many other issues related to gwt compiler.
Let's assume this is a memory issue, and rerun the same command without the clean profile, as you didn't modify the code so far.
Try and let us know how it ends.
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
Sent from my Android phone. Please ignore typos.
13 years, 1 month
[Engine-devel] how to execute deploy directly after build
by Duncan Mac-Vicar P.
Hi!
When I do mvn clean install...
is there a way to do the step
cd ear
mvn install,dep
in one step together with the step above?
I would like Jenkins to build and deploy to a instance running in the
same node, but I can only specify one goal for maven.
Regards,
--
Duncan Mac-Vicar P. - http://www.suse.com/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
13 years, 1 month
Re: [Engine-devel] missing artifacts?
by Doron Fediuck
Sent from my Android phone. Please ignore typos.
-----Original Message-----
From: Duncan Mac-Vicar P. [dmacvicar(a)suse.de]
Received: Friday, 11 Nov 2011, 12:30
To: engine-devel(a)ovirt.org
Subject: Re: [Engine-devel] missing artifacts?
On 11/11/2011 07:59 AM, Doron Fediuck wrote:
> Hi Duncan,
> Thanks for finding it.
> It would be nice if you add a comment to the wiki, so other
> users may be aware of it and
> maybe make it work with openjdk.
> It seems that the root cause was
> related to certificates.
Yes, it may be related to the fact that the node was a JeOS, therefore
lot of packages were missing.
I struggled afterward with memory. The node had 2G and it was not enough:
types/builds/2011-11-11_08-58-09/archive/org.ovirt.engine.api/restapi-types/3.0.0-0001/restapi-types-3.0.0-0001.pom
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:
The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space
Then I tried on my machine, with 3G (the laptop I used at the workshop
to build it had 3G too), but I got also allocation errors.
[INFO] Compiling 6 permutations
[INFO] [ERROR] Unable to start external process
[INFO] java.io.IOException: Cannot run program
"/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/bin/java":
java.io.IOException: error=12, Cannot allocate memory
[INFO] at java.lang.ProcessBuilder.start(ProcessBuilder.java:475)
However, I increased then the Jenkins node to 4G and added:
-Xms1024M -Xmx1024M -XX:PermSize=256M -XX:MaxPermSize=256M
And then I had a successful build. 4G required! omg...
I would like to add this to the wiki, but it does not let me create an
account. :-)
Duncan
Hi Duncan,
account created. See private mail
for the details.
As for mvn settings, I saw it built
on a vm with 2 gb in the workshop.
Maybe dun clean first and then run another mvn for the build.
Sent from my Android phone. Please ignore typos.
13 years, 1 month
Re: [Engine-devel] missing artifacts?
by Doron Fediuck
Hi Duncan,
Thanks for finding it.
It would be nice if you add a comment to the wiki, so other
users may be aware of it and
maybe make it work with openjdk.
It seems that the root cause was
related to certificates.
Sent from my Android phone. Please ignore typos.
-----Original Message-----
From: Duncan Mac-Vicar P. [dmacvicar(a)suse.de]
Received: Friday, 11 Nov 2011, 8:47
To: engine-devel(a)ovirt.org
Subject: Re: [Engine-devel] missing artifacts?
On 11/10/2011 04:23 PM, Doron Fediuck wrote:
> 2011-11-10 17:12:40 (37.6 KB/s) - `jaxb-impl-2.2.jar' saved [872839/872839]
>
>
> Now, checking your output again, I see you're using the following url-
> https://maven.atlassian.com/content/groups/public/sun-jaxb/jaxb-impl/2.2/...
> While I'm using the wiki's url-
> https://repository.jboss.org/nexus/content/groups/public/sun-jaxb/jaxb-im...
>
> Can you please verify your setting.xml file?
I verified and I had the right servers.
Googling for the error I found:
http://jenkins.361315.n4.nabble.com/Plugins-Upgrades-java-security-Invali...
And Kohsuke related it to openjdk. I changed the build node jvm to sun
and much better. All modules are now green, a couple gray, and one red:
userportal, which seems to be related to the stack size:
[INFO] at
com.google.gwt.user.rebind.ClassSourceFileComposer.print(ClassSourceFileComposer.java:162)
[INFO] [ERROR] Stack overflow; to increase the stack size, use the
-Xss flag at startup (java -Xss1M ...)
But that is something I can be solved following the error message :-)
Thanks!
--
Duncan Mac-Vicar P. - http://www.suse.com/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel
Sent from my Android phone. Please ignore typos.
13 years, 1 month
[Engine-devel] missing artifacts?
by Duncan Mac-Vicar P.
Hi guys,
At the workshop I remember lot of artifacts were missing in the maven
repos. I was told that the settings.xml had a bug and contained an
internal repository. I solved it by installing required artifacts by hand.
Now I am trying to build it in jenkins, and there are two artifacts
missing, any ideas what repos are missing in the settings.xml mentioned
in http://ovirt.org/wiki/Building_Ovirt_Engine ?
Missing:
----------
1) org.jboss.security:jbosssx-bare:jar:2.0.4
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.jboss.security
-DartifactId=jbosssx-bare -Dversion=2.0.4 -Dpackaging=jar
-Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=org.jboss.security
-DartifactId=jbosssx-bare -Dversion=2.0.4 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.ovirt.engine.core:engineencryptutils:jar:3.0.0-0001
2) org.jboss.security:jbosssx-bare:jar:2.0.4
2) sun-jaxb:jaxb-impl:jar:2.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=sun-jaxb
-DartifactId=jaxb-impl -Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the
file there:
mvn deploy:deploy-file -DgroupId=sun-jaxb -DartifactId=jaxb-impl
-Dversion=2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.ovirt.engine.core:engineencryptutils:jar:3.0.0-0001
2) sun-jaxb:jaxb-impl:jar:2.2
--
Duncan Mac-Vicar P. - http://www.suse.com/
SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5, 90409 Nürnberg, Germany
13 years, 1 month