[one-users] problem starting VM in 3.4.1

Hector Sanjuan hsanjuan at opennebula.org
Fri Jun 1 04:26:04 PDT 2012


Looks like opennebula user does not have permission to do this:

scp -r /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one

Check that /var/tmp/one has the correct permissions so that oneadmin can  
write to it.

Hector

En Fri, 01 Jun 2012 13:20:15 +0200, Piyush Harsh <piyush.harsh at inria.fr>  
escribió:

> Hello Community Members,
>
> After finally able to setup OpenNebula 3.4.1 in standalone mode on  
> Fedora 14, I tried to create a VM from a template but I get errors:
> ---------------
> Fri Jun  1 13:10:17 2012 [DiM][I]: New VM state is ACTIVE.
> Fri Jun  1 13:10:17 2012 [LCM][I]: New VM state is PROLOG.
> Fri Jun  1 13:10:17 2012 [VM][I]: Virtual Machine has no context
> Fri Jun  1 13:12:56 2012 [TM][I]: clone: Cloning  
> ../../1/eab43c8ed6cddb5a761d96fb3198a79f in  
> 127.0.0.1:/srv/cloud/one3/var//datastores/0/0/disk.0
> Fri Jun  1 13:12:56 2012 [TM][I]: ExitCode: 0
> Fri Jun  1 13:12:58 2012 [LCM][I]: New VM state is BOOT
> Fri Jun  1 13:12:58 2012 [VMM][I]: Generating deployment file:  
> /srv/cloud/one3/var/0/deployment.0
> Fri Jun  1 13:12:59 2012 [VMM][I]: Remote worker node files not found
> Fri Jun  1 13:12:59 2012 [VMM][I]: Updating remotes
> Fri Jun  1 13:12:59 2012 [VMM][I]: ExitCode: 0
> Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail: scp -r  
> /srv/cloud/one3/var/remotes//. 127.0.0.1:/var/tmp/one
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./scripts_common.rb: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./tm: Permission  
> denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./auth: Permission  
> denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./hooks: Permission  
> denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./datastore:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/save:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/reboot:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/cancel:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/xenrc:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./vmm/xen/poll_ganglia: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/deploy:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/migrate:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/shutdown:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/poll:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/xen/restore:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/vmware:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/save:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/reboot:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/cancel:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./vmm/kvm/poll_ganglia: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/deploy:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/migrate:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/shutdown:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/poll:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/kvmrc:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./vmm/kvm/migrate_local: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vmm/kvm/restore:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./vnm: Permission  
> denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./scripts_common.sh: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/run_probes:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/vmware.d:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/name.sh:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/cpu.sh:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./im/xen.d/architecture.sh: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/xen.d/xen.rb:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./im/ganglia.d/ganglia_probe: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/name.sh:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/kvm.rb:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp: /var/tmp/one/./im/kvm.d/cpu.sh:  
> Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: scp:  
> /var/tmp/one/./im/kvm.d/architecture.sh: Permission denied
> Fri Jun  1 13:13:00 2012 [VMM][I]: ExitCode: 1
> Fri Jun  1 13:13:00 2012 [VMM][I]: Command execution fail:  
> /var/tmp/one/vnm/dummy/pre  
> PFZNPjxJRD4wPC9JRD48VUlEPjA8L1VJRD48R0lEPjA8L0dJRD48VU5BTUU+b25lYWRtaW4zPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPm9uZS0wPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxMQVNUX1BPTEw+MDwvTEFTVF9QT0xMPjxTVEFURT4zPC9TVEFURT48TENNX1NUQVRFPjI8L0xDTV9TVEFURT48U1RJTUU+MTMzODU0ODkzMDwvU1RJTUU+PEVUSU1FPjA8L0VUSU1FPjxERVBMT1lfSUQvPjxNRU1PUlk+MDwvTUVNT1JZPjxDUFU+MDwvQ1BVPjxORVRfVFg+MDwvTkVUX1RYPjxORVRfUlg+MDwvTkVUX1JYPjxURU1QTEFURT48Q1BVPjwhW0NEQVRBWzFdXT48L0NQVT48RElTSz48QlVTPjwhW0NEQVRBW3ZpcnRpb11dPjwvQlVTPjxDTE9ORT48IVtDREFUQVtZRVNdXT48L0NMT05FPjxDTFVTVEVSX0lEPjwhW0NEQVRBWzEwMF1dPjw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vUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxF
>  RVRJTUU+M
> DwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPg==
> Fri Jun  1 13:13:00 2012 [VMM][I]: bash: line 2:  
> /var/tmp/one/vnm/dummy/pre: No such file or directory
> Fri Jun  1 13:13:00 2012 [VMM][I]: ExitCode: 127
> Fri Jun  1 13:13:00 2012 [VMM][I]: Failed to execute network driver  
> operation: pre.
> Fri Jun  1 13:13:00 2012 [VMM][E]: Error deploying virtual machine
> Fri Jun  1 13:13:00 2012 [DiM][I]: New VM state is FAILED
> -----------------
> I tested that I am able to to passwordless ssh onto the localhost. I am  
> testing using 1 single machine, and so front-end and worker node is the  
> same physical host.
>
> Can someone tell me what is wrong and how I can fix these errors?
>
> Kind regards,
> Piyush.


-- 
Hector Sanjuan
OpenNebula Developer



More information about the Users mailing list