Hide Forgot
Created attachment 484013 [details] metadata_VDSM Description of problem: Start SPM failed because the POOL_DESCRIPTION key was missing from metadata and appeared as DESCRIPTION (instead of POOL_DESCRIPTION) Version-Release number of selected component (if applicable): IC104 - RHEVM VDSM RHEL6 - build 51 VDSM RHEL5.6 - 2.2.63.21 How reproducible: Random Steps to Reproduce: 1. I Installed RHEVM IC104, 2. I have configured 1 DC, iSCSI, with 2 Hosts: Host RHEL6 Host RHEL5.6 (configured first) 3. I activated Host RHEL5.6 first and attached it a storage domain1 4. I activated the second host (RHEL6) (build 51 vdsm) and attached it a storage domain2 Actual results: The two hosts are contending in a loop Expected results: One host should be SPM and not contend every couple of seconds Additional info: This is related to the following bug, Which was fixed&verified for build 46, but doesn't describe using two hosts - RHEL 5.6 & RHEL 6 671154 - VDSM: getStoragePoolInfo fails due to missing POOL_DESCRIPTION in metadata (edit) I did dump to the config file before changing the metadata (see attached metadata before changing and after[error] & vdsm.log) ----------------- Thread-1366::ERROR::2011-03-13 16:28:46,726::sp::1195::Storage.StoragePool::(getInfo) Pool metadata error Traceback (most recent call last): File "/usr/share/vdsm/storage/sp.py", line 1188, in getInfo info['name'] = metadata[sd.POOL_DESCRIPTION] KeyError: 'POOL_DESCRIPTION' Thread-1366::ERROR::2011-03-13 16:28:46,727::task::854::TaskManager.Task::(_setError) Unexpected error Traceback (most recent call last): File "/usr/share/vdsm/storage/task.py", line 862, in _run return fn(*args, **kargs) File "/usr/share/vdsm/storage/hsm.py", line 1162, in public_getStoragePoolInfo return self.getPool(spUUID).getInfo() File "/usr/share/vdsm/storage/sp.py", line 1196, in getInfo raise se.StoragePoolActionError(self.spUUID)
No, this is not the same case as: bug 671154 - VDSM: getStoragePoolInfo fails due to missing POOL_DESCRIPTION in metadata Note that there are different hosts - one is a 5.x host and the other a 6.x host - perhaps backward compatibility has been broken
In addition to the steps to reproduce: Prior to steps 3 & 4 -------------------- * RHEL5.6 was in appropriate cluster (compatibility 2.2) * RHEL 6 was in an inappropriate cluster (compatibility 2.2) Later on, the cluster for RHEL6 was removed and created a new one with (compatibility 2.3) --------------------- 3. I activated Host RHEL5.6 first and attached it a storage domain1 4. I activated the second host (RHEL6) (build 51 vdsm) and attached it a storage domain2
The DESCRIPTION belongs to the MASTER Domain Description. And the missing field POOL_DESCRIPTION is another field.
This problems occurs now at 2 customers sites, running latest vdsm version (2.2.6).
(In reply to comment #6) > This problems occurs now at 2 customers sites, running latest vdsm version > (2.2.6). Marina, the bug tracking this for 2.2.6 is bug 684725.
Ah, right Dan, thanks. I noticed I put that command on the wrong bug after posting it ;)
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
adding comment for david since he was unable to change to verify: Verified on IC118, RHEVM-Linux. Works correctly for both hosts - RHEL56 & RHEL6 On two DCs (22, 23) with seperate storage domains)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2011-1782.html