Re: [Users] Packet loss to guests

2013-03-08 Thread Neil
Thanks Rene, I'll look into your suggestions.

I don't think it's a conflicting MAC as there is only 1 guest, but
will check it out.

Would you advise running the engine and nodes on a separate network
range to my existing network rather?

Thanks.

Regards.

Neil Wilson.

On Fri, Mar 8, 2013 at 1:52 PM, René Koch (ovido) r.k...@ovido.at wrote:
 Hi Neil,

 I had a similar issue with my oVirt environment with some vms.
 The issue on my side was oVirt and RHEV environment in the same subnet
 and conflicting MAC addresses on some vms (as both use the same MAC
 range and I didn't change this with engine-config).

 So can you check if this MAC our your vm is in use by an other host/vm
 (maybe from a KVM installation)?


 --
 Best regards

 René Koch
 Senior Solution Architect

 
 ovido gmbh - Das Linux Systemhaus
 Brünner Straße 163, A-1210 Wien

 Phone:   +43 720 / 530 670
 Mobile:  +43 660 / 512 21 31
 E-Mail:  r.k...@ovido.at
 


 On Fri, 2013-03-08 at 11:27 +0200, Neil wrote:
 Hi guys,

 I've got a bit of a strange one, I'm setting up an internal ovirt
 system Centos 6.3 64bit dreyou repo...

 and I'm getting lots of packet loss on the guest I've installed, the
 packet loss doesn't happen on the physical hosts, only the VM gets it,
 when communicating from and to it.

 1 node(Centos 6.3 64bit)
 vdsm-4.10.0-0.46.15.el6.x86_64
 vdsm-cli-4.10.0-0.46.15.el6.noarch
 vdsm-xmlrpc-4.10.0-0.46.15.el6.noarch
 vdsm-python-4.10.0-0.46.15.el6.x86_64

 The engine(also Centos 6.3 64bit(engine has local NFS storage which
 the node connects to)
 ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 ovirt-engine-3.1.0-3.19.el6.noarch
 ovirt-engine-backend-3.1.0-3.19.el6.noarch
 ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 ovirt-image-uploader-3.1.0-16.el6.noarch
 ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 ovirt-iso-uploader-3.1.0-16.el6.noarch
 ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 ovirt-engine-sdk-3.2.0.8-1.el6.noarch
 ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
 ovirt-engine-cli-3.2.0.5-1.el6.noarch
 ovirt-log-collector-3.1.0-16.el6.noarch
 ovirt-engine-setup-3.1.0-3.19.el6.noarch
 ovirt-engine-jbossas711-1-0.x86_64
 ovirt-engine-config-3.1.0-3.19.el6.noarch

 Both the node and engine have bonded interfaces all NICS are intel
 82574L gigabit and the managed switch reflects gigabit on each of the
 ports.

 The ifcfg-bond0 is below...

 DEVICE=bond0
 IPADDR=192.168.0.9
 NETWORK=192.168.0.0
 NETMASK=255.255.255.0
 USERCTL=no
 BONDING_OPTS=mode=2
 BOOTPROTO=none
 MTU=1500
 ONBOOT=yes

 Then the ifcfg-eth0 and eth1 are almost identical...
 DEVICE=eth2
 USERCTL=no
 ONBOOT=yes
 MASTER=bond0
 SLAVE=yes
 MTU=1500
 BOOTPROTO=none


 These are the network details on the guest, as you can see, there are
 no network errors showing on the guest at all, which is strange

 eth0 Link encap:Ethernet  HWaddr 00:1A:4A:A8:00:00
inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
inet6 addr: fe80::21a:4aff:fea8:0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:5050 errors:0 dropped:0 overruns:0 frame:0
TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:490762 (479.2 KiB)  TX bytes:32516 (31.7 KiB)

 Ethernet controller: Red Hat, Inc Virtio network device

 Has anyone got any ideas? Have I set something up wrong?

 Any help or advice is greatly appreciated.

 Regards.

 Neil Wilson.
 ___
 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] Packet loss to guests

2013-03-08 Thread Koch (ovido)
Hi,

If you don't have another oVirt / RHEL KVM host in the same network than
MACs want be an issue. So it's totally save to have oVirt in the same
network as all other systems.

I see in your email that you use bonding mode 2. This shouldn't cause
issues with switches, but I think I had an issue with RHEV (bond 2) and
a Cisco switch once on customer side - please don't ask me for details
on what their network admins changed to make this setup work.

Can you try bonding mode 0 (active-backup) and check if you still have
packet loss?


-- 
Best regards

René Koch
Senior Solution Architect


ovido gmbh - Das Linux Systemhaus
Brünner Straße 163, A-1210 Wien

Phone:   +43 720 / 530 670
Mobile:  +43 660 / 512 21 31
E-Mail:  r.k...@ovido.at



On Fri, 2013-03-08 at 15:57 +0200, Neil wrote:
 Thanks Rene, I'll look into your suggestions.
 
 I don't think it's a conflicting MAC as there is only 1 guest, but
 will check it out.
 
 Would you advise running the engine and nodes on a separate network
 range to my existing network rather?
 
 Thanks.
 
 Regards.
 
 Neil Wilson.
 
 On Fri, Mar 8, 2013 at 1:52 PM, René Koch (ovido) r.k...@ovido.at wrote:
  Hi Neil,
 
  I had a similar issue with my oVirt environment with some vms.
  The issue on my side was oVirt and RHEV environment in the same subnet
  and conflicting MAC addresses on some vms (as both use the same MAC
  range and I didn't change this with engine-config).
 
  So can you check if this MAC our your vm is in use by an other host/vm
  (maybe from a KVM installation)?
 
 
  --
  Best regards
 
  René Koch
  Senior Solution Architect
 
  
  ovido gmbh - Das Linux Systemhaus
  Brünner Straße 163, A-1210 Wien
 
  Phone:   +43 720 / 530 670
  Mobile:  +43 660 / 512 21 31
  E-Mail:  r.k...@ovido.at
  
 
 
  On Fri, 2013-03-08 at 11:27 +0200, Neil wrote:
  Hi guys,
 
  I've got a bit of a strange one, I'm setting up an internal ovirt
  system Centos 6.3 64bit dreyou repo...
 
  and I'm getting lots of packet loss on the guest I've installed, the
  packet loss doesn't happen on the physical hosts, only the VM gets it,
  when communicating from and to it.
 
  1 node(Centos 6.3 64bit)
  vdsm-4.10.0-0.46.15.el6.x86_64
  vdsm-cli-4.10.0-0.46.15.el6.noarch
  vdsm-xmlrpc-4.10.0-0.46.15.el6.noarch
  vdsm-python-4.10.0-0.46.15.el6.x86_64
 
  The engine(also Centos 6.3 64bit(engine has local NFS storage which
  the node connects to)
  ovirt-engine-userportal-3.1.0-3.19.el6.noarch
  ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
  ovirt-engine-3.1.0-3.19.el6.noarch
  ovirt-engine-backend-3.1.0-3.19.el6.noarch
  ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
  ovirt-image-uploader-3.1.0-16.el6.noarch
  ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
  ovirt-iso-uploader-3.1.0-16.el6.noarch
  ovirt-engine-restapi-3.1.0-3.19.el6.noarch
  ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
  ovirt-engine-sdk-3.2.0.8-1.el6.noarch
  ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
  ovirt-engine-cli-3.2.0.5-1.el6.noarch
  ovirt-log-collector-3.1.0-16.el6.noarch
  ovirt-engine-setup-3.1.0-3.19.el6.noarch
  ovirt-engine-jbossas711-1-0.x86_64
  ovirt-engine-config-3.1.0-3.19.el6.noarch
 
  Both the node and engine have bonded interfaces all NICS are intel
  82574L gigabit and the managed switch reflects gigabit on each of the
  ports.
 
  The ifcfg-bond0 is below...
 
  DEVICE=bond0
  IPADDR=192.168.0.9
  NETWORK=192.168.0.0
  NETMASK=255.255.255.0
  USERCTL=no
  BONDING_OPTS=mode=2
  BOOTPROTO=none
  MTU=1500
  ONBOOT=yes
 
  Then the ifcfg-eth0 and eth1 are almost identical...
  DEVICE=eth2
  USERCTL=no
  ONBOOT=yes
  MASTER=bond0
  SLAVE=yes
  MTU=1500
  BOOTPROTO=none
 
 
  These are the network details on the guest, as you can see, there are
  no network errors showing on the guest at all, which is strange
 
  eth0 Link encap:Ethernet  HWaddr 00:1A:4A:A8:00:00
 inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
 inet6 addr: fe80::21a:4aff:fea8:0/64 Scope:Link
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:5050 errors:0 dropped:0 overruns:0 frame:0
 TX packets:255 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
 RX bytes:490762 (479.2 KiB)  TX bytes:32516 (31.7 KiB)
 
  Ethernet controller: Red Hat, Inc Virtio network device
 
  Has anyone got any ideas? Have I set something up wrong?
 
  Any help or advice is greatly appreciated.
 
  Regards.
 
  Neil Wilson.
  ___
  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] debug environment how to?

2013-03-08 Thread bigclouds
1.how to make a debug environment?include engine and vdsm.
2.if GWT can be disabled,it is a obstacle to debug.
 
thanks
 
 ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Hi,

The setup keeps failing at waitforhostup with :


Installing:
AIO: Validating CPU Compatibility...  [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring oVirt Engine...   [ DONE ]
Configuring JVM...[ DONE ]
Creating CA...[ DONE ]
Updating ovirt-engine service...  [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security...  [ DONE ]
Creating Database...  [ DONE ]
Updating the Default Data Center Storage Type...  [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration...   [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall...   [ DONE ]
Starting ovirt-engine Service...  [ DONE ]
Configuring HTTPD...  [ DONE ]
AIO: Creating storage directory...[ DONE ]
AIO: Adding Local Datacenter and cluster...   [ DONE ]
AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for more
information

#

2013-03-08 14:22:43::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root:: current host status
is: installing
2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root:: current host status
is: install_failed
2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::engine-setup::1934::root:: *** The following
params were used as user input:


I have the full log if required ?? Any help would be appreciated.

The options used were :

oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port:443
host-fqdn: stphv01
auth-pass: 
org-name:  LOCAL
application-mode:  both
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/exports/iso
override-firewall: None
config-allinone:   yes
storage-path:  /vmfs/ovirt
superuser-pass:


Alex


-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...  [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring oVirt Engine...   [ DONE ]
Configuring JVM...[ DONE ]
Creating CA...[ DONE ]
Updating ovirt-engine service...  [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security...  [ DONE ]
Creating Database...  [ DONE ]
Updating the Default Data Center Storage Type...  [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration...   [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall...   [ DONE ]
Starting ovirt-engine Service...  [ DONE ]
Configuring HTTPD...  [ DONE ]
AIO: Creating storage directory...[ DONE ]
AIO: Adding Local Datacenter and cluster...   [ DONE ]
AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for more
information
Exception in thread libvirtEventLoop (most likely raised during interpreter
shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback (most
recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 706, in
copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to copy files
to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current host status
is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current host status
is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.


2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The following
params were used as user input:
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
override-httpd-config: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: random-passwords: no
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: mac-range:
00:1A:4A:A8:14:00-00:1A:4A:A8:14:FF
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: host-fqdn: localhost
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: auth-pass: 
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: org-name: BrightTALK
2013-03-08 

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com wrote:

 And here from when I tried to use localhost as the host / fqdn :


 Installing:
 AIO: Validating CPU Compatibility...  [ DONE ]
 AIO: Adding firewall rules... [ DONE ]
 Configuring oVirt Engine...   [ DONE ]
 Configuring JVM...[ DONE ]
 Creating CA...[ DONE ]
 Updating ovirt-engine service...  [ DONE ]
 Setting Database Configuration... [ DONE ]
 Setting Database Security...  [ DONE ]
 Creating Database...  [ DONE ]
 Updating the Default Data Center Storage Type...  [ DONE ]
 Editing oVirt Engine Configuration... [ DONE ]
 Editing Postgresql Configuration...   [ DONE ]
 Configuring the Default ISO Domain... [ DONE ]
 Configuring Firewall...   [ DONE ]
 Starting ovirt-engine Service...  [ DONE ]
 Configuring HTTPD...  [ DONE ]
 AIO: Creating storage directory...[ DONE ]
 AIO: Adding Local Datacenter and cluster...   [ DONE ]
 AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
 Error: Host was found in a 'Failed' state. Please check engine and
 bootstrap installation logs.
 Please check log file
 /var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for more
 information
 Exception in thread libvirtEventLoop (most likely raised during
 interpreter shutdown)

 #


 2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
 _loadFilesToIsoDomain
 2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback (most
 recent call last):
   File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
 utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
 basedefs.CONST_KVM_GID)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 706, in
 copyFile
 shutil.copy2(fileSrc, destination)
   File /usr/lib64/python2.6/shutil.py, line 95, in copy2
 copyfile(src, dst)
   File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
 with open(src, 'rb') as fsrc:
 IOError: [Errno 2] No such file or directory:
 '/usr/share/virtio-win/virtio-win.vfd'

 2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to copy
 files to iso domain


 [snip]

 2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
 waitForHostUp
 2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current host
 status is: installing
 2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 314, in isHostUp
 raise Exception(INFO_CREATE_HOST_WAITING_UP)
 Exception: Waiting for the host to start

 2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current host
 status is: install_failed
 2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 312, in isHostUp
 raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.

 2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 300, in waitForHostUp
 utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
 retry
 raise e
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.


 2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The following
 params were used as user input:
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
 override-httpd-config: yes
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
 2013-03-08 

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Yuval M
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

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Juan Hernandez

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] Userportal SPICE Woes

2013-03-08 Thread Karli Sjöberg
tor 2013-03-07 klockan 13:52 +0100 skrev David Jaša:


Hi,

Karli Sjöberg píše v Čt 07. 03. 2013 v 10:01 +:
 Hi, it me again,

 the last time this was discussed, the problem seemed to be centred
 around Win/IE, but since patching to:
 # rpm -qa | grep ovirt
 ovirt-engine-config-3.1.0-4.fc17.noarch
 ovirt-engine-dbscripts-3.1.0-4.fc17.noarch
 ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
 ovirt-engine-restapi-3.1.0-4.fc17.noarch
 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
 ovirt-engine-genericapi-3.1.0-4.fc17.noarch
 ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
 ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch
 ovirt-engine-setup-3.1.0-4.fc17.noarch
 ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
 ovirt-engine-backend-3.1.0-4.fc17.noarch
 ovirt-engine-tools-common-3.1.0-4.fc17.noarch
 ovirt-engine-3.1.0-4.fc17.noarch
 ovirt-engine-userportal-3.1.0-4.fc17.noarch
 ovirt-engine-notification-service-3.1.0-4.fc17.noarch

 No one is able to connect to a spice console though the Userportal at
 all.

Looks like no one is getting host subject - again. Tomáš?


Come on guys, please tell me if there´s anything we can do to troubleshoot this 
issue, to help solve a real show-stopper for us!

In using oVirt, our organisation is so close to being able to ship out 
thin-client kiosks instead of buying expensive new HW on a yearly basis, and 
have our users access their desktops from practically anywhere, even from home 
if they´d wish. The rest of the entire system works flawlessly, just to fall 
flat on it´s face right on the finish line. I think that is so sad and silly, 
because I really love the rest of this product! We´ve set up oVirt-3.1, made a 
POC template, defined a pool and have been able to have them prestarted as 
well. But if our users aren´t able to access their console in a seamless, easy 
way, then what good is it? And knowing that the console works just fine from 
the adminportal in several different client systems (Fedora, CentOS, Win7) 
makes me hope that it´s just this small, yet important piece that needs to be 
corrected.

Anxiously awaiting your response
Karli Sjöberg





David

 I´ve tried this from my workstation, running Fedora 17:
 
 $ SPICEC_DEBUG_LEVEL=0 firefox
 (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
 Filen eller katalogen finns inte
 (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
 Filen eller katalogen finns inte
 (plugin-container:18293): SpiceXPI-CRITICAL **: could not get browser
 window, when trying to call OnDisconnected
 


 Here´s a collegue of mine, running Win7/IE9:
 
 1362648766 INFO [7196:5208] spicex_init_logger: started
 1362648766 DEBUG [7196:5208] COSpiceX::put_DynamicMenu: DynamicMenu
 1362648766 INFO [7196:5208] COSpiceX::put_FullScreen: New FullScreen
 request newVal=0x
 1362648766 DEBUG [7196:5208] COSpiceX::Connect: Running spicec (C:
 \Users\jope\AppData\Local\virt-viewer\bin\remote-viewer.exe
 --spice-controller)
 1362648766 INFO [7196:5208] COSpiceX::Connect: spicec pid 1640
 1362648766 DEBUG [7196:5208] COSpiceX::Connect: connecting to spice
 client's pipe
 1362648767 DEBUG [7196:5208] COSpiceX::send_init: sending init
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 1 :
 str 130.238.96.135 (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 2
 value 5906
 1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 3
 value 5907
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending password
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 11 :
 str IT-Avdelningen-1:%d - Press SHIFT+F12 to Release Cursor (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 10
 value 1
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 14 :
 str release-cursor=shift+f12,toggle-fullscreen=shift+f11 (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 5 :
 str main,inputs,scursor,splayback,srecord,sdisplay (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 7 :
 str DEFAULT (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 8 :
 str C:\Users\jope\AppData\Local\Temp\truststore.pem (1)
 1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 16
 1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 17
 1362648767 INFO [7196:5208] COSpiceX::ExecuteUsbCtrl: USB sharing is
 not requested
 1362648771 INFO [7196:7480] COSpiceX::event_thread: exit_code=0
 error_code=1
 


 And another collegue running CentOS-6.3/Firefox:
 
 2013-03-07 09:42:41,651 DEBUG 

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Juan Hernandez

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] install a f18 host with ovirtmgmt vlan tagged

2013-03-08 Thread Alon Bar-Lev


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Joop van de Wege jvdw...@xs4all.nl
 Cc: Alon Bar-Lev alo...@redhat.com, users users@ovirt.org
 Sent: Friday, March 8, 2013 9:07:42 AM
 Subject: Re: [Users] install a f18 host with ovirtmgmt vlan tagged
 
 On Fri, Mar 8, 2013 at 7:40 AM, Joop van de Wege  wrote:
  Alon Bar-Lev schreef:
 
 Will be included in 1.0.1
  Of foo-bar.tar.gz  :-)
 
 where foo.bar is ovirt-host-deploy ... ;-)
 On my engine system:
  ovirt-host-deploy-1.0.0-1.fc18.noarch
 
 I confirm that the patch worked for me. Host installed and
 rebooted
 
 then unfortunately a cpu of the ost abandoned me so I can't at the
 moment verify other things on this host ;-(
 
 but from engine gui I see
 2013-Mar-08, 06:49
 Host f18ovn02 installed
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Stage: Termination.
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Retrieving installation logs to:
 '/var/log/ovirt-engine/host-deploy/ovirt-20130308064947-10.4.4.57.log'.
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Reboot scheduled.
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Stage: Pre-termination.
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Reboot scheduled.
 2013-Mar-08, 06:49
 Installing Host f18ovn02. Stage: Closing up.
 Installing Host f18ovn02. Reboot scheduled.
 Installing Host f18ovn02. Stage: Transaction commit.
 
 The only warning message in the gui is related to
 2013-Mar-08, 06:49
 Host f18ovn02 installation in progress . Cannot set tuned profile.
 
 BTW this host is an HP blade BL685c G1 with Opteron G2

This is probably fedora-18 issue of selinux and tuned[1], not sure why they 
don't solve it properly.

Try to update selinux-policy and redeploy.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=882922

 
 Thanks,
 Gianluca
 
___
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.

2013-03-08 Thread Yuval M
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.

2013-03-08 Thread Juan Hernandez

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] Userportal SPICE Woes

2013-03-08 Thread Michal Skrivanek

On 8 Mar 2013, at 15:51, Karli Sjöberg wrote:

 tor 2013-03-07 klockan 13:52 +0100 skrev David Jaša:
 
 Hi,
 
 Karli Sjöberg píše v Čt 07. 03. 2013 v 10:01 +:
  Hi, it me again,
  
  the last time this was discussed, the problem seemed to be centred
  around Win/IE, but since patching to:
  # rpm -qa | grep ovirt
  ovirt-engine-config-3.1.0-4.fc17.noarch
  ovirt-engine-dbscripts-3.1.0-4.fc17.noarch
  ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch
  ovirt-engine-restapi-3.1.0-4.fc17.noarch
  ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch
  ovirt-engine-genericapi-3.1.0-4.fc17.noarch
  ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch
  ovirt-engine-webadmin-portal-3.1.0-4.fc17.noarch
  ovirt-engine-setup-3.1.0-4.fc17.noarch
  ovirt-engine-sdk-3.2.0.2-1.fc17.noarch
  ovirt-engine-backend-3.1.0-4.fc17.noarch
  ovirt-engine-tools-common-3.1.0-4.fc17.noarch
  ovirt-engine-3.1.0-4.fc17.noarch
  ovirt-engine-userportal-3.1.0-4.fc17.noarch
  ovirt-engine-notification-service-3.1.0-4.fc17.noarch
  
  No one is able to connect to a spice console though the Userportal at
  all. 
 
 Looks like no one is getting host subject - again. Tomáš?
 
 Come on guys, please tell me if there´s anything we can do to troubleshoot 
 this issue, to help solve a real show-stopper for us!
Would you be able to try it in 3.2?
It was known to be broken somewhere around 3.1 release….

Thanks,
michal

 
 In using oVirt, our organisation is so close to being able to ship out 
 thin-client kiosks instead of buying expensive new HW on a yearly basis, and 
 have our users access their desktops from practically anywhere, even from 
 home if they´d wish. The rest of the entire system works flawlessly, just to 
 fall flat on it´s face right on the finish line. I think that is so sad and 
 silly, because I really love the rest of this product! We´ve set up 
 oVirt-3.1, made a POC template, defined a pool and have been able to have 
 them prestarted as well. But if our users aren´t able to access their console 
 in a seamless, easy way, then what good is it? And knowing that the console 
 works just fine from the adminportal in several different client systems 
 (Fedora, CentOS, Win7) makes me hope that it´s just this small, yet important 
 piece that needs to be corrected.
 
 Anxiously awaiting your response
 Karli Sjöberg
 
 
 
 David
 
  I´ve tried this from my workstation, running Fedora 17:
  
  $ SPICEC_DEBUG_LEVEL=0 firefox
  (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
  Filen eller katalogen finns inte
  (plugin-container:18293): SpiceXPI-CRITICAL **: controller connect:
  Filen eller katalogen finns inte
  (plugin-container:18293): SpiceXPI-CRITICAL **: could not get browser
  window, when trying to call OnDisconnected
  
  
  
  Here´s a collegue of mine, running Win7/IE9:
  
  1362648766 INFO [7196:5208] spicex_init_logger: started
  1362648766 DEBUG [7196:5208] COSpiceX::put_DynamicMenu: DynamicMenu
  1362648766 INFO [7196:5208] COSpiceX::put_FullScreen: New FullScreen
  request newVal=0x
  1362648766 DEBUG [7196:5208] COSpiceX::Connect: Running spicec (C:
  \Users\jope\AppData\Local\virt-viewer\bin\remote-viewer.exe
  --spice-controller)
  1362648766 INFO [7196:5208] COSpiceX::Connect: spicec pid 1640
  1362648766 DEBUG [7196:5208] COSpiceX::Connect: connecting to spice
  client's pipe
  1362648767 DEBUG [7196:5208] COSpiceX::send_init: sending init
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 1 :
  str 130.238.96.135 (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 2
  value 5906
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 3
  value 5907
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending password
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 11 :
  str IT-Avdelningen-1:%d - Press SHIFT+F12 to Release Cursor (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_value: sending msg id 10
  value 1
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 14 :
  str release-cursor=shift+f12,toggle-fullscreen=shift+f11 (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 5 :
  str main,inputs,scursor,splayback,srecord,sdisplay (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 7 :
  str DEFAULT (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_wstr: sending msg id 8 :
  str C:\Users\jope\AppData\Local\Temp\truststore.pem (1)
  1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 16
  1362648767 DEBUG [7196:5208] COSpiceX::send_msg: sending msg id 17
  1362648767 INFO [7196:5208] COSpiceX::ExecuteUsbCtrl: USB sharing is
  not requested
  1362648771 INFO [7196:7480] COSpiceX::event_thread: exit_code=0
  

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Yuval M
Thanks, now ./engine-service start succeeded.
*[root@bufferoverflow bin]# ./engine-service start*
*Starting engine-service:[  OK  ]*

However, when I try to access http://localhost:8700; I get an empty page
(0 bytes).

I see the following errors in
/home/wil/ovirt-engine/installation/var/log/ovirt-engine/server.log

JBAS014777:   Services which failed to start:  service
jboss.deployment.subunit.engine.ear.engine-bll.jar.component.UsersDomainsCacheManagerService.START:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit.engine.ear.engine-bll.jar.component.UsersDomainsCacheManagerService.START:
Failed to start service

2013-03-08 19:27:51,495 ERROR [org.jboss.as.server.deployment.scanner]
(DeploymentScanner-threads - 1) {JBAS014653: Composite operation failed
and was rolled back. Steps that failed: = {Operation step-2 =
{JBAS014671: Failed services =
{jboss.deployment.subunit.\engine.ear\.\engine-bll.jar\.component.UsersDomainsCacheManagerService.START
= org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\engine.ear\.\engine-bll.jar\.component.UsersDomainsCacheManagerService.START:
Failed to start service

Here is the contents of my configuration file:

[root@bufferoverflow installation]# cat etc/sysconfig/ovirt-engine
#
# For descriptions of the parameters and their default values look
# at the /usr/share/ovirt-engine/conf/engine.conf.defaults file.
#
# Please note that the engine installation tool engine-setup will
# append the modified parameters to the end of this file.
#
JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
JBOSS_HOME=/home/wil/ovirt-engine/jboss-as-7.1.1.Final
ENGINE_USER=wil
ENGINE_GROUP=wil
ENGINE_PROXY_ENABLED=false
ENGINE_HTTP_ENABLED=true
ENGINE_HTTP_PORT=8700
ENGINE_HTTPS_ENABLED=false
ENGINE_AJP_ENABLED=false
ENGINE_DB_USER=postgres
ENGINE_DB_PASSWORD=
ENGINE_DEBUG_ADDRESS=0.0.0.0:8787

Thank you very much for your help

Yuval

On Fri, Mar 8, 2013 at 6:16 PM, Juan Hernandez jhern...@redhat.com wrote:

 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_Drafthttp://www.ovirt.org/Building_Engine_Draft
 
 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

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

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Juan Hernandez

On 03/08/2013 06:38 PM, Yuval M wrote:

Thanks, now ./engine-service start succeeded.
/[root@bufferoverflow bin]# ./engine-service start/
/Starting engine-service:[  OK  ]/

However, when I try to access http://localhost:8700; I get an empty
page (0 bytes).

I see the following errors in
/home/wil/ovirt-engine/installation/var/log/ovirt-engine/server.log

JBAS014777:   Services which failed to start:  service
jboss.deployment.subunit.engine.ear.engine-bll.jar.component.UsersDomainsCacheManagerService.START:
org.jboss.msc.service.StartException in service
jboss.deployment.subunit.engine.ear.engine-bll.jar.component.UsersDomainsCacheManagerService.START:
Failed to start service

2013-03-08 19:27:51,495 ERROR [org.jboss.as.server.deployment.scanner]
(DeploymentScanner-threads - 1) {JBAS014653: Composite operation failed
and was rolled back. Steps that failed: = {Operation step-2 =
{JBAS014671: Failed services =
{jboss.deployment.subunit.\engine.ear\.\engine-bll.jar\.component.UsersDomainsCacheManagerService.START
= org.jboss.msc.service.StartException in service
jboss.deployment.subunit.\engine.ear\.\engine-bll.jar\.component.UsersDomainsCacheManagerService.START:
Failed to start service

Here is the contents of my configuration file:

[root@bufferoverflow installation]# cat etc/sysconfig/ovirt-engine
#
# For descriptions of the parameters and their default values look
# at the /usr/share/ovirt-engine/conf/engine.conf.defaults file.
#
# Please note that the engine installation tool engine-setup will
# append the modified parameters to the end of this file.
#
JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
JBOSS_HOME=/home/wil/ovirt-engine/jboss-as-7.1.1.Final
ENGINE_USER=wil
ENGINE_GROUP=wil
ENGINE_PROXY_ENABLED=false
ENGINE_HTTP_ENABLED=true
ENGINE_HTTP_PORT=8700
ENGINE_HTTPS_ENABLED=false
ENGINE_AJP_ENABLED=false
ENGINE_DB_USER=postgres
ENGINE_DB_PASSWORD=
ENGINE_DEBUG_ADDRESS=0.0.0.0:8787 http://0.0.0.0:8787

Thank you very much for your help


Can you share the server.log and engine.log files? If possible stop the 
engine, clean the files, start again and then collect and provide the files.


Not sure, but I guess that you are having some problem with the 
database, so please check the following:


1. Try to connect to the database manually:

  psql -U postgres engine
  engine# select count(*) from vdc_options;

2. Make sure that the JDBC driver is in the right place and that it 
points to the right file if it is a symbolic link:


  find home/wil/ovirt-engine/installation -name postgresql.jar



Yuval

On Fri, Mar 8, 2013 at 6:16 PM, Juan Hernandez jhern...@redhat.com
mailto:jhern...@redhat.com wrote:

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
mailto: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
 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

 

Re: [Users] Trouble building Ovirt from source - No rule to make target `install_tools'. Stop.

2013-03-08 Thread Juan Hernandez

On 03/08/2013 07:00 PM, Yuval M wrote:

I attached the logs, here is the output from the commands you suggested:


Looks like the database schema doesn't match the rest of the code. You 
probably created the database before switching to branch 3.2. Just drop 
the database and create it again with the scripts in the 3.2 branch.



*
*
*[root@bufferoverflow bin]# psql -U postgres engine*
psql (9.2.3)
Type help for help.
engine=# select count(*) from vdc_options;
  count
---
345
(1 row)

*[root@bufferoverflow bin]# find /home/wil/ovirt-engine/installation
-name postgresql.jar*
*[root@bufferoverflow bin]# find /home/wil/ovirt-engine/installation
-name postg\**
/home/wil/ovirt-engine/installation/share/ovirt-engine/modules/org/postgresql
/home/wil/ovirt-engine/installation/share/ovirt-engine/modules/org/postgresql/main/postgresql-jdbc.jar
/home/wil/ovirt-engine/installation/share/ovirt-engine/modules/org/postgresql/main/postgresql-jdbc.jar.index
*[root@bufferoverflow bin]# ls -la
/home/wil/ovirt-engine/installation/share/ovirt-engine/modules/org/*
total 12
drwxr-xr-x. 3 wil wil 4096 Mar  8 18:03 .
drwxr-xr-x. 3 wil wil 4096 Mar  8 18:03 ..
drwxr-xr-x. 3 wil wil 4096 Mar  8 18:03 postgresql
*[root@bufferoverflow bin]# ls -la
/home/wil/ovirt-engine/installation/share/ovirt-engine/modules/org/postgresql/main/*
total 544
drwxr-xr-x. 2 wil wil   4096 Mar  8 18:46 .
drwxr-xr-x. 3 wil wil   4096 Mar  8 18:03 ..
-rw-r--r--. 1 wil wil307 Mar  8 18:03 module.xml
-rw-rw-r--. 1 wil wil 539705 Mar  7 16:41 postgresql-jdbc.jar
-rw-rw-r--. 1 wil wil545 Mar  8 18:46 postgresql-jdbc.jar.index


I appreciate your help

Yuval

On Fri, Mar 8, 2013 at 7:44 PM, Juan Hernandez jhern...@redhat.com
mailto:jhern...@redhat.com wrote:

On 03/08/2013 06:38 PM, Yuval M wrote:

Thanks, now ./engine-service start succeeded.
/[root@bufferoverflow bin]# ./engine-service start/
/Starting engine-service:[
  OK  ]/


However, when I try to access http://localhost:8700; I get an empty
page (0 bytes).

I see the following errors in
/home/wil/ovirt-engine/__installation/var/log/ovirt-__engine/server.log

JBAS014777:   Services which failed to start:  service

jboss.deployment.subunit.__engine.ear.engine-bll.jar.__component.__UsersDomainsCacheManagerServic__e.START:
org.jboss.msc.service.__StartException in service

jboss.deployment.subunit.__engine.ear.engine-bll.jar.__component.__UsersDomainsCacheManagerServic__e.START:
Failed to start service

2013-03-08 19:27:51,495 ERROR
[org.jboss.as.server.__deployment.scanner]
(DeploymentScanner-threads - 1) {JBAS014653: Composite
operation failed
and was rolled back. Steps that failed: = {Operation step-2 =
{JBAS014671: Failed services =

{jboss.deployment.subunit.\__engine.ear\.\engine-bll.jar\__.component.__UsersDomainsCacheManagerServic__e.START
= org.jboss.msc.service.__StartException in service

jboss.deployment.subunit.\__engine.ear\.\engine-bll.jar\__.component.__UsersDomainsCacheManagerServic__e.START:
Failed to start service

Here is the contents of my configuration file:

[root@bufferoverflow installation]# cat etc/sysconfig/ovirt-engine
#
# For descriptions of the parameters and their default values look
# at the /usr/share/ovirt-engine/conf/__engine.conf.defaults file.
#
# Please note that the engine installation tool engine-setup will
# append the modified parameters to the end of this file.
#
JAVA_HOME=/usr/lib/jvm/jre-1.__7.0-openjdk.x86_64
JBOSS_HOME=/home/wil/ovirt-__engine/jboss-as-7.1.1.Final
ENGINE_USER=wil
ENGINE_GROUP=wil
ENGINE_PROXY_ENABLED=false
ENGINE_HTTP_ENABLED=true
ENGINE_HTTP_PORT=8700
ENGINE_HTTPS_ENABLED=false
ENGINE_AJP_ENABLED=false
ENGINE_DB_USER=postgres
ENGINE_DB_PASSWORD=
ENGINE_DEBUG_ADDRESS=0.0.0.0:__8787 http://0.0.0.0:8787
http://0.0.0.0:8787


Thank you very much for your help


Can you share the server.log and engine.log files? If possible stop
the engine, clean the files, start again and then collect and
provide the files.

Not sure, but I guess that you are having some problem with the
database, so please check the following:

1. Try to connect to the database manually:

   psql -U postgres engine
   engine# select count(*) from vdc_options;

2. Make sure that the JDBC driver is in the right place and that it
points to the right file if it is a symbolic link:

   find home/wil/ovirt-engine/__installation -name postgresql.jar


Yuval

On Fri, Mar 8, 2013 at 6:16 PM, Juan Hernandez
jhern...@redhat.com mailto:jhern...@redhat.com
mailto:jhern...@redhat.com 

[Users] Query about Testsuite based on Ovirt Python Api

2013-03-08 Thread Yoga Ananth
Hello Everyone
 Is there any testsuites based on Ovirt Python Api (
http://www.ovirt.org/Testing/PythonApi) something similar to Openstack
tempest.  Objective is to do  functional and integration tests  on fully
deployed ovirt environment, like the one in
http://www.ovirt.org/Testing/OvirtTestDay3.1,

What would be the best way to go about doing this, any suggestions or links
to refer will be very helpful.

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


[Users] RHEV-toolsSetup

2013-03-08 Thread Kevin Daly
According to the ovirt guide, there is a RHEV-toolsSetup iso to use to
install Windows Clients..

Where do I get this iso?

-- 

Kevin Daly
(416) 953-8330
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users