[Engine-devel] Why deploy failed? Please help me, thanks.
Alon Bar-Lev
alonbl at redhat.com
Fri Apr 19 18:49:43 UTC 2013
----- Original Message -----
> From: "Vojtech Szocs" <vszocs at redhat.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: "李强" <liqiang.net at gmail.com>, engine-devel at ovirt.org
> Sent: Friday, April 19, 2013 9:46:24 PM
> Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
>
> Hi,
>
> > COMPILE COMMAND
> > mvn clean install -Pdep,gwt-admin,gwt-user,all-langs
>
> > Change language is failed and is still englist.
> > Other language is invalid.
>
> Using "all-langs" profile means compiling GUI for all supported languages
> (including Chinese).
>
> Alternatively, to speed up GWT compilation, you can compile only for English
> and Chinese:
>
> $ mvn clean install -Pdep,gwt-admin,gwt-user -Dgwt.locale=en_US,zh_CN
>
> If the Maven build succeeds but Chinese language still doesn't work in GUI,
> there's something wrong with deployment of Engine EAR to JBoss ("dep"
> profile).
>
> As Alon suggests, please try building Engine RPMs via "make", but IIRC you
> have to edit Makefile to specify Chinese language support:
>
> EXTRA_BUILD_FLAGS=-Dgwt.locale=en_US,zh_CN
rpmbuild --define="EXTRA_BUILD_FLAGS -Dgwt.locale=en_US,zh_CN" -tb <tarball>
>
> Vojtech
>
>
> ----- Original Message -----
> From: "Alon Bar-Lev" <alonbl at redhat.com>
> To: "李强" <liqiang.net at gmail.com>
> Cc: engine-devel at ovirt.org
> Sent: Friday, April 19, 2013 5:24:46 PM
> Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
>
> Please try setup product without tweaks if you don't have real reason to.
>
> Close the repository, then:
> $ make tarball
> $ rpmbuild -t <tarball>
>
> Then install the result rpms as usual.
>
> Alternatively, you can try out soon to be merged development
> environment[1][2]
>
> [1] https://github.com/alonbl/ovirt-engine/tree/otopi
> [2] https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer
>
>
> ----- Original Message -----
> > From: "李强" <liqiang.net at gmail.com>
> > To: engine-devel at ovirt.org
> > Sent: Friday, April 19, 2013 6:18:24 PM
> > Subject: [Engine-devel] Why deploy failed? Please help me, thanks.
> >
> >
> > HI:All
> >
> > OS:F18
> > Ovirt engine version:
> > the first is 3.2.0
> > update to 3.2.1
> > and now I compile the source to other language.
> > MEM:8G
> > CPU:I7
> > DISK:60G
> >
> >
> > I will use chinese language for ovirt engine,
> > but rpm have not chinese language for default install.
> >
> > So I git clone source, that I compile the source success.
> > From link:
> > http://www.ovirt.org/Building_oVirt_engine
> >
> > COMPILE COMMAND
> > mvn clean install -Pdep,gwt-admin,gwt-user,all-langs
> > and show message:
> > ------------------------
> >
> > ------------------------
> >
> > I deploy:
> > DEPLOY COMMAND:
> > cd ear && mvn clean install -Pdep
> >
> > QUESTION:
> > 1,
> > I open the first page that it show
> > ------------------
> > Welcome to Open Virtualization Manager.
> > Version 3.2.1-
> > ------------------
> > Source shoule be 3.3.0?
> > If souce version 3.3.0,then I deploy is not invalid.
> >
> > 2,
> > Change language is failed and is still englist.
> > Other language is invalid.
> > COMMAND DEPLOY:
> > ++++++++++++++++++++++
> > [liqiang at engine ear]$ mvn clean install -Pdep
> > [INFO] Scanning for projects...
> > [WARNING]
> > [WARNING] Some problems were encountered while building the effective model
> > for org.ovirt.engine:engine-server-ear:ear:3.3.0-SNAPSHOT
> > [WARNING] ' distributionManagement.repository.id ' must not be 'local',
> > this
> > identifier is reserved for the local repository, using it for other
> > repositories will corrupt your repository metadata. @ line 18, column 11
> > [WARNING]
> > [WARNING] It is highly recommended to fix these problems because they
> > threaten the stability of your build.
> > [WARNING]
> > [WARNING] For this reason, future Maven versions might no longer support
> > building such malformed projects.
> > [WARNING]
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building oVirt Server EAR 3.3.0-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> > engine-server-ear
> > ---
> > [INFO] Deleting /home/liqiang/ovirt-engine/ear/target
> > [INFO]
> > [INFO] --- maven-antrun-plugin:1.7:run (undeploy-ear) @ engine-server-ear
> > ---
> > [WARNING] Parameter tasks is deprecated, use target instead
> > [INFO] Executing tasks
> >
> > main:
> > [echo] *** Deleting
> > /usr/share/jboss-as/standalone/deployments/engine.ear/...
> > [delete] Deleting directory
> > /usr/share/jboss-as/standalone/deployments/engine.ear
> > [INFO] Executed tasks
> > [INFO]
> > [INFO] --- maven-ear-plugin:2.8:generate-application-xml
> > (default-generate-application-xml) @ engine-server-ear ---
> > [INFO] Generating application.xml
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> > engine-server-ear ---
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] skip non existing resourceDirectory
> > /home/liqiang/ovirt-engine/ear/src/main/java
> > [INFO] Copying 1 resource
> > [INFO]
> > [INFO] --- maven-ear-plugin:2.8:ear (default-ear) @ engine-server-ear ---
> > [INFO] Copying artifact [war:org.ovirt.engine.core:root-war:3.3.0-SNAPSHOT]
> > to [root.war] (unpacked)
> > [INFO] Copying artifact
> > [war:org.ovirt.engine.api:restapi-webapp:3.3.0-SNAPSHOT] to [restapi.war]
> > (unpacked)
> > [INFO] Copying artifact [war:org.ovirt.engine.ui:userportal:3.3.0-SNAPSHOT]
> > to [userportal.war] (unpacked)
> > [INFO] Copying artifact [war:org.ovirt.engine.ui:webadmin:3.3.0-SNAPSHOT]
> > to
> > [webadmin.war] (unpacked)
> > [INFO] Copying artifact
> > [ejb:org.ovirt.engine.core:scheduler:3.3.0-SNAPSHOT]
> > to [scheduler.jar]
> > [INFO] Copying artifact [ejb:org.ovirt.engine.core:bll:3.3.0-SNAPSHOT] to
> > [bll.jar]
> > [INFO] Copying artifact
> > [jar:org.ovirt.engine.core:vdsbroker:3.3.0-SNAPSHOT]
> > to [lib/vdsbroker.jar]
> > [INFO] Copying artifact [jar:org.ovirt.engine.core:compat:3.3.0-SNAPSHOT]
> > to
> > [lib/compat.jar]
> > [INFO] Copying artifact [jar:org.ovirt.engine.core:common:3.3.0-SNAPSHOT]
> > to
> > [lib/common.jar]
> > [INFO] Copying artifact [jar:org.hibernate:hibernate-validator: 4.0.2.GA ]
> > to
> > [lib/hibernate-validator.jar]
> > [INFO] Copying artifact [jar:javax.validation:validation-api: 1.0.0.GA ] to
> > [lib/validation-api.jar]
> > [INFO] Copying artifact [jar:javax.xml.bind:jaxb-api:2.1] to
> > [lib/jaxb-api.jar]
> > [INFO] Copying artifact [jar:javax.xml.stream:stax-api:1.0-2] to
> > [lib/stax-api.jar]
> > [INFO] Copying artifact [jar:com.sun.xml.bind:jaxb-impl:2.1.3] to
> > [lib/jaxb-impl.jar]
> > [INFO] Copying artifact [jar:org.ovirt.engine.core:utils:3.3.0-SNAPSHOT] to
> > [lib/utils.jar]
> > [INFO] Copying artifact [jar:commons-beanutils:commons-beanutils:1.8.2] to
> > [lib/commons-beanutils.jar]
> > [INFO] Copying artifact [jar:org.apache.mina:mina-core:2.0.1] to
> > [lib/mina-core.jar]
> > [INFO] Copying artifact [jar:org.apache.sshd:sshd-core:0.7.0] to
> > [lib/sshd-core.jar]
> > [INFO] Copying artifact [jar:org.ovirt.otopi:otopi:1.0.0] to
> > [lib/otopi.jar]
> > [INFO] Copying artifact
> > [jar:org.ovirt.ovirt-host-deploy:ovirt-host-deploy:1.0.0] to
> > [lib/ovirt-host-deploy.jar]
> > [INFO] Copying artifact [jar:org.apache.commons:commons-compress:1.4.1] to
> > [lib/commons-compress.jar]
> > [INFO] Copying artifact [jar:org.tukaani:xz:1.0] to [lib/xz.jar]
> > [INFO] Copying artifact [jar:commons-lang:commons-lang:2.6] to
> > [lib/commons-lang.jar]
> > [INFO] Copying artifact [jar:commons-codec:commons-codec:1.4] to
> > [lib/commons-codec.jar]
> > [INFO] Copying artifact [jar:org.apache.xmlrpc:xmlrpc-client:3.1.3] to
> > [lib/xmlrpc-client.jar]
> > [INFO] Copying artifact [jar:org.apache.xmlrpc:xmlrpc-common:3.1.3] to
> > [lib/xmlrpc-common.jar]
> > [INFO] Copying artifact
> > [jar:org.apache.ws.commons.util:ws-commons-util:1.0.2] to
> > [lib/ws-commons-util.jar]
> > [INFO] Copying artifact [jar:xml-apis:xml-apis:1.0.b2] to
> > [lib/xml-apis.jar]
> > [INFO] Copying artifact [jar:org.ovirt.engine.core:dal:3.3.0-SNAPSHOT] to
> > [lib/dal.jar]
> > [INFO] Copying artifact [jar:org.springframework:spring-jdbc:3.1.1.RELEASE]
> > to [lib/spring-jdbc.jar]
> > [INFO] Copying artifact [jar:org.springframework:spring-tx:3.1.1.RELEASE]
> > to
> > [lib/spring-tx.jar]
> > [INFO] Copying artifact
> > [jar:org.springframework.ldap:spring-ldap-core:1.3.1.RELEASE] to
> > [lib/spring-ldap-core.jar]
> > [INFO] Copying artifact [jar:commons-httpclient:commons-httpclient:3.1] to
> > [lib/commons-httpclient.jar]
> > [INFO] Copying artifact [jar:commons-collections:commons-collections:3.1]
> > to
> > [lib/commons-collections.jar]
> > [INFO] Copying artifact [jar:org.quartz-scheduler:quartz:2.1.2] to
> > [lib/quartz.jar]
> > [INFO] Copying artifact [jar:c3p0:c3p0:0.9.1.1] to [lib/c3p0.jar]
> > [INFO] Copying artifact [jar:org.slf4j:slf4j-api:1.6.1] to
> > [lib/slf4j-api.jar]
> > [INFO] Copying artifact
> > [jar:org.ovirt.engine.core:searchbackend:3.3.0-SNAPSHOT] to
> > [lib/searchbackend.jar]
> > [INFO] Copying artifact
> > [jar:org.jboss.spec.javax.interceptor:jboss-interceptors-api_1.1_spec:1.0.0.Final]
> > to [lib/jboss-interceptors-api_1.1_spec.jar]
> > [INFO] Copying artifact [jar:org.springframework:spring-core:3.1.1.RELEASE]
> > to [lib/spring-core.jar]
> > [INFO] Copying artifact [jar:org.springframework:spring-asm:3.1.1.RELEASE]
> > to
> > [lib/spring-asm.jar]
> > [INFO] Copying artifact
> > [jar:org.springframework:spring-beans:3.1.1.RELEASE]
> > to [lib/spring-beans.jar]
> > [INFO] Copying artifact
> > [jar:org.springframework:spring-context:3.1.1.RELEASE] to
> > [lib/spring-context.jar]
> > [INFO] Copying artifact [jar:org.springframework:spring-aop:3.1.1.RELEASE]
> > to
> > [lib/spring-aop.jar]
> > [INFO] Copying artifact [jar:aopalliance:aopalliance:1.0] to
> > [lib/aopalliance.jar]
> > [INFO] Copying artifact
> > [jar:org.springframework:spring-expression:3.1.1.RELEASE] to
> > [lib/spring-expression.jar]
> > [INFO] Copy ear sources to /home/liqiang/ovirt-engine/ear/target/engine
> > [INFO] Could not find manifest file:
> > /home/liqiang/ovirt-engine/ear/target/engine/META-INF/MANIFEST.MF -
> > Generating one
> > [INFO] Building jar: /home/liqiang/ovirt-engine/ear/target/engine.ear
> > [INFO]
> > [INFO] --- maven-dependency-plugin:2.1:unpack (deploy-modules) @
> > engine-server-ear ---
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:dependencies:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:common:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:compat:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:dal:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:searchbackend:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:tools:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Configured Artifact:
> > org.ovirt.engine.core:utils:modules:3.3.0-SNAPSHOT:zip
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/dependencies/3.3.0-SNAPSHOT/dependencies-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [WARNING] Unable to expand to file
> > /usr/share/jboss-as/modules/org/apache/commons/configuration/main/module.xml
> > [WARNING] Unable to expand to file
> > /usr/share/java/apache-commons-configuration.jar
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/common/3.3.0-SNAPSHOT/common-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/compat/3.3.0-SNAPSHOT/compat-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/dal/3.3.0-SNAPSHOT/dal-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/searchbackend/3.3.0-SNAPSHOT/searchbackend-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/tools/3.3.0-SNAPSHOT/tools-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO] Unpacking
> > /home/liqiang/.m2/repository/org/ovirt/engine/core/utils/3.3.0-SNAPSHOT/utils-3.3.0-SNAPSHOT-modules.zip
> > to
> > /usr/share/jboss-as/modules
> > with includes null and excludes:null
> > [INFO]
> > [INFO] --- maven-antrun-plugin:1.7:run (deploy-ear) @ engine-server-ear ---
> > [WARNING] Parameter tasks is deprecated, use target instead
> > [INFO] Executing tasks
> >
> > main:
> > [echo] *** Copying updated files to
> > /usr/share/jboss-as/standalone/deployments/engine.ear/...
> > [unjar] Expanding: /home/liqiang/ovirt-engine/ear/target/engine.ear into
> > /usr/share/jboss-as/standalone/deployments/engine.ear
> > [echo] *** Touching
> > /usr/share/jboss-as/standalone/deployments/engine.ear/META-INF/application.xml
> > to force redeployment of engine.ear...
> > [echo] *** Touching engine.ear.dodeploy to force deployment of
> > engine.ear...
> > [INFO] Executed tasks
> > [INFO]
> > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @
> > engine-server-ear ---
> > [INFO] Installing /home/liqiang/ovirt-engine/ear/target/engine.ear to
> > /home/liqiang/.m2/repository/org/ovirt/engine/engine-server-ear/3.3.0-SNAPSHOT/engine-server-ear-3.3.0-SNAPSHOT.ear
> > [INFO] Installing /home/liqiang/ovirt-engine/ear/pom.xml to
> > /home/liqiang/.m2/repository/org/ovirt/engine/engine-server-ear/3.3.0-SNAPSHOT/engine-server-ear-3.3.0-SNAPSHOT.pom
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESS
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 54.354s
> > [INFO] Finished at: Fri Apr 19 10:48:39 EDT 2013
> > [INFO] Final Memory: 14M/191M
> > [INFO]
> > ------------------------------------------------------------------------
> > ++++++++++++++++++++++
> >
> >
> > engine-upgrade
> > COMMAND MESSAGE:
> > ------------------------------------
> > [root at engine ~]# engine-upgrade
> >
> > Checking for updates... (This may take several minutes)...[ DONE ]
> > 8 Updates available:
> > * ovirt-engine-3.2.1-1.fc18.noarch
> > * ovirt-engine-tools-3.2.1-1.fc18.noarch
> > * ovirt-engine-backend-3.2.1-1.fc18.noarch
> > * ovirt-engine-dbscripts-3.2.1-1.fc18.noarch
> > * ovirt-engine-genericapi-3.2.1-1.fc18.noarch
> > * ovirt-engine-restapi-3.2.1-1.fc18.noarch
> > * ovirt-engine-userportal-3.2.1-1.fc18.noarch
> > * ovirt-engine-webadmin-portal-3.2.1-1.fc18.noarch
> >
> > During the upgrade process, oVirt Engine will not be accessible.
> > All existing running virtual machines will continue but you will not be
> > able
> > to
> > start or stop any new virtual machines during the process.
> >
> > Would you like to proceed? (yes|no): yes
> > Stopping ovirt-engine service... [ DONE ]
> > Stopping DB related services... [ DONE ]
> > Pre-upgrade validations... [ DONE ]
> > Backing Up Database... [ DONE ]
> > Rename Database... [ DONE ]
> > Updating rpms... [ DONE ]
> > Updating Database... [ DONE ]
> > Restore Database name... [ DONE ]
> > Preparing CA... [ DONE ]
> > Running post install configuration... [ DONE ]
> > Starting ovirt-engine service... [ DONE ]
> >
> > oVirt Engine upgrade completed successfully!
> >
> > * Upgrade log available at
> > /var/log/ovirt-engine/ovirt-engine-upgrade_2013_04_19_10_39_54.log
> > * DB Backup available at
> > /var/lib/ovirt-engine/backups/ovirt-engine_db_backup_2013_04_19_10_39_54.sql
> > ------------------------------------
> >
> >
> >
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
>
More information about the Devel
mailing list