- Català: Aquesta pàgina no està traduida encara al català.
- Castellano: Esta página no está traducida aún al castellano.
Admin FAQs & Troubleshooting¶
Installation¶
Spice client does not connect¶
It could be due to:
-
Failed isard-spice startup. Although it is a rare situation, you could find this by issuing this commands:
docker logs isard-squid
docker exec isard-squid sh -c "tail -n +1
-
The certificates used by spice have changed and need to be updated in database. Execute this to update those certs:
docker exec isard-engine python3 update_certs.py
After upgrading can't start docker again¶
The error shown is:
ERROR: for isard-hypervisor user specified IP address is supported only when connecting to networks with user configured subnets
This is due to a change in internal isard-network configuration. You need to remove existing isard-network:
docker network rm isard-network
After upgrading admin interface events seem unresponsive¶
Usually this is due to a client browser cache not loading new javascript sources.
Try cleaning client browser cache.
After finishing install the default isard-hypervisor is disabled or shows error¶
If you open de hypervisor details (click on + button) you will see messages from IsardVDI engine that can be useful to determine what happened. If you just finished install wizard and isard-hypervisor is disabled probably the problem is with virtualization capabilites. You should check de hyp field and it should show some virtualitzation capability (vms or svm).
If it shows False then you should check your host virtualization as follows.
Your hardware needs to have virtualization enabled. You can check that in your BIOS but also from CLI:
egrep ‘(vmx|svm)’ /proc/cpuinfo
If you see nothing in the output your CPU has no virtualization capabilites or they are disabled in BIOS. Please verify that your CPU has that capability and that it is not disabled in BIOS.
You may also check for that capability inside de isard hypervisor running container by issuing the command:
sudo docker exec -it isard-hypervisor virsh capabilities |grep "feature name"
If the hypervisor still doesn't connect check that you have disabled selinux/apparmor: - selinux (RH/CentOS/Fedora): setenforce 0. Edit /etc/selinux/config and set disabled there for next reboots - apparmor (Debian/Ubuntu): sudo ln -s /etc/apparmor.d/usr.sbin.libvirtd /etc/apparmor.d/disable/usr.sbin.libvirtd. And reboot
If you see in the hypervisor details that the error is ssh key related then docker-compose down, rm -rf /opt/isard/sshkeys and docker-compose up -d again.
Viewers¶
Tries to connect to localhost or incorrect IP/hostname¶
Disable isard-hypervisor in Hypervisors menu and check that viewer hostname is correct:
- Disable isard-hypervisor in Hypervisor menu
- Edit Hypervisor (details edit button)
- Check/Update Client viewers address. Should be the hostname/IP where IsardVDI is running and must be accessible from clients.
- Enable isard-hypervisor again and start new domain to check viewer connection.
Explanation¶
Probably you did the wizard using 'localhost' or an IP address different to the one you are trying to connect now with viewers. That lead to an isard-hypervisor set up with 'localhost' or that wrong server IP address.
You can always modify the viewer address used for clients editing the isard-hypervisor. To edit it you must first disable isard-hypervisor by clicking in Enable/disable button:
and then the edit button will be enabled so you can access the isard-hypervisor edit form:
There are three viewer IPs fields that can be set:
- Web host: This IP/dns will be the one used in HTML5 viewers from your network connecting to your IsardVDI server. So it should be set up to the real IP address of your web server.
- Video proxy host: This should be the same IP/DNS as web host if you have an 'all-in-one' installation. If this is a remote hypervisor it should be the IP/DNS reachable from outside world for that hypervisor.
- Hypervisor hostname from video proxy: As this is used in complex infrastructures just set there isard-hypervisor that is the default name for hypervisor container.
Enable the hypervisor again.
NOTE: When enabling and disabling hypervisors it is recommended to restart isard-engine container as this process is not completely reliable now and could fail. To restart it do:
sudo docker-compose restart isard-engine
This does not affect to currently started virtual machines.
Downloads¶
Which user and password do the downloaded domains have?¶
All domains that can be downloaded from Downloads section have by default the user isard and the password pirineus. The isard user has also superuser privileges.
Certificates¶
Can't access Isard after replacing certificates¶
The new certificate will be used to access your IsardVDI webserver now. Verify that it is using it in your browser (usually there will be a locker icon before url input).
- In case it is not using new certificate check isard-portal container logs while bringing it up with docker-compose up (withouth daemonizing it with -d). There you will see information about the cert found in folder.
- Check the certificates now in default folder /opt/isard/certs/default. Code should have generated a chain.pem and video.pem. Follow the certificate set up section.
In case your new certificates didn't work it is recommended to remove all the certificates, bring IsardVDI up again so it will create new self-signed ones, and start the process of replacing certificates again (first brind down IsardVDI).
Which viewer connections are encrypted?¶
Certificate info will be shown at menu Hypervisors -> Default pool, showing that it is in Secure mode and the domain info taken from the updated cert.
All viewer connection are secured with ssl certificates, either self-signed or letsencrypt (if you configured to generate it by default) or any commercial certificate you set up followin the certificate set up section