Desktop VM is not up when I change value webhost at hypervisor configuration
fgonzalezmacias opened this issue · comments
Yes, there is a bug that breaks isard-engine when hypervisors changes. But I can recover the system restarting isard-engine.
Please, could you provide the logs?
2020-10-21 09:15:18,740 - workers - INFO - worker_isard-hypervisor - starting thread: worker_isard-hypervisor (TID 80)
Exception in thread status_isard-hypervisor:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/isard/engine/controllers/status.py", line 135, in run
self.polling_status()
File "/isard/engine/controllers/status.py", line 124, in polling_status
self.status_obj.update_status_hyps_rethink()
File "/isard/engine/controllers/status.py", line 99, in update_status_hyps_rethink
self.hyp_obj.get_load()
File "/isard/engine/models/hyp.py", line 885, in get_load
if len(self.stats_hyp_now) > 0:
AttributeError: 'hyp' object has no attribute 'stats_hyp_now'
2020-10-21 09:15:21,556 - downloads - INFO - download_changes - waiting an hypervisor online to launch downloading actions
Exception in thread download_changes:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/isard/engine/services/threads/download_thread.py", line 459, in run
next_hyp = self.manager.pools[pool_id].get_next()
File "/isard/engine/models/pool_hypervisors.py", line 83, in get_next
return self.balancer.get_next(*args)
Hello.
Logs?
#docker-compose logs?
Also /opt/isard-local/logs
I attach the logs inside /opt/isard-local/logs/engine and /opt/isard-local/logs/webapp
Your database is down. Please, could you restart it via docker-compose restart isard-db
?
Previously I executed that command, because I have problem to validate login at http://localhost/
But I understand that the BD is up if i can see the Administrator Users and others users not showed
Anyway I have run the docker-compose restart isard-db again, and with the same result
thanks
Does restarting the whole dockers solve the problem?
No. I finally did a new installation. Thanks