Re: [Users] [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Mark Wu

On 01/22/2013 08:56 PM, Deepak C Shetty wrote:

Hi All,
I have a multi-VM setup, where I have ovirt engine on one VM and 
VDSM host on another.
Discovering the host from the engine puts the host in Unassigned 
state, with the error saying 'ovirtmgmt' network not found.


When i select setupNetworks and drag-drop the ovirtmgmt to setup over 
eth0, i see the below error in VDSM & host goes to non-operataional 
state.


I tried the steps mentioned by Alon in 
http://lists.ovirt.org/pipermail/users/2012-December/011257.html

but still see the same error

= dump from vdsm.log 

MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,496::configNetwork::1438::setupNetworks::(setupNetworks) 
Requested operation is not valid: cannot set autostart for transient 
network

Traceback (most recent call last):
  File "/usr/share/vdsm/configNetwork.py", line 1420, in setupNetworks
implicitBonding=True, **d)
  File "/usr/share/vdsm/configNetwork.py", line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File "/usr/share/vdsm/configNetwork.py", line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File "/usr/share/vdsm/configNetwork.py", line 192, in _createNetwork
net.setAutostart(1)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart 
for transient network
MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,502::supervdsmServer::77::SuperVdsm.ServerCallback::(wrapper) 
Error in setupNetworks

Traceback (most recent call last):
  File "/usr/share/vdsm/supervdsmServer.py", line 75, in wrapper
return func(*args, **kwargs)
  File "/usr/share/vdsm/supervdsmServer.py", line 170, in setupNetworks
return configNetwork.setupNetworks(networks, bondings, **options)
  File "/usr/share/vdsm/configNetwork.py", line 1420, in setupNetworks
implicitBonding=True, **d)
  File "/usr/share/vdsm/configNetwork.py", line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File "/usr/share/vdsm/configNetwork.py", line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File "/usr/share/vdsm/configNetwork.py", line 192, in _createNetwork
net.setAutostart(1)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart 
for transient network
If you just run vdsm to test the functions not related to network, you 
could just disable the libvirt default network before you start up the 
vdsm service.

I



___
vdsm-devel mailing list
vdsm-de...@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


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


Re: [Users] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-24 Thread Mark Wu

Great work!
The default action for SIGCHLD is ignore, so there's no problems 
reported before a signal handler is installed by zombie reaper.
But I still have one problem: the python multiprocessing.manager code 
is running a new thread and according to the implementation of python's 
signal, only the main thread can receive the signal.

So how is the signal delivered to the server thread?


On Fri 25 Jan 2013 12:30:39 PM CST, Royce Lv wrote:


Hi,
   I reproduced this issue, and I believe it's a python bug.
   1. How to reproduce:
   with the test case attached, put it under /usr/share/vdsm/tests/,
run #./run_tests.sh superVdsmTests.py
   and this issue will be reproduced.
   2.Log analyse:
   We notice a strange pattern in this log: connectStorageServer be
called twice, first supervdsm call succeed, second fails becasue of
validateAccess().
   That is because for the first call validateAccess returns normally
and leave a child there, when the second validateAccess call arrives
and multirprocessing manager is receiving the method message, it is
just the time first child exit and SIGCHLD comming, this signal
interrupted multiprocessing receive system call, python managers.py
should handle INTR and retry recv() like we do in vdsm but it's not,
so the second one raise error.
>Thread-18::DEBUG::2013-01-22 
10:41:03,570::misc::85::Storage.Misc.excCmd::() '/usr/bin/sudo -n 
/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6,nfsvers=3 
192.168.0.1:/ovirt/silvermoon /rhev/data-center/mnt/192.168.0.1:_ovirt_silvermoon' (cwd 
None)
>Thread-18::DEBUG::2013-01-22 
10:41:03,607::misc::85::Storage.Misc.excCmd::() '/usr/bin/sudo -n 
/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6,nfsvers=3 
192.168.0.1:/ovirt/undercity /rhev/data-center/mnt/192.168.0.1:_ovirt_undercity' (cwd 
None)
>Thread-18::ERROR::2013-01-22 
10:41:03,627::hsm::2215::Storage.HSM::(connectStorageServer) Could not connect to 
storageServer
>Traceback (most recent call last):
>  File "/usr/share/vdsm/storage/hsm.py", line 2211, in connectStorageServer
>conObj.connect()
>  File "/usr/share/vdsm/storage/storageServer.py", line 303, in connect
>return self._mountCon.connect()
>  File "/usr/share/vdsm/storage/storageServer.py", line 209, in connect
>fileSD.validateDirAccess(self.getMountObj().getRecord().fs_file)
>  File "/usr/share/vdsm/storage/fileSD.py", line 55, in validateDirAccess
>(os.R_OK | os.X_OK))
>  File "/usr/share/vdsm/supervdsm.py", line 81, in __call__
>return callMethod()
>  File "/usr/share/vdsm/supervdsm.py", line 72, in 
>**kwargs)
>  File "", line 2, in validateAccess
>  File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in 
_callmethod
>raise convert_to_error(kind, result)
the vdsm side receive RemoteError because of supervdsm server
multiprocessing manager raise error KIND='TRACEBACK'
  >RemoteError:
The upper part is the trace back from the client side, the following
part is from server side:
>---
>Traceback (most recent call last):
>  File "/usr/lib64/python2.6/multiprocessing/managers.py", line 214, in 
serve_client
>request = recv()
>IOError: [Errno 4] Interrupted system call
>---

Corresponding Python source code:managers.py(Server side)
 def serve_client(self, conn):
 '''
 Handle requests from the proxies in a particular process/thread
 '''
 util.debug('starting server thread to service %r',
threading.current_thread().name)
 recv = conn.recv
 send = conn.send
 id_to_obj = self.id_to_obj
 while not self.stop:
 try:
 methodname = obj = None
 request = recv()<--this line been interrupted 
by SIGCHLD
 ident, methodname, args, kwds = request
 obj, exposed, gettypeid = id_to_obj[ident]
 if methodname not in exposed:
 raise AttributeError(
 'method %r of %r object is not in exposed=%r' %
 (methodname, type(obj), exposed)
 )
 function = getattr(obj, methodname)
 try:
 res = function(*args, **kwds)
 except Exception, e:
 msg = ('#ERROR', e)
 else:
 typeid = gettypeid and gettypeid.get(methodname, None)
 if typeid:
 rident, rexposed = self.create(conn, typeid, res)
 token = Token(typeid, self.address, rident)
 msg = ('#PROXY', (rexposed, token))
 else:
 msg = ('#RETURN', res)
 except AttributeError:
 if methodname is None:
 msg = ('#TRACEBACK', f

Re: [Users] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-25 Thread Mark Wu

On Fri 25 Jan 2013 05:23:24 PM CST, Royce Lv wrote:

I patched python source managers.py to retry recv() after EINTR,
supervdsm works well and the issue gone.
Even declared in python doc that:"only the main thread can set a
new signal handler, and the main thread will be the only one to
receive signals (this is enforced by the Python signal
<http://docs.python.org/2/library/signal.html#module-signal> module,
even if the underlying thread implementation supports sending signals
to individual threads). "(http://docs.python.org/2/library/signal.html)
But according to my test script bellow, the child process forker
event if it is not the main thread, also got SIGCHILD, Will it be a
python BUG or feature?


Thanks for sharing your test code. After testing your script and  
looking into the python signal module,
I found that the signal could be received by any thread!  Python 
installs a signal handler wrapper for
all user defined signal handler. The wrapper  just adds the actual 
handler to the queue of pending
calls,  and the main thread check the pending calls and run the actual 
hander before executing the next instruction.
So, the signal interruption can happens to any thread and therefore the 
wrapper could run in any thread.
But the user-defined handler only runs in the main thread. And if the 
signal occurs in non main thread, the main
thread will not be interrupted  and the signal will only be handled 
when the main thread finishes the current instruction.


Please correct me if I am wrong.



I agree with Mark maybe we should use synchronised way to deal
with child process instead of signal handler.
import threading
import signal
import time
import os
from multiprocessing import Process,Pipe
def _zombieReaper(signum, frame):
 print 'sigchild!!!'

def child():
 time.sleep(5)
def sleepThread():
 proc = Process(target=child)
 proc.start()
 pip,pop = Pipe()
 pip.recv()<--This line will get IOError.EINTR by SIGCHLD
def main():
 signal.signal(signal.SIGCHLD, _zombieReaper)
 servThread = threading.Thread(target = sleepThread)
 servThread.setDaemon(True)
 servThread.start()
 time.sleep(30)
if __name__ == '__main__':
     main()
On 01/25/2013 03:20 PM, Mark Wu wrote:

Great work!
The default action for SIGCHLD is ignore, so there's no problems
reported before a signal handler is installed by zombie reaper.
But I still have one problem: the python multiprocessing.manager code
is running a new thread and according to the implementation of
python's signal, only the main thread can receive the signal.
So how is the signal delivered to the server thread?


On Fri 25 Jan 2013 12:30:39 PM CST, Royce Lv wrote:


Hi,
   I reproduced this issue, and I believe it's a python bug.
   1. How to reproduce:
   with the test case attached, put it under /usr/share/vdsm/tests/,
run #./run_tests.sh superVdsmTests.py
   and this issue will be reproduced.
   2.Log analyse:
   We notice a strange pattern in this log: connectStorageServer be
called twice, first supervdsm call succeed, second fails becasue of
validateAccess().
   That is because for the first call validateAccess returns normally
and leave a child there, when the second validateAccess call arrives
and multirprocessing manager is receiving the method message, it is
just the time first child exit and SIGCHLD comming, this signal
interrupted multiprocessing receive system call, python managers.py
should handle INTR and retry recv() like we do in vdsm but it's not,
so the second one raise error.
>Thread-18::DEBUG::2013-01-22
10:41:03,570::misc::85::Storage.Misc.excCmd::()
'/usr/bin/sudo -n /bin/mount -t nfs -o
soft,nosharecache,timeo=600,retrans=6,nfsvers=3
192.168.0.1:/ovirt/silvermoon
/rhev/data-center/mnt/192.168.0.1:_ovirt_silvermoon' (cwd None)
>Thread-18::DEBUG::2013-01-22
10:41:03,607::misc::85::Storage.Misc.excCmd::()
'/usr/bin/sudo -n /bin/mount -t nfs -o
soft,nosharecache,timeo=600,retrans=6,nfsvers=3
192.168.0.1:/ovirt/undercity
/rhev/data-center/mnt/192.168.0.1:_ovirt_undercity' (cwd None)
>Thread-18::ERROR::2013-01-22
10:41:03,627::hsm::2215::Storage.HSM::(connectStorageServer) Could
not connect to storageServer
>Traceback (most recent call last):
>  File "/usr/share/vdsm/storage/hsm.py", line 2211, in
connectStorageServer
>conObj.connect()
>  File "/usr/share/vdsm/storage/storageServer.py", line 303, in
connect
>return self._mountCon.connect()
>  File "/usr/share/vdsm/storage/storageServer.py", line 209, in
connect
> fileSD.validateDirAccess(self.getMountObj().getRecord().fs_file)
>  File "/usr/share/vdsm/storage/fileSD.py", line 55, in
validateDirAccess
>(os.R_OK | os.X_OK))
>  File "/usr/share/vdsm/supervdsm.py", line 81, in __call__
>return callMethod()
>  File "/usr/share/vdsm/supervdsm.py",

Re: [Users] 6.4 CR: oVirt 3.1 breaks with missing cpu features after update to CentOS 6.4 (6.3 + CR)

2013-03-05 Thread Mark Wu

On Tue 05 Mar 2013 04:52:05 AM CST, Itamar Heim wrote:

On 04/03/2013 19:03, Patrick Hurrelmann wrote:

Hi list,

I tested the upcoming CentOS 6.4 release with my lab installation of
oVirt 3.1 and it fails to play well.

Background: freshly installed CentOS 6.3 host in a Nehalem CPU-type
Cluster with 2 other hosts. Storage is iSCSI. Datacenter and Cluster are
both version 3.1. oVirt 3.1 was installed via Dreyou's repo.

In CentOS 6.3 all is fine and the following rpms are installed:

libvirt.x86_640.9.10-21.el6_3.8
libvirt-client.x86_64 0.9.10-21.el6_3.8
libvirt-lock-sanlock.x86_64   0.9.10-21.el6_3.8
libvirt-python.x86_64 0.9.10-21.el6_3.8
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.295.el6_3.10


uname -a
Linux vh-test1.mydomain.com 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6
03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh cpu capabilities on 6.3:
 
   x86_64
   Nehalem
   Intel
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 

and corresponding cpu features from vdsClient:

cpuCores = 4
cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,
   cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
   tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
   pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
   dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,

pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
   flexpriority,ept,vpid,model_Conroe,model_Penryn,
   model_Nehalem
cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
cpuSockets = 1
cpuSpeed = 2394.132


So the system was updated to 6.4 using the continuous release repo.

Installed rpms after update to 6.4 (6.3 + CR):

libvirt.x86_640.10.2-18.el6
libvirt-client.x86_64 0.10.2-18.el6
libvirt-lock-sanlock.x86_64   0.10.2-18.el6
libvirt-python.x86_64 0.10.2-18.el6
vdsm.x86_64   4.10.0-0.46.15.el6
vdsm-cli.noarch   4.10.0-0.46.15.el6
vdsm-python.x86_644.10.0-0.46.15.el6
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6
qemu-kvm.x86_64   2:0.12.1.2-2.355.el6_4_4.1


uname -a
Linux vh-test1.mydomain.com 2.6.32-358.0.1.el6.x86_64 #1 SMP Wed Feb 27
06:06:45 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

virsh capabilities on 6.4:
 
   x86_64
   Nehalem
   Intel
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
 

and corresponding cpu features from vdsClient:

cpuCores = 4
cpuFlags = fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,
   cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,
   tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,
   pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,
   dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,

pdcm,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,
   flexpriority,ept,vpid,model_coreduo,model_Conroe
cpuModel = Intel(R) Xeon(R) CPU   X3430  @ 2.40GHz
cpuSockets = 1
cpuSpeed = 2394.098

Full outputs of virsh capabilities and vdsCaps are attached. The only
difference I can see is that 6.4 exposes one additional cpu flags (sep)
and this seems to break the cpu recognition of vdsm.

Anyone has some hints on how to resolve or debug this further? What more
information can I provide to help?

Best regards
Patrick



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



seems like a vdsm issue - can you check if you have this patch (not
sure its related):

commit 558994f8ffe030acd1b851dfd074f3417681337b
Author: Mark Wu 
Date:   Tue Oct 9 11:18:10 2012 +0800

Fix a bug in the naming convertion of cpu feature 'sse4_x'

The list slice opertion missed the last character. It caused
the feature name couldn't get chance to be converted into
libvirt's naming.

Change-Id: Ia241b09c96fa16441ba9421f61a2f9a417f0d978
    Signed-off-by: Mark Wu 
Reviewed-on: http://gerrit.ovirt.org/8413
Reviewed-by: Dan Kenigsberg 
Reviewed-by: Michal Skrivanek 

diff --git a/vdsm/libvirtvm.py b/vdsm/libvirtvm.py
index 64a3b6b..bd43b56 100644
--- a/vdsm/libvirtvm.py
+++ b/vdsm/libvirtvm.py
@@ -735,7 +735,7 @@ class _DomXML:

 for feature in features[1:]:
 # convert Linux name of feature to libvirt
-if feature[1:5] == 'sse4_':
+if feature[1:6] == 'sse4_':

Re: [Users] Migration issue Asking For Help

2013-03-05 Thread Mark Wu

On Tue 05 Mar 2013 05:28:17 PM CST, xianghuadu wrote:

hi  all
 I recently in the research ovirt encounter a problem.
In the vm migration occurs when the error: Migration failed due to Error: Could 
not connect to peer host.
My environment is:
KVM dell 2950 * 2
storageiscsi-target
vm systemwindows 2008 r2
ovirt-log:
2013-03-05 14:52:23,074 INFO  
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-42) 
[323d7ca8] VM centos 4cc23d92-8667-4710-9714-a67c0d178fa0 moved from MigratingFrom 
--> Up
2013-03-05 14:52:23,076 INFO  
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
(QuartzScheduler_Worker-42) [323d7ca8] adding VM 
4cc23d92-8667-4710-9714-a67c0d178fa0 to re-run list
2013-03-05 14:52:23,079 ERROR 
[org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] 
(QuartzScheduler_Worker-42) [323d7ca8] Rerun vm 
4cc23d92-8667-4710-9714-a67c0d178fa0. Called from vds 205
2013-03-05 14:52:23,085 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
(pool-3-thread-49) [323d7ca8] START, MigrateStatusVDSCommand(HostName = 205, 
HostId = 4e7d1ae2-824e-11e2-bb4c-00188be4de29, 
vmId=4cc23d92-8667-4710-9714-a67c0d178fa0), log id: 618085d
2013-03-05 14:52:23,131 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-3-thread-49) [323d7ca8] Failed in MigrateStatusVDS method
2013-03-05 14:52:23,132 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-3-thread-49) [323d7ca8] Error code noConPeer and error message 
VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = 
Could not connect to peer VDS
2013-03-05 14:52:23,134 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-3-thread-49) [323d7ca8] Command 
org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return value

 Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc
mStatus   Class Name: 
org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc
mCode 10
mMessage  Could not connect to peer VDS
2013-03-05 14:52:23,138 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] 
(pool-3-thread-49) [323d7ca8] HostName = 205
2013-03-05 14:52:23,139 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] 
(pool-3-thread-49) [323d7ca8] Command MigrateStatusVDS execution failed. 
Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to 
MigrateStatusVDS, error = Could not connect to peer VDS
2013-03-05 14:52:23,141 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] 
(pool-3-thread-49) [323d7ca8] FINISH, MigrateStatusVDSCommand, log


vdsm-log:
Thread-5969::DEBUG::2013-03-05 
14:52:21,312::libvirtvm::283::vm.Vm::(_getDiskLatency) 
vmId=`4cc23d92-8667-4710-9714-a67c0d178fa0`::Disk vda latency not available
Thread-5622::ERROR::2013-03-05 14:52:22,890::vm::200::vm.Vm::(_recover) 
vmId=`4cc23d92-8667-4710-9714-a67c0d178fa0`::Failed to destroy remote VM
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 198, in _recover
self.destServer.destroy(self._vm.id)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1382, in _parse_response
response = file.read(1024)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
data = self._sock.recv(left)
  File "/usr/lib64/python2.6/ssl.py", line 215, in recv
return self.read(buflen)
  File "/usr/lib64/python2.6/ssl.py", line 136, in read
return self._sslobj.read(len)
SSLError: The read operation timed out
Thread-5622::ERROR::2013-03-05 14:52:22,909::vm::283::vm.Vm::(run) 
vmId=`4cc23d92-8667-4710-9714-a67c0d178fa0`::Failed to migrate
Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 268, in run
self._startUnderlyingMigration()
  File "/usr/share/vdsm/libvirtvm.py", line 443, in _startUnderlyingMigration
response = self.destServer.migrationCreate(self._machineParams)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request
return self._parse_response(h.getfile(), sock)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1382, in _parse_response
response = file.read(1024)
  File "/usr/lib64/python2.6/socket.py", line 383, in read
data = self._sock.recv(left)
  File "/usr/lib64/python2.6/ssl.py", line 215, in recv
return self.read(buflen)
  File "/usr/lib64/python2.6/ssl.py", line 136, in read
return sel

Re: [Users] why ovirt does not support NAT network

2013-03-10 Thread Mark Wu

On 03/08/2013 05:16 AM, Dan Kenigsberg wrote:

On Thu, Mar 07, 2013 at 03:57:49PM +0100, Adrian Gibanel wrote:

Just in case it might help you please check:

http://lists.ovirt.org/pipermail/users/2012-April/001751.html

This is almost 1 year old, but I did not notice it yet. I love the
detailed solution!
+1 on NAT network.  Except that it can save ip address, it also could 
reduce the external physical switch's pressure on mac table. Because the 
VM's

mac address is invisible to external switch.

But there're two limitations of NAT network compared with physically 
bridged network:
1. The VMs attached to the same NAT network, but on different hosts 
can't hear each other.  It could be resolved by constructing a tunnel or 
tunnels
among the hosts in the same cluster and centralizing the mac 
address management of dnsmasq on ovirt engine.


2. The VMs in NAT network are hidden behind the host. The external host 
can't initiate a connection to the VM.  I think it's fine for a desktop VM.\
For a server VM, it can't be resolved by add a DNAT rule on demand. It's 
similar to the 'floating ip address' in quantum.





Yes, the rant there, about ovirt network being tightly-coupled with a
physical interface, is 100% justified. I'm trying to address some of
that in http://www.ovirt.org/Features/Nicless_Network but it's a long
way to go.


I managed to implement Virtualbox-hostonly-alike networks gathering more info 
from:
http://libvirt.org/formatnetwork.html
.
You might be also interested in: http://wiki.libvirt.org/page/Networking 
although I didn't use it myself.

You might probably already know this information but, just in case, here it is.


___
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] why ovirt does not support NAT network

2013-03-12 Thread Mark Wu

On Wed 13 Mar 2013 07:09:16 AM CST, Itamar Heim wrote:

On 03/11/2013 05:16 AM, Mark Wu wrote:

On 03/08/2013 05:16 AM, Dan Kenigsberg wrote:

On Thu, Mar 07, 2013 at 03:57:49PM +0100, Adrian Gibanel wrote:

Just in case it might help you please check:

http://lists.ovirt.org/pipermail/users/2012-April/001751.html

This is almost 1 year old, but I did not notice it yet. I love the
detailed solution!

+1 on NAT network.  Except that it can save ip address, it also could
reduce the external physical switch's pressure on mac table. Because the
VM's
mac address is invisible to external switch.

But there're two limitations of NAT network compared with physically
bridged network:
1. The VMs attached to the same NAT network, but on different hosts
can't hear each other.  It could be resolved by constructing a tunnel or
tunnels
 among the hosts in the same cluster and centralizing the mac
address management of dnsmasq on ovirt engine.

2. The VMs in NAT network are hidden behind the host. The external host
can't initiate a connection to the VM.  I think it's fine for a
desktop VM.\
For a server VM, it can't be resolved by add a DNAT rule on demand. It's
similar to the 'floating ip address' in quantum.


also need to remember live migration will probably not work with NAT.
Yes, it could break live migration.  But we could use 
conntrack-tools(conntrack or conntrackd)
to sync the ip conntrack entries related to that VM's ip address before 
resume the VM on dest host.

Just a preliminary idea, not verified yet.



how would floating IP work? wouldn't you need to map it 1:1 with the
NAT'd IP?
Yes, it should have a 1:1 mapping between external ip address and the 
ip address in the NAT network.







Yes, the rant there, about ovirt network being tightly-coupled with a
physical interface, is 100% justified. I'm trying to address some of
that inhttp://www.ovirt.org/Features/Nicless_Network  but it's a long
way to go.


I managed to implement Virtualbox-hostonly-alike networks gathering
more info from:
http://libvirt.org/formatnetwork.html
.
You might be also interested
in:http://wiki.libvirt.org/page/Networking  although I didn't use
it myself.

You might probably already know this information but, just in case,
here it is.


___
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] oVirt 3.2 and MD3600i

2013-04-09 Thread Mark Wu

On 04/10/2013 02:31 AM, martin.krali...@accenture.com wrote:


Hello,

Has somebody experience with Dell MD3600i and oVirt 3.2.1?

Host and oVirt are deployed on Fedora 18.

My infrastructure contains: 2 x powerconnect 6224 and this storage 
with two controllers


Both switch are in stack mode and storage is connect with four 10Gb 
ports in same subnet (is better to use it without stack as two subnet?)


So, where is problem...I can create iSCSI storage domain, everything 
seems to be OK but when I want to add next host they cannot access 
this iSCSI target (in storage management tools is already added to 
host group)


And during this process I can see only on host console IO error, 
buffer error and kernel BUG: soft lockup -- CPU stuck etc...



Could you please paste the log messages related to the errors above ?


Exists recommended way how involved iSCSI?

Thanks for any suggestions

Martin



This message is for the designated recipient only and may contain 
privileged, proprietary, or otherwise confidential information. If you 
have received it in error, please notify the sender immediately and 
delete the original. Any other use of the e-mail by you is prohibited.


Where allowed by local law, electronic communications with Accenture 
and its affiliates, including e-mail and instant messaging (including 
content), may be scanned by our systems for the purposes of 
information security and assessment of internal compliance with 
Accenture policy.


__

www.accenture.com


___
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] host goes to non-operational because interface down message

2013-04-10 Thread Mark Wu

On 04/11/2013 06:20 AM, Gianluca Cecchi wrote:

Hello,
I have a newly created datacenter in 3.2.1 with f18 host where
ovirtmgmt is set as vlan.
host is installed but after some minutes I get this messages:

Host management02 moved to Non-Operational state because interfaces
'em1.311' are down but are needed by networks 'ovirtmgmt' in the
current cluster
What does 'vdsClient -s 0 getVdsStats' say on vdsm host?  Could you 
please paste the whole line of 'network = {xxx}' in the output here?

Thanks!



from an operating system point of view it seems that all is ok on the host

[root@management02 ~]# ip addr list
1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
2: em1:  mtu 1500 qdisc mq state UP qlen 1000
 link/ether 00:15:17:b4:99:3c brd ff:ff:ff:ff:ff:ff
3: em2:  mtu 1500 qdisc mq state UP qlen 1000
 link/ether 00:15:17:b4:99:3d brd ff:ff:ff:ff:ff:ff
 inet 213.205.41.202/26 brd 213.205.41.255 scope global em2
4: em1.311@em1:  mtu 1500 qdisc
noqueue master ovirtmgmt state UP
 link/ether 00:15:17:b4:99:3c brd ff:ff:ff:ff:ff:ff
5: ovirtmgmt:  mtu 1500 qdisc noqueue state UP
 link/ether 00:15:17:b4:99:3c brd ff:ff:ff:ff:ff:ff
 inet 10.39.71.12/26 brd 10.39.71.63 scope global ovirtmgmt
7: ;vdsmdummy;:  mtu 1500 qdisc noop state DOWN
 link/ether 36:98:c3:39:5f:43 brd ff:ff:ff:ff:ff:ff
8: bond0:  mtu 1500 qdisc noop state DOWN
 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
9: bond4:  mtu 1500 qdisc noop state DOWN
 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
10: bond1:  mtu 1500 qdisc noop state DOWN
 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
11: bond2:  mtu 1500 qdisc noop state DOWN
 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
12: bond3:  mtu 1500 qdisc noop state DOWN
 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff

[root@management02 ~]# ethtool em1
Settings for em1:
 Supported ports: [ FIBRE ]
 Supported link modes:   1000baseT/Full
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes:  1000baseT/Full
 Advertised pause frame use: Symmetric
 Advertised auto-negotiation: Yes
 Speed: 1000Mb/s
 Duplex: Full
 Port: FIBRE
 PHYAD: 0
 Transceiver: internal
 Auto-negotiation: on
 Supports Wake-on: pumbg
 Wake-on: g
 Current message level: 0x0007 (7)
drv probe link
 Link detected: yes
[root@management02 ~]# ethtool em1.311
Settings for em1.311:
 Supported ports: [ FIBRE ]
 Supported link modes:   1000baseT/Full
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes:  1000baseT/Full
 Advertised pause frame use: Symmetric
 Advertised auto-negotiation: Yes
 Speed: 1000Mb/s
 Duplex: Full
 Port: FIBRE
 PHYAD: 0
 Transceiver: internal
 Auto-negotiation: on
 Link detected: yes


On engine
[root@management01 ~]# ip addr list
1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
 inet 127.0.0.1/8 scope host lo
2: em1:  mtu 1500 qdisc mq state UP qlen 1000
 link/ether 00:15:17:b1:1f:e8 brd ff:ff:ff:ff:ff:ff
3: em2:  mtu 1500 qdisc mq state UP qlen 1000
 link/ether 00:15:17:b1:1f:e9 brd ff:ff:ff:ff:ff:ff
 inet 213.205.41.201/26 brd 213.205.41.255 scope global em2
4: em1.192@em1:  mtu 1500 qdisc
noqueue state UP
 link/ether 00:15:17:b1:1f:e8 brd ff:ff:ff:ff:ff:ff
 inet 192.168.230.1/24 brd 192.168.230.255 scope global em1.192
5: em1.311@em1:  mtu 1500 qdisc
noqueue state UP
 link/ether 00:15:17:b1:1f:e8 brd ff:ff:ff:ff:ff:ff
 inet 10.39.71.11/26 brd 10.39.71.63 scope global em1.311


[root@management01 ~]# ethtool em1
Settings for em1:
 Supported ports: [ FIBRE ]
 Supported link modes:   1000baseT/Full
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes:  1000baseT/Full
 Advertised pause frame use: Symmetric
 Advertised auto-negotiation: Yes
 Speed: 1000Mb/s
 Duplex: Full
 Port: FIBRE
 PHYAD: 0
 Transceiver: internal
 Auto-negotiation: on
 Supports Wake-on: pumbg
 Wake-on: g
 Current message level: 0x0007 (7)
drv probe link
 Link detected: yes
[root@management01 ~]# ethtool em1.311
Settings for em1.311:
 Supported ports: [ FIBRE ]
 Supported link modes:   1000baseT/Full
 Supported pause frame use: No
 Supports auto-negotiation: Yes
 Advertised link modes:  1000baseT/Full
 Advertised pause frame use: Symmetric
 Advertised auto-negotiation: Yes
 Speed: 1000Mb/s
 Duplex: Full
 Port: FIBRE
 PHYAD: 0
 Transceiver: internal
 Auto-negotiation: on
 Link detected: yes

what can be the cause?
what is the check that runs and move the host to non-operational?
Thanks
Gianluca
_

Re: [Users] host goes to non-operational because interface down message

2013-04-11 Thread Mark Wu

Gianluca,

Thanks for your so detailed report.  But unfortunately I can't find any 
clue related to
this network interface status problem.  Sorry for that. Maybe other guy 
can add more comments.


At this moment, I suspect  the link of em1.311 and probably its 
underlying interface em1 went down occasionally and came up in a
short time.  Is it possible?   You could check the system log 
'/var/log/messages' to find related  messages.




Thanks for your input Mark.
At the moment all is well again with the host; anyway I'm going to
give a long explanation of what I did below and so possible reasons
for that situation.
There is also feed for developers answers in that ...

I cannot connect at the moment to the host to cut and paste in text
but I have access to java console and here is a screenshot containing
the line you requested (captured now that all is ok and host up and
runnign with two VMs):

https://docs.google.com/file/d/0BwoPbcrMv8mvdmdIMUxTRVRVUzg/edit?usp=sharing

Which fields are expected to be indicators of problems, as I had yesterday?

You can check the 'state' filed in each interface.



The story:

oVirt is 3.2.1
- create a datacenter of type local_on_host
- create a cluster
- the ovirtmgmt is intended to be vlan tagged but I forget it... damn...
- I add a host (f18) where I prepared network configured with vlan

ifcfg-em1
ifcfg-em1.311

- the host deploy completes successfully --> here in my opinion a
possible bug because ovirtmgmt is not tagged?
- host reboots and apparently all is ok
- I can create local_on_host SD and ISO
- all is up and running without any VM yet

The host is a blade inside an IMS enclosure and I discover that
actually I can configure the storage assigned (second disk of the
blade) as FC and that there is also multipath for this kind of servers
(see the other thread of mine).

The optimal would be to deactivate all and redefine the DC as
Fibrechannel type but it seems not so easy

I probably make an error at this point because instead of directly
putting host into maintenance I follow these steps in the gui:
- expand my DC at the left
- expand STORAGE of that DC on the left
- select my storage domain (LSTORAGE) on the left

On the right pane  I select the line of LSTORAGE and in the bottom
pane I select the "datacenter" label where I then select the line of
my DC.
I choose "maintenance"

--> what is it supposed I have done this way?
Put storage domain in maintenance or DC or what?

Is it supposed to be a correct operation what I've done if the DC is
Up and this is the only SD I have?
Or would it be correct to receive an error from the system?

Because I don't receive any error and I see the SD down and host that
keeps staying with the status "Preparing to maintenance"

I don't remember correctly my steps here, possibly restart of host
that is recognized then as unassigned.
After that I cannot "force remove" the DC and I cannot remove the
cluster or host because it is not in maintenance.

After I also reboot the engine service and restart  the host, it comes
up normally with all the DC with the old config.
At this point I can put host in maintenance and force remove the DC
I create a new DC with same name but with type FC and ovirtmgmt as
vlan tagged and I see that the existing cluster is still present, so I
attach it to the new DC (that has the same name as before).
I also find that there is my host that seems to automatically be in
this cluster.

But at this point when I activate it, it comes up but after a few
minutes I get the message I posted at the beginning
In host details, its network interfaces keep down.
Tried different restarts of host.
So I decide to put host into maintenance and select into the gui to
"reinstall" it.
After this all goes well again..

Sorry for the long story

Gianluca

___
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] 102 VDSM processes ?

2013-04-15 Thread Mark Wu

On 04/16/2013 06:20 AM, Alex Leonhardt wrote:

Hi,

I'm wondering why my Hyper-Visor is running 102 vdsm processes, each 
using ~20mb = 2GB used ?? Is this expected and normal ??
vdsm uses the models of multi-threading and multi-processes both. So not 
sure if they're all processes. Could you please paste what you see here 
here?  Or capture the output of command "ps -L aux|grep vdsm" on your 
hypervisor.


Thanks!
Mark.



Thanks,
Alex

--
www.vcore.co | www.vsearchcloud.com | Follow @www_vcore_co 




___
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] Unable to run VM with ”opening backend ‘pyt’ failed”

2012-07-16 Thread Mark Wu

On 07/16/2012 09:46 AM, xuejie chen wrote:



check the owner and permission of that image file:

ls -l 
/rhev/data-center/2d7df94d-738d-4d7d-97a4-dd5027a4bf25/d3267b58-cbbd-4e6e-8685-8acd152d49a1/images/7e1011e0-d0ac-4c1f-bd09-a19e450c3259/9c728c1d-762e-4670-9076-9ca5a37b6354

Run"setenforce 0"to disable selinux and see if it helps:

Thanks!




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


Re: [Users] Unable to run VM with ”opening backend ‘pyt’ failed”

2012-07-17 Thread Mark Wu

On 07/17/2012 06:41 PM, Romain LE DISEZ wrote:

nodes fixed it for me:
I am not sure how you met this problem. In previous versions, the 
boolean 'virt_use_nfs'  was set on first running of vdsmd after 
installation or reconfigure.

In lastest vdsm,  it's enabled on vdsm installation automatically.

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


[Users] Failed to update ovirt-engine

2012-07-23 Thread Mark Wu

Hi guys,

The update failed because of the dependency on ovirt-engine-sdk, which 
is not available in http://www.ovirt.org/releases/beta/fedora/17/

How to fix it?

Thanks!
Mark.

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


Re: [Users] Failed to update ovirt-engine

2012-07-24 Thread Mark Wu

On 07/24/2012 05:23 PM, Ofer Schreiber wrote:


- Original Message -

Hi guys,

The update failed because of the dependency on ovirt-engine-sdk,
which
is not available in http://www.ovirt.org/releases/beta/fedora/17/
How to fix it?

Repo was fixed, thanks for the report. (and sorry for the inconvenience, we had 
some issues regenerating the repo last week)


Thanks!
Mark.

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


Thanks for the quick fix!

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


Re: [Users] sanlock issues

2012-08-07 Thread Mark Wu

On 08/07/2012 02:35 AM, Jacob Wyatt wrote:

oVirt Node Hypervisor release 2.5.0 (2.0.fc17)

Can't start a VM.  Same error in any of /var/log/libvirt/qemu/vmname.log

libvir: Locking error : unsupported configuration: Read/write, exclusive 
access, disks were present, but no leases specified

I've tried several suggestions including:

modprobe softdog
systemctl restart wdmd.service
systemctl restart sanlock.service

I haven't changed the default configs but I'm heading there next.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


What does  "grep -v ^#  /etc/libvirt/qemu-sanlock.conf"  say?

Have you tried `/usr/lib/systemd/systemd-vdsmd reconfigure` ?


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


Re: [Users] sanlock issues

2012-08-07 Thread Mark Wu

On 08/07/2012 03:47 PM, Johan Kragsterman wrote:

Hi!

Since I'm a storage guy, I would like to know more about this! Are these 
watchdog/SANlock features LVM functionality, or is it a part of oVirt? Since I 
can't find any info about it in oVirt wiki documentation...

http://wiki.ovirt.org/wiki/SANLock   Hope it helps for you.



Since LUN's are mapped to all the machines in the cluster, I guess it is not on 
that level, but more on the Logical Volume level, since it is the LV that is 
used by the host.

I would like to get some deeper info about how the the storage architecture is 
implemented, and what the storage strategy is for the future...Someone can 
enlighten me? Show me to some documentation?

Rgrds Johan

-users-boun...@ovirt.org skrev: -
Till: Jacob Wyatt
Från: Mark Wu
Sänt av: users-boun...@ovirt.org
Datum: 2012.08.07 09:14
Kopia: "users@ovirt.org"
Ärende: Re: [Users] sanlock issues

On 08/07/2012 02:35 AM, Jacob Wyatt wrote:

oVirt Node Hypervisor release 2.5.0 (2.0.fc17)

Can't start a VM.  Same error in any of /var/log/libvirt/qemu/vmname.log

libvir: Locking error : unsupported configuration: Read/write, exclusive 
access, disks were present, but no leases specified

I've tried several suggestions including:

modprobe softdog
systemctl restart wdmd.service
systemctl restart sanlock.service

I haven't changed the default configs but I'm heading there next.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


What does  "grep -v ^#  /etc/libvirt/qemu-sanlock.conf"  say?

Have you tried `/usr/lib/systemd/systemd-vdsmd reconfigure` ?


___
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] Add host fails with missing cpuFlag 'vmx'.

2012-08-07 Thread Mark Wu

On 08/08/2012 08:40 AM, snmis...@linux.vnet.ibm.com wrote:
QEMU Virtual CPU version 
Is the option 'fake_kvm_support'  enabled in /etc/vdsm/vdsm.conf on your 
new host?



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


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

2012-08-08 Thread Mark Wu

On 08/08/2012 03:05 PM, Itamar Heim wrote:

On 08/08/2012 05:05 AM, Mark Wu wrote:

On 08/08/2012 08:40 AM, snmis...@linux.vnet.ibm.com wrote:

QEMU Virtual CPU version

Is the option 'fake_kvm_support'  enabled in /etc/vdsm/vdsm.conf on your
new host?


it's not a physical host?


I guess so.  Please the cpuModel:

  new host:
cpuModel = QEMU Virtual CPU version (cpu64-rhel6)
  old host:
cpuModel = Intel(Fake) CPU



___
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] Issue setting IP information for Non-VM networks

2012-08-09 Thread Mark Wu

On 08/09/2012 01:25 AM, Trey Dockendorf wrote:

A few weeks back I started a discussion about my issues with
IP/Netmask not being set on networks that weren't enabled for VM use.
The bug is here, https://bugzilla.redhat.com/show_bug.cgi?id=834205.

I've since upgrade to latest ovirt / vdsm and while the issue seems to
be resolved it's now failing in a different way.  Looking at the logs
, it looks like the correct parameters are being passed to vdsm but
the ifcfg-eth* is still left with no IPADDR or NETMASK values.

Attached are logs from when Assigning a Static IP to both eth0 /
ovirtmgmt and eth1/stor0.

CentOS 6.3 on the Engine host with the following versions
ovirt-engine-cli-3.1.0.2-1alpha.el6.noarch
ovirt-engine-webadmin-portal-3.1.0-3.16.el6.noarch
ovirt-engine-notification-service-3.1.0-3.16.el6.noarch
ovirt-iso-uploader-3.1.0-16.el6.noarch
ovirt-engine-sdk-3.1.0.1-1alpha.el6.noarch
ovirt-engine-restapi-3.1.0-3.16.el6.noarch
ovirt-engine-backend-3.1.0-3.16.el6.noarch
ovirt-engine-userportal-3.1.0-3.16.el6.noarch
ovirt-engine-tools-common-3.1.0-3.16.el6.noarch
ovirt-engine-dbscripts-3.1.0-3.16.el6.noarch
ovirt-engine-3.1.0-3.16.el6.noarch
ovirt-log-collector-3.1.0-16.el6.noarch
ovirt-engine-jbossas711-1-0.x86_64
ovirt-engine-setup-3.1.0-3.16.el6.noarch
ovirt-engine-config-3.1.0-3.16.el6.noarch
ovirt-engine-genericapi-3.1.0-3.16.el6.noarch
ovirt-image-uploader-3.1.0-16.el6.noarch

CentOS 6.3 on the Node with the following versions
vdsm-xmlrpc-4.10.0-0.42.12.el6.noarch
vdsm-python-4.10.0-0.42.12.el6.x86_64
vdsm-cli-4.10.0-0.42.12.el6.noarch
vdsm-hook-simpleqemu-0.1-1.el6.noarch
vdsm-4.10.0-0.42.12.el6.x86_64

After performing the change in the web interface, this is ifcfg-eth1
(missing IPADDR and NETMASK)
# cat ifcfg-eth1
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=none
HWADDR=00:25:90:4c:91:bf
NM_CONTROLLED=no
MTU=9000

I can reproduce this problem with vdsm-4.10.0-6.fc17.x86_64.
It turns out the fix for bz834205 is not backported to oVirt 3.1 branch.
Igor, do you think it should be backported?

I've also run into an issue where in the web interface, the ovirtmgmt
network always reverts back to DHCP as the boot protocol.  The ifcfg
on node will reflect the correct setting after I change to static, but
if I go to re-edit the entry, it's back on DHCP.

I hit this problem before, and filed a bug for it:
https://bugzilla.redhat.com/show_bug.cgi?id=838816


Thanks
- Trey


___
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] oVirt 3.1 - Import ISO Domain

2012-08-14 Thread Mark Wu

On 08/15/2012 03:12 AM, Dominic Kaiser wrote:
Today I had the same error both 500 and 477.  I was using 
ovirt-node-iso-2.5.0-2.0.fc17. I was doing a new install of 3.1 and 
could not add NFS storage at all.  This build has a pre 3.5 kernel on 
it so that should not have been the problem.  I then installed a new 
copy of Fedora 17 as the node added it as a host and was able to add 
all my NFS domains.  I hope that helps.  And does anyone know of this 
node build having problems?  I can replicate this issue.


Dominic

On Tue, Aug 14, 2012 at 10:27 AM, Ricardo Esteves 
mailto:ricardo.m.este...@gmail.com>> wrote:


Hi,


I'm trying to import an ISO domain, but i get this: Error: A
Request to the Server failed with the following Status Code: 500

On vdsm log i have this:

MountError: (32, ";mount.nfs: rpc.statd is not running but is
required for remote locking.\nmount.nfs: Either use '-o nolock' to
keep locks local, or start statd.\nmount.nfs: an incorrect mount
option was specified\n")

Can someone help please?

It seems it's related http://gerrit.ovirt.org/#/c/4720/.   The 
unnecessary nfs related rpm/commands including rpc-bind were removed 
from ovirt-node. But the service nfs-lock requires rpc-bind, so it

can't start.  I guess so.  Michael,  is it?   Thanks!



Best regards,
Ricardo Esteves.


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




--
Dominic Kaiser
Greater Boston Vineyard
Director of Operations

cell: 617-230-1412
fax: 617-252-0238
email: domi...@bostonvineyard.org 




___
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] Can't login with the user 'admin'

2012-09-18 Thread Mark Wu


After upgrading ovirt-engine (new version: 
ovirt-engine-3.1.0-3.1345126685.git7649eed.fc17),  I can't login with 
the user 'admin'.   Here's my upgrade process:

yum remove ovirt-engine
yum install ovirt-engine
engine-setup   and type the same password for 'admin' as before.

The setup script finished successfully. But I can't login with 'admin' 
user.   I tried to run engine-setup again, but it didn't help.


I also tried to change password with engine-config:

# engine-config -g AdminPassword
Failed to decrypt the current value
# engine-config -s AdminPassword=
'' is not a valid value for type Password.

It always complains it's not a valid value whatever I input.

Is there anyone hit problem before?  And any idea about how to resolve it?
Thanks


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


Re: [Users] Can't login with the user 'admin'

2012-09-18 Thread Mark Wu

On 09/19/2012 02:04 PM, Yair Zaslavsky wrote:

Mark,
Can you please provide engine logs here?


Yair,

Here's the related engine log:

2012-09-19 14:24:37,899 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] 
(QuartzScheduler_Worker-72) XML RPC error in command GetCapabilitiesVDS 
( Vds: host2 ), the error was: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException, 
SunCertPathBuilderException: unable to find valid certification path to 
requested target
2012-09-19 14:24:37,941 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] 
(QuartzScheduler_Worker-73) XML RPC error in command GetCapabilitiesVDS 
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException, 
SunCertPathBuilderException: unable to find valid certification path to 
requested target
2012-09-19 14:24:38,637 ERROR 
[org.ovirt.engine.core.bll.LoginAdminUserCommand] 
(ajp--127.0.0.1-8009-10) USER_FAILED_TO_AUTHENTICATE : admin
2012-09-19 14:24:38,637 WARN  
[org.ovirt.engine.core.bll.LoginAdminUserCommand] 
(ajp--127.0.0.1-8009-10) CanDoAction of action LoginAdminUser failed. 
Reasons:USER_FAILED_TO_AUTHENTICATE
2012-09-19 14:24:39,999 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand] 
(QuartzScheduler_Worker-77) XML RPC error in command GetCapabilitiesVDS 
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException, 
SunCertPathBuilderException: unable to find valid certification path to 
requested target

...



On 09/19/2012 09:02 AM, Mark Wu wrote:


After upgrading ovirt-engine (new version:
ovirt-engine-3.1.0-3.1345126685.git7649eed.fc17),  I can't login with
the user 'admin'.   Here's my upgrade process:
yum remove ovirt-engine
yum install ovirt-engine
engine-setup   and type the same password for 'admin' as before.

The setup script finished successfully. But I can't login with 'admin'
user.   I tried to run engine-setup again, but it didn't help.

I also tried to change password with engine-config:

# engine-config -g AdminPassword
Failed to decrypt the current value
# engine-config -s AdminPassword=
'' is not a valid value for type Password.

It always complains it's not a valid value whatever I input.

Is there anyone hit problem before?  And any idea about how to 
resolve it?

Thanks


___
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] Can't login with the user 'admin'

2012-09-18 Thread Mark Wu

On 09/19/2012 02:48 PM, Yair Zaslavsky wrote:

Not sure how much it is informative in this case.
What also bothers me is that you got "failed to decrypt" when you used 
engine-config -g


When you start the jboss server, and look at the engine.log and 
server.log, do you see some prints with "failed to decrypt"?



This time is more informative:

2012-09-19 14:54:21,465 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,465 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property TruststorePass will be 
used encrypted value
2012-09-19 14:54:21,487 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,487 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property CertificatePassword 
will be used encrypted value
2012-09-19 14:54:21,497 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,498 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property LocalAdminPassword will 
be used encrypted value
2012-09-19 14:54:21,509 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,510 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property AdminPassword will be 
used encrypted value
2012-09-19 14:54:21,514 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Could not parse option AutoRecoveryAllowedTypes value.





On 09/19/2012 09:26 AM, Mark Wu wrote:

On 09/19/2012 02:04 PM, Yair Zaslavsky wrote:

Mark,
Can you please provide engine logs here?


Yair,

Here's the related engine log:

2012-09-19 14:24:37,899 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-72) XML RPC error in command GetCapabilitiesVDS
( Vds: host2 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
2012-09-19 14:24:37,941 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-73) XML RPC error in command GetCapabilitiesVDS
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
2012-09-19 14:24:38,637 ERROR
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
(ajp--127.0.0.1-8009-10) USER_FAILED_TO_AUTHENTICATE : admin
2012-09-19 14:24:38,637 WARN
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
(ajp--127.0.0.1-8009-10) CanDoAction of action LoginAdminUser failed.
Reasons:USER_FAILED_TO_AUTHENTICATE
2012-09-19 14:24:39,999 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-77) XML RPC error in command GetCapabilitiesVDS
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
...



On 09/19/2012 09:02 AM, Mark Wu wrote:


After upgrading ovirt-engine (new version:
ovirt-engine-3.1.0-3.1345126685.git7649eed.fc17),  I can't login with
the user 'admin'.   Here's my upgrade process:
yum remove ovirt-engine
yum install ovirt-engine
engine-setup   and type the same password for 'admin' as before.

The setup script finished successfully. But I can't login with 'admin'
user.   I tried to run engine-setup again, but it didn't help.

I also tried to change password with engine-config:

# engine-config -g AdminPassword
Failed to decrypt the current value
# engine-config -s AdminPassword=
'' is not a valid value for type Password.

It always complains it's not a valid value whatever I input.

Is there anyone hit problem before?  And any idea about how to
resolve it?
Thanks


___
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] where do bond interfaces come from when adding a node that is FC17

2012-09-19 Thread Mark Wu

On 09/19/2012 11:25 PM, Christopher Maestas wrote:

When you add a fc17 node and look at it, it seems to add:
* ovirtmgmt bridge
* p2p1 interface
* and bond0-bond3.

Where does the bonding information get stored? It doesn't seem to be 
in /etc/sysconfig/network-scripts?



The bonding devices are created dynamically when vdsmd starts.
The reason I ask, is I have two nodes one of which has the bonding 
interfaces up and the other which doesn't. The one that doesn't have 
the bonding interfaces up is failing to be added to the ovirt node list.


I am not sure how the failure of adding host is related to bonding 
interfaces.  You could check the log
/tmp/vds_bootstrap.xx.log and /tmp/vds_installer.xx.log during 
node installation.



Thanks,
-cdm



___
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] Can't login with the user 'admin'

2012-09-20 Thread Mark Wu

Yair,

After running engine-cleanup and then engine-setup,  the problem 
disappeared.  I don't know what happened.  Anyway,  thanks for your help!


Mark


On 09/19/2012 02:48 PM, Yair Zaslavsky wrote:

Not sure how much it is informative in this case.
What also bothers me is that you got "failed to decrypt" when you used 
engine-config -g


When you start the jboss server, and look at the engine.log and 
server.log, do you see some prints with "failed to decrypt"?




On 09/19/2012 09:26 AM, Mark Wu wrote:

On 09/19/2012 02:04 PM, Yair Zaslavsky wrote:

Mark,
Can you please provide engine logs here?


Yair,

Here's the related engine log:

2012-09-19 14:24:37,899 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-72) XML RPC error in command GetCapabilitiesVDS
( Vds: host2 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
2012-09-19 14:24:37,941 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-73) XML RPC error in command GetCapabilitiesVDS
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
2012-09-19 14:24:38,637 ERROR
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
(ajp--127.0.0.1-8009-10) USER_FAILED_TO_AUTHENTICATE : admin
2012-09-19 14:24:38,637 WARN
[org.ovirt.engine.core.bll.LoginAdminUserCommand]
(ajp--127.0.0.1-8009-10) CanDoAction of action LoginAdminUser failed.
Reasons:USER_FAILED_TO_AUTHENTICATE
2012-09-19 14:24:39,999 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
(QuartzScheduler_Worker-77) XML RPC error in command GetCapabilitiesVDS
( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
java.lang.reflect.InvocationTargetException,
SunCertPathBuilderException: unable to find valid certification path to
requested target
...



On 09/19/2012 09:02 AM, Mark Wu wrote:


After upgrading ovirt-engine (new version:
ovirt-engine-3.1.0-3.1345126685.git7649eed.fc17),  I can't login with
the user 'admin'.   Here's my upgrade process:
yum remove ovirt-engine
yum install ovirt-engine
engine-setup   and type the same password for 'admin' as before.

The setup script finished successfully. But I can't login with 'admin'
user.   I tried to run engine-setup again, but it didn't help.

I also tried to change password with engine-config:

# engine-config -g AdminPassword
Failed to decrypt the current value
# engine-config -s AdminPassword=
'' is not a valid value for type Password.

It always complains it's not a valid value whatever I input.

Is there anyone hit problem before?  And any idea about how to
resolve it?
Thanks


___
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] non-operational state as host does not meet clusters' minimu CPU level.

2012-09-20 Thread Mark Wu

On 09/21/2012 01:01 PM, wujieke wrote:

I follow the wiki page to re-install ovirt with all-in-one version . my
local host in ovirt is working now.
Thanks a lot.

Btw: the cmd " virsh capabilities" complains out :

[root@localhost ~]# virsh capabilities
Please enter your authentication name:
Please enter your password:
error: Failed to reconnect to the hypervisor
error: no valid connection
error: authentication failed: Failed to step SASL negotiation: -1 (SASL(-1):
generic failure: All-whitespace username.)

any idea?

Please try "virsh -r capabilities"


-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Friday, September 21, 2012 12:44 PM
To: wujieke
Cc: node-de...@ovirt.org; users@ovirt.org
Subject: Re: [Users] non-operational state as host does not meet clusters'
minimu CPU level.

On 09/21/2012 03:54 AM, wujieke wrote:

[root@localhost ~]# vdsClient -s 0 getVdsCaps | grep -i flags
  cpuFlags =
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse3
6,clfl
ush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,pdpe1gb,rdtscp,
lm,con
stant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,ap
erfmpe
rf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr
,pdcm,
pcid,dca,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,
lahf_l
m,ida,arat,epb,xsaveopt,pln,pts,dts,tpr_shadow,vnmi,flexpriority,ept,v
pid,mo
del_coreduo,model_Conroe

seems only support model_Conroe?

and output of: virsh capabilities?



-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Thursday, September 20, 2012 10:04 PM
To: wujieke
Cc: node-de...@ovirt.org; users@ovirt.org
Subject: Re: [Users] non-operational state as host does not meet clusters'
minimu CPU level.

On 09/20/2012 12:19 PM, wujieke wrote:

Hi, everyone, if it's not the right mail list, pls point out.. thanks..

I am trying to install the ovirt on my Xeon E5-2650 process on Dell
server, which is installed with Fedora 17. While I create a new host
, which actually is the same server as overt-engine is running.

The host is created ,and starting to "installing". But it ends with
"Non operational state".

Error:

Host CPU type is not compatible with cluster properties, missing CPU
feature: model_sandybridge.

But in my cluster, I select "sandybridge" CPU, and my Xeon C5 is also
in Sandy bridge family.  And also this error lead my server reboot.

Any help is appreciated.

Btw: I have enable INTEL-VT in BIOS. And modprobe KVM and kvm-intel
modules. . attached is screen shot for error.



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


please send output of this command from the host (not engine)
vdsClient -s 0 getVdsCaps | grep -i flags



___
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] nested KVM

2012-09-25 Thread Mark Wu

On 09/26/2012 12:58 AM, Nathanaël Blanchet wrote:

Hello,

I've tried many times to run a node as a guest in ovirt following 
http://wiki.ovirt.org/wiki/Vdsm_Developers#Running_Node_as_guest_-_Nested_KVM 
. The result is that I'm able to register such a host in engine, but 
it is impossible to start any vm on it. If I boot on an ISO, I can see 
the first prompt and move between the items. But since I begin the 
installation I have a blank screen and the vm goes into pause mode in 
vit-manager. Then I have no way else than rebooting the hypervisor 
guest because it is impossible to resume. When I get logs on the real 
host, I can find this :
arning : x86Decode:1306 : Preferred CPU model Westmere not allowed by 
hypervisor; closest supported model will be used
Sep 25 17:11:59 khamsin libvirtd[23053]: 2012-09-25 15:11:59.384+: 
23054: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 17:12:19 khamsin libvirtd[23053]: 2012-09-25 15:12:19.150+: 
23055: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 17:45:48 khamsin libvirtd[23053]: 2012-09-25 15:45:48.342+: 
23058: warning : x86Decode:1306 : Preferred CPU model Westmere not 
allowed by hypervisor; closest supported model will be used
Sep 25 18:07:05 khamsin libvirtd[23053]: 2012-09-25 16:07:05.834+: 
23058: warning : x86Decode:1306 : Preferred CPU model Nehalem not 
allowed by hypervisor; closest supported model will be used
Sep 25 18:44:47 khamsin libvirtd[23053]: 2012-09-25 16:44:47.340+: 
23057: warning : x86Decode:1306 : Preferred CPU model Penryn not 
allowed by hypervisor; closest supported model will be used


As you can see, I have tried many cpu type for launching this guest 
hypervisor, but none of them is accepted by the hypervisor. Plus, I've 
modified each time the family type in the cluster tab, but it is the 
same.

On the hist:
#virsh capabilities gives

x86_64
Westmere
Intel

Thanks for your help



What does the command 'qemu-kvm -cpu ?' give ?   Could you please try 
the following guest cpu definition?


*

  core2duo
 



*

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


Re: [Users] nested KVM

2012-09-27 Thread Mark Wu

On 09/27/2012 03:21 PM, ybronhei wrote:

On 09/26/2012 04:06 AM, Mark Wu wrote:

On 09/26/2012 12:58 AM, Nathanaël Blanchet wrote:

Hello,

I've tried many times to run a node as a guest in ovirt following 
http://wiki.ovirt.org/wiki/Vdsm_Developers#Running_Node_as_guest_-_Nested_KVM 
. The result is that I'm able to register such a host in engine, but 
it is impossible to start any vm on it. If I boot on an ISO, I can 
see the first prompt and move between the items. But since I begin 
the installation I have a blank screen and the vm goes into pause 
mode in vit-manager. Then I have no way else than rebooting the 
hypervisor guest because it is impossible to resume. When I get logs 
on the real host, I can find this :
arning : x86Decode:1306 : Preferred CPU model Westmere not allowed 
by hypervisor; closest supported model will be used
Sep 25 17:11:59 khamsin libvirtd[23053]: 2012-09-25 
15:11:59.384+: 23054: warning : x86Decode:1306 : Preferred CPU 
model Westmere not allowed by hypervisor; closest supported model 
will be used
Sep 25 17:12:19 khamsin libvirtd[23053]: 2012-09-25 
15:12:19.150+: 23055: warning : x86Decode:1306 : Preferred CPU 
model Westmere not allowed by hypervisor; closest supported model 
will be used
Sep 25 17:45:48 khamsin libvirtd[23053]: 2012-09-25 
15:45:48.342+: 23058: warning : x86Decode:1306 : Preferred CPU 
model Westmere not allowed by hypervisor; closest supported model 
will be used
Sep 25 18:07:05 khamsin libvirtd[23053]: 2012-09-25 
16:07:05.834+: 23058: warning : x86Decode:1306 : Preferred CPU 
model Nehalem not allowed by hypervisor; closest supported model 
will be used
Sep 25 18:44:47 khamsin libvirtd[23053]: 2012-09-25 
16:44:47.340+: 23057: warning : x86Decode:1306 : Preferred CPU 
model Penryn not allowed by hypervisor; closest supported model will 
be used


As you can see, I have tried many cpu type for launching this guest 
hypervisor, but none of them is accepted by the hypervisor. Plus, 
I've modified each time the family type in the cluster tab, but it 
is the same.

On the hist:
#virsh capabilities gives

x86_64
Westmere
Intel

Thanks for your help



What does the command 'qemu-kvm -cpu ?' give ?   Could you please try 
the following guest cpu definition?

*

   core2duo
  



*


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

I've got error too during definition of nested kvm.

When i run qemu-kvm cpu ? i get: Unable to find x86 CPU definition. do 
you know why? what does this command show?


how do i add your configuration suggestion to my guest cpu?
Here's the output of  "qemu-kvm -cpu ?". It shows us which cpu models 
qemu can emulate.

x86   Opteron_G3
x86   Opteron_G2
x86   Opteron_G1
x86  Nehalem
x86   Penryn
x86   Conroe
x86   [n270]
x86 [athlon]
x86   [pentium3]
x86   [pentium2]
x86[pentium]
x86[486]
x86[coreduo]
x86  [kvm32]
x86 [qemu32]
x86  [kvm64]
x86   [core2duo]
x86 [phenom]
x86 [qemu64]

You can use 'virsh edit' or edit the xml configuration file of the vm to 
specify the cpu model. Just put the cpu definition into the root 
(domain) tag.



core2duo



After that, you should be able to see it in the output of 'virsh 
dumpxml'.  And the cpuinfo from guest should read like this:


#cat /proc/cpuinfo
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 15
model name: Intel(R) Core(TM)2 Duo CPU T7700  @ 2.40GHz


--
Yaniv Bronhaim.
RedHat, Israel
09-7692289
054-7744187


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


Re: [Users] help with iSCSI storage domain needed - Ovirt -3.1

2012-12-11 Thread Mark Wu

On 12/12/2012 09:40 AM, Aleksandr Arbitman wrote:

Hi, everybody !
I have installed  ovirt 3.1 engine and two nodes. I have setup iscsi 
storage on another box and tested it with windows system - I was able 
to add it to win7 initiator, meaning the storage configured properly. 
But I can't add iscsi storage in ovirt-engine system. When I use 
"DIscover Targets" option and type IP address of my iscsi system - 
nothing is happening.
All my systems - engine, nodes and iscsi server - are on the same 
network. Is it a bug? Is there any way to fix it ? Did anyone have the 
same issue ? Please, help. Thanks in advance for any tips.



Alex




Is there any error related in /var/vdsm/vdsm.log ?

Did you try to manually discover and login the iscsi target by the 
following command?


iscsiadm --mode discoverydb --type sendtargets --portal 192.168.122.1 
--discover   // replace the portal address with your iscsi server's ip 
address


iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 
192.168.1.1:3260 --login  //replace the iqn with what returned by the 
above command, and also the portal address.







___
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] help with iSCSI storage domain needed - Ovirt -3.1

2012-12-12 Thread Mark Wu

On 12/12/2012 03:34 PM, Aleksandr Arbitman wrote:

Mark.
running both commands on one of the nodes was successful, see below:

[root@ovirtnode1 ~]# iscsiadm --mode discoverydb --type sendtargets 
--portal 10.45.201.22 --discover


10.45.201.22:3260,1 iqn.2012-12.com.test:storage.target1

[root@ovirtnode1 ~]# iscsiadm --mode node --targetname 
iqn.2012-12.com.test:storage.target1 --portal 10.45.201.22:3260 --login


Logging in to [iface: default, target: 
iqn.2012-12.com.test:storage.target1, portal: 10.45.201.22,3260] 
(multiple)


Login to [iface: default, target: 
iqn.2012-12.com.test:storage.target1, portal: 10.45.201.22,3260] 
successful.


[root@ovirtnode1 ~]#

##
When I run "tail -f  /var/log/vdsm/vdsm.log" that log shows the node 
is trying to access NFS based domain which I removed in engine before 
trying to add iscsi data domain. See here:


I am not sure how it got connected to the NFS error. Did you mean 
running "tailf" when you're clicking the "DIscover Targets" button? 
Could you please paste your vdsm.log on http://fpaste.org/

and paste link here?  Thanks.

##
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/domainMonitor.py", line 103, in 
_monitorDomain

  File "/usr/share/vdsm/storage/nfsSD.py", line 100, in selftest
StorageDomainFSNotMounted: Storage domain remote path not mounted: 
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_iso-domain',)
Thread-31::ERROR::2012-12-12 
07:29:28,834::domainMonitor::120::Storage.DomainMonitor::(_monitorDomain) 
Error while collecting domain `f5adc0dc-7749-4d2c-b1ba-142ac4a0688c` 
monitoring information

Traceback (most recent call last):
  File "/usr/share/vdsm/storage/domainMonitor.py", line 103, in 
_monitorDomain

  File "/usr/share/vdsm/storage/nfsSD.py", line 100, in selftest
StorageDomainFSNotMounted: Storage domain remote path not mounted: 
('/rhev/data-center/mnt/nfs-storage.fib.int.asurion.com:_home_nfs-domain',)


##
Why can't I add iscsi storage using engine webGUI ?
What would you recommend ? Thank you very much in advance for your help.









--- On *Tue, 12/11/12, Mark Wu //* wrote:


From: Mark Wu 
Subject: Re: [Users] help with iSCSI storage domain needed - Ovirt
-3.1
To: "Aleksandr Arbitman" 
Cc: users@ovirt.org
Date: Tuesday, December 11, 2012, 10:36 PM

On 12/12/2012 09:40 AM, Aleksandr Arbitman wrote:

Hi, everybody !
I have installed  ovirt 3.1 engine and two nodes. I have setup
iscsi storage on another box and tested it with windows system -
I was able to add it to win7 initiator, meaning the storage
configured properly. But I can't add iscsi storage in
ovirt-engine system. When I use "DIscover Targets" option and
type IP address of my iscsi system - nothing is happening.
All my systems - engine, nodes and iscsi server - are on the same
network. Is it a bug? Is there any way to fix it ? Did anyone
have the same issue ? Please, help. Thanks in advance for any tips.


Alex




Is there any error related in /var/vdsm/vdsm.log ?

Did you try to manually discover and login the iscsi target by the
following command?

iscsiadm --mode discoverydb --type sendtargets --portal
192.168.122.1 --discover   // replace the portal address with your
iscsi server's ip address

iscsiadm --mode node --targetname iqn.2001-05.com.doe:test
--portal 192.168.1.1:3260 --login  //replace the iqn with what
returned by the above command, and also the portal address.






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




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


Re: [ovirt-users] oVirt China User Group?

2014-06-02 Thread Mark Wu

On 05/23/2014 06:35 PM, Brian Proffitt wrote:

The rental issue is a possibility. As you say, we would need to make sure that 
look and feel was mirrored. Is this something, perhaps, that IBM could assist 
us with setting up?
Get cloud-times involved because probably they could provide resource 
support somehow to build oVirt user group in China. So we can continue 
the discussion to make the request clear.


A question I have is, when you start adding new content, would we be able to 
have some of it translated into English to use on the ovirt.org?

Thank you so much for the interest! Please reach out to me to coordinate 
community efforts and let me know what you need in terms of content/assistance 
for local meetings/events.

Peace,
Brian Proffitt
oVirt Community Manager

- Original Message -

From: "Zhou Zheng Sheng" 
To: "适兕" , users@ovirt.org, "Mark Wu" 
, "Dan Kenigsberg"

Sent: Thursday, May 22, 2014 10:14:20 PM
Subject: Re: [ovirt-users] oVirt China User Group?

on 2014/05/22 17:44, 适兕 wrote:

Hello,

I'm writing to the list in reference to helping setting up a user group in
China.

As the oVirt community develops rapidly, there is a growing number of users
from China who have deployed oVirt, even in their production environment.
However, there is hardly voice/feedback from these users.

For better spreading oVirt in China, and to help more Chinese users get
into touch with the whole oVirt community, I am going to help setting up a
oVirt user group in China.

Things that the user group might help:
   0. translating articles, discussions, case studies on the oVirt website
   1. organizing online(irc, mailing list) and offline discussions about
oVirt
   2. volunteering in test week
   3. bug fixing
   4. developing features related to localization

By the way, when translating articles, should we setup a new individual
website or just do the l10n work on http://www.ovirt.org? If the former,
should we keep the look and feel the same with the oVirt website?

Great! I have some suggestions.

1. If it is possible, we'd better rent a (virtual/cloud) server inside
China. Sometimes it's very slow to access ovirt.org. Maybe we can also
have a sub-domain name such as cnuser.ovirt.org, and make the outlook of
cnuser the same as oVirt main site.

2. Considering the content, we can start by translating primary pages
and slides in ovirt.org. I think in China most of the technical people
are able to read English, so it is not necessary to translate all the
pages. We shall then provide new content that is different from the
oVirt main site. For example, successful customer stories, technical
experience sharing, and all the things you mentioned in the mail.

--
Zhou Zheng Sheng / 周征晟
E-mail: zhshz...@linux.vnet.ibm.com
Telephone: 86-10-82454397

___
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