Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-11 Thread Alon Bar-Lev


- Original Message -
 From: Yedidyah Bar David d...@redhat.com
 To: Carter Kindley carter.kind...@deusmachine.com, Alon Bar-Lev 
 alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 11, 2015 7:37:25 AM
 Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 - Original Message -
  From: Carter Kindley carter.kind...@deusmachine.com
  To: Yedidyah Bar David d...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, March 5, 2015 2:22:31 AM
  Subject: RE: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
  
  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
  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 problem.

Since 3.5 only devenv is working under Gentoo, too much binary dependencies.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-10 Thread Yedidyah Bar David
- Original Message -
 From: Carter Kindley carter.kind...@deusmachine.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, March 5, 2015 2:22:31 AM
 Subject: RE: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 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 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 problem.

Thanks,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-04 Thread Carter Kindley
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 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. 

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:d...@redhat.com] 
Sent: Tuesday, March 3, 2015 11:16 PM
To: Carter Kindley; Alon Bar-Lev
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

- Original Message -
 From: Carter Kindley carter.kind...@deusmachine.com
 To: users@ovirt.org
 Sent: Tuesday, March 3, 2015 11:30:59 PM
 Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 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=icedtea-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:d...@redhat.com]
 Sent: Monday, March 2, 2015 11:05 PM
 To: Carter Kindley
 Cc: users@ovirt.org
 Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 - Original Message -
  From: Carter Kindley carter.kind...@deusmachine.com
  To: users@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@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 
specialist or primary technician.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-03 Thread Carter Kindley
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 
--select-vm=icedtea-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). 
OVirt isn't in the main portage tree; I should contact the overlay maintainer 
to correct this script.

Cheers,

Carter Kindley
Network Qualified Technician
Deus Machine, LLC

-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com] 
Sent: Monday, March 2, 2015 11:05 PM
To: Carter Kindley
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

- Original Message -
 From: Carter Kindley carter.kind...@deusmachine.com
 To: users@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-03 Thread Yedidyah Bar David
- Original Message -
 From: Carter Kindley carter.kind...@deusmachine.com
 To: users@ovirt.org
 Sent: Tuesday, March 3, 2015 11:30:59 PM
 Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 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=icedtea-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:d...@redhat.com]
 Sent: Monday, March 2, 2015 11:05 PM
 To: Carter Kindley
 Cc: users@ovirt.org
 Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME
 
 - Original Message -
  From: Carter Kindley carter.kind...@deusmachine.com
  To: users@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@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-03 Thread Roy Golan

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 
--select-vm=icedtea-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). 
OVirt isn't in the main portage tree; I should contact the overlay maintainer 
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=/path/to/icedtea when 
invoking engine-setup

Cheers,

Carter Kindley
Network Qualified Technician
Deus Machine, LLC

-Original Message-
From: Yedidyah Bar David [mailto:d...@redhat.com]
Sent: Monday, March 2, 2015 11:05 PM
To: Carter Kindley
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

- Original Message -

From: Carter Kindley carter.kind...@deusmachine.com
To: users@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@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt engine-setup fails, Cannot get JAVA_HOME

2015-03-02 Thread Yedidyah Bar David
- Original Message -
 From: Carter Kindley carter.kind...@deusmachine.com
 To: users@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

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users