[Users] Unable to add host - Error looking up infinispan/ovirt-engine

2013-05-03 Thread snmishra
Added one host to my ovirt-engine and when I try to add another host,  
I get an error -



 ERROR [org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy]  
(DefaultQuartzScheduler_Worker-3) [68658049] Failed to lookup resource  
type: CACHE_CONTAINER. JNDI name: java:jboss/infinispan/ovirt-engine:  
javax.naming.NameNotFoundException: Error looking up  
infinispan/ovirt-engine, service service  
jboss.naming.context.java.jboss.infinispan.ovirt-engine is not started


Attached is the engine.log from the time  when I manually hit  
Activate button on webadmin UI.


-Sharad
2013-05-03 13:45:00,015 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-3) Autorecovering 1 hosts
2013-05-03 13:45:00,015 INFO  [org.ovirt.engine.core.bll.AutoRecoveryManager] (DefaultQuartzScheduler_Worker-3) Autorecovering hosts id: f1e96dc9-4ee4-4699-a7ef-b0a107815724, name : host20
2013-05-03 13:45:00,017 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Lock Acquired to object EngineLock [exclusiveLocks= key: f1e96dc9-4ee4-4699-a7ef-b0a107815724 value: VDS
, sharedLocks= ]
2013-05-03 13:45:00,018 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Running command: ActivateVdsCommand internal: true. Entities affected :  ID: f1e96dc9-4ee4-4699-a7ef-b0a107815724 Type: VDS
2013-05-03 13:45:00,018 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Before acquiring lock in order to prevent monitoring for host host20 from data-center Default
2013-05-03 13:45:00,019 INFO  [org.ovirt.engine.core.bll.ActivateVdsCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Lock acquired, from now a monitoring of host will be skipped for host host20 from data-center Default
2013-05-03 13:45:00,022 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] START, SetVdsStatusVDSCommand(HostName = host20, HostId = f1e96dc9-4ee4-4699-a7ef-b0a107815724, status=Unassigned, nonOperationalReason=NONE), log id: 65cc4108
2013-05-03 13:45:00,028 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] FINISH, SetVdsStatusVDSCommand, log id: 65cc4108
2013-05-03 13:45:00,030 INFO  [org.ovirt.engine.core.vdsbroker.ActivateVdsVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] START, ActivateVdsVDSCommand(HostName = host20, HostId = f1e96dc9-4ee4-4699-a7ef-b0a107815724), log id: fba04fd
2013-05-03 13:45:00,089 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] START, GetHardwareInfoVDSCommand(HostName = host20, HostId = f1e96dc9-4ee4-4699-a7ef-b0a107815724, vds=Host[host20]), log id: 40606675
2013-05-03 13:45:00,115 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Command GetHardwareInfoVDS execution failed. Exception: VDSNetworkException: org.apache.xmlrpc.XmlRpcException: type 'exceptions.TypeError':cannot marshal None unless allow_none is enabled
2013-05-03 13:45:00,116 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] FINISH, GetHardwareInfoVDSCommand, log id: 40606675
2013-05-03 13:45:00,179 INFO  [org.ovirt.engine.core.bll.HandleVdsCpuFlagsOrClusterChangedCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Running command: HandleVdsCpuFlagsOrClusterChangedCommand internal: true. Entities affected :  ID: f1e96dc9-4ee4-4699-a7ef-b0a107815724 Type: VDS
2013-05-03 13:45:00,202 INFO  [org.ovirt.engine.core.bll.SetNonOperationalVdsCommand] (DefaultQuartzScheduler_Worker-3) [68658049] Running command: SetNonOperationalVdsCommand internal: true. Entities affected :  ID: f1e96dc9-4ee4-4699-a7ef-b0a107815724 Type: VDS
2013-05-03 13:45:00,204 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] START, SetVdsStatusVDSCommand(HostName = host20, HostId = f1e96dc9-4ee4-4699-a7ef-b0a107815724, status=NonOperational, nonOperationalReason=CPU_TYPE_INCOMPATIBLE_WITH_CLUSTER), log id: 53b0ae37
2013-05-03 13:45:00,208 INFO  [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (DefaultQuartzScheduler_Worker-3) [68658049] FINISH, SetVdsStatusVDSCommand, log id: 53b0ae37
2013-05-03 13:45:00,210 ERROR [org.ovirt.engine.core.utils.ejb.EJBUtilsStrategy] (DefaultQuartzScheduler_Worker-3) [68658049] Failed to lookup resource type: CACHE_CONTAINER. JNDI name: java:jboss/infinispan/ovirt-engine: javax.naming.NameNotFoundException: Error looking up infinispan/ovirt-engine, service service jboss.naming.context.java.jboss.infinispan.ovirt-engine is not started

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


Re: [Users] Unable to install F18 on a VM from engine.

2013-04-30 Thread snmishra


Quoting Alon Bar-Lev alo...@redhat.com:


I don't understand...
How did you add the host to the engine? Using Add Host or hack?
If Add Host, can you please attach the relevant log from  
/var/log/ovirt-engine/host-deploy?

Thanks!


I did not install engine from RPM, it was built from source. I do not  
see any host-deploy log file on engine.


I did use add host capability of webadmin to add the host.

I have since reinstalled F18 on the host and installed VDSM using  
latest RPMs. But ran into same situation. Install failed at Preparing  
to install.


-Sharad


- Original Message -

From: snmis...@linux.vnet.ibm.com
To: users@ovirt.org
Sent: Monday, April 29, 2013 11:12:35 PM
Subject: [Users] Unable to install F18 on a VM from engine.

Hi,

I have an F18 engine built from latest (April 28) source. Have
another F18 box running VDSM from RPMs. Added this VDSM host to the
engine. Also have F18 iso image on host for VM installs. Added a new
VM from engine, went to run once and attached the F18 image. Opened
console, started installing Fedora on hard drive, all the install
screens went okay and finally clicked on Begin Install. It brings up
Preparing to install and then just hangs. The host status on engine
goes from up to Non Operational. I have tried it a few times and
everytime, it either fails at Preparing to install or at about 15%
complete.

engine.log -

2013-04-29 12:55:03,932 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand]
(DefaultQuartzScheduler_Worker-10) Command SpmStatusVDS execution
failed. Exception: VDSNetworkException: java.net.ConnectException:
Connection refused
2013-04-29 12:55:03,935 INFO
[org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
(DefaultQuartzScheduler_Worker-10) [69ded27f] Running command:
SetStoragePoolStatusCommand internal: true. Entities affected :  ID:
5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
2013-04-29 12:55:03,947 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand]
(DefaultQuartzScheduler_Worker-5) Command ListVDS execution failed.
Exception: VDSNetworkException: java.net.ConnectException: Connection
refused
2013-04-29 12:55:03,950 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-5) Failed to refresh VDS , vds =
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
continuing.
java.net.ConnectException: Connection refused
2013-04-29 12:55:04,305 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler_Worker-10) [69ded27f]
IrsBroker::Failed::GetStoragePoolInfoVDS due to: ConnectException:
Connection refused
2013-04-29 12:55:07,305 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-8) Command GetCapabilitiesVDS execution
failed. Exception: VDSNetworkException: java.net.ConnectException:
Connection refused
2013-04-29 12:55:07,306 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
continuing.
java.net.ConnectException: Connection refused
2013-04-29 12:55:10,883 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
(DefaultQuartzScheduler_Worker-7) Command GetCapabilitiesVDS execution
failed. Exception: VDSNetworkException: java.net.ConnectException:
Connection refused
2013-04-29 12:55:10,885 WARN
[org.ovirt.engine.core.vdsbroker.VdsManager]
(DefaultQuartzScheduler_Worker-7) Failed to refresh VDS , vds =
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
continuing.
java.net.ConnectException: Connection refused
2013-04-29 12:55:14,330 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
(DefaultQuartzScheduler_Worker-3) START,
GetHardwareInfoVDSCommand(HostName = host_1, HostId =
1827db83-672c-41fe-bf4f-d29a5e25bf3f, vds=Host[host_1]), log id:
523f572b
2013-04-29 12:55:14,614 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
(DefaultQuartzScheduler_Worker-3) XML RPC error in command
GetHardwareInfoVDS ( HostName = host_1 ), the error was:
java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException, type
'exceptions.TypeError':cannot marshal None unless allow_none is enabled
2013-04-29 12:55:14,616 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
(DefaultQuartzScheduler_Worker-3) Command GetHardwareInfoVDS execution
failed. Exception: VDSNetworkException:
org.apache.xmlrpc.XmlRpcException: type
'exceptions.TypeError':cannot marshal None unless allow_none is enabled
2013-04-29 12:55:14,618 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]
(DefaultQuartzScheduler_Worker-3) FINISH, GetHardwareInfoVDSCommand,
log id: 523f572b
2013-04-29 12:55:14,827 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]
(DefaultQuartzScheduler_Worker-3) START, FullListVdsCommand( HostId =

Re: [Users] Unable to install F18 on a VM from engine.

2013-04-30 Thread snmishra


Quoting Alon Bar-Lev alo...@redhat.com:


- Original Message -

From: snmis...@linux.vnet.ibm.com
To: Alon Bar-Lev alo...@redhat.com
Cc: users@ovirt.org
Sent: Tuesday, April 30, 2013 4:50:19 PM
Subject: Re: [Users] Unable to install F18 on a VM from engine.


Quoting Alon Bar-Lev alo...@redhat.com:

 I don't understand...
 How did you add the host to the engine? Using Add Host or hack?
 If Add Host, can you please attach the relevant log from
 /var/log/ovirt-engine/host-deploy?
 Thanks!

I did not install engine from RPM, it was built from source. I do not
see any host-deploy log file on engine.

I did use add host capability of webadmin to add the host.


This is unsupported in current master development mode. If you like  
you can try upcoming new packaging[1][2] and provide some feedback.




Alon,

   I appreciate your quick responses. Thank you.

   So far I have been using wiki page -  
http://www.ovirt.org/Building_oVirt_engine

   and for eclipse - http://www.ovirt.org/Building_oVirt_Engine/IDE
   for engine development and its worked well, except I never  
actually installed OS on my VMs. This is the first time doing it and  
its failing.


   Are you suggesting that I stop using above wiki and instead use  
otopi [1][2]?


   My main struggle right now is to add another fedora machine as  
host and create VMs and run those VMs. There are various wikis/web  
pages that are out there to get one up and running with VDSM, but its  
always been touch and go. Can you suggest one that works for F18 host?



Thanks
Sharad Mishra


[1] https://github.com/alonbl/ovirt-engine/tree/otopi
[2] https://github.com/alonbl/ovirt-engine/blob/otopi/README.developer



I have since reinstalled F18 on the host and installed VDSM using
latest RPMs. But ran into same situation. Install failed at Preparing
to install.

-Sharad

 - Original Message -
 From: snmis...@linux.vnet.ibm.com
 To: users@ovirt.org
 Sent: Monday, April 29, 2013 11:12:35 PM
 Subject: [Users] Unable to install F18 on a VM from engine.

 Hi,

 I have an F18 engine built from latest (April 28) source. Have
 another F18 box running VDSM from RPMs. Added this VDSM host to the
 engine. Also have F18 iso image on host for VM installs. Added a new
 VM from engine, went to run once and attached the F18 image. Opened
 console, started installing Fedora on hard drive, all the install
 screens went okay and finally clicked on Begin Install. It brings up
 Preparing to install and then just hangs. The host status on engine
 goes from up to Non Operational. I have tried it a few times and
 everytime, it either fails at Preparing to install or at about 15%
 complete.

 engine.log -

 2013-04-29 12:55:03,932 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand]
 (DefaultQuartzScheduler_Worker-10) Command SpmStatusVDS execution
 failed. Exception: VDSNetworkException: java.net.ConnectException:
 Connection refused
 2013-04-29 12:55:03,935 INFO
 [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]
 (DefaultQuartzScheduler_Worker-10) [69ded27f] Running command:
 SetStoragePoolStatusCommand internal: true. Entities affected :  ID:
 5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
 2013-04-29 12:55:03,947 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand]
 (DefaultQuartzScheduler_Worker-5) Command ListVDS execution failed.
 Exception: VDSNetworkException: java.net.ConnectException: Connection
 refused
 2013-04-29 12:55:03,950 WARN
 [org.ovirt.engine.core.vdsbroker.VdsManager]
 (DefaultQuartzScheduler_Worker-5) Failed to refresh VDS , vds =
 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
 continuing.
 java.net.ConnectException: Connection refused
 2013-04-29 12:55:04,305 ERROR
 [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
 (DefaultQuartzScheduler_Worker-10) [69ded27f]
 IrsBroker::Failed::GetStoragePoolInfoVDS due to: ConnectException:
 Connection refused
 2013-04-29 12:55:07,305 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
 (DefaultQuartzScheduler_Worker-8) Command GetCapabilitiesVDS execution
 failed. Exception: VDSNetworkException: java.net.ConnectException:
 Connection refused
 2013-04-29 12:55:07,306 WARN
 [org.ovirt.engine.core.vdsbroker.VdsManager]
 (DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =
 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
 continuing.
 java.net.ConnectException: Connection refused
 2013-04-29 12:55:10,883 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
 (DefaultQuartzScheduler_Worker-7) Command GetCapabilitiesVDS execution
 failed. Exception: VDSNetworkException: java.net.ConnectException:
 Connection refused
 2013-04-29 12:55:10,885 WARN
 [org.ovirt.engine.core.vdsbroker.VdsManager]
 (DefaultQuartzScheduler_Worker-7) Failed to refresh VDS , vds =
 1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,
 continuing.
 

[Users] Unable to install F18 on a VM from engine.

2013-04-29 Thread snmishra

Hi,

   I have an F18 engine built from latest (April 28) source. Have  
another F18 box running VDSM from RPMs. Added this VDSM host to the  
engine. Also have F18 iso image on host for VM installs. Added a new  
VM from engine, went to run once and attached the F18 image. Opened  
console, started installing Fedora on hard drive, all the install  
screens went okay and finally clicked on Begin Install. It brings up  
Preparing to install and then just hangs. The host status on engine  
goes from up to Non Operational. I have tried it a few times and  
everytime, it either fails at Preparing to install or at about 15%  
complete.


engine.log -

2013-04-29 12:55:03,932 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStatusVDSCommand]  
(DefaultQuartzScheduler_Worker-10) Command SpmStatusVDS execution  
failed. Exception: VDSNetworkException: java.net.ConnectException:  
Connection refused
2013-04-29 12:55:03,935 INFO   
[org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand]  
(DefaultQuartzScheduler_Worker-10) [69ded27f] Running command:  
SetStoragePoolStatusCommand internal: true. Entities affected :  ID:  
5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
2013-04-29 12:55:03,947 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ListVDSCommand]  
(DefaultQuartzScheduler_Worker-5) Command ListVDS execution failed.  
Exception: VDSNetworkException: java.net.ConnectException: Connection  
refused
2013-04-29 12:55:03,950 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-5) Failed to refresh VDS , vds =  
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-04-29 12:55:04,305 ERROR  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]  
(DefaultQuartzScheduler_Worker-10) [69ded27f]  
IrsBroker::Failed::GetStoragePoolInfoVDS due to: ConnectException:  
Connection refused
2013-04-29 12:55:07,305 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]  
(DefaultQuartzScheduler_Worker-8) Command GetCapabilitiesVDS execution  
failed. Exception: VDSNetworkException: java.net.ConnectException:  
Connection refused
2013-04-29 12:55:07,306 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =  
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-04-29 12:55:10,883 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]  
(DefaultQuartzScheduler_Worker-7) Command GetCapabilitiesVDS execution  
failed. Exception: VDSNetworkException: java.net.ConnectException:  
Connection refused
2013-04-29 12:55:10,885 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-7) Failed to refresh VDS , vds =  
1827db83-672c-41fe-bf4f-d29a5e25bf3f : host_1, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-04-29 12:55:14,330 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]  
(DefaultQuartzScheduler_Worker-3) START,  
GetHardwareInfoVDSCommand(HostName = host_1, HostId =  
1827db83-672c-41fe-bf4f-d29a5e25bf3f, vds=Host[host_1]), log id:  
523f572b
2013-04-29 12:55:14,614 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]  
(DefaultQuartzScheduler_Worker-3) XML RPC error in command  
GetHardwareInfoVDS ( HostName = host_1 ), the error was:  
java.util.concurrent.ExecutionException:  
java.lang.reflect.InvocationTargetException, type  
'exceptions.TypeError':cannot marshal None unless allow_none is enabled
2013-04-29 12:55:14,616 ERROR  
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]  
(DefaultQuartzScheduler_Worker-3) Command GetHardwareInfoVDS execution  
failed. Exception: VDSNetworkException:  
org.apache.xmlrpc.XmlRpcException: type  
'exceptions.TypeError':cannot marshal None unless allow_none is enabled
2013-04-29 12:55:14,618 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.GetHardwareInfoVDSCommand]  
(DefaultQuartzScheduler_Worker-3) FINISH, GetHardwareInfoVDSCommand,  
log id: 523f572b
2013-04-29 12:55:14,827 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]  
(DefaultQuartzScheduler_Worker-3) START, FullListVdsCommand( HostId =  
1827db83-672c-41fe-bf4f-d29a5e25bf3f, vds=null,  
vmIds=[8fc0ee12-5224-4348-8715-af285159af8e]), log id: 4312a5f
2013-04-29 12:55:15,091 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.FullListVdsCommand]  
(DefaultQuartzScheduler_Worker-3) FINISH, FullListVdsCommand, return:  
[Ljava.util.HashMap;@37d4c51f, log id: 4312a5f
2013-04-29 12:55:15,095 INFO   
[org.ovirt.engine.core.bll.InitVdsOnUpCommand]  
(DefaultQuartzScheduler_Worker-3) [20ac2c95] Running command:  
InitVdsOnUpCommand internal: true. Entities affected :  ID:  
5849b030-626e-47cb-ad90-3ce782d831b3 Type: StoragePool
2013-04-29 12:55:15,102 

Re: [Users] Cannot add host - non-responsive.

2013-03-15 Thread snmishra


Quoting Douglas Landgraf dougsl...@redhat.com:


Hi,

On 03/15/2013 05:39 AM, Sahina Bose wrote:

Maybe you need to set ssl=false as per
http://www.ovirt.org/Vdsm_Getting_Started


On 03/15/2013 11:02 AM, snmis...@linux.vnet.ibm.com wrote:


I am trying to add a fedora18 host to an engine that was built from
source. SElinux and firewalld are disabled/stopped on both the fedora
boxes. I can ping between the two machines using IP and FQDN. But when
I go to add the host it gets connection refused error and goes
non-responsive. Here are the engine logs.



Additionally to Sahina's link:
http://www.ovirt.org/Building_oVirt_engine#Host_Non-Responsive

Have you build your environment based on our wiki page at wiki.ovirt.org?


--
Cheers
Douglas


I missed the wiki page Sahina recommended. It solved my issue.

Thanks
Sharad

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


[Users] Cannot add host - non-responsive.

2013-03-14 Thread snmishra


I am trying to add a fedora18 host to an engine that was built from  
source. SElinux and firewalld are disabled/stopped on both the fedora  
boxes. I can ping between the two machines using IP and FQDN. But when  
I go to add the host it gets connection refused error and goes  
non-responsive. Here are the engine logs.


Any Clues?
Sharad Mishra


2013-03-15 01:21:07,208 INFO   
[org.ovirt.engine.core.bll.AddVdsCommand] (http--0.0.0.0-8700-1)  
[2ebde801] Running command: AddVdsCommand internal: false. Entities  
affected :  ID: 99408929-82cf-4dc7-a532-9d998063fa95 Type: VdsGroups
2013-03-15 01:21:07,279 INFO   
[org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (http--0.0.0.0-8700-1)  
Running command: AddVdsSpmIdCommand internal: true. Entities affected  
:  ID: f66bcf41-56bc-4ac9-b702-c5674060a1a3 Type: VDS
2013-03-15 01:21:07,293 INFO   
[org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (http--0.0.0.0-8700-1)  
Lock freed to object EngineLock [exclusiveLocks= key:  
5849b030-626e-47cb-ad90-3ce782d831b3 value: REGISTER_VDS

, sharedLocks= ]
2013-03-15 01:21:07,297 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,313 INFO   
[org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand]  
(http--0.0.0.0-8700-1) START, RemoveVdsVDSCommand(HostName = ovirt2,  
HostId = f66bcf41-56bc-4ac9-b702-c5674060a1a3), log id: 4a95fb09
2013-03-15 01:21:07,314 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,315 INFO   
[org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand]  
(http--0.0.0.0-8700-1) FINISH, RemoveVdsVDSCommand, log id: 4a95fb09
2013-03-15 01:21:07,317 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,333 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) START, AddVdsVDSCommand(HostName = ovirt2,  
HostId = f66bcf41-56bc-4ac9-b702-c5674060a1a3), log id: 2621f1c9
2013-03-15 01:21:07,334 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) AddVds - entered , starting logic to add VDS  
f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,350 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) AddVds - VDS  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 was added, will try to add it to  
the resource manager
2013-03-15 01:21:07,354 INFO   
[org.ovirt.engine.core.vdsbroker.VdsManager] (http--0.0.0.0-8700-1)  
Entered VdsManager constructor
2013-03-15 01:21:07,360 INFO   
[org.ovirt.engine.core.vdsbroker.VdsManager] (http--0.0.0.0-8700-1)  
Initialize vdsBroker (9.27.28.20,54,321)
2013-03-15 01:21:07,398 INFO   
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) VDS f66bcf41-56bc-4ac9-b702-c5674060a1a3 was  
added to the Resource Manager
2013-03-15 01:21:07,399 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) FINISH, AddVdsVDSCommand, log id: 2621f1c9
2013-03-15 01:21:10,499 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 : ovirt2, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-03-15 01:21:13,529 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-10) Failed to refresh VDS , vds =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 : ovirt2, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-03-15 01:21:16,556 ERROR  
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-4) Server failed to respond, vds_id =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3, vds_name = ovirt2, error =  
java.net.ConnectException: Connection refused
2013-03-15 01:21:16,577 INFO   
[org.ovirt.engine.core.bll.VdsEventListener] (pool-10-thread-8)  
ResourceManager::vdsNotResponding entered for Host  
f66bcf41-56bc-4ac9-b702-c5674060a1a3, 9.27.28.20
2013-03-15 01:21:16,644 WARN   
[org.ovirt.engine.core.bll.VdsNotRespondingTreatmentCommand]  
(pool-10-thread-8) [734218b6] CanDoAction of action  
VdsNotRespondingTreatment failed. Reasons:VDS_FENCE_DISABLED


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


Re: [Users] Ovirt 3.1 : node installation fails with no reason

2012-08-14 Thread snmishra

Hi,

Manually uninstall libjpeg and install it. Then try to add it  
using the GUI.


-Sharad

Quoting Douglas Landgraf dougsl...@redhat.com:


Hi Vicent,

On 08/14/2012 06:18 AM, Vincent Miszczak wrote:


Hello guys,

I have upgraded both my engine and node from Fedora 16 to Fedora 17.

I have added the 3.1 release repo to both servers.

My engine is working as expected. Now I want to add my node to it,  
but it fails everytime I try (the GUI says Install Failed),  
despite the installation log on the node show that everything is OK.


I've looked to everything I've think about, cannot find why this fails :/



The below logs are all that you have in /tmp/vds_* in the Node side?  
Could you please attach the log from engine?

I am wondering what might happened.



On the node :

Tue, 14 Aug 2012 12:00:57 DEBUG Start VDS Validation 

Tue, 14 Aug 2012 12:00:57 DEBUGEntered VdsValidation(subject =  
'192.168.3.24', random_num =  
'c8008897-9996-43a0-a712-dbb99d72ed71', rev_num = 'None',


installVirtualizationService = 'True', installGlusterService = 'False')

Tue, 14 Aug 2012 12:00:57 DEBUGSetting up Package Sacks

Tue, 14 Aug 2012 12:00:58 DEBUGHost properly registered with  
RHN/Satellite.


Tue, 14 Aug 2012 12:00:58 DEBUG BSTRAP  
component='RHN_REGISTRATION' status='OK' message='Host properly  
registered with RHN/Satellite.'/


Tue, 14 Aug 2012 12:00:59 DEBUGAvailable VDSM matches requirements

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='VDSM_MAJOR_VER'  
status='OK' message='Available VDSM matches requirements'/


Tue, 14 Aug 2012 12:00:59 DEBUGvirtExplorer testing

Tue, 14 Aug 2012 12:00:59 DEBUGCPU vendor is GenuineIntel

Tue, 14 Aug 2012 12:00:59 DEBUGvirt support in cpu: True, in bios: True

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='VT_SVM'  
status='OK' processor='Intel' message='Server supports  
virtualization'/


Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='OS' status='OK'  
type='FEDORA' message='Supported platform version'/


Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='KERNEL'  
status='OK' version='3.5.1-1.fc17.x86_64' message='Supported kernel  
version: [~3.5.1~, ~1.f


c17.x86_64~]'/

Tue, 14 Aug 2012 12:00:59 DEBUG['/sbin/grubby',  
'--update-kernel', 'DEFAULT', '--args', 'elevator=deadline']


Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG['/sbin/grubby',  
'--update-kernel', 'DEFAULT', '--args', 'processor.max_cstate=1']


Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUGCheck required packages ...

Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q', 'SDL.x86_64']

Tue, 14 Aug 2012 12:00:59 DEBUGSDL-1.2.14-16.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='SDL.x86_64' message='SDL-1.2.14-16.fc17.x86_64  
'/


Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q',  
'bridge-utils.x86_64']


Tue, 14 Aug 2012 12:00:59 DEBUGbridge-utils-1.5-3.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='bridge-utils.x86_64'  
message='bridge-utils-1.5-3.fc17.x86_64 '/


Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q',  
'mesa-libGLU.x86_64']


Tue, 14 Aug 2012 12:00:59 DEBUGmesa-libGLU-8.0.3-3.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='mesa-libGLU.x86_64'  
message='mesa-libGLU-8.0.3-3.fc17.x86_64 '/


Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q', 'openssl.x86_64']

Tue, 14 Aug 2012 12:00:59 DEBUGopenssl-1.0.0j-2.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='openssl.x86_64'  
message='openssl-1.0.0j-2.fc17.x86_64 '/


Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q', 'm2crypto.x86_64']

Tue, 14 Aug 2012 12:00:59 DEBUGm2crypto-0.21.1-8.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='m2crypto.x86_64'  
message='m2crypto-0.21.1-8.fc17.x86_64 '/


Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q', 'rsync.x86_64']

Tue, 14 Aug 2012 12:00:59 DEBUGrsync-3.0.9-2.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='REQ PACKAGES'  
status='OK' result='rsync.x86_64'  
message='rsync-3.0.9-2.fc17.x86_64 '/


Tue, 14 Aug 2012 12:00:59 DEBUGCheck VDS packages ...

Tue, 14 Aug 2012 12:00:59 DEBUG['/usr/bin/rpm', '-q', 'qemu-kvm']

Tue, 14 Aug 2012 12:00:59 DEBUGqemu-kvm-1.0.1-1.fc17.x86_64

Tue, 14 Aug 2012 12:00:59 DEBUG

Tue, 14 Aug 2012 12:00:59 DEBUG BSTRAP component='VDS PACKAGES'  
status='OK' result='qemu-kvm' message='qemu-kvm-1.0.1-1.fc17.x86_64  
'/


Tue, 14 Aug 2012 12:00:59 DEBUG

[Users] Unable to add storage

2012-08-09 Thread snmishra


While Importing storage domain, I see the error message -

Error: A Request to the Server failed with the following Status Code: 500

I don't see any error in engine.log -

2012-08-09 17:50:00,018 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-50) Checking autorecoverable storage domains  
done
2012-08-09 17:53:50,502 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (ajp--0.0.0.0-8009-1) [2a6492da] START, ValidateStorageServerConnectionVDSCommand(vdsId = 07b72d80-e1e2-11e1-8351-00fffeeb, storagePoolId = ----, storageType = NFS, connectionList = [{ id: null, connection: 192.168.68.209:/iso-cluster3 };]), log id:  
1cfa03b5
2012-08-09 17:53:50,545 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand] (ajp--0.0.0.0-8009-1) [2a6492da] FINISH, ValidateStorageServerConnectionVDSCommand, return: {----=0}, log id:  
1cfa03b5
2012-08-09 17:53:50,562 INFO   
[org.ovirt.engine.core.bll.storage.ConnectStorageToVdsCommand]  
(ajp--0.0.0.0-8009-1) [2a6492da] Running command:  
ConnectStorageToVdsCommand internal: false. Entities affected :  ID:  
aaa0----123456789aaa Type: System
2012-08-09 17:53:50,565 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]  
(ajp--0.0.0.0-8009-1) [2a6492da] START,  
ConnectStorageServerVDSCommand(vdsId =  
07b72d80-e1e2-11e1-8351-00fffeeb, storagePoolId =  
----, storageType = NFS,  
connectionList = [{ id: null, connection: 192.168.68.209:/iso-cluster3  
};]), log id: 648b117
2012-08-09 17:53:50,708 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]  
(ajp--0.0.0.0-8009-1) [2a6492da] FINISH,  
ConnectStorageServerVDSCommand, return:  
{----=0}, log id: 648b117
2012-08-09 17:53:50,878 INFO   
[org.ovirt.engine.core.bll.storage.GetExistingStorageDomainListQuery]  
(ajp--0.0.0.0-8009-11) START,  
GetExistingStorageDomainListQuery(org.ovirt.engine.core.common.queries.GetExistingStorageDomainListParameters@5fc57c29), log id:  
739b67f2
2012-08-09 17:53:50,886 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainsListVDSCommand]  
(ajp--0.0.0.0-8009-11) START, HSMGetStorageDomainsListVDSCommand(vdsId  
= 07b72d80-e1e2-11e1-8351-00fffeeb,  
storagePoolId=----, storageType=NFS,  
storageDomainType=ISO, path=192.168.68.209:/iso-cluster3), log id:  
28e978af
2012-08-09 17:55:00,002 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Checking autorecoverable hosts
2012-08-09 17:55:00,009 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Autorecovering 0 hosts
2012-08-09 17:55:00,009 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Checking autorecoverable hosts done
2012-08-09 17:55:00,010 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Checking autorecoverable storage domains
2012-08-09 17:55:00,011 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Autorecovering 0 storage domains
2012-08-09 17:55:00,012 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-10) Checking autorecoverable storage domains  
done
2012-08-09 17:55:55,995 INFO   
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainsListVDSCommand]  
(ajp--0.0.0.0-8009-11) FINISH, HSMGetStorageDomainsListVDSCommand,  
return: [], log id: 28e978af
2012-08-09 17:55:55,997 INFO   
[org.ovirt.engine.core.bll.storage.GetExistingStorageDomainListQuery]  
(ajp--0.0.0.0-8009-11) FINISH, GetExistingStorageDomainListQuery, log  
id: 739b67f2
2012-08-09 18:00:00,004 INFO   
[org.ovirt.engine.core.bll.AutoRecoveryManager]  
(QuartzScheduler_Worker-80) Checking autorecoverable hosts


I am running ovirt-engine-3.1.0-2.fc17.

-Sharad Mishra

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


[Users] Add host fails with missing cpuFlag 'vmx'.

2012-08-07 Thread snmishra


Hi,


Upadted from ovirt-engine 3.1.0-1.fc17 to 3.1.0-2.fc17. Now, when  
I add hosts, it fails with missing cpuFlags vmx. New host is running  
--


vdsm 4.10.0-6.fc17
qemu-kvm-1.0-18.fc17.

and the output of  vdsClient -s 0 getVdsCaps is -

clusterLevels = ['3.0', '3.1']
cpuCores = 1
cpuFlags =  
fpu,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pse36,c   

lflush,mmx,fxsr,sse,sse2,syscall,nx,lm,up,nopl,pni,cx16,hypervisor,lahf_lm

cpuModel = QEMU Virtual CPU version (cpu64-rhel6)
cpuSockets = 1
cpuSpeed = 1999.980
emulatedMachines = ['pc-0.15', 'pc-1.0', 'pc', 'pc-0.14',  
'pc-0.13', 'pc  
-0.12', 'pc-0.11', 'pc-0.10', 'isapc']

guestOverhead = 65
hooks = {}
kvmEnabled = false
lastClient = 192.168.68.235
lastClientIface = ovirtmgmt
management_ip =
memSize = 7987
netConfigDirty = False



On the older host (which was working, I had) -
qemu-kvm-1.0-17.fc17
vdsm-4.10.0-5.fc17

and its output of vdsClient -s 0 getVdsCaps is -

clusterLevels = ['3.0', '3.1']
cpuCores = 1
cpuFlags =  
pge,clflush,syscall,tsc,vmx,cmov,fpu,lm,msr,nx,fxsr,pae,nopl,mmx,cx8,mce,de,mca,pse,pni,apic,sse,lahf_lm,sse2,hypervisor,up,cx16,pse36,mtrrmodel_486,model_pentium,model_pentium2,model_pentium3,model_pentiumpro,model_qemu32,model_coreduo,model_core2duo,model_n270,model_Conroe,model_Penryn,model_Nehalem,model_Opteron_G1

cpuModel = Intel(Fake) CPU
cpuSockets = 1
cpuSpeed = 1999.980
emulatedMachines = ['pc-0.15', 'pc-1.0', 'pc', 'pc-0.14',  
'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']

guestOverhead = 65


Is this a new issue? Should we open a BZ?

-Sharad

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


[Users] Unable to start engine from rpm install.

2012-08-03 Thread snmishra


Hi,

   I have been building and running engine on my dev machine from  
source. Today I tried to install and setup engine from RPM on another  
machine. I followed the procedure from  
http://wiki.ovirt.org/wiki/Installing_ovirt_from_rpm. But I get the  
following error -


oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port:443
host-fqdn: ichigo-dom235.phx.austin.ibm.com
auth-pass: 
org-name:  ibm
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
config-nfs:no
override-iptables: yes
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt-engine...  [ DONE ]
Creating CA...   [ DONE ]
Editing JBoss Configuration...   [ 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 Firewall (iptables)...   [ DONE ]
Starting JBoss Service... [ ERROR ]
Error: Can't start the ovirt-engine service
Please check log file  
/var/log/ovirt-engine/engine-setup_2012_08_03_16_16_41.log for more  
information



And the log shows -

2012-08-03 18:08:56::DEBUG::engine-setup::1747::root:: config-nfs: no
2012-08-03 18:08:56::DEBUG::engine-setup::1747::root:: override-iptables: no
2012-08-03 18:08:56::ERROR::engine-setup::2376::root:: Traceback (most  
recent call last):

  File /bin/engine-setup, line 2370, in module
main(confFile)
  File /bin/engine-setup, line 2159, in main
runSequences()
  File /bin/engine-setup, line 2105, 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 154, in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /bin/engine-setup, line 1535, in _startJboss
srv.start(True)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 795, in start
raise Exception(output_messages.ERR_FAILED_START_SERVICE % self.name)
Exception: Error: Can't start the ovirt-engine service

I verified that there was no java process running before starting  
'engine-setup'. I also noticed that .../standalone/deployment/  
directory only had a README file.


Any Clues?
-Sharad

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


[Users] Missing Tivoli Directory Server (ITDS) support in 3.1

2012-06-29 Thread snmishra

Hi,

I am trying to test ITDS support in ovirt 3.1. We have an F17  
machine that was running ovirt 3.0. We upgraded it to 3.1 and tried to  
add a Tivoli DS to it by running engine-manage-domains -action=add.  
But was surprised to see the error that itds is not supported and the  
only supported ones are ipa, rhds and AD. I am thinking that it is  
possible that something did not go right with the upgrade from 3.0 to  
3.1. I am preparing a fresh f17 with ovirt 3.1 to test again.


Thanks
Sharad Mishra
IBM

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


[Users] RESOLVED: Missing Tivoli Directory Server (ITDS) support in 3.1

2012-06-29 Thread snmishra


Quoting Ryan Harper ry...@us.ibm.com:

* snmis...@linux.vnet.ibm.com snmis...@linux.vnet.ibm.com  
[2012-06-29 09:20]:

Hi,

I am trying to test ITDS support in ovirt 3.1. We have an F17
machine that was running ovirt 3.0. We upgraded it to 3.1 and tried
to add a Tivoli DS to it by running engine-manage-domains
-action=add. But was surprised to see the error that itds is not
supported and the only supported ones are ipa, rhds and AD. I am
thinking that it is possible that something did not go right with
the upgrade from 3.0 to 3.1. I am preparing a fresh f17 with ovirt
3.1 to test again.


It wasn't an upgrade, we did a fresh f17 install and added the
ovirt packages from the beta[1] repo, but this was around test day,
so the version installed is: ovirt-engine-3.1.0_0001-0.gitf093e0.fc17.noarch


Updated the machine to  
ovirt-engine-3.1.0-0.1.20120620git6ef9f8.fc17.noarch and that has the  
ITDS support.


Sorry for the confusion.

-Sharad


1. http://www.ovirt.org/releases/beta/fedora/17/




Thanks
Sharad Mishra
IBM

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


--
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
ry...@us.ibm.com




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


[Users] Adding LDAP server directly with its FQDN.

2012-06-29 Thread snmishra


Hi,

  Is there a way to directly add an LDAP server to ovirt? Currently I  
run engine-manage-domains with -domain=domain-name. This finds all  
the ldap servers in the domain. Can I skip this and just add the one I  
want? I have the fqdn of the ldap server.


Regards
Sharad Mishra
IBM

___
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


Re: [Users] freeipa and ovirt can't add domain

2012-04-26 Thread snmishra


Quoting Steve Gordon sgor...@redhat.com:


- Original Message -

From: Jesse Brandeburg jesse.brandeb...@intel.com
To: snmis...@linux.vnet.ibm.com
Cc: users@ovirt.org
Sent: Thursday, April 26, 2012 3:18:57 PM
Subject: Re: [Users] freeipa and ovirt can't add domain

On Thu, 26 Apr 2012 14:35:32 -0400
snmis...@linux.vnet.ibm.com wrote:

 What's in your engine-manage-domains.log?

hm, didn't know that log was there
2012-04-26 09:15:37,544 INFO
 [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating
kerberos configuration for domain(s): bvtest.org
2012-04-26 09:15:37,648 ERROR
[org.ovirt.engine.core.dns.DnsSRVLocator] Error: could not find DNS
SRV record name: _kerberos._tcp.BVTEST.ORG.
Exception message is: DNS name not found [response code 3]
Possible causes: missing DNS entries in the DNS server or DNS
resolving issues from engine-core machine.
Please Ensure correct DNS entries exist in the DNS server and ensure
the DNS server is reachable from the engine-core machine.

I'll go add that _kerberos._tcp.BVTEST.ORG option to dnsmasq and let
you know how it goes!
Thanks


From memory you will want to do _ldap._tcp... while you are there.


Here is something else to try -

# nslookup

set q=srv
_ldap._tcp.ibm.com

Server: 9.42.xx.xxx
Address:9.42.xx.xxx

Non-authoritative answer:
_ldap._tcp.ibm.com  service = 0 100 389 .ibm.com.
_ldap._tcp.ibm.com  service = 0 100 389 bbb.watson.ibm.com.
_ldap._tcp.ibm.com  service = 0 100 389 ccc.pok.ibm.com.
_ldap._tcp.ibm.com  service = 0 100 389 ddd.pok.ibm.com.


-Sharad



Steve




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


Re: [Users] Joss fails to start ... Keystore was tampered.

2012-04-19 Thread snmishra


Quoting Ofer Schreiber oschr...@redhat.com:


I'm trying to understand few things:
1. Did you used RPM for deployment?


No, it was from source. (git clone)


2. Was it an UPGRADE for the engine?


yes, I updated the source which was about a month old.

3. Do you have /etc/pki/ovirt-engine/.keystore available? did it  
changed recently?


There is no .keystore in /etc/pki/ovirt-engine. But rest of the files  
in this directory were modified on 4/17 (certs, keys, private,  
requests). I was playing with kerberos for ldap on 17th so it is  
possible that I did something that messed up the server, and it was  
just coincidental that I upgraded the source next day and ran into  
this issue.


Any help on how I can get out of it?

-Sharad Mishra


Ofer.

- Original Message -


I had jboss running on my rhel6.2 machine. This morning I fetched
latest engine source, built and deployed it. I did not see any
errors.
But now when I start jboss-as service I see following errors in
engine.log -

2012-04-18 13:57:48,051 INFO  [org.ovirt.engine.core.bll.Backend]
(MSC
service thread 1-5) Start time: 4/18/12 1:57 PM
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
LocalAdminPassword will be used encrypted value
2012-04-18 13:57:48,209 WARN
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
1-5)
Could not find enum value for option: NetConsolePort
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
CertificatePassword will be used encrypted value
2012-04-18 13:57:48,214 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect

Regards,
Sharad Mishra
IBM

___
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] Joss fails to start ... Keystore was tampered.

2012-04-19 Thread snmishra


Quoting Doron Fediuck dfedi...@redhat.com:


Please check again using ls -la on that folder.


Yes, I did run ls -la :-)

-Sharad Mishra



Sent from my Android phone. Please ignore typos.

-Original Message-
From: snmis...@linux.vnet.ibm.com
Received: Thursday, 19 Apr 2012, 20:38
To: Ofer Schreiber [oschr...@redhat.com]
CC: users@ovirt.org
Subject: Re: [Users] Joss fails to start ... Keystore was tampered.


Quoting Ofer Schreiber oschr...@redhat.com:


I'm trying to understand few things:
1. Did you used RPM for deployment?


No, it was from source. (git clone)


2. Was it an UPGRADE for the engine?


yes, I updated the source which was about a month old.


3. Do you have /etc/pki/ovirt-engine/.keystore available? did it
changed recently?


There is no .keystore in /etc/pki/ovirt-engine. But rest of the files
in this directory were modified on 4/17 (certs, keys, private,
requests). I was playing with kerberos for ldap on 17th so it is
possible that I did something that messed up the server, and it was
just coincidental that I upgraded the source next day and ran into
this issue.

Any help on how I can get out of it?

-Sharad Mishra


Ofer.

- Original Message -


I had jboss running on my rhel6.2 machine. This morning I fetched
latest engine source, built and deployed it. I did not see any
errors.
But now when I start jboss-as service I see following errors in
engine.log -

2012-04-18 13:57:48,051 INFO  [org.ovirt.engine.core.bll.Backend]
(MSC
service thread 1-5) Start time: 4/18/12 1:57 PM
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,204 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
LocalAdminPassword will be used encrypted value
2012-04-18 13:57:48,209 WARN
[org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread
1-5)
Could not find enum value for option: NetConsolePort
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect
2012-04-18 13:57:48,212 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
service thread 1-5) Failed to decrypt value for property
CertificatePassword will be used encrypted value
2012-04-18 13:57:48,214 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
service thread 1-5) Failed to decryptjava.io.IOException: Keystore
was
tampered with, or password was incorrect

Regards,
Sharad Mishra
IBM

___
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


Sent from my Android phone. Please ignore typos.




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