[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@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@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 ------------------------------------

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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

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 Vojtech ----- Original Message ----- From: "Alon Bar-Lev" <alonbl@redhat.com> To: "李强" <liqiang.net@gmail.com> Cc: engine-devel@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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Vojtech Szocs" <vszocs@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "李强" <liqiang.net@gmail.com>, engine-devel@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@redhat.com> To: "李强" <liqiang.net@gmail.com> Cc: engine-devel@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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

HI:all The first THANKS to all, I rpmbuild and create this files: [root@engine noarch]# ls ovirt-engine-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-backend-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-dbscripts-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-restapi-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-setup-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-tools-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-userportal-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm AND I COMMAND: ++++++++++++++ rpm -Uvh *.rpm ++++++++++++++ That command is OK? Sorry, I have not used rpm command for a long time. If that rpm's command is ok, What should I do next? HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/20 Alon Bar-Lev <alonbl@redhat.com>
----- Original Message -----
From: "Vojtech Szocs" <vszocs@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "李强" <liqiang.net@gmail.com>, engine-devel@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@redhat.com> To: "李强" <liqiang.net@gmail.com> Cc: engine-devel@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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Vojtech Szocs" <vszocs@redhat.com>, engine-devel@ovirt.org Sent: Saturday, April 20, 2013 3:59:23 AM Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
HI:all
The first THANKS to all,
I rpmbuild and create this files: [root@engine noarch]# ls ovirt-engine-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-backend-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-dbscripts-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-restapi-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-setup-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-tools-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-userportal-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130419160733.fc18.noarch.rpm
AND I COMMAND: ++++++++++++++ rpm -Uvh *.rpm ++++++++++++++ That command is OK?
Sorry, I have not used rpm command for a long time. If that rpm's command is ok, What should I do next?
Put all rpms in directory, let's say /var/lib/repos.local Run: # createrepo /var/lib/repos.local Add the following file: /etc/yum.repos.d/local.repo --- [local] name=local baseurl=file:///var/lib/repos.local enabled=1 gpgcheck=0 priority=1 protect=1 --- Then: yum install ovirt-engine

HI:Alon Thank your help, The question: 1,Your email "Close the repository", What does it mean? 2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment? Thanks again your help, HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/19 Alon Bar-Lev <alonbl@redhat.com>
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
From: "李强" <liqiang.net@gmail.com> To: engine-devel@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@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',
----- Original Message ----- 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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

I have ERROR and Please help me ,thanks The first Upgrade is SUCCESS. Please look the info. But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information ========================================================== [root@engine noarch]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-engine-sdk-3.3.0.1-1.201304################################# [ 3%] 2:ovirt-image-uploader-3.3.0-0.0.ma################################# [ 7%] 3:ovirt-iso-uploader-3.3.0-0.0.mast################################# [ 10%] 4:ovirt-log-collector-3.3.0-0.0.mas################################# [ 14%] 5:ovirt-engine-backend-3.3.0-0.2.ma################################# [ 17%] 6:ovirt-engine-dbscripts-3.3.0-0.2.################################# [ 21%] 7:ovirt-engine-restapi-3.3.0-0.2.ma################################# [ 24%] 8:ovirt-engine-setup-3.3.0-0.2.mastwarning: /etc/firewalld/services/ovirt.xml created as /etc/firewalld/services/ovirt.xml.rpmnew ################################# [ 28%] 9:ovirt-engine-tools-3.3.0-0.2.mast################################# [ 31%] 10:ovirt-engine-userportal-3.3.0-0.2################################# [ 34%] 11:ovirt-engine-webadmin-portal-3.3.################################# [ 38%] 12:ovirt-engine-3.3.0-0.2.master.201################################# [ 41%] 13:ovirt-host-deploy-offline-1.1.0-0################################# [ 45%] 14:ovirt-engine-setup-plugin-allinon################################# [ 48%] Cleaning up / removing... 15:ovirt-engine-backend-3.2.0-4.fc18################################# [ 52%] 16:ovirt-engine-config-3.2.0-4.fc18 ################################# [ 55%] 17:ovirt-engine-dbscripts-3.2.0-4.fc################################# [ 59%] 18:ovirt-engine-genericapi-3.2.0-4.f################################# [ 62%] 19:ovirt-engine-tools-common-3.2.0-4################################# [ 66%] 20:ovirt-engine-notification-service################################# [ 69%] 21:ovirt-engine-restapi-3.2.0-4.fc18################################# [ 72%] 22:ovirt-engine-setup-3.2.0-4.fc18 ################################# [ 76%] 23:ovirt-engine-userportal-3.2.0-4.f################################# [ 79%] 24:ovirt-engine-webadmin-portal-3.2.################################# [ 83%] 25:ovirt-engine-3.2.0-4.fc18 warning: /etc/sysconfig/ovirt-engine saved as /etc/sysconfig/ovirt-engine.rpmsave ################################# [ 86%] 26:ovirt-image-uploader-3.2.0-1.fc18################################# [ 90%] 27:ovirt-iso-uploader-3.2.0-1.fc18 ################################# [ 93%] 28:ovirt-log-collector-3.2.0-1.fc18 ################################# [ 97%] 29:ovirt-engine-sdk-3.2.0.9-1.fc18 ################################# [100%] ========================================================== ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@engine ~]# engine-setup Welcome to oVirt Engine setup utility WARNING: oVirt Engine setup has already been run on this host. To remove all configuration and reset oVirt Engine please run engine-cleanup. Please be advised that executing engine-setup without cleanup is not supported. Would you like to proceed? (yes|no): yes In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : Host fully qualified domain name. Note: this name should be fully resolvable [engine.startn.com] : The IP 192.168.11.12 does not hold a PTR record for the FQDN: engine.startn.com User input failed validation, do you still wish to use it? (yes|no): yes Enter a password for an internal oVirt Engine administrator user (admin@internal) : Warning: Weak Password. Confirm password : Organization Name for the Certificate [startn.com] : The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : Enter DB type for installation ['remote'| 'local'] [local] : Enter a password for a local oVirt Engine DB admin user (engine) : Warning: Weak Password. Confirm password : Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] : Firewall ports need to be opened. The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example file selecting None. Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None Configure VDSM on this host? ['yes'| 'no'] [yes] : Local storage domain path [/var/lib/images_2013_04_19_21_46_58] : Confirm root password : oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: engine.startn.com auth-pass: ******** org-name: startn.com application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_19_21_46_58 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cat /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine 2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup. 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'. 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean 2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig 2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files 2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys 2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort 2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort 2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl 2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/ovirt-engine-proxy.conf.in to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'} 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/ovirt-engine-root-redirect.conf.in to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd 2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'. 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root' 2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service 2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path 2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context 2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status. 2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running. 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object 2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: host-fqdn: engine.startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name: startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/20 李强 <liqiang.net@gmail.com>
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
Thanks again your help,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/19 Alon Bar-Lev <alonbl@redhat.com>
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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

My process: ps -ax ========================== [root@engine ~]# ps -ax PID TTY STAT TIME COMMAND 1 ? Ss 0:03 /usr/lib/systemd/systemd --system --deserialize 20 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 5 ? S< 0:00 [kworker/0:0H] 6 ? S 0:00 [kworker/u:0] 7 ? S< 0:00 [kworker/u:0H] 8 ? S 0:02 [migration/0] 9 ? S 0:00 [rcu_bh] 10 ? S 0:01 [rcu_sched] 11 ? S 0:00 [watchdog/0] 12 ? S 0:00 [watchdog/1] 13 ? S 0:00 [ksoftirqd/1] 14 ? S 0:01 [migration/1] 15 ? S 0:00 [kworker/1:0] 16 ? S< 0:00 [kworker/1:0H] 17 ? S 0:00 [watchdog/2] 18 ? S 0:00 [ksoftirqd/2] 19 ? S 0:04 [migration/2] 21 ? S< 0:00 [kworker/2:0H] 22 ? S 0:00 [watchdog/3] 23 ? S 0:00 [ksoftirqd/3] 24 ? S 0:02 [migration/3] 26 ? S< 0:00 [kworker/3:0H] 27 ? S< 0:00 [cpuset] 28 ? S< 0:00 [khelper] 29 ? S 0:00 [kdevtmpfs] 30 ? S< 0:00 [netns] 31 ? S 0:00 [bdi-default] 32 ? S< 0:00 [kintegrityd] 33 ? S< 0:00 [kblockd] 34 ? S< 0:00 [ata_sff] 35 ? S 0:00 [khubd] 36 ? S< 0:00 [md] 44 ? S 0:01 [kworker/u:1] 62 ? S 0:00 [kswapd0] 63 ? SN 0:00 [ksmd] 64 ? SN 0:00 [khugepaged] 65 ? S 0:00 [fsnotify_mark] 66 ? S< 0:00 [crypto] 74 ? S< 0:00 [kthrotld] 77 ? S 0:00 [scsi_eh_0] 78 ? S 0:00 [scsi_eh_1] 80 ? S< 0:00 [kpsmoused] 81 ? S 0:00 [kworker/0:2] 82 ? S 0:00 [kworker/2:1] 83 ? S< 0:00 [deferwq] 97 ? S 0:00 [kauditd] 180 ? S< 0:00 [mpt_poll_0] 181 ? S< 0:00 [mpt/0] 189 ? S 0:00 [scsi_eh_2] 190 ? S< 0:00 [ttm_swap] 192 ? S< 0:01 [kworker/1:1H] 197 ? S 0:00 [kworker/1:2] 199 ? S< 0:01 [kworker/3:1H] 200 ? S 0:08 [kworker/3:2] 234 ? S< 0:01 [kworker/2:1H] 237 ? S< 0:00 [kdmflush] 239 ? S< 0:00 [kdmflush] 266 ? S< 0:00 [kworker/0:1H] 286 ? S 0:02 [jbd2/dm-1-8] 287 ? S< 0:00 [ext4-dio-unwrit] 330 ? Ss 0:00 /usr/lib/systemd/systemd-udevd 333 ? Ss 0:00 /usr/lib/systemd/systemd-journald 334 ? S 0:03 [flush-253:1] 368 ? S< 0:00 [rpciod] 569 ? S 0:00 [jbd2/sda1-8] 570 ? S< 0:00 [ext4-dio-unwrit] 580 ? S< 0:00 [kmpathd] 581 ? S< 0:00 [kmpath_handlerd] 586 ? S< 0:00 [kdmflush] 605 ? S 0:00 [jbd2/dm-2-8] 606 ? S< 0:00 [ext4-dio-unwrit] 641 ? SLl 0:00 /sbin/multipathd 642 ? Ss 0:00 /sbin/iprinit --daemon 643 ? Ss 0:00 /sbin/iprupdate --daemon 664 ? Ss 0:00 /usr/lib/systemd/systemd-logind 666 ? Ssl 0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 682 tty1 Ss+ 0:00 /sbin/agetty --noclear tty1 38400 linux 687 ? S< 0:00 [iscsi_eh] 689 ? S< 0:00 [ib_mcast] 690 ? S< 0:00 [ib_cm] 691 ? S< 0:00 [iw_cm_wq] 692 ? S< 0:00 [ib_addr] 693 ? S< 0:00 [rdma_cm] 695 ? Ss 0:00 /sbin/iprdump --daemon 701 ? Ss 0:00 /usr/sbin/ntpd -u ntp:ntp -g 703 ? S 0:00 /bin/bash /usr/sbin/ksmtuned 709 ? S< 0:00 [cxgb4] 712 ? S< 0:00 [cnic_wq] 713 ? S< 0:00 [bnx2i_thread/0] 714 ? S< 0:00 [bnx2i_thread/1] 715 ? S< 0:00 [bnx2i_thread/2] 716 ? S< 0:00 [bnx2i_thread/3] 730 ? Ssl 0:00 iscsiuio 739 ? Ss 0:00 iscsid 740 ? S<Ls 0:00 iscsid 752 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon 885 ? SLs 0:00 wdmd -G sanlock 915 ? SLsl 0:00 sanlock daemon -U sanlock -G sanlock 916 ? S 0:00 sanlock daemon -U sanlock -G sanlock 958 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug 1189 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhcli 1191 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth1.pid -lf /var/lib/NetworkManager/dhcli 1223 ? Ssl 0:01 /usr/sbin/libvirtd --listen 1248 ? Ss 0:00 /usr/sbin/sshd -D 1482 ? S< 0:00 [bond0] 1497 ? S< 0:00 [bond4] 1499 ? S< 0:00 [bond1] 1500 ? S< 0:00 [bond2] 1501 ? S< 0:00 [bond3] 1566 ? S< 0:00 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon --masterpid /var/run/vdsm/respawn.pid /usr/share/vdsm/vdsm 1570 ? S<l 0:09 /usr/bin/python /usr/share/vdsm/vdsm 1589 ? S< 0:00 /usr/bin/sudo -n /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vd 1590 ? S<l 0:03 /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vdsm/svdsm.pid /var 1598 ? Ss 0:00 sshd: root@pts/0 1626 pts/0 Ss 0:00 -bash 1762 ? Rs 0:00 sshd: root@pts/1 1766 pts/1 Ss 0:00 -bash 4521 ? S 0:02 [kworker/3:1] 9054 ? Ss 0:06 sshd: root@pts/2 9058 pts/2 Ss+ 0:00 -bash 11471 ? S 0:00 [kworker/0:1] 11646 ? S 0:00 [kworker/2:2] 11652 ? Ss 0:00 /usr/sbin/crond -n 12569 ? S 0:00 [flush-8:0] 12618 ? S 0:00 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432 12619 ? Ss 0:00 postgres: logger process 12621 ? Ss 0:00 postgres: checkpointer process 12622 ? Ss 0:00 postgres: writer process 12623 ? Ss 0:00 postgres: wal writer process 12624 ? Ss 0:00 postgres: autovacuum launcher process 12625 ? Ss 0:00 postgres: stats collector process 12657 ? Ssl 0:00 /usr/sbin/named -u named 12691 ? Ss 0:00 sendmail: accepting connections 12719 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 12764 ? Ss 0:00 /bin/sh /usr/share/jboss-as/bin/standalone.sh -c standalone.xml -b 0.0.0.0 12816 ? Sl 0:07 java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.ne 12985 ? Ss 0:00 /usr/bin/python /usr/sbin/firewalld --nofork 13318 ? S<sl 0:00 /sbin/auditd -n 13363 ? Ssl 0:00 /sbin/rsyslogd -n 20734 ? S 0:00 [kworker/0:0] 20896 pts/0 Sl+ 0:01 /usr/bin/python /usr/bin/engine-setup 22780 ? Ss 0:00 /sbin/rpcbind -w 22805 ? Ss 0:00 /usr/bin/python /usr/share/ovirt-engine/service/engine-service.py start 22807 ? Sl 0:12 engine-service -server -XX:+TieredCompilation -Xms1g -Xmx1g -XX:PermSize=256m -XX:MaxPermSize=256m -Djava.net.preferIPv4S 22876 ? Ss 0:00 postgres: engine engine 127.0.0.1(44637) idle 22889 ? Ss 0:00 postgres: engine engine 127.0.0.1(44638) idle 22892 ? Ss 0:00 postgres: engine engine 127.0.0.1(44639) idle 22920 ? Ss 0:00 /usr/sbin/httpd -DFOREGROUND 22922 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22923 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22924 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22925 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22926 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22945 ? S 0:00 sleep 60 22946 pts/1 R+ 0:00 ps -ax [root@engine ~]# ========================== and I run : yum update and setup still is ERROR. Please help my ,thanks, HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/20 李强 <liqiang.net@gmail.com>
I have ERROR and Please help me ,thanks
The first Upgrade is SUCCESS. Please look the info.
But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
========================================================== [root@engine noarch]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-engine-sdk-3.3.0.1-1.201304################################# [ 3%] 2:ovirt-image-uploader-3.3.0-0.0.ma#################################<http://ovirt-image-uploader-3.3.0-0.0.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 7%] 3:ovirt-iso-uploader-3.3.0-0.0.mast################################# [ 10%] 4:ovirt-log-collector-3.3.0-0.0.mas################################# [ 14%] 5:ovirt-engine-backend-3.3.0-0.2.ma#################################<http://ovirt-engine-backend-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 17%] 6:ovirt-engine-dbscripts-3.3.0-0.2.################################# [ 21%] 7:ovirt-engine-restapi-3.3.0-0.2.ma#################################<http://ovirt-engine-restapi-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 24%] 8:ovirt-engine-setup-3.3.0-0.2.mastwarning: /etc/firewalld/services/ovirt.xml created as /etc/firewalld/services/ovirt.xml.rpmnew ################################# [ 28%] 9:ovirt-engine-tools-3.3.0-0.2.mast################################# [ 31%] 10:ovirt-engine-userportal-3.3.0-0.2################################# [ 34%] 11:ovirt-engine-webadmin-portal-3.3.################################# [ 38%] 12:ovirt-engine-3.3.0-0.2.master.201################################# [ 41%] 13:ovirt-host-deploy-offline-1.1.0-0################################# [ 45%] 14:ovirt-engine-setup-plugin-allinon################################# [ 48%] Cleaning up / removing... 15:ovirt-engine-backend-3.2.0-4.fc18################################# [ 52%] 16:ovirt-engine-config-3.2.0-4.fc18 ################################# [ 55%] 17:ovirt-engine-dbscripts-3.2.0-4.fc################################# [ 59%] 18:ovirt-engine-genericapi-3.2.0-4.f################################# [ 62%] 19:ovirt-engine-tools-common-3.2.0-4################################# [ 66%] 20:ovirt-engine-notification-service################################# [ 69%] 21:ovirt-engine-restapi-3.2.0-4.fc18################################# [ 72%] 22:ovirt-engine-setup-3.2.0-4.fc18 ################################# [ 76%] 23:ovirt-engine-userportal-3.2.0-4.f################################# [ 79%] 24:ovirt-engine-webadmin-portal-3.2.################################# [ 83%] 25:ovirt-engine-3.2.0-4.fc18 warning: /etc/sysconfig/ovirt-engine saved as /etc/sysconfig/ovirt-engine.rpmsave ################################# [ 86%] 26:ovirt-image-uploader-3.2.0-1.fc18################################# [ 90%] 27:ovirt-iso-uploader-3.2.0-1.fc18 ################################# [ 93%] 28:ovirt-log-collector-3.2.0-1.fc18 ################################# [ 97%] 29:ovirt-engine-sdk-3.2.0.9-1.fc18 ################################# [100%] ==========================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@engine ~]# engine-setup Welcome to oVirt Engine setup utility
WARNING: oVirt Engine setup has already been run on this host. To remove all configuration and reset oVirt Engine please run engine-cleanup. Please be advised that executing engine-setup without cleanup is not supported. Would you like to proceed? (yes|no): yes
In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : Host fully qualified domain name. Note: this name should be fully resolvable [engine.startn.com] : The IP 192.168.11.12 does not hold a PTR record for the FQDN: engine.startn.com User input failed validation, do you still wish to use it? (yes|no): yes Enter a password for an internal oVirt Engine administrator user (admin@internal) : Warning: Weak Password. Confirm password : Organization Name for the Certificate [startn.com] : The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : Enter DB type for installation ['remote'| 'local'] [local] : Enter a password for a local oVirt Engine DB admin user (engine) : Warning: Weak Password. Confirm password : Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] : Firewall ports need to be opened. The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example file selecting None. Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None Configure VDSM on this host? ['yes'| 'no'] [yes] : Local storage domain path [/var/lib/images_2013_04_19_21_46_58] : Confirm root password :
oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: engine.startn.com auth-pass: ******** org-name: startn.com application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_19_21_46_58 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes
Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cat /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine 2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup. 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'.
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean 2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig 2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files 2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys 2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort 2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort 2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl 2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/ovirt-engine-proxy.conf.in to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'} 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/ovirt-engine-root-redirect.conf.in to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd 2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'.
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root' 2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service
2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path 2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context 2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status. 2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running. 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401
2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object
2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: host-fqdn: engine.startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name: startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
Thanks again your help,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/19 Alon Bar-Lev <alonbl@redhat.com>
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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

[root@engine ~]# rpm -qa | grep ^ovi* ovirt-engine-backend-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-offline-1.1.0-0.0.master.20130418.git827d30b.fc18.noarch ovirt-engine-setup-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-sdk-3.3.0.1-1.20130418.gitfc5985e.fc18.noarch ovirt-host-deploy-java-1.0.1-1.fc18.noarch ovirt-iso-uploader-3.3.0-0.0.master.20130318.gitec3e5e7.fc18.noarch ovirt-engine-restapi-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-image-uploader-3.3.0-0.0.master.20130417.git13f9ba3.fc18.noarch ovirt-engine-dbscripts-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-userportal-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-1.0.1-1.fc18.noarch ovirt-engine-tools-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-log-collector-3.3.0-0.0.master.20130417.git6a09d06.fc18.noarch ovirt-engine-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-cli-3.2.0.11-1.fc18.noarch ovirt-release-fedora-5-3.noarch HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/20 李强 <liqiang.net@gmail.com>
My process: ps -ax ========================== [root@engine ~]# ps -ax PID TTY STAT TIME COMMAND 1 ? Ss 0:03 /usr/lib/systemd/systemd --system --deserialize 20 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 5 ? S< 0:00 [kworker/0:0H] 6 ? S 0:00 [kworker/u:0] 7 ? S< 0:00 [kworker/u:0H] 8 ? S 0:02 [migration/0] 9 ? S 0:00 [rcu_bh] 10 ? S 0:01 [rcu_sched] 11 ? S 0:00 [watchdog/0] 12 ? S 0:00 [watchdog/1] 13 ? S 0:00 [ksoftirqd/1] 14 ? S 0:01 [migration/1] 15 ? S 0:00 [kworker/1:0] 16 ? S< 0:00 [kworker/1:0H] 17 ? S 0:00 [watchdog/2] 18 ? S 0:00 [ksoftirqd/2] 19 ? S 0:04 [migration/2] 21 ? S< 0:00 [kworker/2:0H] 22 ? S 0:00 [watchdog/3] 23 ? S 0:00 [ksoftirqd/3] 24 ? S 0:02 [migration/3] 26 ? S< 0:00 [kworker/3:0H] 27 ? S< 0:00 [cpuset] 28 ? S< 0:00 [khelper] 29 ? S 0:00 [kdevtmpfs] 30 ? S< 0:00 [netns] 31 ? S 0:00 [bdi-default] 32 ? S< 0:00 [kintegrityd] 33 ? S< 0:00 [kblockd] 34 ? S< 0:00 [ata_sff] 35 ? S 0:00 [khubd] 36 ? S< 0:00 [md] 44 ? S 0:01 [kworker/u:1] 62 ? S 0:00 [kswapd0] 63 ? SN 0:00 [ksmd] 64 ? SN 0:00 [khugepaged] 65 ? S 0:00 [fsnotify_mark] 66 ? S< 0:00 [crypto] 74 ? S< 0:00 [kthrotld] 77 ? S 0:00 [scsi_eh_0] 78 ? S 0:00 [scsi_eh_1] 80 ? S< 0:00 [kpsmoused] 81 ? S 0:00 [kworker/0:2] 82 ? S 0:00 [kworker/2:1] 83 ? S< 0:00 [deferwq] 97 ? S 0:00 [kauditd] 180 ? S< 0:00 [mpt_poll_0] 181 ? S< 0:00 [mpt/0] 189 ? S 0:00 [scsi_eh_2] 190 ? S< 0:00 [ttm_swap] 192 ? S< 0:01 [kworker/1:1H] 197 ? S 0:00 [kworker/1:2] 199 ? S< 0:01 [kworker/3:1H] 200 ? S 0:08 [kworker/3:2] 234 ? S< 0:01 [kworker/2:1H] 237 ? S< 0:00 [kdmflush] 239 ? S< 0:00 [kdmflush] 266 ? S< 0:00 [kworker/0:1H] 286 ? S 0:02 [jbd2/dm-1-8] 287 ? S< 0:00 [ext4-dio-unwrit] 330 ? Ss 0:00 /usr/lib/systemd/systemd-udevd 333 ? Ss 0:00 /usr/lib/systemd/systemd-journald 334 ? S 0:03 [flush-253:1] 368 ? S< 0:00 [rpciod] 569 ? S 0:00 [jbd2/sda1-8] 570 ? S< 0:00 [ext4-dio-unwrit] 580 ? S< 0:00 [kmpathd] 581 ? S< 0:00 [kmpath_handlerd] 586 ? S< 0:00 [kdmflush] 605 ? S 0:00 [jbd2/dm-2-8] 606 ? S< 0:00 [ext4-dio-unwrit] 641 ? SLl 0:00 /sbin/multipathd 642 ? Ss 0:00 /sbin/iprinit --daemon 643 ? Ss 0:00 /sbin/iprupdate --daemon 664 ? Ss 0:00 /usr/lib/systemd/systemd-logind 666 ? Ssl 0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 682 tty1 Ss+ 0:00 /sbin/agetty --noclear tty1 38400 linux 687 ? S< 0:00 [iscsi_eh] 689 ? S< 0:00 [ib_mcast] 690 ? S< 0:00 [ib_cm] 691 ? S< 0:00 [iw_cm_wq] 692 ? S< 0:00 [ib_addr] 693 ? S< 0:00 [rdma_cm] 695 ? Ss 0:00 /sbin/iprdump --daemon 701 ? Ss 0:00 /usr/sbin/ntpd -u ntp:ntp -g 703 ? S 0:00 /bin/bash /usr/sbin/ksmtuned 709 ? S< 0:00 [cxgb4] 712 ? S< 0:00 [cnic_wq] 713 ? S< 0:00 [bnx2i_thread/0] 714 ? S< 0:00 [bnx2i_thread/1] 715 ? S< 0:00 [bnx2i_thread/2] 716 ? S< 0:00 [bnx2i_thread/3] 730 ? Ssl 0:00 iscsiuio 739 ? Ss 0:00 iscsid 740 ? S<Ls 0:00 iscsid 752 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon 885 ? SLs 0:00 wdmd -G sanlock 915 ? SLsl 0:00 sanlock daemon -U sanlock -G sanlock 916 ? S 0:00 sanlock daemon -U sanlock -G sanlock 958 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug 1189 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhcli 1191 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth1.pid -lf /var/lib/NetworkManager/dhcli 1223 ? Ssl 0:01 /usr/sbin/libvirtd --listen 1248 ? Ss 0:00 /usr/sbin/sshd -D 1482 ? S< 0:00 [bond0] 1497 ? S< 0:00 [bond4] 1499 ? S< 0:00 [bond1] 1500 ? S< 0:00 [bond2] 1501 ? S< 0:00 [bond3] 1566 ? S< 0:00 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon --masterpid /var/run/vdsm/respawn.pid /usr/share/vdsm/vdsm 1570 ? S<l 0:09 /usr/bin/python /usr/share/vdsm/vdsm 1589 ? S< 0:00 /usr/bin/sudo -n /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vd 1590 ? S<l 0:03 /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vdsm/svdsm.pid /var 1598 ? Ss 0:00 sshd: root@pts/0 1626 pts/0 Ss 0:00 -bash 1762 ? Rs 0:00 sshd: root@pts/1 1766 pts/1 Ss 0:00 -bash 4521 ? S 0:02 [kworker/3:1] 9054 ? Ss 0:06 sshd: root@pts/2 9058 pts/2 Ss+ 0:00 -bash 11471 ? S 0:00 [kworker/0:1] 11646 ? S 0:00 [kworker/2:2] 11652 ? Ss 0:00 /usr/sbin/crond -n 12569 ? S 0:00 [flush-8:0] 12618 ? S 0:00 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432 12619 ? Ss 0:00 postgres: logger process 12621 ? Ss 0:00 postgres: checkpointer process 12622 ? Ss 0:00 postgres: writer process 12623 ? Ss 0:00 postgres: wal writer process 12624 ? Ss 0:00 postgres: autovacuum launcher process 12625 ? Ss 0:00 postgres: stats collector process 12657 ? Ssl 0:00 /usr/sbin/named -u named 12691 ? Ss 0:00 sendmail: accepting connections 12719 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 12764 ? Ss 0:00 /bin/sh /usr/share/jboss-as/bin/standalone.sh -c standalone.xml -b 0.0.0.0 12816 ? Sl 0:07 java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.ne 12985 ? Ss 0:00 /usr/bin/python /usr/sbin/firewalld --nofork 13318 ? S<sl 0:00 /sbin/auditd -n 13363 ? Ssl 0:00 /sbin/rsyslogd -n 20734 ? S 0:00 [kworker/0:0] 20896 pts/0 Sl+ 0:01 /usr/bin/python /usr/bin/engine-setup 22780 ? Ss 0:00 /sbin/rpcbind -w 22805 ? Ss 0:00 /usr/bin/python /usr/share/ovirt-engine/service/engine-service.py start 22807 ? Sl 0:12 engine-service -server -XX:+TieredCompilation -Xms1g -Xmx1g -XX:PermSize=256m -XX:MaxPermSize=256m -Djava.net.preferIPv4S 22876 ? Ss 0:00 postgres: engine engine 127.0.0.1(44637) idle 22889 ? Ss 0:00 postgres: engine engine 127.0.0.1(44638) idle 22892 ? Ss 0:00 postgres: engine engine 127.0.0.1(44639) idle 22920 ? Ss 0:00 /usr/sbin/httpd -DFOREGROUND 22922 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22923 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22924 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22925 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22926 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22945 ? S 0:00 sleep 60 22946 pts/1 R+ 0:00 ps -ax [root@engine ~]# ==========================
and I run : yum update and setup still is ERROR.
Please help my ,thanks,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
I have ERROR and Please help me ,thanks
The first Upgrade is SUCCESS. Please look the info.
But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
========================================================== [root@engine noarch]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-engine-sdk-3.3.0.1-1.201304################################# [ 3%] 2:ovirt-image-uploader-3.3.0-0.0.ma#################################<http://ovirt-image-uploader-3.3.0-0.0.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 7%] 3:ovirt-iso-uploader-3.3.0-0.0.mast################################# [ 10%] 4:ovirt-log-collector-3.3.0-0.0.mas################################# [ 14%] 5:ovirt-engine-backend-3.3.0-0.2.ma#################################<http://ovirt-engine-backend-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 17%] 6:ovirt-engine-dbscripts-3.3.0-0.2.################################# [ 21%] 7:ovirt-engine-restapi-3.3.0-0.2.ma#################################<http://ovirt-engine-restapi-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 24%] 8:ovirt-engine-setup-3.3.0-0.2.mastwarning: /etc/firewalld/services/ovirt.xml created as /etc/firewalld/services/ovirt.xml.rpmnew ################################# [ 28%] 9:ovirt-engine-tools-3.3.0-0.2.mast################################# [ 31%] 10:ovirt-engine-userportal-3.3.0-0.2################################# [ 34%] 11:ovirt-engine-webadmin-portal-3.3.################################# [ 38%] 12:ovirt-engine-3.3.0-0.2.master.201################################# [ 41%] 13:ovirt-host-deploy-offline-1.1.0-0################################# [ 45%] 14:ovirt-engine-setup-plugin-allinon################################# [ 48%] Cleaning up / removing... 15:ovirt-engine-backend-3.2.0-4.fc18################################# [ 52%] 16:ovirt-engine-config-3.2.0-4.fc18 ################################# [ 55%] 17:ovirt-engine-dbscripts-3.2.0-4.fc################################# [ 59%] 18:ovirt-engine-genericapi-3.2.0-4.f################################# [ 62%] 19:ovirt-engine-tools-common-3.2.0-4################################# [ 66%] 20:ovirt-engine-notification-service################################# [ 69%] 21:ovirt-engine-restapi-3.2.0-4.fc18################################# [ 72%] 22:ovirt-engine-setup-3.2.0-4.fc18 ################################# [ 76%] 23:ovirt-engine-userportal-3.2.0-4.f################################# [ 79%] 24:ovirt-engine-webadmin-portal-3.2.################################# [ 83%] 25:ovirt-engine-3.2.0-4.fc18 warning: /etc/sysconfig/ovirt-engine saved as /etc/sysconfig/ovirt-engine.rpmsave ################################# [ 86%] 26:ovirt-image-uploader-3.2.0-1.fc18################################# [ 90%] 27:ovirt-iso-uploader-3.2.0-1.fc18 ################################# [ 93%] 28:ovirt-log-collector-3.2.0-1.fc18 ################################# [ 97%] 29:ovirt-engine-sdk-3.2.0.9-1.fc18 ################################# [100%] ==========================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@engine ~]# engine-setup Welcome to oVirt Engine setup utility
WARNING: oVirt Engine setup has already been run on this host. To remove all configuration and reset oVirt Engine please run engine-cleanup. Please be advised that executing engine-setup without cleanup is not supported. Would you like to proceed? (yes|no): yes
In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : Host fully qualified domain name. Note: this name should be fully resolvable [engine.startn.com] : The IP 192.168.11.12 does not hold a PTR record for the FQDN: engine.startn.com User input failed validation, do you still wish to use it? (yes|no): yes Enter a password for an internal oVirt Engine administrator user (admin@internal) : Warning: Weak Password. Confirm password : Organization Name for the Certificate [startn.com] : The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : Enter DB type for installation ['remote'| 'local'] [local] : Enter a password for a local oVirt Engine DB admin user (engine) : Warning: Weak Password. Confirm password : Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] : Firewall ports need to be opened. The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example file selecting None. Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None Configure VDSM on this host? ['yes'| 'no'] [yes] : Local storage domain path [/var/lib/images_2013_04_19_21_46_58] : Confirm root password :
oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: engine.startn.com auth-pass: ******** org-name: startn.com application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_19_21_46_58 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes
Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cat /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine 2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup. 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'.
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean 2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig 2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files 2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys 2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort 2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort 2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl 2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/ovirt-engine-proxy.conf.in to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'} 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/ovirt-engine-root-redirect.conf.in to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd 2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'.
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root' 2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service
2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path 2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context 2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status. 2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running. 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401
2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object
2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: host-fqdn: engine.startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name: startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
Thanks again your help,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/19 Alon Bar-Lev <alonbl@redhat.com>
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@gmail.com> To: engine-devel@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

Help me,Thanks, engine-set ERROR, oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: ntp.startn.com auth-pass: ******** org-name: startn.com application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_20_02_23_59 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_20_02_23_59 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_20_02_23_59.log for more information [root@engine ~]# vi /var/log/ovirt-engine/engine-setup_2013_04_20_02_23_59.log The newest log info: ==================== 2013-04-20 02:26:12::DEBUG::common_utils::496::root:: retcode = 0 2013-04-20 02:26:12::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-20 02:26:12::DEBUG::all_in_one_100::376::root:: Creating/Verifying local domain path 2013-04-20 02:26:12::DEBUG::all_in_one_100::379::root:: Creating directory /var/lib/images_2013_04_20_02_23_59 2013-04-20 02:26:12::DEBUG::all_in_one_100::382::root:: Setting selinux context 2013-04-20 02:26:12::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_20_02_23_59 2013-04-20 02:26:12::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_20_02_23_59(/.*)?' in working directory '/root' 2013-04-20 02:26:14::DEBUG::common_utils::494::root:: output = 2013-04-20 02:26:14::DEBUG::common_utils::495::root:: stderr = 2013-04-20 02:26:14::DEBUG::common_utils::496::root:: retcode = 0 2013-04-20 02:26:14::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_20_02_23_59' in working directory '/root' 2013-04-20 02:26:14::DEBUG::common_utils::494::root:: output = 2013-04-20 02:26:14::DEBUG::common_utils::495::root:: stderr = 2013-04-20 02:26:14::DEBUG::common_utils::496::root:: retcode = 0 2013-04-20 02:26:14::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-20 02:26:14::INFO::all_in_one_100::457::root:: JBoss is up and running. 2013-04-20 02:26:14::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-20 02:26:14::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-20 02:26:14::DEBUG::all_in_one_100::244::root:: URL: ntp.startn.com:443 2013-04-20 02:26:15::ERROR::all_in_one_100::253::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 250, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401 2013-04-20 02:26:15::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 254, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object 2013-04-20 02:26:15::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: host-fqdn: ntp.startn.com 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: org-name: startn.com 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_20_02_23_59 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_20_02_23_59 2013-04-20 02:26:15::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-20 02:26:15::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 254, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ============== HI:All 见信平安, --- 有问题请通知我,谢谢, 李强 ------------------------------------------------------------------------------ + 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------ 2013/4/20 李强 <liqiang.net@gmail.com>
[root@engine ~]# rpm -qa | grep ^ovi* ovirt-engine-backend-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-offline-1.1.0-0.0.master.20130418.git827d30b.fc18.noarch ovirt-engine-setup-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-sdk-3.3.0.1-1.20130418.gitfc5985e.fc18.noarch ovirt-host-deploy-java-1.0.1-1.fc18.noarch ovirt-iso-uploader-3.3.0-0.0.master.20130318.gitec3e5e7.fc18.noarch ovirt-engine-restapi-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-image-uploader-3.3.0-0.0.master.20130417.git13f9ba3.fc18.noarch ovirt-engine-dbscripts-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-userportal-3.3.0-0.2.master.20130419160733.fc18.noarch
ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-1.0.1-1.fc18.noarch ovirt-engine-tools-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-log-collector-3.3.0-0.0.master.20130417.git6a09d06.fc18.noarch ovirt-engine-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-cli-3.2.0.11-1.fc18.noarch ovirt-release-fedora-5-3.noarch
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
My process: ps -ax ========================== [root@engine ~]# ps -ax PID TTY STAT TIME COMMAND 1 ? Ss 0:03 /usr/lib/systemd/systemd --system --deserialize 20 2 ? S 0:00 [kthreadd] 3 ? S 0:00 [ksoftirqd/0] 5 ? S< 0:00 [kworker/0:0H] 6 ? S 0:00 [kworker/u:0] 7 ? S< 0:00 [kworker/u:0H] 8 ? S 0:02 [migration/0] 9 ? S 0:00 [rcu_bh] 10 ? S 0:01 [rcu_sched] 11 ? S 0:00 [watchdog/0] 12 ? S 0:00 [watchdog/1] 13 ? S 0:00 [ksoftirqd/1] 14 ? S 0:01 [migration/1] 15 ? S 0:00 [kworker/1:0] 16 ? S< 0:00 [kworker/1:0H] 17 ? S 0:00 [watchdog/2] 18 ? S 0:00 [ksoftirqd/2] 19 ? S 0:04 [migration/2] 21 ? S< 0:00 [kworker/2:0H] 22 ? S 0:00 [watchdog/3] 23 ? S 0:00 [ksoftirqd/3] 24 ? S 0:02 [migration/3] 26 ? S< 0:00 [kworker/3:0H] 27 ? S< 0:00 [cpuset] 28 ? S< 0:00 [khelper] 29 ? S 0:00 [kdevtmpfs] 30 ? S< 0:00 [netns] 31 ? S 0:00 [bdi-default] 32 ? S< 0:00 [kintegrityd] 33 ? S< 0:00 [kblockd] 34 ? S< 0:00 [ata_sff] 35 ? S 0:00 [khubd] 36 ? S< 0:00 [md] 44 ? S 0:01 [kworker/u:1] 62 ? S 0:00 [kswapd0] 63 ? SN 0:00 [ksmd] 64 ? SN 0:00 [khugepaged] 65 ? S 0:00 [fsnotify_mark] 66 ? S< 0:00 [crypto] 74 ? S< 0:00 [kthrotld] 77 ? S 0:00 [scsi_eh_0] 78 ? S 0:00 [scsi_eh_1] 80 ? S< 0:00 [kpsmoused] 81 ? S 0:00 [kworker/0:2] 82 ? S 0:00 [kworker/2:1] 83 ? S< 0:00 [deferwq] 97 ? S 0:00 [kauditd] 180 ? S< 0:00 [mpt_poll_0] 181 ? S< 0:00 [mpt/0] 189 ? S 0:00 [scsi_eh_2] 190 ? S< 0:00 [ttm_swap] 192 ? S< 0:01 [kworker/1:1H] 197 ? S 0:00 [kworker/1:2] 199 ? S< 0:01 [kworker/3:1H] 200 ? S 0:08 [kworker/3:2] 234 ? S< 0:01 [kworker/2:1H] 237 ? S< 0:00 [kdmflush] 239 ? S< 0:00 [kdmflush] 266 ? S< 0:00 [kworker/0:1H] 286 ? S 0:02 [jbd2/dm-1-8] 287 ? S< 0:00 [ext4-dio-unwrit] 330 ? Ss 0:00 /usr/lib/systemd/systemd-udevd 333 ? Ss 0:00 /usr/lib/systemd/systemd-journald 334 ? S 0:03 [flush-253:1] 368 ? S< 0:00 [rpciod] 569 ? S 0:00 [jbd2/sda1-8] 570 ? S< 0:00 [ext4-dio-unwrit] 580 ? S< 0:00 [kmpathd] 581 ? S< 0:00 [kmpath_handlerd] 586 ? S< 0:00 [kdmflush] 605 ? S 0:00 [jbd2/dm-2-8] 606 ? S< 0:00 [ext4-dio-unwrit] 641 ? SLl 0:00 /sbin/multipathd 642 ? Ss 0:00 /sbin/iprinit --daemon 643 ? Ss 0:00 /sbin/iprupdate --daemon 664 ? Ss 0:00 /usr/lib/systemd/systemd-logind 666 ? Ssl 0:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation 682 tty1 Ss+ 0:00 /sbin/agetty --noclear tty1 38400 linux 687 ? S< 0:00 [iscsi_eh] 689 ? S< 0:00 [ib_mcast] 690 ? S< 0:00 [ib_cm] 691 ? S< 0:00 [iw_cm_wq] 692 ? S< 0:00 [ib_addr] 693 ? S< 0:00 [rdma_cm] 695 ? Ss 0:00 /sbin/iprdump --daemon 701 ? Ss 0:00 /usr/sbin/ntpd -u ntp:ntp -g 703 ? S 0:00 /bin/bash /usr/sbin/ksmtuned 709 ? S< 0:00 [cxgb4] 712 ? S< 0:00 [cnic_wq] 713 ? S< 0:00 [bnx2i_thread/0] 714 ? S< 0:00 [bnx2i_thread/1] 715 ? S< 0:00 [bnx2i_thread/2] 716 ? S< 0:00 [bnx2i_thread/3] 730 ? Ssl 0:00 iscsiuio 739 ? Ss 0:00 iscsid 740 ? S<Ls 0:00 iscsid 752 ? Ssl 0:00 /usr/sbin/NetworkManager --no-daemon 885 ? SLs 0:00 wdmd -G sanlock 915 ? SLsl 0:00 sanlock daemon -U sanlock -G sanlock 916 ? S 0:00 sanlock daemon -U sanlock -G sanlock 958 ? Ssl 0:00 /usr/lib/polkit-1/polkitd --no-debug 1189 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhcli 1191 ? S 0:00 /sbin/dhclient -d -sf /usr/libexec/nm-dhcp-client.action -pf /var/run/dhclient-eth1.pid -lf /var/lib/NetworkManager/dhcli 1223 ? Ssl 0:01 /usr/sbin/libvirtd --listen 1248 ? Ss 0:00 /usr/sbin/sshd -D 1482 ? S< 0:00 [bond0] 1497 ? S< 0:00 [bond4] 1499 ? S< 0:00 [bond1] 1500 ? S< 0:00 [bond2] 1501 ? S< 0:00 [bond3] 1566 ? S< 0:00 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon --masterpid /var/run/vdsm/respawn.pid /usr/share/vdsm/vdsm 1570 ? S<l 0:09 /usr/bin/python /usr/share/vdsm/vdsm 1589 ? S< 0:00 /usr/bin/sudo -n /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vd 1590 ? S<l 0:03 /usr/bin/python /usr/share/vdsm/supervdsmServer.py 2057b468-002a-489c-a6dd-7a980cb95b3a 1570 /var/run/vdsm/svdsm.pid /var 1598 ? Ss 0:00 sshd: root@pts/0 1626 pts/0 Ss 0:00 -bash 1762 ? Rs 0:00 sshd: root@pts/1 1766 pts/1 Ss 0:00 -bash 4521 ? S 0:02 [kworker/3:1] 9054 ? Ss 0:06 sshd: root@pts/2 9058 pts/2 Ss+ 0:00 -bash 11471 ? S 0:00 [kworker/0:1] 11646 ? S 0:00 [kworker/2:2] 11652 ? Ss 0:00 /usr/sbin/crond -n 12569 ? S 0:00 [flush-8:0] 12618 ? S 0:00 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432 12619 ? Ss 0:00 postgres: logger process
12621 ? Ss 0:00 postgres: checkpointer process
12622 ? Ss 0:00 postgres: writer process
12623 ? Ss 0:00 postgres: wal writer process
12624 ? Ss 0:00 postgres: autovacuum launcher process
12625 ? Ss 0:00 postgres: stats collector process
12657 ? Ssl 0:00 /usr/sbin/named -u named 12691 ? Ss 0:00 sendmail: accepting connections 12719 ? Ss 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue 12764 ? Ss 0:00 /bin/sh /usr/share/jboss-as/bin/standalone.sh -c standalone.xml -b 0.0.0.0 12816 ? Sl 0:07 java -D[Standalone] -server -XX:+UseCompressedOops -XX:+TieredCompilation -Xms64m -Xmx512m -XX:MaxPermSize=256m -Djava.ne 12985 ? Ss 0:00 /usr/bin/python /usr/sbin/firewalld --nofork 13318 ? S<sl 0:00 /sbin/auditd -n 13363 ? Ssl 0:00 /sbin/rsyslogd -n 20734 ? S 0:00 [kworker/0:0] 20896 pts/0 Sl+ 0:01 /usr/bin/python /usr/bin/engine-setup 22780 ? Ss 0:00 /sbin/rpcbind -w 22805 ? Ss 0:00 /usr/bin/python /usr/share/ovirt-engine/service/engine-service.py start 22807 ? Sl 0:12 engine-service -server -XX:+TieredCompilation -Xms1g -Xmx1g -XX:PermSize=256m -XX:MaxPermSize=256m -Djava.net.preferIPv4S 22876 ? Ss 0:00 postgres: engine engine 127.0.0.1(44637) idle
22889 ? Ss 0:00 postgres: engine engine 127.0.0.1(44638) idle
22892 ? Ss 0:00 postgres: engine engine 127.0.0.1(44639) idle
22920 ? Ss 0:00 /usr/sbin/httpd -DFOREGROUND 22922 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22923 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22924 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22925 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22926 ? S 0:00 /usr/sbin/httpd -DFOREGROUND 22945 ? S 0:00 sleep 60 22946 pts/1 R+ 0:00 ps -ax [root@engine ~]# ==========================
and I run : yum update and setup still is ERROR.
Please help my ,thanks,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
I have ERROR and Please help me ,thanks
The first Upgrade is SUCCESS. Please look the info.
But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
========================================================== [root@engine noarch]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-engine-sdk-3.3.0.1-1.201304################################# [ 3%] 2:ovirt-image-uploader-3.3.0-0.0.ma#################################<http://ovirt-image-uploader-3.3.0-0.0.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 7%] 3:ovirt-iso-uploader-3.3.0-0.0.mast################################# [ 10%] 4:ovirt-log-collector-3.3.0-0.0.mas################################# [ 14%] 5:ovirt-engine-backend-3.3.0-0.2.ma#################################<http://ovirt-engine-backend-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 17%] 6:ovirt-engine-dbscripts-3.3.0-0.2.################################# [ 21%] 7:ovirt-engine-restapi-3.3.0-0.2.ma#################################<http://ovirt-engine-restapi-3.3.0-0.2.ma#%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23%23>[ 24%] 8:ovirt-engine-setup-3.3.0-0.2.mastwarning: /etc/firewalld/services/ovirt.xml created as /etc/firewalld/services/ovirt.xml.rpmnew ################################# [ 28%] 9:ovirt-engine-tools-3.3.0-0.2.mast################################# [ 31%] 10:ovirt-engine-userportal-3.3.0-0.2################################# [ 34%] 11:ovirt-engine-webadmin-portal-3.3.################################# [ 38%] 12:ovirt-engine-3.3.0-0.2.master.201################################# [ 41%] 13:ovirt-host-deploy-offline-1.1.0-0################################# [ 45%] 14:ovirt-engine-setup-plugin-allinon################################# [ 48%] Cleaning up / removing... 15:ovirt-engine-backend-3.2.0-4.fc18################################# [ 52%] 16:ovirt-engine-config-3.2.0-4.fc18 ################################# [ 55%] 17:ovirt-engine-dbscripts-3.2.0-4.fc################################# [ 59%] 18:ovirt-engine-genericapi-3.2.0-4.f################################# [ 62%] 19:ovirt-engine-tools-common-3.2.0-4################################# [ 66%] 20:ovirt-engine-notification-service################################# [ 69%] 21:ovirt-engine-restapi-3.2.0-4.fc18################################# [ 72%] 22:ovirt-engine-setup-3.2.0-4.fc18 ################################# [ 76%] 23:ovirt-engine-userportal-3.2.0-4.f################################# [ 79%] 24:ovirt-engine-webadmin-portal-3.2.################################# [ 83%] 25:ovirt-engine-3.2.0-4.fc18 warning: /etc/sysconfig/ovirt-engine saved as /etc/sysconfig/ovirt-engine.rpmsave ################################# [ 86%] 26:ovirt-image-uploader-3.2.0-1.fc18################################# [ 90%] 27:ovirt-iso-uploader-3.2.0-1.fc18 ################################# [ 93%] 28:ovirt-log-collector-3.2.0-1.fc18 ################################# [ 97%] 29:ovirt-engine-sdk-3.2.0.9-1.fc18 ################################# [100%] ==========================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@engine ~]# engine-setup Welcome to oVirt Engine setup utility
WARNING: oVirt Engine setup has already been run on this host. To remove all configuration and reset oVirt Engine please run engine-cleanup. Please be advised that executing engine-setup without cleanup is not supported. Would you like to proceed? (yes|no): yes
In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : Host fully qualified domain name. Note: this name should be fully resolvable [engine.startn.com] : The IP 192.168.11.12 does not hold a PTR record for the FQDN: engine.startn.com User input failed validation, do you still wish to use it? (yes|no): yes Enter a password for an internal oVirt Engine administrator user (admin@internal) : Warning: Weak Password. Confirm password : Organization Name for the Certificate [startn.com] : The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : Enter DB type for installation ['remote'| 'local'] [local] : Enter a password for a local oVirt Engine DB admin user (engine) : Warning: Weak Password. Confirm password : Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] : Firewall ports need to be opened. The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example file selecting None. Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None Configure VDSM on this host? ['yes'| 'no'] [yes] : Local storage domain path [/var/lib/images_2013_04_19_21_46_58] : Confirm root password :
oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: engine.startn.com auth-pass: ******** org-name: startn.com application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_19_21_46_58 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes
Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cat /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine 2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup. 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'.
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean 2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig 2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files 2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys 2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort 2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort 2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl 2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/ovirt-engine-proxy.conf.in to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'} 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/ ovirt-engine-root-redirect.conf.in to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd 2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'.
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root' 2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service
2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path 2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context 2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status. 2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running. 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401
2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object
2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: host-fqdn: engine.startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name: startn.com 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com>
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
Thanks again your help,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) +
------------------------------------------------------------------------------
2013/4/19 Alon Bar-Lev <alonbl@redhat.com>
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@gmail.com> To: engine-devel@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@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@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@ovirt.org > http://lists.ovirt.org/mailman/listinfo/engine-devel >

----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: engine-devel@ovirt.org Sent: Saturday, April 20, 2013 5:37:41 AM Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
[root@engine ~]# rpm -qa | grep ^ovi* ovirt-engine-backend-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-offline-1.1.0-0.0.master.20130418.git827d30b.fc18.noarch ovirt-engine-setup-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-sdk-3.3.0.1-1.20130418.gitfc5985e.fc18.noarch ovirt-host-deploy-java-1.0.1-1.fc18.noarch ovirt-iso-uploader-3.3.0-0.0.master.20130318.gitec3e5e7.fc18.noarch ovirt-engine-restapi-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-image-uploader-3.3.0-0.0.master.20130417.git13f9ba3.fc18.noarch ovirt-engine-dbscripts-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-userportal-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-setup-plugin-allinone-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-host-deploy-1.0.1-1.fc18.noarch ovirt-engine-tools-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-log-collector-3.3.0-0.0.master.20130417.git6a09d06.fc18.noarch ovirt-engine-3.3.0-0.2.master.20130419160733.fc18.noarch ovirt-engine-cli-3.2.0.11-1.fc18.noarch ovirt-release-fedora-5-3.noarch
If you need something for production, do not use master but the engine_3.2 branch.

----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: engine-devel@ovirt.org Sent: Saturday, April 20, 2013 5:10:13 AM Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
I have ERROR and Please help me ,thanks
The first Upgrade is SUCCESS. Please look the info.
But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
If you don't need the all in one please remove it, better remove all rpms and create the repo as I outline in previous mail, and then install only ovirt-engine.

On 04/20/2013 05:10 AM, 李强 wrote:
I have ERROR and Please help me ,thanks
sounds similar to: Bug 918742 - Ovirt 3.2 all in one problem install in Fedora 18 to workaround and just get the engine installed (without the all-in-one first), please reply 'no' to the this question: Configure VDSM on this host? ['yes'| 'no'] [yes] then please try to collaborate with sandro on the bug to resolve the issue. thanks, Itamar
The first Upgrade is SUCCESS. Please look the info.
But engine-set is ERROR. AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
========================================================== [root@engine noarch]# rpm -Uvh *.rpm Preparing... ################################# [100%] Updating / installing... 1:ovirt-engine-sdk-3.3.0.1-1.201304################################# [ 3%] 2:ovirt-image-uploader-3.3.0-0.0.ma################################# <http://ovirt-image-uploader-3.3.0-0.0.ma#################################> [ 7%] 3:ovirt-iso-uploader-3.3.0-0.0.mast################################# [ 10%] 4:ovirt-log-collector-3.3.0-0.0.mas################################# [ 14%] 5:ovirt-engine-backend-3.3.0-0.2.ma################################# <http://ovirt-engine-backend-3.3.0-0.2.ma#################################> [ 17%] 6:ovirt-engine-dbscripts-3.3.0-0.2.################################# [ 21%] 7:ovirt-engine-restapi-3.3.0-0.2.ma################################# <http://ovirt-engine-restapi-3.3.0-0.2.ma#################################> [ 24%] 8:ovirt-engine-setup-3.3.0-0.2.mastwarning: /etc/firewalld/services/ovirt.xml created as /etc/firewalld/services/ovirt.xml.rpmnew ################################# [ 28%] 9:ovirt-engine-tools-3.3.0-0.2.mast################################# [ 31%] 10:ovirt-engine-userportal-3.3.0-0.2################################# [ 34%] 11:ovirt-engine-webadmin-portal-3.3.################################# [ 38%] 12:ovirt-engine-3.3.0-0.2.master.201################################# [ 41%] 13:ovirt-host-deploy-offline-1.1.0-0################################# [ 45%] 14:ovirt-engine-setup-plugin-allinon################################# [ 48%] Cleaning up / removing... 15:ovirt-engine-backend-3.2.0-4.fc18################################# [ 52%] 16:ovirt-engine-config-3.2.0-4.fc18 ################################# [ 55%] 17:ovirt-engine-dbscripts-3.2.0-4.fc################################# [ 59%] 18:ovirt-engine-genericapi-3.2.0-4.f################################# [ 62%] 19:ovirt-engine-tools-common-3.2.0-4################################# [ 66%] 20:ovirt-engine-notification-service################################# [ 69%] 21:ovirt-engine-restapi-3.2.0-4.fc18################################# [ 72%] 22:ovirt-engine-setup-3.2.0-4.fc18 ################################# [ 76%] 23:ovirt-engine-userportal-3.2.0-4.f################################# [ 79%] 24:ovirt-engine-webadmin-portal-3.2.################################# [ 83%] 25:ovirt-engine-3.2.0-4.fc18 warning: /etc/sysconfig/ovirt-engine saved as /etc/sysconfig/ovirt-engine.rpmsave ################################# [ 86%] 26:ovirt-image-uploader-3.2.0-1.fc18################################# [ 90%] 27:ovirt-iso-uploader-3.2.0-1.fc18 ################################# [ 93%] 28:ovirt-log-collector-3.2.0-1.fc18 ################################# [ 97%] 29:ovirt-engine-sdk-3.2.0.9-1.fc18 ################################# [100%] ==========================================================
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@engine ~]# engine-setup Welcome to oVirt Engine setup utility
WARNING: oVirt Engine setup has already been run on this host. To remove all configuration and reset oVirt Engine please run engine-cleanup. Please be advised that executing engine-setup without cleanup is not supported. Would you like to proceed? (yes|no): yes
In order to proceed the installer must stop the ovirt-engine service Would you like to stop the ovirt-engine service? (yes|no): yes oVirt Engine uses httpd to proxy requests to the application server. It looks like the httpd installed locally is being actively used. The installer can override current configuration . Alternatively you can use JBoss directly (on ports higher than 1024) Do you wish to override current httpd configuration and restart the service? ['yes'| 'no'] [yes] : HTTP Port [80] : HTTPS Port [443] : Setup can configure server default page to launch oVirt Engine. Do you wish to do so? ['yes'| 'no'] [yes] : Host fully qualified domain name. Note: this name should be fully resolvable [engine.startn.com <http://engine.startn.com>] : The IP 192.168.11.12 does not hold a PTR record for the FQDN: engine.startn.com <http://engine.startn.com> User input failed validation, do you still wish to use it? (yes|no): yes Enter a password for an internal oVirt Engine administrator user (admin@internal) : Warning: Weak Password. Confirm password : Organization Name for the Certificate [startn.com <http://startn.com>] : The engine can be configured to present the UI in three different application modes. virt [Manage virtualization only], gluster [Manage gluster storage only], and both [Manage virtualization as well as gluster storage] ['virt'| 'gluster'| 'both'] [both] : The default storage type you will be using ['NFS'| 'FC'| 'ISCSI'| 'POSIXFS'] [NFS] : Enter DB type for installation ['remote'| 'local'] [local] : Enter a password for a local oVirt Engine DB admin user (engine) : Warning: Weak Password. Confirm password : Local ISO domain path [/var/lib/exports/iso_2013_04_19_21_46_58] : Firewall ports need to be opened. The installer can configure firewall automatically overriding the current configuration. The old configuration will be backed up. Alternately you can configure the firewall later using an example file selecting None. Which firewall manager do you wish to use? ['None'| 'Firewalld'| 'iptables']: None Configure VDSM on this host? ['yes'| 'no'] [yes] : Local storage domain path [/var/lib/images_2013_04_19_21_46_58] : Confirm root password :
oVirt Engine will be installed using the following configuration: ================================================================= override-httpd-config: yes http-port: 80 https-port: 443 override-httpd-root: yes host-fqdn: engine.startn.com <http://engine.startn.com> auth-pass: ******** org-name: startn.com <http://startn.com> application-mode: both default-dc-type: NFS db-remote-install: local db-local-pass: ******** nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 firewall-manager: None config-allinone: yes storage-path: /var/lib/images_2013_04_19_21_46_58 superuser-pass: ******** Proceed with the configuration listed above? (yes|no): yes
Installing: AIO: Validating CPU Compatibility... [ DONE ] AIO: Adding firewall rules... [ DONE ] Configuring oVirt Engine... [ DONE ] Configuring JVM... [ DONE ] Creating CA... [ DONE ] Updating ovirt-engine service... [ DONE ] Setting Database Configuration... [ DONE ] Setting Database Security... [ DONE ] Upgrading Database Schema... [ DONE ] Editing oVirt Engine Configuration... [ DONE ] Editing Postgresql Configuration... [ DONE ] Configuring the Default ISO Domain... [ DONE ] Configuring Firewall... [ DONE ] Starting ovirt-engine Service... [ DONE ] Configuring HTTPD... [ DONE ] AIO: Creating storage directory... [ DONE ] AIO: Adding Local Datacenter and cluster... [ ERROR ] Error: could not create ovirtsdk API object Please check log file /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log for more information
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ cat /var/log/ovirt-engine/engine-setup_2013_04_19_21_46_58.log ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _setupVarPrivileges 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> 'chown -Rh ovirt:ovirt /var/lib/ovirt-engine/deployments' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _startEngine 2013-04-19 21:48:39::DEBUG::engine-setup::1787::root:: using chkconfig to enable engine to load on system startup. 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig ovirt-engine on' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable ovirt-engine.service'.
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1285::root:: stopping ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service stop 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine stop' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::common_utils::1275::root:: starting ovirt-engine 2013-04-19 21:48:39::DEBUG::common_utils::1322::root:: executing action ovirt-engine on service start 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service ovirt-engine start' in working directory '/root' 2013-04-19 21:48:39::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:39::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start ovirt-engine.service
2013-04-19 21:48:39::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:39::DEBUG::setup_sequences::59::root:: running _configureSelinuxBoolean 2013-04-19 21:48:39::DEBUG::engine-setup::742::root:: Enable httpd_can_network_connect boolean 2013-04-19 21:48:39::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage boolean --modify --on httpd_can_network_connect' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _backupOldHttpdConfig 2013-04-19 21:48:52::DEBUG::engine-setup::728::root:: Backup old httpd configuration files 2013-04-19 21:48:52::DEBUG::engine-setup::732::root:: Backing up /etc/httpd/conf/httpd.conf into /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf/httpd.conf to target destination /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf/httpd.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::engine-setup::737::root:: Backing up /etc/httpd/conf.d/ssl.conf into /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /etc/httpd/conf.d/ssl.conf to target destination /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ssl.conf.BACKUP.2013_04_19_21_48_52 mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslKeys 2013-04-19 21:48:52::DEBUG::engine-setup::754::root:: Update /etc/httpd/conf.d/ssl.conf to use engine private key in mod_ssl directives 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdPort 2013-04-19 21:48:52::DEBUG::engine-setup::786::root:: Update /etc/httpd/conf/httpd.conf to listen in the new HTTP port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _configureHttpdSslPort 2013-04-19 21:48:52::DEBUG::engine-setup::798::root:: Update /etc/httpd/conf.d/ssl.conf to listen in the new HTTPS port 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _redirectUrl 2013-04-19 21:48:52::DEBUG::common_utils::84::root:: Processing template /usr/share/ovirt-engine/conf/ovirt-engine-proxy.conf.in <http://ovirt-engine-proxy.conf.in> to /etc/httpd/conf.d/z-ovirt-engine-proxy.conf vars {'@JBOSS_AJP_PORT@': '8702'} 2013-04-19 21:48:52::DEBUG::common_utils::729::root:: successfully copied file /usr/share/ovirt-engine/conf/ovirt-engine-root-redirect.conf.in <http://ovirt-engine-root-redirect.conf.in> to target destination /etc/httpd/conf.d/ovirt-engine-root-redirect.conf 2013-04-19 21:48:52::DEBUG::common_utils::737::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf uid/gid ownership 2013-04-19 21:48:52::DEBUG::common_utils::740::root:: setting file /etc/httpd/conf.d/ovirt-engine-root-redirect.conf mode to -1 2013-04-19 21:48:52::DEBUG::setup_sequences::59::root:: running _startHttpd 2013-04-19 21:48:52::DEBUG::engine-setup::1769::root:: Handling the httpd service 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/chkconfig httpd on' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Note: Forwarding request to 'systemctl enable httpd.service'.
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1285::root:: stopping httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service stop 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd stop' in working directory '/root' 2013-04-19 21:48:52::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:52::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl stop httpd.service
2013-04-19 21:48:52::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:52::DEBUG::common_utils::1275::root:: starting httpd 2013-04-19 21:48:52::DEBUG::common_utils::1322::root:: executing action httpd on service start 2013-04-19 21:48:52::DEBUG::common_utils::456::root:: Executing command --> '/sbin/service httpd start' in working directory '/root' 2013-04-19 21:48:54::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:54::DEBUG::common_utils::495::root:: stderr = Redirecting to /bin/systemctl start httpd.service
2013-04-19 21:48:54::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:54::DEBUG::setup_sequences::59::root:: running makeStorageDir 2013-04-19 21:48:54::DEBUG::all_in_one_100::374::root:: Creating/Verifying local domain path 2013-04-19 21:48:54::DEBUG::all_in_one_100::377::root:: Creating directory /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::all_in_one_100::380::root:: Setting selinux context 2013-04-19 21:48:54::DEBUG::nfsutils::119::root:: setting selinux context for /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:54::DEBUG::common_utils::456::root:: Executing command --> '/usr/sbin/semanage fcontext -a -t public_content_rw_t /var/lib/images_2013_04_19_21_46_58(/.*)?' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::common_utils::456::root:: Executing command --> '/sbin/restorecon -r /var/lib/images_2013_04_19_21_46_58' in working directory '/root' 2013-04-19 21:48:55::DEBUG::common_utils::494::root:: output = 2013-04-19 21:48:55::DEBUG::common_utils::495::root:: stderr = 2013-04-19 21:48:55::DEBUG::common_utils::496::root:: retcode = 0 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running waitForJbossUp 2013-04-19 21:48:55::DEBUG::all_in_one_100::451::root:: Checking JBoss status. 2013-04-19 21:48:55::INFO::all_in_one_100::454::root:: JBoss is up and running. 2013-04-19 21:48:55::DEBUG::setup_sequences::59::root:: running initAPI 2013-04-19 21:48:55::DEBUG::all_in_one_100::240::root:: Initiating the API object 2013-04-19 21:48:56::ERROR::all_in_one_100::251::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 248, in initAPI ca_file=basedefs.FILE_CA_CRT_SRC, File "/usr/lib/python2.7/site-packages/ovirtsdk/api.py", line 119, in __init__ url='/api' File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 112, in request persistent_auth=self._persistent_auth) File "/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py", line 134, in __doRequest persistent_auth=persistent_auth File "/usr/lib/python2.7/site-packages/ovirtsdk/web/connection.py", line 133, in doRequest raise RequestError, response RequestError: status: 401 reason: Unauthorized detail: HTTP Status 401
2013-04-19 21:48:56::DEBUG::setup_sequences::62::root:: Traceback (most recent call last): File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object
2013-04-19 21:48:56::DEBUG::engine-setup::2064::root:: *** The following params were used as user input: 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-config: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: http-port: 80 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: https-port: 443 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: override-httpd-root: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: random-passwords: no 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: mac-range: 00:1A:4A:A8:C3:00-00:1A:4A:A8:C3:FF 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: host-fqdn: engine.startn.com <http://engine.startn.com> 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: auth-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: org-name: startn.com <http://startn.com> 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: application-mode: both 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: default-dc-type: NFS 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-remote-install: local 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-host: localhost 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: db-local-pass: ******** 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: nfs-mp: /var/lib/exports/iso_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: iso-domain-name: ISO_DOMAIN 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-nfs: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: firewall-manager: None 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: config-allinone: yes 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: storage-path: /var/lib/images_2013_04_19_21_46_58 2013-04-19 21:48:56::DEBUG::engine-setup::2069::root:: superuser-pass: ******** 2013-04-19 21:48:56::ERROR::engine-setup::2504::root:: Traceback (most recent call last): File "/usr/bin/engine-setup", line 2498, in <module> main(confFile) File "/usr/bin/engine-setup", line 2265, in main runSequences() File "/usr/bin/engine-setup", line 2184, in runSequences controller.runAllSequences() File "/usr/share/ovirt-engine/scripts/setup_controller.py", line 54, in runAllSequences sequence.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 154, in run step.run() File "/usr/share/ovirt-engine/scripts/setup_sequences.py", line 60, in run function() File "/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py", line 252, in initAPI raise Exception(ERROR_CREATE_API_OBJECT) Exception: Error: could not create ovirtsdk API object ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------
2013/4/20 李强 <liqiang.net@gmail.com <mailto:liqiang.net@gmail.com>>
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
Thanks again your help,
HI:All
见信平安,
--- 有问题请通知我,谢谢, 李强
------------------------------------------------------------------------------
+ 太初有道,道与神同在,道就是神。(约翰福音1:1) + ------------------------------------------------------------------------------
2013/4/19 Alon Bar-Lev <alonbl@redhat.com <mailto:alonbl@redhat.com>>
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@gmail.com <mailto:liqiang.net@gmail.com>> > To: engine-devel@ovirt.org <mailto:engine-devel@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@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 <http://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 <http://4.0.2.GA> ] to > [lib/hibernate-validator.jar] > [INFO] Copying artifact [jar:javax.validation:validation-api: 1.0.0.GA <http://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@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@ovirt.org <mailto:Engine-devel@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/engine-devel >
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "李强" <liqiang.net@gmail.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: engine-devel@ovirt.org Sent: Saturday, April 20, 2013 4:11:39 AM Subject: Re: [Engine-devel] Why deploy failed? Please help me, thanks.
HI:Alon
Thank your help,
The question: 1,Your email "Close the repository", What does it mean?
I meant clone.
2,Your email "Alternatively, you can try out soon to be merged development environment[1][2]" Is it stable? Can be used in a production environment?
No. This is only for development if you want to add translation.
Thanks again your help,
participants (4)
-
Alon Bar-Lev
-
Itamar Heim
-
Vojtech Szocs
-
李强