Re: [Engine-devel] failed to add host into cluster

2013-11-26 Thread Dan Kenigsberg
On Tue, Nov 26, 2013 at 01:08:00PM +0800, ouyang guohua wrote:
> On 11/22/2013 08:38 PM, ouyang guohua wrote:
> >On 11/22/2013 07:52 PM, Dan Kenigsberg wrote:
> >>On Thu, Nov 21, 2013 at 05:22:35PM +0100, Michal Skrivanek wrote:
> >ok, that looks ok. Might be text parsing issue.
> >And "virsh capabilities" output?
> >what's the vdsm you're using?
> virsh capabilities" output is a bit long, see attachment
> 
> # rpm -q vdsm
> vdsm-4.10.3-18.fc19.x86_64

> 
> 
> so, the problem maybe exists on the old vdsm package but fixed on the new 
> package.

Thank Mark Wu's http://gerrit.ovirt.org/#/c/8208/!
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-11-25 Thread ouyang guohua

On 11/22/2013 08:38 PM, ouyang guohua wrote:

On 11/22/2013 07:52 PM, Dan Kenigsberg wrote:

On Thu, Nov 21, 2013 at 05:22:35PM +0100, Michal Skrivanek wrote:

ok, that looks ok. Might be text parsing issue.
And "virsh capabilities" output?
what's the vdsm you're using?

virsh capabilities" output is a bit long, see attachment

# rpm -q vdsm
vdsm-4.10.3-18.fc19.x86_64

hmm, works well on my box
try master, though this code didn't change since 2012

the code in vdsm/caps.py is pretty straightforward:
 caps = minidom.parseString(capabilities)
 for archTag in caps.getElementsByTagName('arch'):
 if archTag.getAttribute('name') == 'x86_64':
 return [m.firstChild.data for m in archTag.childNodes
 if m.nodeName == 'machine']


try to uninstall qemu Alpha support if it changes a thing or not...

As Michal noted, Vdsm parses the attached capabilities as it should.
Maybe it receives something else from libvirt. Could you add some
logging and report?

diff --git a/vdsm/caps.py b/vdsm/caps.py
index 5599522..4daca46 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -136,6 +136,7 @@ def _getCpuTopology(capabilities):
  def _getEmulatedMachines(capabilities=None):
  if capabilities is None:
  capabilities = _getCapsXMLStr()
+logging.debug('caps: %s', capabilities)
  caps = minidom.parseString(capabilities)
  for archTag in caps.getElementsByTagName('arch'):
  if archTag.getAttribute('name') == 'x86_64':

Maybe you can add some logging

ok, I will try it next Tuesday because I could not access the machine at
this time.

my caps.py is different from above, so go to update the vdsm package, and the 
problem is gone
after updated vdsm-4.10.3-18.fc19.x86_64 to 4.13.0-180.git5daa7fa.fc19.x86_64

# vdsClient -s 0 getVdsCaps | grep -A 15 emulatedMachines

emulatedMachines = ['pc',

'q35',

'isapc',

'pc-0.10',

'pc-0.11',

'pc-0.12',

'pc-0.13',

'pc-0.14',

'pc-0.15',

'pc-1.0',

'pc-1.1',

'pc-1.2',

'pc-1.3',

'none']

guestOverhead = '65'

hooks = {}


so, the problem maybe exists on the old vdsm package but fixed on the new 
package.




___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-11-22 Thread ouyang guohua
On 11/22/2013 07:52 PM, Dan Kenigsberg wrote:
> On Thu, Nov 21, 2013 at 05:22:35PM +0100, Michal Skrivanek wrote:
 ok, that looks ok. Might be text parsing issue.
 And "virsh capabilities" output?
 what's the vdsm you're using?
>>> virsh capabilities" output is a bit long, see attachment
>>>
>>> # rpm -q vdsm
>>> vdsm-4.10.3-18.fc19.x86_64
>> hmm, works well on my box
>> try master, though this code didn't change since 2012
>>
>> the code in vdsm/caps.py is pretty straightforward:
>> caps = minidom.parseString(capabilities)
>> for archTag in caps.getElementsByTagName('arch'):
>> if archTag.getAttribute('name') == 'x86_64':
>> return [m.firstChild.data for m in archTag.childNodes
>> if m.nodeName == 'machine']
>>
>>
>> try to uninstall qemu Alpha support if it changes a thing or not...
> As Michal noted, Vdsm parses the attached capabilities as it should.
> Maybe it receives something else from libvirt. Could you add some
> logging and report?
>
> diff --git a/vdsm/caps.py b/vdsm/caps.py
> index 5599522..4daca46 100644
> --- a/vdsm/caps.py
> +++ b/vdsm/caps.py
> @@ -136,6 +136,7 @@ def _getCpuTopology(capabilities):
>  def _getEmulatedMachines(capabilities=None):
>  if capabilities is None:
>  capabilities = _getCapsXMLStr()
> +logging.debug('caps: %s', capabilities)
>  caps = minidom.parseString(capabilities)
>  for archTag in caps.getElementsByTagName('arch'):
>  if archTag.getAttribute('name') == 'x86_64':
>
> Maybe you can add some logging
ok, I will try it next Tuesday because I could not access the machine at
this time.

___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-11-22 Thread Dan Kenigsberg
On Thu, Nov 21, 2013 at 05:22:35PM +0100, Michal Skrivanek wrote:
> 
> >> ok, that looks ok. Might be text parsing issue.
> >> And "virsh capabilities" output?
> >> what's the vdsm you're using?
> > 
> > virsh capabilities" output is a bit long, see attachment
> > 
> > # rpm -q vdsm
> > vdsm-4.10.3-18.fc19.x86_64
> 
> hmm, works well on my box
> try master, though this code didn't change since 2012
> 
> the code in vdsm/caps.py is pretty straightforward:
> caps = minidom.parseString(capabilities)
> for archTag in caps.getElementsByTagName('arch'):
> if archTag.getAttribute('name') == 'x86_64':
> return [m.firstChild.data for m in archTag.childNodes
> if m.nodeName == 'machine']
> 
> 
> try to uninstall qemu Alpha support if it changes a thing or not...

As Michal noted, Vdsm parses the attached capabilities as it should.
Maybe it receives something else from libvirt. Could you add some
logging and report?

diff --git a/vdsm/caps.py b/vdsm/caps.py
index 5599522..4daca46 100644
--- a/vdsm/caps.py
+++ b/vdsm/caps.py
@@ -136,6 +136,7 @@ def _getCpuTopology(capabilities):
 def _getEmulatedMachines(capabilities=None):
 if capabilities is None:
 capabilities = _getCapsXMLStr()
+logging.debug('caps: %s', capabilities)
 caps = minidom.parseString(capabilities)
 for archTag in caps.getElementsByTagName('arch'):
 if archTag.getAttribute('name') == 'x86_64':

Maybe you can add some logging
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread Michal Skrivanek
s': ['em1']}}
>>>>>>> clusterLevels = ['3.0', '3.1', '3.2']
>>>>>>> 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,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,xsave,lahf_lm,dtherm,tpr_shadow,vnmi,flexpriority,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_n270
>>>>>>> 
>>>>>>> 
>>>>>>> cpuModel = Intel(R) Core(TM)2 Quad CPUQ9400  @ 2.66GHz
>>>>>>> cpuSockets = 1
>>>>>>> cpuSpeed = 2660.126
>>>>>>> cpuThreads = 4
>>>>>>> emulatedMachines = ['clipper', 'none']
>>>>>>> guestOverhead = 65
>>>>>>> hooks = {}
>>>>>>> kvmEnabled = true
>>>>>>> lastClient = 10.66.105.101
>>>>>>> lastClientIface = ovirtmgmt
>>>>>>> management_ip =
>>>>>>> memSize = 3888
>>>>>>> netConfigDirty = False
>>>>>>> networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
>>>>>>> '10.66.10.186', 'cfg': {'PEERROUTES': 'yes', 'IPV6INIT': 'yes',
>>>>>>> 'TYPE':
>>>>>>> 'Bridge', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'ONBOOT': 'yes',
>>>>>>> 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
>>>>>>> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
>>>>>>> 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE':
>>>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'UUID':
>>>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
>>>>>>> '255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
>>>>>>> '10.66.11.254', 'ports': ['em1']}}
>>>>>>> nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes',
>>>>>>> 'BRIDGE':
>>>>>>> 'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS':
>>>>>>> 'yes',
>>>>>>> 'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
>>>>>>> 'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
>>>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
>>>>>>> 'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
>>>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
>>>>>>> 'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
>>>>>>> operatingSystem = {'release': '4', 'version': '19', 'name':
>>>>>>> 'Fedora'}
>>>>>>> packages2 = {'kernel': {'release': '200.fc19.x86_64',
>>>>>>> 'buildtime':
>>>>>>> 1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
>>>>>>> '3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
>>>>>>> {'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
>>>>>>> 'qemu-kvm': {'release': '13.fc19', 'buildtime': 

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread ouyang guohua
mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,xsave,lahf_lm,dtherm,tpr_shadow,vnmi,flexpriority,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_n270
>>>>>>
>>>>>>
>>>>>>  cpuModel = Intel(R) Core(TM)2 Quad CPUQ9400  @ 2.66GHz
>>>>>>  cpuSockets = 1
>>>>>>  cpuSpeed = 2660.126
>>>>>>  cpuThreads = 4
>>>>>>  emulatedMachines = ['clipper', 'none']
>>>>>>  guestOverhead = 65
>>>>>>  hooks = {}
>>>>>>  kvmEnabled = true
>>>>>>  lastClient = 10.66.105.101
>>>>>>  lastClientIface = ovirtmgmt
>>>>>>  management_ip =
>>>>>>  memSize = 3888
>>>>>>  netConfigDirty = False
>>>>>>  networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
>>>>>> '10.66.10.186', 'cfg': {'PEERROUTES': 'yes', 'IPV6INIT': 'yes',
>>>>>> 'TYPE':
>>>>>> 'Bridge', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'ONBOOT': 'yes',
>>>>>> 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
>>>>>> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
>>>>>> 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE':
>>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'UUID':
>>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
>>>>>> '255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
>>>>>> '10.66.11.254', 'ports': ['em1']}}
>>>>>>  nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes',
>>>>>> 'BRIDGE':
>>>>>> 'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS':
>>>>>> 'yes',
>>>>>> 'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
>>>>>> 'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
>>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
>>>>>> 'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
>>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
>>>>>> 'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
>>>>>>  operatingSystem = {'release': '4', 'version': '19', 'name':
>>>>>> 'Fedora'}
>>>>>>  packages2 = {'kernel': {'release': '200.fc19.x86_64',
>>>>>> 'buildtime':
>>>>>> 1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
>>>>>> '3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
>>>>>> {'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
>>>>>> 'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
>>>>>> '1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
>>>>>> 'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
>>>>>> 1383700301, 'version': '1.4.2'}, 'mom': {'release'

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread Michal Skrivanek
model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_n270
>>>>> 
>>>>> 
>>>>>  cpuModel = Intel(R) Core(TM)2 Quad CPUQ9400  @ 2.66GHz
>>>>>  cpuSockets = 1
>>>>>  cpuSpeed = 2660.126
>>>>>  cpuThreads = 4
>>>>>  emulatedMachines = ['clipper', 'none']
>>>>>  guestOverhead = 65
>>>>>  hooks = {}
>>>>>  kvmEnabled = true
>>>>>  lastClient = 10.66.105.101
>>>>>  lastClientIface = ovirtmgmt
>>>>>  management_ip =
>>>>>  memSize = 3888
>>>>>  netConfigDirty = False
>>>>>  networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
>>>>> '10.66.10.186', 'cfg': {'PEERROUTES': 'yes', 'IPV6INIT': 'yes',
>>>>> 'TYPE':
>>>>> 'Bridge', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'ONBOOT': 'yes',
>>>>> 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
>>>>> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
>>>>> 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE':
>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'UUID':
>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
>>>>> '255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
>>>>> '10.66.11.254', 'ports': ['em1']}}
>>>>>  nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes',
>>>>> 'BRIDGE':
>>>>> 'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS':
>>>>> 'yes',
>>>>> 'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
>>>>> 'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
>>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
>>>>> 'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
>>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
>>>>> 'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
>>>>>  operatingSystem = {'release': '4', 'version': '19', 'name':
>>>>> 'Fedora'}
>>>>>  packages2 = {'kernel': {'release': '200.fc19.x86_64',
>>>>> 'buildtime':
>>>>> 1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
>>>>> '3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
>>>>> {'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
>>>>> 'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
>>>>> '1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
>>>>> 'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
>>>>> 1383700301, 'version': '1.4.2'}, 'mom': {'release': '1.fc19',
>>>>> 'buildtime': 1373298035, 'version': '0.3.1'}}
>>>>>  reservedMem = 321
>>>>>  software_revision = 18
>>>>>  software_version = 4.10
>>>>>  supportedENGINEs = ['3.0', '3.1']
>>>>>  supportedProtocols = ['2.2', '2.3']
>>>>>  uuid = 44454C4C-4C00

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread ouyang guohua
   cpuThreads = 4
>>>>   emulatedMachines = ['clipper', 'none']
>>>>   guestOverhead = 65
>>>>   hooks = {}
>>>>   kvmEnabled = true
>>>>   lastClient = 10.66.105.101
>>>>   lastClientIface = ovirtmgmt
>>>>   management_ip =
>>>>   memSize = 3888
>>>>   netConfigDirty = False
>>>>   networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
>>>> '10.66.10.186', 'cfg': {'PEERROUTES': 'yes', 'IPV6INIT': 'yes',
>>>> 'TYPE':
>>>> 'Bridge', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'ONBOOT': 'yes',
>>>> 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
>>>> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
>>>> 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE':
>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'UUID':
>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
>>>> '255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
>>>> '10.66.11.254', 'ports': ['em1']}}
>>>>   nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes',
>>>> 'BRIDGE':
>>>> 'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS':
>>>> 'yes',
>>>> 'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
>>>> 'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
>>>> 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
>>>> 'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
>>>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
>>>> 'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
>>>>   operatingSystem = {'release': '4', 'version': '19', 'name':
>>>> 'Fedora'}
>>>>   packages2 = {'kernel': {'release': '200.fc19.x86_64',
>>>> 'buildtime':
>>>> 1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
>>>> '3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
>>>> {'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
>>>> 'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
>>>> '1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
>>>> 'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
>>>> 1383700301, 'version': '1.4.2'}, 'mom': {'release': '1.fc19',
>>>> 'buildtime': 1373298035, 'version': '0.3.1'}}
>>>>   reservedMem = 321
>>>>   software_revision = 18
>>>>   software_version = 4.10
>>>>   supportedENGINEs = ['3.0', '3.1']
>>>>   supportedProtocols = ['2.2', '2.3']
>>>>   uuid = 44454C4C-4C00-1031-8053-CAC04F4E3258
>>>>   version_name = Snow Man
>>>>   vlans = {}
>>>>   vmTypes = ['kvm']
>>>>
>>>> 3. the vdsm.log is cutting to small size, if some useful logs isn't in
>>>> it, please ask me to re-send it.
>>>>
>>>> Thanks,
>>>> guohua
>>>>
>>>> On 08/06/2013 03:08 PM, Ch

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread Itamar Heim
F': 'yes', 'UUID':
'447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
'255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
'10.66.11.254', 'ports': ['em1']}}
  nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes', 'BRIDGE':
'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS': 'yes',
'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
'447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
  operatingSystem = {'release': '4', 'version': '19', 'name':
'Fedora'}
  packages2 = {'kernel': {'release': '200.fc19.x86_64', 'buildtime':
1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
'3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
{'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
'1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
1383700301, 'version': '1.4.2'}, 'mom': {'release': '1.fc19',
'buildtime': 1373298035, 'version': '0.3.1'}}
  reservedMem = 321
  software_revision = 18
  software_version = 4.10
  supportedENGINEs = ['3.0', '3.1']
  supportedProtocols = ['2.2', '2.3']
  uuid = 44454C4C-4C00-1031-8053-CAC04F4E3258
  version_name = Snow Man
  vlans = {}
  vmTypes = ['kvm']

3. the vdsm.log is cutting to small size, if some useful logs isn't in
it, please ask me to re-send it.

Thanks,
guohua

On 08/06/2013 03:08 PM, Chen, Wei D wrote:

The issue is solved by reinstalling host OS.

Best Regards,
Dave Chen



-Original Message-
From: Chen, Wei D
Sent: Tuesday, August 06, 2013 2:44 PM
To: 'Laszlo Hornyak'; Itamar Heim
Cc: Zhang, Lijuan;engine-devel@ovirt.org
Subject: RE: [Engine-devel] failed to add host into cluster

Hi,


[root@onode vdsm]# vdsClient -s 0 getVdsCaps
  HBAInventory = {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:9fb571e343'}], 'FC': []}
  ISCSIInitiatorName = iqn.1994-05.com.redhat:9fb571e343
  bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu':
'1500', 'netmask': '', 'slaves': [], 'hwaddr': '0e:00:b7:57:2c:c9'},
'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '',
'slaves': [], 'hwaddr': '32:b3:88:1f:ef:91'}, 'bond1': {'addr': '',
'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
'4e:e5:80:93:ea:d9'}, 'bond2': {'addr': '', 'cfg': {}, 'mtu':
'1500',
'netmask': '', 'slaves': [], 'hwaddr': '16:ab:f6:e4:f2:27'},
'bond3': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '',
'slaves':
[], 'hwaddr': 'ee:55:f5:e7:31:7c'}}
  bridges = {'ovirtmgmt': {'addr': '10.239.131.217', 'cfg':
{'PEERROUTES': 'yes', 'DEVICE': 'ovirtmgmt', 'IPV6INIT': 'yes',
'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 'IPV6_PEERDNS':
'yes', 'DEFROUTE': 'yes', 'PEERDNS': 'yes&#

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread ouyang guohua
, 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'ONBOOT': 'yes',
>> 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
>> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
>> 'IPV6_FAILURE_FATAL': 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE':
>> 'yes', 'IPV6_AUTOCONF': 'yes', 'UUID':
>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask':
>> '255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
>> '10.66.11.254', 'ports': ['em1']}}
>>  nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes', 'BRIDGE':
>> 'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS': 'yes',
>> 'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
>> 'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
>> 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
>> 'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
>> '447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
>> 'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
>>  operatingSystem = {'release': '4', 'version': '19', 'name':
>> 'Fedora'}
>>  packages2 = {'kernel': {'release': '200.fc19.x86_64', 'buildtime':
>> 1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
>> '3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
>> {'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
>> 'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
>> '1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
>> 'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
>> 1383700301, 'version': '1.4.2'}, 'mom': {'release': '1.fc19',
>> 'buildtime': 1373298035, 'version': '0.3.1'}}
>>  reservedMem = 321
>>  software_revision = 18
>>  software_version = 4.10
>>  supportedENGINEs = ['3.0', '3.1']
>>  supportedProtocols = ['2.2', '2.3']
>>  uuid = 44454C4C-4C00-1031-8053-CAC04F4E3258
>>  version_name = Snow Man
>>  vlans = {}
>>  vmTypes = ['kvm']
>>
>> 3. the vdsm.log is cutting to small size, if some useful logs isn't in
>> it, please ask me to re-send it.
>>
>> Thanks,
>> guohua
>>
>> On 08/06/2013 03:08 PM, Chen, Wei D wrote:
>>> The issue is solved by reinstalling host OS.
>>>
>>> Best Regards,
>>> Dave Chen
>>>
>>>
>>>> -Original Message-
>>>> From: Chen, Wei D
>>>> Sent: Tuesday, August 06, 2013 2:44 PM
>>>> To: 'Laszlo Hornyak'; Itamar Heim
>>>> Cc: Zhang, Lijuan;engine-devel@ovirt.org
>>>> Subject: RE: [Engine-devel] failed to add host into cluster
>>>>
>>>> Hi,
>>>>
>>>>
>>>> [root@onode vdsm]# vdsClient -s 0 getVdsCaps
>>>>  HBAInventory = {'iSCSI': [{'InitiatorName':
>>>> 'iqn.1994-05.com.redhat:9fb571e343'}], 'FC': []}
>>>>  ISCSIInitiatorName = iqn.1994-05.com.redhat:9fb571e343
>>>>  bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu':
>>>> '1500', 'netmask': '', 'slaves': [], 'hwaddr': '0e:00:b7:57:2c:c9'},
>>>> 'bond0': {'addr&#

Re: [Engine-devel] failed to add host into cluster

2013-11-21 Thread Itamar Heim
27;, 'netmask':
'255.255.252.0', 'stp': 'off', 'bridged': True, 'gateway':
'10.66.11.254', 'ports': ['em1']}}
 nics = {'em1': {'addr': '', 'cfg': {'PEERROUTES': 'yes', 'BRIDGE':
'ovirtmgmt', 'DEVICE': 'em1', 'IPV6INIT': 'yes', 'IPV6_PEERDNS': 'yes',
'DEFROUTE': 'yes', 'ONBOOT': 'yes', 'PEERDNS': 'yes',
'IPV4_FAILURE_FATAL': 'no', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE':
'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no',
'IPV6_PEERROUTES': 'yes', 'HWADDR': '00:23:ae:9d:85:32', 'UUID':
'447b16c1-184a-4347-a801-ef8143c2d932'}, 'mtu': '1500', 'netmask': '',
'hwaddr': '00:23:ae:9d:85:32', 'speed': 1000}}
 operatingSystem = {'release': '4', 'version': '19', 'name': 'Fedora'}
 packages2 = {'kernel': {'release': '200.fc19.x86_64', 'buildtime':
1383545343.0, 'version': '3.11.7'}, 'spice-server': {'release':
'3.fc19', 'buildtime': 1383130020, 'version': '0.12.4'}, 'vdsm':
{'release': '18.fc19', 'buildtime': 1373484771, 'version': '4.10.3'},
'qemu-kvm': {'release': '13.fc19', 'buildtime': 1383700301, 'version':
'1.4.2'}, 'libvirt': {'release': '1.fc19', 'buildtime': 1383765188,
'version': '1.0.5.7'}, 'qemu-img': {'release': '13.fc19', 'buildtime':
1383700301, 'version': '1.4.2'}, 'mom': {'release': '1.fc19',
'buildtime': 1373298035, 'version': '0.3.1'}}
 reservedMem = 321
 software_revision = 18
 software_version = 4.10
 supportedENGINEs = ['3.0', '3.1']
 supportedProtocols = ['2.2', '2.3']
 uuid = 44454C4C-4C00-1031-8053-CAC04F4E3258
 version_name = Snow Man
 vlans = {}
 vmTypes = ['kvm']

3. the vdsm.log is cutting to small size, if some useful logs isn't in
it, please ask me to re-send it.

Thanks,
guohua

On 08/06/2013 03:08 PM, Chen, Wei D wrote:

The issue is solved by reinstalling host OS.

Best Regards,
Dave Chen



-Original Message-
From: Chen, Wei D
Sent: Tuesday, August 06, 2013 2:44 PM
To: 'Laszlo Hornyak'; Itamar Heim
Cc: Zhang, Lijuan;engine-devel@ovirt.org
Subject: RE: [Engine-devel] failed to add host into cluster

Hi,


[root@onode vdsm]# vdsClient -s 0 getVdsCaps
 HBAInventory = {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:9fb571e343'}], 'FC': []}
 ISCSIInitiatorName = iqn.1994-05.com.redhat:9fb571e343
 bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
'', 'slaves': [], 'hwaddr': '0e:00:b7:57:2c:c9'},
'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 
'hwaddr': '32:b3:88:1f:ef:91'}, 'bond1': {'addr': '',
'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': 
'4e:e5:80:93:ea:d9'}, 'bond2': {'addr': '', 'cfg': {}, 'mtu':
'1500',
'netmask': '', 'slaves': [], 'hwaddr': '16:ab:f6:e4:f2:27'}, 'bond3': {'addr': 
'', 'cfg': {}, 'mtu': '1500', 'netmask': '',
'slaves':
[], 'hwaddr': 'ee:55:f5:e7:31:7c'}}
 bridges = {'ovirtmgmt': {'addr': '10.239.131.217', 'cfg': 
{'PEERROUTES': 'yes', 'DEVICE': 'ovirtmgmt', 'IPV6INIT': 'yes',
'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 'IPV6_PEERDNS': 'yes', 
'DEFROUTE': 'yes', 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL':
'no', 'DELAY': '0', 'NM_CONTROLLED': 'no'

Re: [Engine-devel] failed to add host into cluster

2013-08-06 Thread Chen, Wei D
The issue is solved by reinstalling host OS.

Best Regards,
Dave Chen


> -Original Message-
> From: Chen, Wei D
> Sent: Tuesday, August 06, 2013 2:44 PM
> To: 'Laszlo Hornyak'; Itamar Heim
> Cc: Zhang, Lijuan; engine-devel@ovirt.org
> Subject: RE: [Engine-devel] failed to add host into cluster
>
> Hi,
>
>
> [root@onode vdsm]# vdsClient -s 0 getVdsCaps
> HBAInventory = {'iSCSI': [{'InitiatorName': 
> 'iqn.1994-05.com.redhat:9fb571e343'}], 'FC': []}
> ISCSIInitiatorName = iqn.1994-05.com.redhat:9fb571e343
> bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 
> 'netmask': '', 'slaves': [], 'hwaddr': '0e:00:b7:57:2c:c9'},
> 'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 
> 'hwaddr': '32:b3:88:1f:ef:91'}, 'bond1': {'addr': '',
> 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': 
> '4e:e5:80:93:ea:d9'}, 'bond2': {'addr': '', 'cfg': {}, 'mtu': 
> '1500',
> 'netmask': '', 'slaves': [], 'hwaddr': '16:ab:f6:e4:f2:27'}, 'bond3': 
> {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 
> 'slaves':
> [], 'hwaddr': 'ee:55:f5:e7:31:7c'}}
> bridges = {'ovirtmgmt': {'addr': '10.239.131.217', 'cfg': 
> {'PEERROUTES': 'yes', 'DEVICE': 'ovirtmgmt', 'IPV6INIT': 'yes',
> 'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 'IPV6_PEERDNS': 'yes', 
> 'DEFROUTE': 'yes', 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL':
> 'no', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE': 'yes', 
> 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no', 'TYPE':
> 'Bridge', 'ONBOOT': 'yes', 'BOOTPROTO': 'dhcp', 'IPV6_PEERROUTES': 'yes'}, 
> 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off',
> 'ports': ['em1']}}
> clusterLevels = ['3.0', '3.1', '3.2']
> 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,r
> dtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,
> ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,lahf_lm,ida,arat,epb,
> xsaveopt,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_P
> enryn,model_Westmere,model_n270,model_SandyBridge
> cpuModel = Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
> cpuSockets = 1
> cpuSpeed = 3672.000
> cpuThreads = 8
> emulatedMachines = ['clipper', 'none']
> guestOverhead = 65
> hooks = {}
> kvmEnabled = true
> lastClient = 10.239.131.222
> lastClientIface = ovirtmgmt
> management_ip =
> memSize = 7944
> netConfigDirty = False
> networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': 
> '10.239.131.217', 'cfg': {'PEERROUTES': 'yes', 'DEVICE': 
> 'ovirtmgmt',
> 'IPV6INIT': 'yes', 'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 
> 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'PEERDNS': 'yes',
> 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0', 'NM_CONTROLLED': 'no', 
> 'IPV6_DEFROUTE': 'yes', 'IPV6_AUTOCONF': 'yes',
> 'IPV6_FAILURE_FATAL':
> 'no', 'TYPE': 'Bridge', 'ONBOOT': 'yes', 'BOOTPROTO': 'dhcp', 
> 'IPV6_PEERROUTES': 'yes&

Re: [Engine-devel] failed to add host into cluster

2013-08-05 Thread Chen, Wei D
Hi,


[root@onode vdsm]# vdsClient -s 0 getVdsCaps
HBAInventory = {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:9fb571e343'}], 'FC': []}
ISCSIInitiatorName = iqn.1994-05.com.redhat:9fb571e343
bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
'', 'slaves': [], 'hwaddr': '0e:00:b7:57:2c:c9'}, 
'bond0': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 
'hwaddr': '32:b3:88:1f:ef:91'}, 'bond1': {'addr': '', 
'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': 
'4e:e5:80:93:ea:d9'}, 'bond2': {'addr': '', 'cfg': {}, 'mtu': '1500', 
'netmask': '', 'slaves': [], 'hwaddr': '16:ab:f6:e4:f2:27'}, 'bond3': {'addr': 
'', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': 
[], 'hwaddr': 'ee:55:f5:e7:31:7c'}}
bridges = {'ovirtmgmt': {'addr': '10.239.131.217', 'cfg': 
{'PEERROUTES': 'yes', 'DEVICE': 'ovirtmgmt', 'IPV6INIT': 'yes', 
'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 'IPV6_PEERDNS': 'yes', 
'DEFROUTE': 'yes', 'PEERDNS': 'yes', 'IPV4_FAILURE_FATAL': 
'no', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'IPV6_DEFROUTE': 'yes', 
'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 'no', 'TYPE': 
'Bridge', 'ONBOOT': 'yes', 'BOOTPROTO': 'dhcp', 'IPV6_PEERROUTES': 'yes'}, 
'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 
'ports': ['em1']}}
clusterLevels = ['3.0', '3.1', '3.2']
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,nopl,xtopology,nonstop_tsc,aperfmperf,eagerfpu,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,ssse3,cx16,xtpr,pdcm,pcid,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,lahf_lm,ida,arat,epb,xsaveopt,pln,pts,dtherm,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_coreduo,model_core2duo,model_Penryn,model_Westmere,model_n270,model_SandyBridge
cpuModel = Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
cpuSockets = 1
cpuSpeed = 3672.000
cpuThreads = 8
emulatedMachines = ['clipper', 'none']
guestOverhead = 65
hooks = {}
kvmEnabled = true
lastClient = 10.239.131.222
lastClientIface = ovirtmgmt
management_ip =
memSize = 7944
netConfigDirty = False
networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': 
'10.239.131.217', 'cfg': {'PEERROUTES': 'yes', 'DEVICE': 'ovirtmgmt', 
'IPV6INIT': 'yes', 'UUID': 'b6ecfa9d-0deb-4213-9348-11137f76735d', 
'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'PEERDNS': 'yes', 
'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0', 'NM_CONTROLLED': 'no', 
'IPV6_DEFROUTE': 'yes', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL': 
'no', 'TYPE': 'Bridge', 'ONBOOT': 'yes', 'BOOTPROTO': 'dhcp', 
'IPV6_PEERROUTES': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 
'stp': 'off', 'bridged': True, 'gateway': '10.239.131.1', 'ports': ['em1']}}
nics = {'em1': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 
'hwaddr': '2c:41:38:b2:d0:e8', 'speed': 100}}
operatingSystem = {'release': '0.5', 'version': '19', 'name': 'Fedora'}
    

Re: [Engine-devel] failed to add host into cluster

2013-08-05 Thread Chen, Wei D
Hi Laszlo and Itamar,

I agree with you , it should be some broken configuration caused this problem.
As the vdsm or virsh packages has not installed successfully, I cannot find 
useful log file and nothing output from "virsh 
capabilities".
I decide to reinstall this host, hope this issue will be solved, thanks for all 
of your reply. ;)


Best Regards,
Dave Chen


> -Original Message-
> From: Laszlo Hornyak [mailto:lhorn...@redhat.com]
> Sent: Monday, August 05, 2013 8:35 PM
> To: Itamar Heim
> Cc: Chen, Wei D; Zhang, Lijuan; engine-devel@ovirt.org
> Subject: Re: [Engine-devel] failed to add host into cluster
>
> Hi,
>
> Dave, could you also share the vdsm log as well?
>
> I managed to reproduce this on the host that I am using for years and I am 
> using it now, so it should not be a hardware problem. 
> Probably
> some broken configuration caused some problem in vdsm before it would 
> retrieve the capabilities information from libvirt.
>
>
>
> - Original Message -
> > From: "Itamar Heim" 
> > To: "Laszlo Hornyak" 
> > Cc: "Wei D Chen" , "Lijuan Zhang"
> > , engine-devel@ovirt.org
> > Sent: Monday, August 5, 2013 2:03:58 PM
> > Subject: Re: [Engine-devel] failed to add host into cluster
> >
> > On 08/05/2013 09:06 AM, Laszlo Hornyak wrote:
> > >
> > > - Original Message -----
> > >> From: "Wei D Chen" 
> > >> To: "Itamar Heim" 
> > >> Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> > >> Sent: Monday, August 5, 2013 8:03:08 AM
> > >> Subject: Re: [Engine-devel] failed to add host into cluster
> > >>
> > >>
> > >>
> > >> Best Regards,
> > >> Dave Chen
> > >>
> > >>
> > >>> -Original Message-
> > >>> From: Itamar Heim [mailto:ih...@redhat.com]
> > >>> Sent: Sunday, August 04, 2013 10:25 PM
> > >>> To: Chen, Wei D
> > >>> Cc: engine-devel@ovirt.org; Zhang, Lijuan
> > >>> Subject: Re: [Engine-devel] failed to add host into cluster
> > >>>
> > >>> On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> > >>>> Failed to add a node into cluster. I saw follow hints, but still
> > >>>> don't know how to fix it. OS is fedora 19 both for node and
> > >>>> engine, anyone can help me?
> > >>>>
> > >>>> Host *** does not comply with the cluster *** emulated machines.
> > >>>> The Hosts emulated machines are clipper,none and the cluster is
> > >>>> [rhel6.4.0, pc-1.0]}
> > >>>
> > >>> what Os is the host running?
> > >> fedora 19
> > >>> what does 'vdsClient -s 0 getVdsCaps' returns?
> > >> where to run this command? this command is not recognized both in
> > >> engine and node.
> > >
> > > After installing the host, you should have this command in the host OS.
> > >
> > >>
> > >> ___
> > >> Engine-devel mailing list
> > >> Engine-devel@ovirt.org
> > >> http://lists.ovirt.org/mailman/listinfo/engine-devel
> > >>
> >
> > cat /proc/cpuinfo
> > and
> > virsh capabilities
> >
> > are also interesting
> >


smime.p7s
Description: S/MIME cryptographic signature
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-05 Thread Laszlo Hornyak
Hi,

Dave, could you also share the vdsm log as well?

I managed to reproduce this on the host that I am using for years and I am 
using it now, so it should not be a hardware problem. Probably some broken 
configuration caused some problem in vdsm before it would retrieve the 
capabilities information from libvirt.



- Original Message -
> From: "Itamar Heim" 
> To: "Laszlo Hornyak" 
> Cc: "Wei D Chen" , "Lijuan Zhang" 
> , engine-devel@ovirt.org
> Sent: Monday, August 5, 2013 2:03:58 PM
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> On 08/05/2013 09:06 AM, Laszlo Hornyak wrote:
> >
> > - Original Message -
> >> From: "Wei D Chen" 
> >> To: "Itamar Heim" 
> >> Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> >> Sent: Monday, August 5, 2013 8:03:08 AM
> >> Subject: Re: [Engine-devel] failed to add host into cluster
> >>
> >>
> >>
> >> Best Regards,
> >> Dave Chen
> >>
> >>
> >>> -Original Message-----
> >>> From: Itamar Heim [mailto:ih...@redhat.com]
> >>> Sent: Sunday, August 04, 2013 10:25 PM
> >>> To: Chen, Wei D
> >>> Cc: engine-devel@ovirt.org; Zhang, Lijuan
> >>> Subject: Re: [Engine-devel] failed to add host into cluster
> >>>
> >>> On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> >>>> Failed to add a node into cluster. I saw follow hints, but still don't
> >>>> know how to fix it. OS is fedora 19 both for node and engine, anyone can
> >>>> help me?
> >>>>
> >>>> Host *** does not comply with the cluster *** emulated machines. The
> >>>> Hosts emulated machines are clipper,none and the cluster is
> >>>> [rhel6.4.0, pc-1.0]}
> >>>
> >>> what Os is the host running?
> >> fedora 19
> >>> what does 'vdsClient -s 0 getVdsCaps' returns?
> >> where to run this command? this command is not recognized both in engine
> >> and
> >> node.
> >
> > After installing the host, you should have this command in the host OS.
> >
> >>
> >> ___
> >> Engine-devel mailing list
> >> Engine-devel@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/engine-devel
> >>
> 
> cat /proc/cpuinfo
> and
> virsh capabilities
> 
> are also interesting
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-05 Thread Itamar Heim

On 08/05/2013 09:06 AM, Laszlo Hornyak wrote:


- Original Message -

From: "Wei D Chen" 
To: "Itamar Heim" 
Cc: "Lijuan Zhang" , engine-devel@ovirt.org
Sent: Monday, August 5, 2013 8:03:08 AM
Subject: Re: [Engine-devel] failed to add host into cluster



Best Regards,
Dave Chen



-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, August 04, 2013 10:25 PM
To: Chen, Wei D
Cc: engine-devel@ovirt.org; Zhang, Lijuan
Subject: Re: [Engine-devel] failed to add host into cluster

On 08/02/2013 09:34 AM, Chen, Wei D wrote:

Failed to add a node into cluster. I saw follow hints, but still don't
know how to fix it. OS is fedora 19 both for node and engine, anyone can
help me?

Host *** does not comply with the cluster *** emulated machines. The
Hosts emulated machines are clipper,none and the cluster is
[rhel6.4.0, pc-1.0]}


what Os is the host running?

fedora 19

what does 'vdsClient -s 0 getVdsCaps' returns?

where to run this command? this command is not recognized both in engine and
node.


After installing the host, you should have this command in the host OS.



___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel



cat /proc/cpuinfo
and
virsh capabilities

are also interesting
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Laszlo Hornyak

- Original Message -
> From: "Wei D Chen" 
> To: "Itamar Heim" 
> Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> Sent: Monday, August 5, 2013 8:03:08 AM
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> 
> 
> Best Regards,
> Dave Chen
> 
> 
> > -Original Message-
> > From: Itamar Heim [mailto:ih...@redhat.com]
> > Sent: Sunday, August 04, 2013 10:25 PM
> > To: Chen, Wei D
> > Cc: engine-devel@ovirt.org; Zhang, Lijuan
> > Subject: Re: [Engine-devel] failed to add host into cluster
> > 
> > On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> > > Failed to add a node into cluster. I saw follow hints, but still don't
> > > know how to fix it. OS is fedora 19 both for node and engine, anyone can
> > > help me?
> > >
> > > Host *** does not comply with the cluster *** emulated machines. The
> > > Hosts emulated machines are clipper,none and the cluster is
> > > [rhel6.4.0, pc-1.0]}
> > 
> > what Os is the host running?
> fedora 19
> > what does 'vdsClient -s 0 getVdsCaps' returns?
> where to run this command? this command is not recognized both in engine and
> node.

After installing the host, you should have this command in the host OS.

> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Chen, Wei D


Best Regards,
Dave Chen


> -Original Message-
> From: Itamar Heim [mailto:ih...@redhat.com]
> Sent: Sunday, August 04, 2013 10:25 PM
> To: Chen, Wei D
> Cc: engine-devel@ovirt.org; Zhang, Lijuan
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> > Failed to add a node into cluster. I saw follow hints, but still don't
> > know how to fix it. OS is fedora 19 both for node and engine, anyone can 
> > help me?
> >
> > Host *** does not comply with the cluster *** emulated machines. The
> > Hosts emulated machines are clipper,none and the cluster is
> > [rhel6.4.0, pc-1.0]}
> 
> what Os is the host running?
fedora 19 
> what does 'vdsClient -s 0 getVdsCaps' returns?
where to run this command? this command is not recognized both in engine and 
node.


smime.p7s
Description: S/MIME cryptographic signature
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Chen, Wei D
queries result as follows:

engine=# select * from vdc_options where option_name ilike '%emu%';
 option_id |   option_name   |   option_value   | version
---+-+--+-
38 | ClusterEmulatedMachines | rhel6.2.0,pc-1.0 | 3.0
39 | ClusterEmulatedMachines | rhel6.3.0,pc-1.0 | 3.1
40 | ClusterEmulatedMachines | rhel6.4.0,pc-1.0 | 3.2
41 | ClusterEmulatedMachines | rhel6.4.0,pc-1.0 | 3.3
(4 rows)

engine=# select name,emulated_machine from vds_groups;
  name   | emulated_machine
-+--
 Default |
(1 row)

Best Regards,
Dave Chen


> -Original Message-
> From: Eli Mesika [mailto:emes...@redhat.com]
> Sent: Sunday, August 04, 2013 5:41 PM
> To: Chen, Wei D
> Cc: engine-devel@ovirt.org; Zhang, Lijuan
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> 
> 
> - Original Message -
> > From: "Wei D Chen" 
> > To: engine-devel@ovirt.org
> > Cc: "Lijuan Zhang" 
> > Sent: Friday, August 2, 2013 9:34:00 AM
> > Subject: [Engine-devel] failed to add host into cluster
> >
> > Hi,
> >
> > Failed to add a node into cluster. I saw follow hints, but still don't
> > know how to fix it. OS is fedora 19 both for node and engine, anyone
> > can help me?
> 
> Hi
> Can you please provide the results of the following SQL queries :
> 
> 1) select * from vdc_options where option_name ilike '%emu%';
> 2) select name,emulated_machine from vds_groups;
> 
> Thanks
> 
> >
> > Host *** does not comply with the cluster *** emulated machines. The
> > Hosts emulated machines are clipper,none and the cluster is
> > [rhel6.4.0, pc-1.0]}
> >
> >
> > Best Regards,
> > Dave Chen
> >
> >
> >
> > ___
> > Engine-devel mailing list
> > Engine-devel@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> >


smime.p7s
Description: S/MIME cryptographic signature
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Alon Bar-Lev


- Original Message -
> From: "Laszlo Hornyak" 
> To: "Itamar Heim" 
> Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> Sent: Sunday, August 4, 2013 6:38:33 PM
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> Hi,
> 
> I got the same error after X reinstallation on a host with fedora 19, fedora
> 18 engine and latest otopi+host deploy. A total host OS reinstall helped,
> however I noticed that after installing VDSM from engine, an old version was
> installed, incompatible with 3.3, so I had to manually edit
> /etc/yum.repos.d/ovirt.repo to enable nightly and manually upgrade. It
> worked fine after that.

You could have just define the repository, then perform host-deploy.
The host-deploy is using standard yum to install vdsm and other packages, hence 
setting preferred repository layout is a required action.
You can also update the repository even on install host, then re-deploy and 
vdsm will be upgraded.
You should not perform manual package installation unless you really know what 
you are doing...

> Another, less accurate, but much more effective solution that I previously
> used is to update the config to accept whatever vdsm offers (obviously a
> hack, not meant for production)
> 
> Laszlo
> 
> - Original Message -
> > From: "Itamar Heim" 
> > To: "Wei D Chen" 
> > Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> > Sent: Sunday, August 4, 2013 4:24:44 PM
> > Subject: Re: [Engine-devel] failed to add host into cluster
> > 
> > On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> > > Failed to add a node into cluster. I saw follow hints, but still don't
> > > know
> > > how to fix it. OS is fedora 19 both for node and engine,
> > > anyone can help me?
> > >
> > > Host *** does not comply with the cluster *** emulated machines. The
> > > Hosts
> > > emulated machines are clipper,none and the cluster is
> > > [rhel6.4.0, pc-1.0]}
> > 
> > what Os is the host running?
> > what does 'vdsClient -s 0 getVdsCaps' returns?
> > ___
> > Engine-devel mailing list
> > Engine-devel@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Laszlo Hornyak
Hi,

I got the same error after X reinstallation on a host with fedora 19, fedora 18 
engine and latest otopi+host deploy. A total host OS reinstall helped, however 
I noticed that after installing VDSM from engine, an old version was installed, 
incompatible with 3.3, so I had to manually edit /etc/yum.repos.d/ovirt.repo to 
enable nightly and manually upgrade. It worked fine after that.
Another, less accurate, but much more effective solution that I previously used 
is to update the config to accept whatever vdsm offers (obviously a hack, not 
meant for production)

Laszlo

- Original Message -
> From: "Itamar Heim" 
> To: "Wei D Chen" 
> Cc: "Lijuan Zhang" , engine-devel@ovirt.org
> Sent: Sunday, August 4, 2013 4:24:44 PM
> Subject: Re: [Engine-devel] failed to add host into cluster
> 
> On 08/02/2013 09:34 AM, Chen, Wei D wrote:
> > Failed to add a node into cluster. I saw follow hints, but still don't know
> > how to fix it. OS is fedora 19 both for node and engine,
> > anyone can help me?
> >
> > Host *** does not comply with the cluster *** emulated machines. The Hosts
> > emulated machines are clipper,none and the cluster is
> > [rhel6.4.0, pc-1.0]}
> 
> what Os is the host running?
> what does 'vdsClient -s 0 getVdsCaps' returns?
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Itamar Heim

On 08/02/2013 09:34 AM, Chen, Wei D wrote:

Failed to add a node into cluster. I saw follow hints, but still don't know how 
to fix it. OS is fedora 19 both for node and engine,
anyone can help me?

Host *** does not comply with the cluster *** emulated machines. The Hosts 
emulated machines are clipper,none and the cluster is
[rhel6.4.0, pc-1.0]}


what Os is the host running?
what does 'vdsClient -s 0 getVdsCaps' returns?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] failed to add host into cluster

2013-08-04 Thread Eli Mesika


- Original Message -
> From: "Wei D Chen" 
> To: engine-devel@ovirt.org
> Cc: "Lijuan Zhang" 
> Sent: Friday, August 2, 2013 9:34:00 AM
> Subject: [Engine-devel] failed to add host into cluster
> 
> Hi,
> 
> Failed to add a node into cluster. I saw follow hints, but still don't know
> how to fix it. OS is fedora 19 both for node and engine,
> anyone can help me?

Hi
Can you please provide the results of the following SQL queries :

1) select * from vdc_options where option_name ilike '%emu%'; 
2) select name,emulated_machine from vds_groups;

Thanks

> 
> Host *** does not comply with the cluster *** emulated machines. The Hosts
> emulated machines are clipper,none and the cluster is
> [rhel6.4.0, pc-1.0]}
> 
> 
> Best Regards,
> Dave Chen
> 
> 
> 
> ___
> Engine-devel mailing list
> Engine-devel@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] failed to add host into cluster

2013-08-01 Thread Chen, Wei D
Hi,

Failed to add a node into cluster. I saw follow hints, but still don't know how 
to fix it. OS is fedora 19 both for node and engine,
anyone can help me?

Host *** does not comply with the cluster *** emulated machines. The Hosts 
emulated machines are clipper,none and the cluster is
[rhel6.4.0, pc-1.0]}


Best Regards,
Dave Chen




smime.p7s
Description: S/MIME cryptographic signature
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel