mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-26 08:05:54 +03:00
[GH-ISSUE #313] Question: Multiple Host on One Webvirtmgr #244
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @silentgecko on GitHub (May 21, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/313
Hello,
i have 2 Host Systems.
On each Host System i installed webvirtmgr as recommended.
I can access each Host Systems webvirtmgr and manage vms. But i cant add the second Host system to the webvirtmgr of the first Hostsystem.
I tried to connect from console from Host 1 to Host 2, and that worked:
root@host1:~# virsh qemu+ssh://webvirtmgr@host2/system
-> success
How to add a second, not locally installed Host System?
I am using SSH Auth for Both.
Greetings
@retspen commented on GitHub (May 21, 2014):
Hello,
Can you test next command?
@silentgecko commented on GitHub (May 21, 2014):
Hey @retspen,
did you mean:
$ sudo -u nginx virsh -c qemu+ssh://webvirtmgr@92.51.156.34/system?Then your code will give me this error:
root@host1:~# sudo -u nginx qemu+ssh://webvirtmgr@host2/system
sudo: unknown user: nginx
sudo: unable to initialize policy plugin
Otherwise, i don't have a nginx system user ;) And when i try it with user nginx, the same error appears
My Webuser is www-data:
root@host1:~# sudo -u www-data virsh -c qemu+ssh://webvirtmgr@host2/system
webvirtmgr@host2's password:
@retspen commented on GitHub (May 21, 2014):
Oh, Sorry! I mean that:
$ sudo -u www-data virsh -c qemu+ssh://wwbvirtmgr@host2/system nodeinfo
You need check authorized_keys on webvirtmgr user in host2
@silentgecko commented on GitHub (May 22, 2014):
Hey @retspen
thanks for your advice, the authorized_keys on host2 was the Problem. Adding the id_rsa.pub from host1 to authorized_keys from www-data on host2 solved it ;)
Thank you! And thanks for your great tool ;)
@retspen commented on GitHub (May 22, 2014):
Thanks!