On Fri, May 22, 2020 at 6:13 PM <dan.creed@thecreeds.net> wrote:
MainThread::WARNING::2020-05-21 14:22:55,067::storage_broker::100::ovirt_hosted_engine_ha.broker.storage_broker.StorageBroker::(__init__) Can't connect vdsm storage: 'NoneType' object has no attribute 'close_connections'
MainThread::ERROR::2020-05-21 14:22:55,067::broker::69::ovirt_hosted_engine_ha.broker.broker.Broker::(run) Failed initializing the broker: 'NoneType' object has no attribute 'close_connections'

This is probably the side effect of a previous error so self._listener is None but i'm pretty sure that something failed before trying to initialize it.
Can you please share the whole log file?
 
MainThread::ERROR::2020-05-21 14:22:55,078::broker::71::ovirt_hosted_engine_ha.broker.broker.Broker::(run) Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/broker.py", line 64, in run
    self._storage_broker_instance = self._get_storage_broker()
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/broker.py", line 143, in _get_storage_broker
    return storage_broker.StorageBroker()
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/storage_broker.py", line 97, in __init__
    self._backend.connect()
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/storage_backends.py", line 375, in connect
    sserver.connect_storage_server()
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/storage_server.py", line 356, in connect_storage_server
    conList, storageType = self._get_conlist(cli, normalize_path=True)
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/storage_server.py", line 306, in _get_conlist
    self._validate_pre_connected_path(cli, path)
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/lib/storage_server.py", line 155, in _validate_pre_connected_path
    cli.StorageDomain.getInfo(storagedomainID=self._sdUUID)
  File "/usr/lib/python3.6/site-packages/vdsm/client.py", line 289, in _call
    req, timeout=timeout, flow_id=self._flow_id)
  File "/usr/lib/python3.6/site-packages/yajsonrpc/jsonrpcclient.py", line 91, in call
    call.wait(kwargs.get('timeout', CALL_TIMEOUT))
  File "/usr/lib/python3.6/site-packages/yajsonrpc/jsonrpcclient.py", line 290, in wait
    self._ev.wait(timeout)
  File "/usr/lib64/python3.6/threading.py", line 551, in wait
    signaled = self._cond.wait(timeout)
  File "/usr/lib64/python3.6/threading.py", line 299, in wait
    gotit = waiter.acquire(True, timeout)
  File "/usr/lib/python3.6/site-packages/ovirt_hosted_engine_ha/broker/broker.py", line 114, in _handle_quit
    down_thread = threading.Thread(target=self._listener.close_connections)
AttributeError: 'NoneType' object has no attribute 'close_connections'
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/NRSYP3LCIYXFVC3K2U6ESXEX6YK5CTPY/