[one-users] Configuration problem with ssh and sunstone

Schroeder, Nils nils.schroeder at cewecolor.de
Wed Feb 13 01:00:26 PST 2013


Hello,

you are trying to connect with the user host:

ssh host at 192.168.122.19 'virsh -c qemu:///system nodeinfo'

You have to use your oneadmin account:
ssh oneadmin at 192.168.122.19 'virsh -c qemu:///system nodeinfo'

Your transfer manager ist also not working. Did you set up permissions correctly? Can oneadmin write to /var/lib/one/datastores/0 and is your passwordless ssh proper configured?

Please try ssh oneadmin at dest for frontend ==> host, frontend ==> frontend and host ==> host

Regards,
Nils Schröder
________________________________________
Von: users-bounces at lists.opennebula.org [users-bounces at lists.opennebula.org]" im Auftrag von "Johannes Thome [johannes.thome at electrica.cujae.edu.cu]
Gesendet: Dienstag, 12. Februar 2013 20:08
An: Users
Betreff: [one-users] Configuration problem with ssh and sunstone

Hello, so i used all the infos i got from you to start from the
beginning i wrote down every step i did.
So maybe some of you know where my mistake is.

i get a mistake with the command:

§ ssh host at 192.168.122.19 'virsh -c qemu:///system nodeinfo'

i googled it and found this solution:

error: Failed to connect socket to '/var/run/libvirt/libvirt-sock':
Permission denied
error: failed to connect to the hypervisor

edit file: /etc/libvirt/libvirtd.conf as make following changes:

unix_sock_group = "cloud" ; my group for oneadmin is cloud
change the unix_sock_rw_perms = "0777"
uncomment:
unix_sock_dir = "/var/run/libvirt"

edit file: /etc/libvirt/qemu.conf and make following changes
vnc_listen = "0.0.0.0"
user = "oneadmin"
group = "cloud"
dynamic_ownership = 1
then restart libvirt as root :
# /etc/init.d/libvirt-bin restart

But i get still this error!

when i just try to start sunstone and build a machine i get this in the
logfile:


Tue Feb 12 13:45:18 2013 [DiM][I]: New VM state is PENDING
Tue Feb 12 13:45:44 2013 [DiM][I]: New VM state is ACTIVE.
Tue Feb 12 13:45:44 2013 [LCM][I]: New VM state is PROLOG.
Tue Feb 12 13:45:44 2013 [VM][I]: Virtual Machine has no context
Tue Feb 12 13:45:45 2013 [TM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/clone
front-end:/var/lib/one/datastores/1/bbc82c97b066
fcb22b3a5262d104b58c host:/var/lib/one//datastores/0/0/disk.0 0 1
Tue Feb 12 13:45:45 2013 [TM][I]: clone: Cloning
/var/lib/one/datastores/1/bbc82c97b066fcb22b3a5262d104b58c in
host:/var/lib/one//datastores/0/
0/disk.0
Tue Feb 12 13:45:45 2013 [TM][E]: clone: Command "cd
/var/lib/one/datastores/0/0; cp -r
/var/lib/one/datastores/1/bbc82c97b066fcb22b3a5262d104b
58c /var/lib/one/datastores/0/0/disk.0" failed: Permission denied
(publickey,password).
Tue Feb 12 13:45:45 2013 [TM][E]: Error copying
front-end:/var/lib/one/datastores/1/bbc82c97b066fcb22b3a5262d104b58c to
host:/var/lib/one//data
stores/0/0/disk.0
Tue Feb 12 13:45:45 2013 [TM][I]: ExitCode: 255
Tue Feb 12 13:45:45 2013 [TM][E]: Error executing image transfer
script: Error copying
front-end:/var/lib/one/datastores/1/bbc82c97b066fcb22b3a
5262d104b58c to host:/var/lib/one//datastores/0/0/disk.0
Tue Feb 12 13:45:45 2013 [DiM][I]: New VM state is FAILED


the error:
Tue Feb 12 13:45:45 2013 [TM][E]: clone: Command "cd
/var/lib/one/datastores/0/0; cp -r
/var/lib/one/datastores/1/bbc82c97b066fcb22b3a5262d104b
58c /var/lib/one/datastores/0/0/disk.0" failed: Permission denied
(publickey,password).

seams to be the ssh server, but it was working before i was able to
connect all the users with ssh without entering a password the password
was only asked one time after ssh-copy-id...

please help me, i am running out of ideas

greetings

Johannes


48 Aniversario del Instituto Superior Politecnico Jose Antonio Echeverria, Cujae
Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu



Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
OHG mit Sitz in Oldenburg; Registergericht Oldenburg HR A 1548;
Persönlich haftende geschäftsführende Gesellschafterin: Neumüller CeWe Color Stiftung, Oldenburg
Vorstand: Dr. Rolf Hollander, Vorsitzender; Harald H. Pirwitz, Felix Thalmann, Frank Zweigle, Dr. Michael Fries;
Geschäftsführer: Dr. Reiner Fageth, Andreas F.L. Heydemann, Dr. Olaf Holzkämper

Persönlich haftende Gesellschafterin: CeWe Color Holding AG, Oldenburg, Registergericht Oldenburg HR B 2956
Vorstand: Dr. Rolf Hollander, Vorsitzender; Andreas F.L. Heydemann, Dr. Reiner Fageth, Dr. Olaf Holzkämper
Aufsichtsrat: Otto Korte, Vorsitzender



More information about the Users mailing list