Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 03/12/2013 02:32 PM, Yuval M wrote: OK, applied the patch (commit 6216cb136cff899b4a40eb8edc1d8c2da5330fbd). but still can't get the admin portal to work. the browser is now stuck endlessly waiting once you click 'Admin portal'. logs attached. another thing: $ psql -U postgres engine psql: FATAL: database engine does not exist is this normal? No it isn't normal, the engine database should exist, otherwise nothing will work, and it seems it is the cause of the problem. Are you sure you created the database? By the way, areyou in the IRC channel #ovirt? My nick there is jhernand, feel free to ping me, it may be faster to diagnose this issue using IRC. Yuval On Tue, Mar 12, 2013 at 11:09 AM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: You are right, this is a consequence of a problem that was fixed in the master branch, but that is not included in the 3.2 release. I just back-ported it to the 3.2 branch, and it is available for review here: http://gerrit.ovirt.org/12957 Any chances that you can apply and test this patch? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
OK, brand new machine, Fedora 18 (x64), Trying to install Ovirt 3.2 from sources according to: http://www.ovirt.org/Building_**Engine_Drafthttp://www.ovirt.org/Building_Engine_Draft Everything is good up to the following stage: Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/installation/etc/sysconfig/ovirt-engine The sysconfig directory does not exist. so does the ovirt-engine configuration file (searched through the $HOME/ovirt-engine tree). I didn't find any code in the Makefile ($HOME/ovirt-engine/repository/Makefile) that would create them, What am I missing? Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com, users@ovirt.org Cc: Limor Gavish lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/**engine.ear/webadmin.war/META-** INF/maven/org.ovirt.engine.ui/**webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/**engine.ear/webadmin.war/404.**html checkdir error: /usr/local/share/ovirt-engine/**engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/**engine/core/bll/VdsDeploy$32.**class. checkdir error: /usr/local/share/ovirt-engine/**engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/**engine/core/bll/** InitBackendServicesOnStartupBe**an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6. Now you can start the engine running the engine-service script: engine-service start Look at the system log (the file /var/log/messages) and the engine logs (the files /var/log/ovirt-engine/server. log and /var/log/ovirt-engine) for errors. 7. Connect to http://localhost:8700 and you should be able to login with user admin and letmein! as password. Note that I am assuming that you already created the database, and that you want to use this installation for development. If you are looking for an production installation I suggest using the RPMs. Also I tested this with the latest source from the repository, it will not work with older versions. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. Any progress here? Yuval, that will not work with 3.1. Please use 3.2 and the following instructions: http://www.ovirt.org/Building_**Engine_Drafthttp://www.ovirt.org/Building_Engine_Draft -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 03/08/2013 03:49 PM, Yuval M wrote: OK, brand new machine, Fedora 18 (x64), Trying to install Ovirt 3.2 from sources according to: http://www.ovirt.org/Building___Engine_Draft http://www.ovirt.org/Building_Engine_Draft Everything is good up to the following stage: Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/installation/etc/sysconfig/ovirt-engine The sysconfig directory does not exist. so does the ovirt-engine configuration file (searched through the $HOME/ovirt-engine tree). I didn't find any code in the Makefile ($HOME/ovirt-engine/repository/Makefile) that would create them, What am I missing? This has changed recently and I didn't update that wiki page. The /etc/sysconig/ovirt-engine file has been replaced by /etc/ovirt-engine/engine.conf. Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com mailto:yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com, users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/META-__INF/maven/org.ovirt.engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/404.__html checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/VdsDeploy$32.__class. checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/__InitBackendServicesOnStartupBe__an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 03/08/2013 03:51 PM, Juan Hernandez wrote: On 03/08/2013 03:49 PM, Yuval M wrote: OK, brand new machine, Fedora 18 (x64), Trying to install Ovirt 3.2 from sources according to: http://www.ovirt.org/Building___Engine_Draft http://www.ovirt.org/Building_Engine_Draft Everything is good up to the following stage: Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/installation/etc/sysconfig/ovirt-engine The sysconfig directory does not exist. so does the ovirt-engine configuration file (searched through the $HOME/ovirt-engine tree). I didn't find any code in the Makefile ($HOME/ovirt-engine/repository/Makefile) that would create them, What am I missing? This has changed recently and I didn't update that wiki page. The /etc/sysconig/ovirt-engine file has been replaced by /etc/ovirt-engine/engine.conf. But wait, this change was made in the master branch, not in 3.2, so it shouldn't be a problem. Are you sure you are using the engine_3.2 branch? Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com mailto:yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com, users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/META-__INF/maven/org.ovirt.engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/404.__html checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/VdsDeploy$32.__class. checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/__InitBackendServicesOnStartupBe__an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
checked out to 3.2 branch, now the configuration file was as detailed in the wiki. after configuring it I try to start the engine and get: [wil@bufferoverflow bin]$ pwd /home/wil/ovirt-engine/installation/bin [wil@bufferoverflow bin]$ ./engine-service start Traceback (most recent call last): File ./engine-service, line 23, in module import configobj ImportError: No module named configobj [wil@bufferoverflow bin]$ On Fri, Mar 8, 2013 at 5:05 PM, Juan Hernandez jhern...@redhat.com wrote: On 03/08/2013 03:51 PM, Juan Hernandez wrote: On 03/08/2013 03:49 PM, Yuval M wrote: OK, brand new machine, Fedora 18 (x64), Trying to install Ovirt 3.2 from sources according to: http://www.ovirt.org/Building_**__Engine_Drafthttp://www.ovirt.org/Building___Engine_Draft http://www.ovirt.org/**Building_Engine_Drafthttp://www.ovirt.org/Building_Engine_Draft Everything is good up to the following stage: Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/**installation/etc/sysconfig/**ovirt-engine The sysconfig directory does not exist. so does the ovirt-engine configuration file (searched through the $HOME/ovirt-engine tree). I didn't find any code in the Makefile ($HOME/ovirt-engine/**repository/Makefile) that would create them, What am I missing? This has changed recently and I didn't update that wiki page. The /etc/sysconig/ovirt-engine file has been replaced by /etc/ovirt-engine/engine.conf. But wait, this change was made in the master branch, not in 3.2, so it shouldn't be a problem. Are you sure you are using the engine_3.2 branch? Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com mailto: yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com, users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/**__engine.ear/webadmin.war/* *META-__INF/maven/org.ovirt.**engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/** __engine.ear/webadmin.war/404.**__html checkdir error: /usr/local/share/ovirt-engine/**__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__**engine/core/bll/VdsDeploy$32._ **_class. checkdir error: /usr/local/share/ovirt-engine/**__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__**engine/core/bll/__** InitBackendServicesOnStartupBe**__an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 03/08/2013 05:14 PM, Yuval M wrote: checked out to 3.2 branch, now the configuration file was as detailed in the wiki. after configuring it I try to start the engine and get: [wil@bufferoverflow bin]$ pwd /home/wil/ovirt-engine/installation/bin [wil@bufferoverflow bin]$ ./engine-service start Traceback (most recent call last): File ./engine-service, line 23, in module import configobj ImportError: No module named configobj [wil@bufferoverflow bin]$ Ok, this is because the service script needs the python-configobj and python-cheetah packages: yum install python-configobj python-cheetah On Fri, Mar 8, 2013 at 5:05 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 03/08/2013 03:51 PM, Juan Hernandez wrote: On 03/08/2013 03:49 PM, Yuval M wrote: OK, brand new machine, Fedora 18 (x64), Trying to install Ovirt 3.2 from sources according to: http://www.ovirt.org/Building_Engine_Draft http://www.ovirt.org/Building___Engine_Draft http://www.ovirt.org/__Building_Engine_Draft http://www.ovirt.org/Building_Engine_Draft Everything is good up to the following stage: Now you need to do some adjustments to the configuration file $HOME/ovirt-engine/__installation/etc/sysconfig/__ovirt-engine The sysconfig directory does not exist. so does the ovirt-engine configuration file (searched through the $HOME/ovirt-engine tree). I didn't find any code in the Makefile ($HOME/ovirt-engine/__repository/Makefile) that would create them, What am I missing? This has changed recently and I didn't update that wiki page. The /etc/sysconig/ovirt-engine file has been replaced by /etc/ovirt-engine/engine.conf. But wait, this change was made in the master branch, not in 3.2, so it shouldn't be a problem. Are you sure you are using the engine_3.2 branch? Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com, users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/__META-__INF/maven/org.ovirt.__engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/404.html checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/VdsDeploy$32.class. checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com wrote
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com**, users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/** engine.ear/webadmin.war/__**META-__INF/maven/org.ovirt.__** engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/** engine.ear/webadmin.war/**404.html checkdir error: /usr/local/share/ovirt-engine/** engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/** engine/core/bll/VdsDeploy$32._**___class. checkdir error: /usr/local/share/ovirt-engine/** engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/**engine/core/bll/** InitBackendServicesOnStartupBe**an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
them, What am I missing? This has changed recently and I didn't update that wiki page. The /etc/sysconig/ovirt-engine file has been replaced by /etc/ovirt-engine/engine.conf. But wait, this change was made in the master branch, not in 3.2, so it shouldn't be a problem. Are you sure you are using the engine_3.2 branch? Thanks, Yuval On Tue, Feb 26, 2013 at 3:25 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com__, users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/META-__INF/maven/org.ovirt.engine.ui/__webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/__engine.ear/webadmin.war/__404.html checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/VdsDeploy$32.__class. checkdir error: /usr/local/share/ovirt-engine/__engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/__engine/core/bll/__InitBackendServicesOnStartupBe__an.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com mailto:yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com, users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org mailto:users@ovirt.org Cc: Limor Gavish lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com mailto:lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/__META-__INF/maven/org.__ovirt.engine.ui/webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/404.html checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.__jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/VdsDeploy$32.class. checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.__jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com mailto:jhern...@redhat.com
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
- Original Message - From: Yuval M yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com, users@ovirt.org Cc: Limor Gavish lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/META-INF/maven/org.ovirt.engine.ui/webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/404.html checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/VdsDeploy$32.class. checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6. Now you can start the engine running the engine-service script: engine-service start Look at the system log (the file /var/log/messages) and the engine logs (the files /var/log/ovirt-engine/server. log and /var/log/ovirt-engine) for errors. 7. Connect to http://localhost:8700 and you should be able to login with user admin and letmein! as password. Note that I am assuming that you already created the database, and that you want to use this installation for development. If you are looking for an production installation I suggest using the RPMs. Also I tested this with the latest source from the repository, it will not work with older versions. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. Any progress here? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 02/26/2013 02:19 PM, Doron Fediuck wrote: - Original Message - From: Yuval M yuva...@gmail.com To: Juan Hernandez jhern...@redhat.com, users@ovirt.org Cc: Limor Gavish lgav...@gmail.com Sent: Sunday, February 24, 2013 11:38:12 PM Subject: Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop. Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/META-INF/maven/org.ovirt.engine.ui/webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/404.html checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/VdsDeploy$32.class. checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_ oVirt_engine#Deploying_engine- config_.26_engine-manage- domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/ deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6. Now you can start the engine running the engine-service script: engine-service start Look at the system log (the file /var/log/messages) and the engine logs (the files /var/log/ovirt-engine/server. log and /var/log/ovirt-engine) for errors. 7. Connect to http://localhost:8700 and you should be able to login with user admin and letmein! as password. Note that I am assuming that you already created the database, and that you want to use this installation for development. If you are looking for an production installation I suggest using the RPMs. Also I tested this with the latest source from the repository, it will not work with older versions. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. Any progress here? Yuval, that will not work with 3.1. Please use 3.2 and the following instructions: http://www.ovirt.org/Building_Engine_Draft -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
Still having trouble with the build process (Ovirt 3.1): $ sudo make ... (success) ... $ sudo make install ... inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/META-INF/maven/org.ovirt.engine.ui/webadmin/pom.xml inflating: /usr/local/share/ovirt-engine/engine.ear/webadmin.war/404.html checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/VdsDeploy$32.class. checkdir error: /usr/local/share/ovirt-engine/engine.ear/engine-bll.jar exists but is not directory unable to process engine-bll.jar/org/ovirt/engine/core/bll/InitBackendServicesOnStartupBean.class. ... make: *** [install_artifacts] Error 2 any insights? Thanks... On Thu, Jan 24, 2013 at 8:52 PM, Juan Hernandez jhern...@redhat.com wrote: On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_**oVirt_engine#Deploying_engine-** config_.26_engine-manage-**domainshttp://www.ovirt.org/Building_oVirt_engine#Deploying_engine-config_.26_engine-manage-domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/**deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6. Now you can start the engine running the engine-service script: engine-service start Look at the system log (the file /var/log/messages) and the engine logs (the files /var/log/ovirt-engine/server.**log and /var/log/ovirt-engine) for errors. 7. Connect to http://localhost:8700 and you should be able to login with user admin and letmein! as password. Note that I am assuming that you already created the database, and that you want to use this installation for development. If you are looking for an production installation I suggest using the RPMs. Also I tested this with the latest source from the repository, it will not work with older versions. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.
On 01/24/2013 04:20 PM, Yuval M wrote: Hi, I'm installing Ovirt 3.1 on Fedora using this guide: http://www.ovirt.org/Building_oVirt_engine#Deploying_engine-config_.26_engine-manage-domains and I'm getting the error in the subject from make. there is indeed no rule for install_tools in the makefile. What am I missing? Those instructions are out of date, use make install. That installs the files, but you will still need some changes to make the engine work: 1. Create the ovirt user (the engine runs by default with this service, unless you change the /etc/syscofig/ovirt-engine file and add the ENGINE_USER and ENGINE_GROUP parameters): useradd ovirt 2. Create (mkdir -p ...) and change the ownership of the directories that the engine needs to own to ovirt:ovirt (chown ovirt:ovirt ...): /etc/ovirt-engine /var/log/ovirt-engine /var/lock/ovirt-engine /var/lib/ovirt-engine/content /var/lib/ovirt-engine/deployments /var/tmp/ovirt-engine /var/cache/ovirt-engine 3. Enable the HTTP connector in the engine (the default is to enable only AJP, and that doesn't work without Apache as frontend) adding the following to the /etc/sysconfig/ovirt-engine file: ENGINE_PROXY_ENABLED=false ENGINE_HTTP_ENABLED=true ENGINE_HTTP_PORT=8700 ENGINE_HTTPS_ENABLED=false ENGINE_AJP_ENABLED=false 4. Configure database connection details (the default in development environments is to use the postgres user and the trust mode) adding this to /etc/sysconfig/ovirt-engine: ENGINE_DB_USER=postgres ENGINE_DB_PASSWORD= 5. Make sure that you have the PostgreSQL JDBC driver installed (rpm -q postgresql-jdbc) and install it if needed (yum install postgresql-jdbc). 6. Now you can start the engine running the engine-service script: engine-service start Look at the system log (the file /var/log/messages) and the engine logs (the files /var/log/ovirt-engine/server.log and /var/log/ovirt-engine) for errors. 7. Connect to http://localhost:8700 and you should be able to login with user admin and letmein! as password. Note that I am assuming that you already created the database, and that you want to use this installation for development. If you are looking for an production installation I suggest using the RPMs. Also I tested this with the latest source from the repository, it will not work with older versions. -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users