Re: [Users] engine-setup on rhel6.2 generates error

2012-08-15 Thread Alex Lourie
Andrei

Could you please send the complete installation log file?

Thanks.

- Original Message -
From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
To: Haim Ateya hat...@redhat.com
Cc: Alex Lourie alou...@redhat.com, Ofer Schreiber oschr...@redhat.com, 
users@ovirt.org
Sent: Wednesday, August 15, 2012 5:01:35 PM
Subject: Re: [Users] engine-setup on rhel6.2 generates error

yes /etc/ovirt-engine/web-conf.js exist. Any other ideas. I tried updating box 
to rhels6.3 but same issue. Thanks

var host_fqdn = $HOST_FQDN$
var http_port = $HTTP_PORT$
var https_port = $HTTPS_PORT$
var http_url = http://+host_fqdn+:+http_port
var https_url = https://+host_fqdn+:+https_port

On May 15, 2012, at 4:10 PM, Haim Ateya wrote:

 
 
 - Original Message -
 From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
 To: users@ovirt.org
 Sent: Tuesday, May 15, 2012 7:27:52 PM
 Subject: [Users] engine-setup on rhel6.2 generates error
 
 I am trying to run engine-setup utility on rhels6.2 machines to
 configure ovirt-engine but get an error while starting jboss.
 (Exception: Error while updating jboss ROOT.war directory) Any ideas
 what is happening? Thanks
 
 Andrei
 
 
 oVirt Engine will be installed using the following configuration:
 =
 http-port: 80
 https-port:443
 host-fqdn: xx.cluster.net
 auth-pass: 
 org-name:  NASA LaRC
 default-dc-type:   NFS
 db-remote-install: local
 db-local-pass: 
 config-nfs:no
 override-iptables: no
 Proceed with the configuration listed above? (yes|no): yes
 
 Installing:
 Configuring oVirt-engine...  [ DONE ]
 Creating CA...   [ DONE ]
 Editing JBoss Configuration...[ ERROR ]
 Error while updating jboss ROOT.war directory
 Please check log file
 /var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log for more
 information
 
 
 
 /var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log:
 
  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
  152, in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 59,
  in run
function()
  File /usr/bin/engine-setup, line 906, in _editRootWar
raise Exception(output_messages.ERR_EXP_UPD_ROOT_WAR)
 Exception: Error while updating jboss ROOT.war directory
 
 Hi Andrei, 
 
 We usually run oVirt on Fedora machine. 
 Can you check if the following file exists on your machine: 
 
 /etc/ovirt-engine/web-conf.js
 
 Alex\Ofer - any thoughts ? 
 
 
 
 
 ___
 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: [Users] engine-setup on rhel6.2 generates error

2012-08-15 Thread Andrei Vakhnin
/share/jboss-as/modules/sun/jdk/main/module.xml into 
/usr/share/jboss-as/modules/sun/jdk/main/module.xml.4179477
2012-08-15 10:45:56::DEBUG::common_utils::487::root:: successfully copied file 
/usr/share/jboss-as-7.1.0.Beta1b/modules/sun/jdk/main/module.xml to target 
destination /usr/share/jboss-as/modules/sun/jdk/main/module.xml.4179477
2012-08-15 10:45:56::DEBUG::common_utils::495::root:: setting file 
/usr/share/jboss-as/modules/sun/jdk/main/module.xml.4179477 uid/gid ownership
2012-08-15 10:45:56::DEBUG::common_utils::498::root:: setting file 
/usr/share/jboss-as/modules/sun/jdk/main/module.xml.4179477 mode to -1
2012-08-15 10:45:56::DEBUG::common_utils::487::root:: successfully copied file 
/usr/share/jboss-as-7.1.0.Beta1b/modules/sun/jdk/main/module.xml to target 
destination /usr/share/jboss-as/modules/sun/jdk/main/module.xml.EDIT.3077176
2012-08-15 10:45:56::DEBUG::common_utils::495::root:: setting file 
/usr/share/jboss-as/modules/sun/jdk/main/module.xml.EDIT.3077176 uid/gid 
ownership
2012-08-15 10:45:56::DEBUG::common_utils::498::root:: setting file 
/usr/share/jboss-as/modules/sun/jdk/main/module.xml.EDIT.3077176 mode to -1
2012-08-15 10:45:56::DEBUG::engine-setup::1766::root:: loading xml file handler
2012-08-15 10:45:56::DEBUG::engine-setup::1770::root:: registering name space
2012-08-15 10:45:56::DEBUG::engine-setup::1776::root:: adding path 
name=sun/security/ as node
2012-08-15 10:45:56::DEBUG::engine-setup::1776::root:: adding path 
name=sun/security/krb5/ as node
2012-08-15 10:45:56::DEBUG::engine-setup::1776::root:: adding path 
name=com/sun/jndi/url/ as node
2012-08-15 10:45:56::DEBUG::engine-setup::1776::root:: adding path 
name=com/sun/jndi/url/dns/ as node
2012-08-15 10:45:56::DEBUG::engine-setup::1782::root:: JDK module configuration 
has been saved
2012-08-15 10:45:56::DEBUG::setup_sequences::49::root:: running _editRootWar
2012-08-15 10:45:56::DEBUG::engine-setup::560::root:: Linking 
/etc/ovirt-engine/web-conf.js to 
/usr/share/jboss-as/standalone/deployments/ROOT.war/web-conf.js
2012-08-15 10:45:56::ERROR::engine-setup::563::root:: Traceback (most recent 
call last):
  File /usr/bin/engine-setup, line 561, in _linkHttpParams
os.link(target, link)
OSError: [Errno 18] Invalid cross-device link

2012-08-15 10:45:56::ERROR::engine-setup::677::root:: Traceback (most recent 
call last):
  File /usr/bin/engine-setup, line 661, in _editRootWar
_linkHttpParams()
  File /usr/bin/engine-setup, line 564, in _linkHttpParams
raise Exception(output_messages.ERR_EXP_FAILED_ROOT_WAR)
Exception: Could not copy ROOT.war configuration into Jboss profile

2012-08-15 10:45:56::DEBUG::engine-setup::1679::root:: *** The following params 
were used as user input:
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: http-port: 8080
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: https-port: 8443
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: mac-range: 
00:1A:4A:02:00:00-00:1A:4A:02:00:FF
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: host-fqdn: 
dsrvr130.larc.nasa.gov
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: auth-pass: 
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: db-pass: 
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: org-name: NASA
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: default-dc-type: NFS
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: nfs-mp: /mnt/nfs
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: iso-domain-name: dsrvr130
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: config-nfs: yes
2012-08-15 10:45:56::DEBUG::engine-setup::1684::root:: override-iptables: yes
2012-08-15 10:45:56::ERROR::engine-setup::2375::root:: Traceback (most recent 
call last):
  File /usr/bin/engine-setup, line 2369, in module
main(confFile)
  File /usr/bin/engine-setup, line 2160, in main
runSequences()
  File /usr/bin/engine-setup, line 2118, 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 143, in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 53, in run
raise Exception(instance)
Exception: Error while updating jboss ROOT.war directory







On Aug 15, 2012, at 10:18 AM, Alex Lourie wrote:

 Andrei
 
 Could you please send the complete installation log file?
 
 Thanks.
 
 - Original Message -
 From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
 To: Haim Ateya hat...@redhat.com
 Cc: Alex Lourie alou...@redhat.com, Ofer Schreiber 
 oschr...@redhat.com, users@ovirt.org
 Sent: Wednesday, August 15, 2012 5:01:35 PM
 Subject: Re: [Users] engine-setup on rhel6.2 generates error
 
 yes /etc/ovirt-engine/web-conf.js exist. Any other ideas. I tried updating 
 box to rhels6.3 but same issue. Thanks
 
 var host_fqdn = $HOST_FQDN$
 var http_port = $HTTP_PORT$
 var https_port = $HTTPS_PORT

Re: [Users] engine-setup on rhel6.2 generates error

2012-08-15 Thread Alex Lourie
Andrei

Is it a 3.1 version you're installing? Because according to the code it's 3.1, 
but according to the logs it's a very early version of 3.1 release we had at 
the beginning of the release cycle.

Please let me know.

Alex.


- Original Message -
From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
To: Alex Lourie alou...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Haim Ateya 
hat...@redhat.com
Sent: Wednesday, August 15, 2012 6:03:48 PM
Subject: Re: [Users] engine-setup on rhel6.2 generates error

 engine-setup --http-port=8080 --https-port=8443 --host-fqdn=`hostname -f` 
--auth-pass=123123 --db-pass=123123 --default-dc-type=NFS --config-nfs=yes 
--override-iptables=yes --org-name=NASA LaRC --nfs-mp=/mnt/nfs 
--iso-domain-name=`hostname -s`
Welcome to oVirt Engine setup utility
Warning: Weak Password.
Warning: Weak Password.

oVirt Engine will be installed using the following configuration:
=
http-port: 8080
https-port:8443
host-fqdn: dsrvr130.larc.nasa.gov
auth-pass: 
db-pass:   
org-name:  NASA
default-dc-type:   NFS
nfs-mp:/mnt/nfs
iso-domain-name:   dsrvr130
config-nfs:yes
override-iptables: yes
Proceed with the configuration listed above? (yes|no): y

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...[ ERROR ]
Error while updating jboss ROOT.war directory


LOGS:
2012-08-15 10:45:48::DEBUG::engine-setup::2270::root:: importing module 
example_plugin_000, from file example_plugin_000.py
2012-08-15 10:45:48::DEBUG::example_plugin_000::16::root:: plugin 
example_plugin_000 loaded
2012-08-15 10:45:48::DEBUG::common_utils::258::root:: cmd = /sbin/ip addr
2012-08-15 10:45:48::DEBUG::common_utils::263::root:: output = 1: lo: 
LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN 
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host 
   valid_lft forever preferred_lft forever
2: usb0: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 02:21:5e:de:32:cb brd ff:ff:ff:ff:ff:ff
3: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:21:5e:db:b2:c8 brd ff:ff:ff:ff:ff:ff
inet6 fe80::221:5eff:fedb:b2c8/64 scope link 
   valid_lft forever preferred_lft forever
4: eth1: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:21:5e:db:b2:ca brd ff:ff:ff:ff:ff:ff
inet6 fe80::221:5eff:fedb:b2ca/64 scope link 
   valid_lft forever preferred_lft forever
5: eth2: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:15:17:c5:7c:05 brd ff:ff:ff:ff:ff:ff
6: eth3: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:15:17:c5:7c:04 brd ff:ff:ff:ff:ff:ff
7: eth4: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:15:17:c5:7c:07 brd ff:ff:ff:ff:ff:ff
8: eth5: BROADCAST,MULTICAST mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:15:17:c5:7c:06 brd ff:ff:ff:ff:ff:ff
9: eth6: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:07:43:07:57:3d brd ff:ff:ff:ff:ff:ff
inet 10.4.0.15/24 brd 10.4.0.255 scope global eth6
inet6 fe80::207:43ff:fe07:573d/64 scope link 
   valid_lft forever preferred_lft forever
10: eth7: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:07:43:07:57:3e brd ff:ff:ff:ff:ff:ff
inet6 fe80::207:43ff:fe07:573e/64 scope link 
   valid_lft forever preferred_lft forever
11: br0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UNKNOWN 
link/ether 00:21:5e:db:b2:c8 brd ff:ff:ff:ff:ff:ff
inet 192.168.18.174/16 brd 192.168.255.255 scope global br0
inet6 fe80::221:5eff:fedb:b2c8/64 scope link 
   valid_lft forever preferred_lft forever
12: br1: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UNKNOWN 
link/ether 00:21:5e:db:b2:ca brd ff:ff:ff:ff:ff:ff
inet 198.119.135.86/23 brd 198.119.135.255 scope global br1
inet6 fe80::221:5eff:fedb:b2ca/64 scope link 
   valid_lft forever preferred_lft forever
13: br2: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state UNKNOWN 
link/ether 00:07:43:07:57:3e brd ff:ff:ff:ff:ff:ff
inet 10.2.0.174/16 brd 10.2.255.255 scope global br2
inet6 fe80::207:43ff:fe07:573e/64 scope link 
   valid_lft forever preferred_lft forever
14: virbr0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc noqueue state 
UNKNOWN 
link/ether 52:54:00:62:06:f5 brd ff:ff:ff:ff:ff:ff
inet 192.168.122.1/24 brd

[Users] engine-setup on rhel6.2 generates error

2012-05-15 Thread Andrei Vakhnin
I am trying to run engine-setup utility on rhels6.2 machines to configure 
ovirt-engine but get an error while starting jboss. (Exception: Error while 
updating jboss ROOT.war directory) Any ideas what is happening? Thanks

Andrei


oVirt Engine will be installed using the following configuration:
=
http-port: 80
https-port:443
host-fqdn: xx.cluster.net
auth-pass: 
org-name:  NASA LaRC
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
config-nfs:no
override-iptables: no
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...[ ERROR ]
Error while updating jboss ROOT.war directory
Please check log file 
/var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log for more information



/var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log:

  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 152, in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 59, in run
function()
  File /usr/bin/engine-setup, line 906, in _editRootWar
raise Exception(output_messages.ERR_EXP_UPD_ROOT_WAR)
Exception: Error while updating jboss ROOT.war directory



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


Re: [Users] engine-setup on rhel6.2 generates error

2012-05-15 Thread Haim Ateya


- Original Message -
 From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
 To: users@ovirt.org
 Sent: Tuesday, May 15, 2012 7:27:52 PM
 Subject: [Users] engine-setup on rhel6.2 generates error
 
 I am trying to run engine-setup utility on rhels6.2 machines to
 configure ovirt-engine but get an error while starting jboss.
 (Exception: Error while updating jboss ROOT.war directory) Any ideas
 what is happening? Thanks
 
 Andrei
 
 
 oVirt Engine will be installed using the following configuration:
 =
 http-port: 80
 https-port:443
 host-fqdn: xx.cluster.net
 auth-pass: 
 org-name:  NASA LaRC
 default-dc-type:   NFS
 db-remote-install: local
 db-local-pass: 
 config-nfs:no
 override-iptables: no
 Proceed with the configuration listed above? (yes|no): yes
 
 Installing:
 Configuring oVirt-engine...  [ DONE ]
 Creating CA...   [ DONE ]
 Editing JBoss Configuration...[ ERROR ]
 Error while updating jboss ROOT.war directory
 Please check log file
 /var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log for more
 information
 
 
 
 /var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log:
 
   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
   152, in run
 step.run()
   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 59,
   in run
 function()
   File /usr/bin/engine-setup, line 906, in _editRootWar
 raise Exception(output_messages.ERR_EXP_UPD_ROOT_WAR)
 Exception: Error while updating jboss ROOT.war directory

Hi Andrei, 

We usually run oVirt on Fedora machine. 
Can you check if the following file exists on your machine: 

/etc/ovirt-engine/web-conf.js

Alex\Ofer - any thoughts ? 

 
 
 
 ___
 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: [Users] engine-setup on rhel6.2 generates error

2012-05-15 Thread snmishra
I am running ovirt-engine on 3 different rhel6.2 machines. I used  
http://www.ovirt.org/wiki/Building_Ovirt_Engine page and installed  
jboss from zips (manually). I built ovirt-engine from source.


-Sharad

Quoting Haim Ateya hat...@redhat.com:


- Original Message -

From: Andrei Vakhnin andrey.a.vakh...@nasa.gov
To: users@ovirt.org
Sent: Tuesday, May 15, 2012 7:27:52 PM
Subject: [Users] engine-setup on rhel6.2 generates error

I am trying to run engine-setup utility on rhels6.2 machines to
configure ovirt-engine but get an error while starting jboss.
(Exception: Error while updating jboss ROOT.war directory) Any ideas
what is happening? Thanks

Andrei


oVirt Engine will be installed using the following configuration:
=
http-port: 80
https-port:443
host-fqdn: xx.cluster.net
auth-pass: 
org-name:  NASA LaRC
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
config-nfs:no
override-iptables: no
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...[ ERROR ]
Error while updating jboss ROOT.war directory
Please check log file
/var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log for more
information



/var/log/ovirt-engine/engine-setup_2012_05_15_12_23_53.log:

  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
  152, in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 59,
  in run
function()
  File /usr/bin/engine-setup, line 906, in _editRootWar
raise Exception(output_messages.ERR_EXP_UPD_ROOT_WAR)
Exception: Error while updating jboss ROOT.war directory


Hi Andrei,

We usually run oVirt on Fedora machine.
Can you check if the following file exists on your machine:

/etc/ovirt-engine/web-conf.js

Alex\Ofer - any thoughts ?





___
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




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