Re: [Users] Host discovery failing due to host network being lost

2012-01-28 Thread Haim Ateya



On Jan 28, 2012, at 10:27, Deepak C Shetty deepa...@linux.vnet.ibm.com wrote:

 Hi ovirt users,
 
 I was trying to check on IRC the below, did not get any replies, so sending 
 this mail.
 Can someone help me understand what could be the issue that causing my 
 managed host to lose network settings, when i try to discover it from 
 ovirt-engine ?
 I have to then manually (using a remote console) re-setup the network.. it 
 even overrites my ifcfg-eth0 file
 
 I see a new bridge getting added called ovirtmgmt and route entry corr. to 
 that.. the ifcfg-eth0 also has that entry
 I feel that ovirt scripts running on the host should atleast take a backup of 
 the ifcfg* files they modify so that in case of issues like these, user can 
 login via remote console and restore the original ifcfg file.
 
 This is what i asked on IRC... responses appreciated...
 
 deepakcs Hello, i just configured ovirt-engine and discovering my first 
 managed host.. got some Qs
 deepakcs what diff does it make when i select override ip tables check 
 box during new Host workflow ?
 * djasa has quit (Ping timeout: 480 seconds)
 deepakcs this is the second time i am discovering this host and everytime 
 the host discovery hangs during Installing and if i check the host, it goes 
 out of network has anybody faced this problem before ?
 deepakcs While discovering the host, the host network ipv4 address is gone 
 ! and thus the host goes out of network
 
 Some more updates..
 1) I manually re-setup the host network, made it pingable, esp from the 
 ovirt-engine node, and clicked on Re-install on the web gui, this time with 
 the 'override ip tables' check enabled
 2) this time it successfully completed the node bootstrap steps (as seen from 
 the Events window) and status was Reboot
 3) But after reboot the same thing happened.. the host lost ipv4 addr, route 
 entries are completely gone and onthe web gui the host is seen as 
 non-responsive, which is expected bcos the host is not on the network 
 anymore...
 
 what is the reason the above is happening ?

Hi, 

First, in order to understand the reason for bootstrap failures, please attach 
engine.log (ovirt-engine) and node logs (under /tmp/vds_bootstrap.log, 
vds_installer.log).

Second, what you describe regarding the loss of network could derive from the 
following reasons:
- host is configured with bonding - but bonding is not configured correctly.
- NetworkManager interfere  with networking config.
- bridge (ovirtmgmt) is not set to with any BOOTPROTO or ONBOOT.

Please attach network scripts (ifcfg-eth0, ifcfg-ovirtmgmt) and 
/var/log/messages .

Haim
 
 ___
 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] Support by Scientific linux?

2012-01-28 Thread зоррыч
Hi.

Testing work Ovirt on scientific linux 6.1.

Compiling from source oVirt-engine
(http://www.ovirt.org/wiki/Building_Ovirt_Engine) is successful.

However, if you add a node incorrectly determined the operating system:

OS Version: unknown.

Nodes perform the installation instructions on:
http://www.ovirt.org/wiki/Building_Ovirt_Engine

Analyzing the log files are found incorrect answer vdsm (Node status
NonOperational.  nonOperationalReason = VERSION_INCOMPATIBLE_WITH_CLUSTER)

/var/log/vdsm/vdsm.log:

Thread-16::DEBUG::2012-01-28 14:08:09,200::clientIF::48::vds::(wrapper)
return getVdsCapabilities with {'status': {'message': 'Done', 'code': 0},
'info': {'HBAInventory': {'iSCSI': [{'InitiatorName':
'iqn.1994-05.com.redhat:4052e3fcadb'}], 'FC': []}, 'packages2': {'kernel':
{'release': '220.el6.x86_64', 'buildtime': '0', 'version': '2.6.32'},
'spice-server': {'release': '5.el6', 'buildtime': '1323492018', 'version':
'0.8.2'}, 'vdsm': {'release': '63.el6', 'buildtime': '1327784725',
'version': '4.9'}, 'qemu-kvm': {'release': '2.209.el6_2.4', 'buildtime':
'1327361568', 'version': '0.12.1.2'}, 'libvirt': {'release': '23.el6',
'buildtime': '1323231757', 'version': '0.9.4'}, 'qemu-img': {'release':
'2.209.el6_2.4', 'buildtime': '1327361568', 'version': '0.12.1.2'}},
'cpuModel': 'Intel(R) Xeon(R) CPU5140  @ 2.33GHz', 'hooks': {},
'networks': {'virbr0': {'cfg': {}, 'netmask': '255.255.255.0', 'stp': 'on',
'ports': ['virbr0-nic'], 'addr': '192.168.122.1'}}, 'vmTypes': ['kvm',
'qemu'], 'cpuFlags':
u'fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflus
h,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,lm,constant_tsc,arch_pe
rfmon,pebs,bts,rep_good,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,sss
e3,cx16,xtpr,pdcm,dca,lahf_lm,dts,tpr_shadow,model_486,model_pentium,model_p
entium2,model_pentium3,model_pentiumpro,model_qemu32,model_coreduo,model_cor
e2duo,model_n270,model_Conroe,model_Opteron_G1', 'cpuSockets': '1', 'uuid':
'343C9406-3478-4923-3478-492339393407_00:1c:c4:74:a0:60', 'lastClientIface':
'eth0', 'nics': {'eth1': {'hwaddr': '00:1C:C4:74:A0:61', 'netmask': '',
'speed': 0, 'addr': ''}, 'eth0': {'hwaddr': '00:1C:C4:74:A0:60', 'netmask':
'255.255.255.0', 'speed': 1000, 'addr': '10.1.20.10'}}, 'software_revision':
'63', 'management_ip': '', 'clusterLevels': ['2.3'], 'supportedProtocols':
['2.2', '2.3'], 'ISCSIInitiatorName': 'iqn.1994-05.com.redhat:4052e3fcadb',
'memSize': '15949', 'reservedMem': '256', 'bondings': {'bond4': {'hwaddr':
'00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
'bond0': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
'', 'slaves': []}, 'bond1': {'hwaddr': '00:00:00:00:00:00', 'cfg': {},
'netmask': '', 'addr': '', 'slaves': []}, 'bond2': {'hwaddr':
'00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr': '', 'slaves': []},
'bond3': {'hwaddr': '00:00:00:00:00:00', 'cfg': {}, 'netmask': '', 'addr':
'', 'slaves': []}}, 'software_version': '4.9', 'cpuSpeed': '2333.331',
'version_name': 'Snow Man', 'vlans': {}, 'cpuCores': 2, 'kvmEnabled':
'true', 'guestOverhead': '65', 'supportedRHEVMs': ['2.3'],
'emulatedMachines': ['pc', 'rhel6.2.0', 'rhel6.1.0', 'rhel6.0.0',
'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0'], 'operatingSystem': {'release': '',
'version': '', 'name': 'unknown'}, 'lastClient': '10.1.20.12'}}

Note the line: 'operatingSystem': {'release':'', 'version':'', 'name':
'unknown'}.

 

 

The output commands to the node:

[root@node ~]# lsb_release -a

LSB Version:
:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:print
ing-4.0-amd64:printing-4.0-noarch

Distributor ID: Scientific

Description:Scientific Linux release 6.2 rolling (Carbon)

Release:6.2

Codename:   Carbon

[root@lnode ~]# cat /etc/redhat-release

Scientific Linux release 6.1 (Carbon)

 

 

How do I get to define vdsm right operating system?

 

p.s. Sorry for my english (google translate)

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