Hi,
Thanx for the feedback.
getent ahostsv4 v0.mydomain gives:
172.16.30.10 STREAM v0
172.16.30.10 DGRAM
172.16.30.10 RAW which means that
getent ahostsv4 v0.mydomain | grep v0.mydomain
gives null
I overcame this by using the flag --noansible to proceed with the python way and it did succeed.
Now I am stuck at engine-setup create CA step. It never finishes and I see several errors at setup log (grep -iE 'error|fail' ):
2018-05-15 03:40:03,749-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False'
2018-05-15 03:40:03,751-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True'
2018-05-15 03:40:04,338-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False'
2018-05-15 03:40:04,339-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True'
2018-05-15 03:40:04,532-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False'
2018-05-15 03:40:04,809-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7ff1630b9578>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff1630b9a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff163099410>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': '{key} required to be at least {expected}'}, {'ok': <function <lambda> at 0x7ff163099488>, 'check_on_use': True, 'needeOperationalError: FATAL: password authentication failed for user "engine"
FATAL: password authentication failed for user "engine"
2018-05-15 03:40:11,408-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'False'
2018-05-15 03:40:11,417-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True'
2018-05-15 03:40:11,441-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False'
2018-05-15 03:40:11,457-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7ff1630b9578>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff1630b9a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff163099410>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': '{key} required to be at least {expected}'}, {'ok': <function <lambda> at 0x7ff163099488>, 'check_on_use': True, 'needed_on_create': True, 'key': 'maintenance_work_mem', 'expected': 65536, 'error_msg': '{key} required to be at least {expected}', 'useQueryForValue': True}, {'ok': <function <lambda> at 0x7ff163099500>, 'check_on_use': True, 'needed_on_create': True, 'key': 'work_mem', 'expected': 8192, 'error_msg': '{key} required to be at least {expected}', 'useQueryForValue': True})'
raise RuntimeError("SIG%s" % signum)
RuntimeError: SIG2
raise RuntimeError("SIG%s" % signum)
RuntimeError: SIG2
2018-05-15 03:41:19,888-0400 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Misc configuration': SIG2
2018-05-15 03:41:19,993-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'True'
2018-05-15 03:41:19,993-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('SIG2',), <traceback object at 0x7ff161de9560>)]'
2018-05-15 03:41:20,033-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/error=bool:'True'
2018-05-15 03:41:20,033-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError('SIG2',), <traceback object at 0x7ff161de9560>)]'
2018-05-15 03:41:20,038-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV CORE/failOnPrioOverride=bool:'True'
2018-05-15 03:41:20,056-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_CORE/failOnDulicatedConstant=bool:'False'
2018-05-15 03:41:20,069-0400 DEBUG otopi.context context.dumpEnvironment:869 ENV OVESETUP_PROVISIONING/postgresExtraConfigItems=tuple:'({'ok': <function <lambda> at 0x7ff1630b9578>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_vacuum_scale_factor', 'expected': 0.01, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff1630b9a28>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_analyze_scale_factor', 'expected': 0.075, 'error_msg': '{key} required to be at most {expected}'}, {'ok': <function <lambda> at 0x7ff163099410>, 'check_on_use': True, 'needed_on_create': True, 'key': 'autovacuum_max_workers', 'expected': 6, 'error_msg': '{key} required to be at least {expected}'}, {'ok': <function <lambda> at 0x7ff163099488>, 'check_on_use': True, 'needed_on_create': True, 'key': 'maintenance_work_mem', 'expected': 65536, 'error_msg': '{key} required to be at least {expected}', 'useQueryForValue': True}, {'ok': <function <lambda> at 0x7ff163099500>, 'check_on_use': True, 'needed_on_create': True, 'key': 'work_mem', 'expected': 8192, 'error_msg': '{key} required to be at least {expected}', 'useQueryForValue': True})'
2018-05-15 03:41:20,084-0400 ERROR otopi.plugins.ovirt_engine_common.base.core.misc misc._terminate:162 Execution of setup failed
I selected to autoconfigure the DB but seems that some auth issue is being logged for DB account of engine.
Any ideas on this?
I can share more logs if needed.
Thanx,
Alex