isard-vdi / isard

Isard VDI. Open Source KVM Virtual Desktops based on KVM Linux and dockers. Please use https://gitlab.com/isard/isardvdi

Home Page:http://www.isardvdi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop VM is not up when I change value webhost at hypervisor configuration

fgonzalezmacias opened this issue · comments

image

image

I read the documentation and I try to change the value webhost to the local ip of the isard host.

I did the sudo docker-compose restart isard-engine, and the hypervisor is ok, but the circle is continually spinning

I try to reboot the host and the result is the same.

Thanks in advance.

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

The Desktop I could recover it through Global Action -> Force Stop, but the Template is with the circle spinning.

I did the docker-compose restart isard-engine, but the same.

image

Isard-local.zip

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

image

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