Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blank hypervisor selection #132

Open
wanabnux opened this issue Aug 30, 2018 · 27 comments
Open

blank hypervisor selection #132

wanabnux opened this issue Aug 30, 2018 · 27 comments
Labels

Comments

@wanabnux
Copy link

Having problem adding target hypervisor.

In Dashboard config.php -
$serviceurl= Dashboard Service server ip;
$websockets_address= router ip;
$LDAP_host= Dashboard server ip

Hypervisor config -
[server]
address = Dashboard server ip

$backend_pass match & sudoers file changed accordingly.

hypervisor is on a separate server, and can't have it appear in Target hypervisor drop-down menu. Are there sample config.php and hypervisor side config files that highlight items that need customization?

@Seitanas
Copy link
Owner

You need to add new hypervisor via dashboard.

@wanabnux
Copy link
Author

I tried it. returns BAD_SSH_add

@Seitanas
Copy link
Owner

So, you haven't copy public key to that node

@wanabnux
Copy link
Author

yes. it was done. This works - "ssh -i /var/hyper_keys/id_rsa VDI@hypervisor_address"

Havn't set up thin client yet. Currently just have Dashboard server and hypervisor sever setup. Do you need to complete rest of the steps to be able to add hypervisor?

@wanabnux
Copy link
Author

[root@centos ~]# ssh -i /var/hyper_keys/id_rsa VDI@192.168.1.42
Last login: Thu Aug 30 15:48:05 2018 from 192.168.1.32

@Seitanas
Copy link
Owner

Check permissions on private key. Perhaps web server cannot read it.

@wanabnux
Copy link
Author

[root@centos hyper_keys]# ls -la
total 12
drwx------. 2 root root 38 Aug 28 13:40 .
drwxr-xr-x. 23 root root 4096 Aug 28 13:39 ..
-rwx------. 1 root root 1675 Aug 28 13:40 id_rsa
-rwx------. 1 root root 392 Aug 28 13:40 id_rsa.pub

@Seitanas
Copy link
Owner

Seitanas commented Aug 30, 2018 via email

@wanabnux
Copy link
Author

not sure, but still the same BAD_SSH_add even with 777

[root@centos hyper_keys]# ls -al
total 12
drwx------. 2 root root 38 Aug 28 13:40 .
drwxr-xr-x. 23 root root 4096 Aug 28 13:39 ..
-rwxrwxrwx. 1 root root 1675 Aug 28 13:40 id_rsa
-rwx------. 1 root root 392 Aug 28 13:40 id_rsa.pub

@Seitanas
Copy link
Owner

Seitanas commented Aug 30, 2018 via email

@wanabnux
Copy link
Author

does webserver need to be installed on hypervisor as well?

@wanabnux
Copy link
Author

wanabnux commented Aug 31, 2018 via email

@wanabnux
Copy link
Author

wanabnux commented Aug 31, 2018 via email

@Seitanas
Copy link
Owner

What's the permissions of /var/hyper_keys/ folder?

@wanabnux
Copy link
Author

wanabnux commented Aug 31, 2018 via email

@Seitanas
Copy link
Owner

No, i mean directory /var/hyper_keys/ permissions, not file

@wanabnux
Copy link
Author

wanabnux commented Aug 31, 2018 via email

@Seitanas
Copy link
Owner

Seitanas commented Aug 31, 2018

change to +xr permissions for all

@wanabnux
Copy link
Author

wanabnux commented Sep 4, 2018 via email

@Seitanas
Copy link
Owner

Seitanas commented Sep 4, 2018

your permissions on /va/hyper_keys directory are:
dr--rwxr--+ 2 root root 38 Aug 28 13:40 hyper_keys
shoud be:
dr-xrwxr-x+ 2 root root 38 Aug 28 13:40 hyper_keys

@wanabnux
Copy link
Author

wanabnux commented Sep 4, 2018 via email

@wanabnux
Copy link
Author

wanabnux commented Sep 4, 2018 via email

@wanabnux
Copy link
Author

wanabnux commented Sep 5, 2018 via email

@Seitanas
Copy link
Owner

Seitanas commented Sep 5, 2018

You should disable SELinux on machines.

@wanabnux
Copy link
Author

wanabnux commented Sep 5, 2018 via email

@wanabnux
Copy link
Author

wanabnux commented Sep 5, 2018 via email

@robinayinikat
Copy link

Any luck on the error, i am still struglling tried all ther permissions , but still no luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants