[one-users] Configuration problem with ssh and sunstone

Johannes Thome johannes.thome at electrica.cujae.edu.cu
Tue Feb 12 11:08:49 PST 2013


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configuration.odt
Type: application/vnd.oasis.opendocument.text
Size: 137806 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130212/8fd2c9dd/attachment-0029.odt>


More information about the Users mailing list