From Carter.Kindley at deusmachine.com Mon Mar 2 20:06:47 2015 Content-Type: multipart/mixed; boundary="===============4595769203950448802==" MIME-Version: 1.0 From: Carter Kindley To: users at ovirt.org Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Tue, 03 Mar 2015 01:06:44 +0000 Message-ID: --===============4595769203950448802== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_BCF08373E16D3843B036DB74CC2BC62804FC4441VINZCLORTHOdeus_ Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable Hello folks, After a long, long time compiling permutations, I went to finish setup of o= =3D virt-engine on my Gentoo testbed. Running engine-setup, I receive an error = =3D after answering all prompts: [ ERROR ] Failed to execute stage 'Setup validation': Cannot get JAVA_HOME = =3D ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be found\x1b[0m']) This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields /etc/jav= =3D a-config-2/current-system-vm which is linked to the icedtea-bin VM director= =3D y. Any thoughts to get me started? Thanks, Carter Kindley Network Qualified Technician Deus Machine, LLC This email has been scanned for viruses and private content. =3D0D =3D0D This message has been secured for compliance with the DM Cloud Mail Filter = =3D Service. =3D0D =3D0D For details on inbound and outbound filtering please contact your account s= =3D pecialist or primary technician.=3D --_000_BCF08373E16D3843B036DB74CC2BC62804FC4441VINZCLORTHOdeus_ Content-Type: text/html; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable

Hello folks,

 

After a long, long time compiling permutations, I = we=3D nt to finish setup of ovirt-engine on my Gentoo testbed. Running engine-set= =3D up, I receive an error after answering all prompts:

 

[ ERROR ] Failed to execute stage 'Setup validatio= n'=3D : Cannot get JAVA_HOME ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not b= =3D e found\x1b[0m'])

 

This machine has icedtea-bin-7.2.5.3, and # echo $= JA=3D VA_HOME yields /etc/java-config-2/current-system-vm which is linked to the = =3D icedtea-bin VM directory. Any thoughts to get me started?

 

Thanks,

 

Carter Kindley

Network Qualified Technician

Deus Machine, LLC


This email has been scanned for viruses and private content. =3D0D

=3D0D This message has been secured for compliance with the DM Cloud Mail Filter = =3D Service. =3D0D

=3D0D For details on inbound and outbound filtering please contact your account s= =3D pecialist or primary technician.  ­­   --_000_BCF08373E16D3843B036DB74CC2BC62804FC4441VINZCLORTHOdeus_-- --===============4595769203950448802== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" Ci0tXzAwMF9CQ0YwODM3M0UxNkQzODQzQjAzNkRCNzRDQzJCQzYyODA0RkM0NDQxVklOWkNMT1JU SE9kZXVzXwpDb250ZW50LVR5cGU6IHRleHQvcGxhaW47IGNoYXJzZXQ9InVzLWFzY2lpIgpDb250 ZW50LVRyYW5zZmVyLUVuY29kaW5nOiBxdW90ZWQtcHJpbnRhYmxlCgpIZWxsbyBmb2xrcywKCkFm dGVyIGEgbG9uZywgbG9uZyB0aW1lIGNvbXBpbGluZyBwZXJtdXRhdGlvbnMsIEkgd2VudCB0byBm aW5pc2ggc2V0dXAgb2Ygbz0KdmlydC1lbmdpbmUgb24gbXkgR2VudG9vIHRlc3RiZWQuIFJ1bm5p bmcgZW5naW5lLXNldHVwLCBJIHJlY2VpdmUgYW4gZXJyb3IgPQphZnRlciBhbnN3ZXJpbmcgYWxs IHByb21wdHM6CgpbIEVSUk9SIF0gRmFpbGVkIHRvIGV4ZWN1dGUgc3RhZ2UgJ1NldHVwIHZhbGlk YXRpb24nOiBDYW5ub3QgZ2V0IEpBVkFfSE9NRSA9CihbdSdceDFiWzAxbVx4MWJbMzE7MDZtISEh IEVSUk9SOiBUaGUgdm0gY291bGQgbm90IGJlIGZvdW5kXHgxYlswbSddKQoKVGhpcyBtYWNoaW5l IGhhcyBpY2VkdGVhLWJpbi03LjIuNS4zLCBhbmQgIyBlY2hvICRKQVZBX0hPTUUgeWllbGRzIC9l dGM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WNobmljaWFu PG86cD48L286cD48L3A+CjxwIGNsYXNzPTNEIk1zb05vcm1hbCI+RGV1cyBNYWNoaW5lLCBMTEM8 bzpwPjwvbzpwPjwvcD4KPC9kaXY+Cjxicj5UaGlzIGVtYWlsIGhhcyBiZWVuIHNjYW5uZWQgZm9y IHZpcnVzZXMgYW5kIHByaXZhdGUgY29udGVudC4gPTBECjxwPj0wRApUaGlzIG1lc3NhZ2UgaGFz IGJlZW4gc2VjdXJlZCBmb3IgY29tcGxpYW5jZSB3aXRoIHRoZSBETSBDbG91ZCBNYWlsIEZpbHRl ciA9ClNlcnZpY2UuID0wRAo8cD49MEQKRm9yIGRldGFpbHMgb24gaW5ib3VuZCBhbmQgb3V0Ym91 bmQgZmlsdGVyaW5nIHBsZWFzZSBjb250YWN0IHlvdXIgYWNjb3VudCBzPQpwZWNpYWxpc3Qgb3Ig cHJpbWFyeSB0ZWNobmljaWFuLiZuYnNwOyZuYnNwOyZzaHk7JnNoeTsmbmJzcDsmbmJzcDs8L2Jv ZHk+CjwvaHRtbD4KCi0tXzAwMF9CQ0YwODM3M0UxNkQzODQzQjAzNkRCNzRDQzJCQzYyODA0RkM0 NDQxVklOWkNMT1JUSE9kZXVzXy0tCg== --===============4595769203950448802==-- From didi at redhat.com Tue Mar 3 02:05:23 2015 Content-Type: multipart/mixed; boundary="===============5794447580787999979==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Tue, 03 Mar 2015 02:05:19 -0500 Message-ID: <1826820601.21186831.1425366319274.JavaMail.zimbra@redhat.com> In-Reply-To: BCF08373E16D3843B036DB74CC2BC62804FC4441@VINZCLORTHO.deusmachine.local --===============5794447580787999979== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Carter Kindley" > To: users(a)ovirt.org > Sent: Tuesday, March 3, 2015 3:06:44 AM > Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" > = > = > = > Hello folks, > = > = > = > After a long, long time compiling permutations, I went to finish setup of > ovirt-engine on my Gentoo testbed. Running engine-setup, I receive an err= or > after answering all prompts: > = > = > = > [ ERROR ] Failed to execute stage 'Setup validation': Cannot get JAVA_HOME > ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be found\x1b[0m']) > = > = > = > This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields > /etc/java-config-2/current-system-vm which is linked to the icedtea-bin VM > directory. Any thoughts to get me started? The jre to use is determined by the script java-home (usually in /usr/share/ovirt-engine/bin, not sure about gentoo and/or your $PREFIX). IIRC only openjdk 1.7.0 is supported. If you look at this script, you see that if you put in its directory a script called java-home.local it will be called instead, thus letting you override that. Just add there a script outputting the JAVA_HOME you want and retry. Best, -- = Didi --===============5794447580787999979==-- From Carter.Kindley at deusmachine.com Tue Mar 3 16:31:01 2015 Content-Type: multipart/mixed; boundary="===============6185400511040892184==" MIME-Version: 1.0 From: Carter Kindley To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Tue, 03 Mar 2015 21:30:59 +0000 Message-ID: In-Reply-To: 1826820601.21186831.1425366319274.JavaMail.zimbra@redhat.com --===============6185400511040892184== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Thanks, Didi! That really helped. I could not figure out what was getting parsed to set J= AVA_HOME, thanks for indicating those scripts. In my environment there is a= java-home.local; it pulls the home by running # exec java-config --select-= vm=3Dicedtea-7 --jre-home , which outputs a warning message because I have= icedtea-bin-7 installed. I could change this script, or emerge icedtea-7 f= rom sources (which is what I'll do, since I am not partial to binary builds= ). OVirt isn't in the main portage tree; I should contact the overlay maint= ainer to correct this script. Cheers, Carter Kindley Network Qualified Technician Deus Machine, LLC -----Original Message----- From: Yedidyah Bar David [mailto:didi(a)redhat.com] = Sent: Monday, March 2, 2015 11:05 PM To: Carter Kindley Cc: users(a)ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" ----- Original Message ----- > From: "Carter Kindley" > To: users(a)ovirt.org > Sent: Tuesday, March 3, 2015 3:06:44 AM > Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" > = > = > = > Hello folks, > = > = > = > After a long, long time compiling permutations, I went to finish setup = > of ovirt-engine on my Gentoo testbed. Running engine-setup, I receive = > an error after answering all prompts: > = > = > = > [ ERROR ] Failed to execute stage 'Setup validation': Cannot get = > JAVA_HOME ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be = > found\x1b[0m']) > = > = > = > This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields = > /etc/java-config-2/current-system-vm which is linked to the = > icedtea-bin VM directory. Any thoughts to get me started? The jre to use is determined by the script java-home (usually in /usr/share= /ovirt-engine/bin, not sure about gentoo and/or your $PREFIX). IIRC only openjdk 1.7.0 is supported. If you look at this script, you see t= hat if you put in its directory a script called java-home.local it will be = called instead, thus letting you override that. Just add there a script out= putting the JAVA_HOME you want and retry. Best, -- Didi This email has been scanned for viruses and private content. = This message has been secured for compliance with the DM Cloud Mail Filter = Service. = For details on inbound and outbound filtering please contact your account s= pecialist or primary technician. --===============6185400511040892184==-- From rgolan at redhat.com Wed Mar 4 02:05:39 2015 Content-Type: multipart/mixed; boundary="===============3025496444281772730==" MIME-Version: 1.0 From: Roy Golan To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Wed, 04 Mar 2015 09:05:35 +0200 Message-ID: <54F6AEBF.2040001@redhat.com> In-Reply-To: BCF08373E16D3843B036DB74CC2BC62804FC5366@VINZCLORTHO.deusmachine.local --===============3025496444281772730== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 03/03/2015 11:30 PM, Carter Kindley wrote: > Thanks, Didi! > > That really helped. I could not figure out what was getting parsed to set= JAVA_HOME, thanks for indicating those scripts. In my environment there is= a java-home.local; it pulls the home by running # exec java-config --selec= t-vm=3Dicedtea-7 --jre-home , which outputs a warning message because I ha= ve icedtea-bin-7 installed. I could change this script, or emerge icedtea-7= from sources (which is what I'll do, since I am not partial to binary buil= ds). OVirt isn't in the main portage tree; I should contact the overlay mai= ntainer to correct this script. might be that iced-tea won't pass the check of validJre in the script = above-mentioned. 2 options: 1. install openjdk 7 2. force use your JRE with OVIRT_ENGINE_JAVA_HOME=3D/path/to/icedtea when = invoking engine-setup > Cheers, > > Carter Kindley > Network Qualified Technician > Deus Machine, LLC > > -----Original Message----- > From: Yedidyah Bar David [mailto:didi(a)redhat.com] > Sent: Monday, March 2, 2015 11:05 PM > To: Carter Kindley > Cc: users(a)ovirt.org > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > > ----- Original Message ----- >> From: "Carter Kindley" >> To: users(a)ovirt.org >> Sent: Tuesday, March 3, 2015 3:06:44 AM >> Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" >> >> >> >> Hello folks, >> >> >> >> After a long, long time compiling permutations, I went to finish setup >> of ovirt-engine on my Gentoo testbed. Running engine-setup, I receive >> an error after answering all prompts: >> >> >> >> [ ERROR ] Failed to execute stage 'Setup validation': Cannot get >> JAVA_HOME ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be >> found\x1b[0m']) >> >> >> >> This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields >> /etc/java-config-2/current-system-vm which is linked to the >> icedtea-bin VM directory. Any thoughts to get me started? > The jre to use is determined by the script java-home (usually in /usr/sha= re/ovirt-engine/bin, not sure about gentoo and/or your $PREFIX). > IIRC only openjdk 1.7.0 is supported. If you look at this script, you see= that if you put in its directory a script called java-home.local it will b= e called instead, thus letting you override that. Just add there a script o= utputting the JAVA_HOME you want and retry. > > Best, > -- > Didi > > > This email has been scanned for viruses and private content. > > This message has been secured for compliance with the DM Cloud Mail Filte= r Service. > > For details on inbound and outbound filtering please contact your account= specialist or primary technician. > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users --===============3025496444281772730==-- From didi at redhat.com Wed Mar 4 02:15:49 2015 Content-Type: multipart/mixed; boundary="===============2667325760304887963==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Wed, 04 Mar 2015 02:15:47 -0500 Message-ID: <1645434950.21978416.1425453347964.JavaMail.zimbra@redhat.com> In-Reply-To: BCF08373E16D3843B036DB74CC2BC62804FC5366@VINZCLORTHO.deusmachine.local --===============2667325760304887963== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Carter Kindley" > To: users(a)ovirt.org > Sent: Tuesday, March 3, 2015 11:30:59 PM > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > Thanks, Didi! > = > That really helped. I could not figure out what was getting parsed to set > JAVA_HOME, thanks for indicating those scripts. In my environment there i= s a > java-home.local; Probably added by Alon. > it pulls the home by running # exec java-config > --select-vm=3Dicedtea-7 --jre-home , which outputs a warning message bec= ause > I have icedtea-bin-7 installed. I could change this script, or emerge > icedtea-7 from sources (which is what I'll do, since I am not partial to > binary builds). Seems simplest to me. > OVirt isn't in the main portage tree; I should contact the > overlay maintainer to correct this script. That's Alon, iiuc... Alon - any problem using the binary build? Best regards, -- = Didi > = > Cheers, > = > Carter Kindley > Network Qualified Technician > Deus Machine, LLC > = > -----Original Message----- > From: Yedidyah Bar David [mailto:didi(a)redhat.com] > Sent: Monday, March 2, 2015 11:05 PM > To: Carter Kindley > Cc: users(a)ovirt.org > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > ----- Original Message ----- > > From: "Carter Kindley" > > To: users(a)ovirt.org > > Sent: Tuesday, March 3, 2015 3:06:44 AM > > Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" > > = > > = > > = > > Hello folks, > > = > > = > > = > > After a long, long time compiling permutations, I went to finish setup > > of ovirt-engine on my Gentoo testbed. Running engine-setup, I receive > > an error after answering all prompts: > > = > > = > > = > > [ ERROR ] Failed to execute stage 'Setup validation': Cannot get > > JAVA_HOME ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be > > found\x1b[0m']) > > = > > = > > = > > This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields > > /etc/java-config-2/current-system-vm which is linked to the > > icedtea-bin VM directory. Any thoughts to get me started? > = > The jre to use is determined by the script java-home (usually in > /usr/share/ovirt-engine/bin, not sure about gentoo and/or your $PREFIX). > IIRC only openjdk 1.7.0 is supported. If you look at this script, you see > that if you put in its directory a script called java-home.local it will = be > called instead, thus letting you override that. Just add there a script > outputting the JAVA_HOME you want and retry. > = > Best, > -- > Didi > = > = > This email has been scanned for viruses and private content. > = > This message has been secured for compliance with the DM Cloud Mail Filter > Service. > = > For details on inbound and outbound filtering please contact your account > specialist or primary technician. > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users >=20 --===============2667325760304887963==-- From Carter.Kindley at deusmachine.com Wed Mar 4 19:22:34 2015 Content-Type: multipart/mixed; boundary="===============2124784747333886027==" MIME-Version: 1.0 From: Carter Kindley To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Thu, 05 Mar 2015 00:22:31 +0000 Message-ID: In-Reply-To: 1645434950.21978416.1425453347964.JavaMail.zimbra@redhat.com --===============2124784747333886027== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hey folks, Icedtea-7 allows engine-setup to complete - almost... = The setup now fails on cleanup: "[ ERROR ] Failed to execute stage 'Closing= up': Command '/usr/bin/systemctl' failed to execute". The log files indica= te that systemctl is attempting to start a unit file (presumably ovirt-engi= ne.service) which does not exist. I'm happy to write my own, but it would b= e awesome to see what is used as best practice from the oVirt community. = Thanks so much for the responses already. I appreciate it! Carter Kindley Network Qualified Technician Deus Machine, LLC -----Original Message----- From: Yedidyah Bar David [mailto:didi(a)redhat.com] = Sent: Tuesday, March 3, 2015 11:16 PM To: Carter Kindley; Alon Bar-Lev Cc: users(a)ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" ----- Original Message ----- > From: "Carter Kindley" > To: users(a)ovirt.org > Sent: Tuesday, March 3, 2015 11:30:59 PM > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > Thanks, Didi! > = > That really helped. I could not figure out what was getting parsed to = > set JAVA_HOME, thanks for indicating those scripts. In my environment = > there is a java-home.local; Probably added by Alon. > it pulls the home by running # exec java-config > --select-vm=3Dicedtea-7 --jre-home , which outputs a warning message = > because I have icedtea-bin-7 installed. I could change this script, or = > emerge > icedtea-7 from sources (which is what I'll do, since I am not partial = > to binary builds). Seems simplest to me. > OVirt isn't in the main portage tree; I should contact the overlay = > maintainer to correct this script. That's Alon, iiuc... Alon - any problem using the binary build? Best regards, -- Didi > = > Cheers, > = > Carter Kindley > Network Qualified Technician > Deus Machine, LLC > = > -----Original Message----- > From: Yedidyah Bar David [mailto:didi(a)redhat.com] > Sent: Monday, March 2, 2015 11:05 PM > To: Carter Kindley > Cc: users(a)ovirt.org > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > ----- Original Message ----- > > From: "Carter Kindley" > > To: users(a)ovirt.org > > Sent: Tuesday, March 3, 2015 3:06:44 AM > > Subject: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" > > = > > = > > = > > Hello folks, > > = > > = > > = > > After a long, long time compiling permutations, I went to finish = > > setup of ovirt-engine on my Gentoo testbed. Running engine-setup, I = > > receive an error after answering all prompts: > > = > > = > > = > > [ ERROR ] Failed to execute stage 'Setup validation': Cannot get = > > JAVA_HOME ([u'\x1b[01m\x1b[31;06m!!! ERROR: The vm could not be > > found\x1b[0m']) > > = > > = > > = > > This machine has icedtea-bin-7.2.5.3, and # echo $JAVA_HOME yields = > > /etc/java-config-2/current-system-vm which is linked to the = > > icedtea-bin VM directory. Any thoughts to get me started? > = > The jre to use is determined by the script java-home (usually in = > /usr/share/ovirt-engine/bin, not sure about gentoo and/or your $PREFIX). > IIRC only openjdk 1.7.0 is supported. If you look at this script, you = > see that if you put in its directory a script called java-home.local = > it will be called instead, thus letting you override that. Just add = > there a script outputting the JAVA_HOME you want and retry. > = > Best, > -- > Didi > = > = > This email has been scanned for viruses and private content. > = > This message has been secured for compliance with the DM Cloud Mail = > Filter Service. > = > For details on inbound and outbound filtering please contact your = > account specialist or primary technician. > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > = This email has been scanned for viruses and private content. = This message has been secured for compliance with the DM Cloud Mail Filter = Service. = For details on inbound and outbound filtering please contact your account s= pecialist or primary technician. --===============2124784747333886027==-- From didi at redhat.com Wed Mar 11 01:37:28 2015 Content-Type: multipart/mixed; boundary="===============4699866116730569855==" MIME-Version: 1.0 From: Yedidyah Bar David To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Wed, 11 Mar 2015 01:37:25 -0400 Message-ID: <222818339.1694812.1426052245501.JavaMail.zimbra@redhat.com> In-Reply-To: BCF08373E16D3843B036DB74CC2BC62804FC6F4F@VINZCLORTHO.deusmachine.local --===============4699866116730569855== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Carter Kindley" > To: "Yedidyah Bar David" > Cc: users(a)ovirt.org > Sent: Thursday, March 5, 2015 2:22:31 AM > Subject: RE: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > Hey folks, > = > Icedtea-7 allows engine-setup to complete - almost... > = > The setup now fails on cleanup: "[ ERROR ] Failed to execute stage 'Closi= ng > up': Command '/usr/bin/systemctl' failed to execute". The log files indic= ate > that systemctl is attempting to start a unit file (presumably > ovirt-engine.service) which does not exist. I'm happy to write my own, but > it would be awesome to see what is used as best practice from the oVirt > community. Adding Alon again :-) Perhaps the unit files are not packaged for gentoo? Please attach setup log files just to make sure this indeed is the problem. Thanks, -- = Didi --===============4699866116730569855==-- From alonbl at redhat.com Wed Mar 11 03:21:37 2015 Content-Type: multipart/mixed; boundary="===============0698322750479088453==" MIME-Version: 1.0 From: Alon Bar-Lev To: users at ovirt.org Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOME" Date: Wed, 11 Mar 2015 03:21:34 -0400 Message-ID: <4405441.1180586.1426058494380.JavaMail.zimbra@redhat.com> In-Reply-To: 222818339.1694812.1426052245501.JavaMail.zimbra@redhat.com --===============0698322750479088453== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable ----- Original Message ----- > From: "Yedidyah Bar David" > To: "Carter Kindley" , "Alon Bar-Lev" <= alonbl(a)redhat.com> > Cc: users(a)ovirt.org > Sent: Wednesday, March 11, 2015 7:37:25 AM > Subject: Re: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_HOM= E" > = > ----- Original Message ----- > > From: "Carter Kindley" > > To: "Yedidyah Bar David" > > Cc: users(a)ovirt.org > > Sent: Thursday, March 5, 2015 2:22:31 AM > > Subject: RE: [ovirt-users] Ovirt engine-setup fails, "Cannot get JAVA_H= OME" > > = > > Hey folks, > > = > > Icedtea-7 allows engine-setup to complete - almost... > > = > > The setup now fails on cleanup: "[ ERROR ] Failed to execute stage 'Clo= sing > > up': Command '/usr/bin/systemctl' failed to execute". The log files > > indicate > > that systemctl is attempting to start a unit file (presumably > > ovirt-engine.service) which does not exist. I'm happy to write my own, = but > > it would be awesome to see what is used as best practice from the oVirt > > community. > = > Adding Alon again :-) Perhaps the unit files are not packaged for gentoo? > = > Please attach setup log files just to make sure this indeed is the proble= m. Since 3.5 only devenv is working under Gentoo, too much binary dependencies. --===============0698322750479088453==--