[ovirt-devel] Second host detection broken in hosted-engine --deplot

Christopher Pereira kripper at imatronix.cl
Mon Apr 20 09:21:06 UTC 2015


On 20-04-2015 6:02, Sandro Bonazzola wrote:
> Il 20/04/2015 10:56, Christopher Pereira ha scritto:
>> It seems like something broke recently, because now, when deploying hosted-engine to the second host, setup is saying:
>>
>>      [ INFO  ] GlusterFS replica 3 Volume detected
>>      [ INFO  ] Installing on first host
>>
>> How can I diagnose/fix the problem?
> The flag determining if an host is the first one or an additional one is ohostedcons.CoreEnv.IS_ADDITIONAL_HOST
> You can check the logs to see the env variables dumps on each plugin activation and see the code where the variable is set.
> You can also send us the logs so we can help with the debugging.

This one?

2015-04-20 06:16:20 DEBUG otopi.context context.dumpEnvironment:499 
ENVIRONMENT DUMP - BEGIN
2015-04-20 06:16:20 DEBUG otopi.context context.dumpEnvironment:509 ENV 
OVEHOSTED_STORAGE/storageDomainConnection=str:'h4.imatronix.com:engine'
2015-04-20 06:16:20 DEBUG otopi.context context.dumpEnvironment:513 
ENVIRONMENT DUMP - END
2015-04-20 06:16:20 DEBUG otopi.context context._executeMethod:141 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.blockd.Plugin._customization
2015-04-20 06:16:20 DEBUG otopi.context context._executeMethod:147 
condition False
2015-04-20 06:16:20 DEBUG otopi.context context._executeMethod:141 Stage 
customization METHOD 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage.Plugin._late_customization
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:446 connectStorageServer
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:504 {'status': {'message': 'OK', 
'code': 0}, 'statuslist': [{'status': 0, 'id': 
'ae40054b-1fff-4848-8c43-8f8123fe4682'}]}
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:403 getStorageDomainsList
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainsList:406 {'status': {'message': 'OK', 'code': 
0}, 'domlist': ['c54f691c-fc83-4a74-9c02-a68ef87e68b3']}
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainInfo:421 getStorageDomainInfo
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._getStorageDomainInfo:424 {'status': {'message': 'OK', 'code': 
0}, 'info': {'uuid': 'c54f691c-fc83-4a74-9c02-a68ef87e68b3', 'version': 
'3', 'role': 'Master', 'remotePath': 'h4.imatronix.com:engine', 'type': 
'GLUSTERFS', 'class': 'Data', 'pool': 
['61e2d6d0-f798-428d-a07e-397fc7a4f10f'], 'name': 'hosted_storage'}}
2015-04-20 06:16:20 INFO 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._handleHostId:119 Installing on first host
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:446 disconnectStorageServer
2015-04-20 06:16:20 DEBUG 
otopi.plugins.ovirt_hosted_engine_setup.storage.storage 
storage._storageServerConnection:504 {'status': {'message': 'OK', 
'code': 0}, 'statuslist': [{'status': 0, 'id': 
'ae40054b-1fff-4848-8c43-8f8123fe4682'}]}




More information about the Devel mailing list