Hi is there any one could help me i am going to install open nebula to make storage as service for clients i am doing this as a project. i have done the installation same like this link from YouTube http://www.youtube.com/watch?v=1DVm86YFPgk at the end of this video on the browser he types in localhost9698 then it as for id and password so now i am not sure what password and user name is asking about and i am not sure that i am doing the right thing for installing the cloud environment any one could help that will be great guys thanks
On Sat, Apr 13, 2013 at 10:20 PM, Anant Agarwal <anantinv...@gmail.com>wrote: > Hi, > > These parameters were not configured, but after configuring them > as mentioned status of hosts in onehost list changes to Err. > In one of the machine i have set > user=oneadmin, > group=oneadmin, > dynamic_ownership=0 > > for this machine host statues is Err and in oned.log it shows this: > Sat Apr 13 15:38:02 2013 [InM][I]: Monitoring host anant-Inspiron-N5010 (2) > Sat Apr 13 15:38:02 2013 [InM][I]: Command execution fail: 'if [ -x > "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 2 > anant-Inspiron-N5010; else exit 42; fi' > Sat Apr 13 15:38:02 2013 [InM][I]: error: Failed to connect socket to > '/var/run/libvirt/libvirt-sock': No such file or directory > Sat Apr 13 15:38:02 2013 [InM][I]: error: failed to connect to the > hypervisor > Sat Apr 13 15:38:02 2013 [InM][E]: Error executing kvm.rb > Sat Apr 13 15:38:02 2013 [InM][I]: ExitCode: 255 > Sat Apr 13 15:38:02 2013 [InM][E]: Error monitoring host 2 : MONITOR > FAILURE 2 Error executing kvm.rb > > To me it seems libvirt does not start if i change user to oneadmin. > Thanks, > > > > On Wed, Apr 10, 2013 at 3:33 PM, Javier Fontan <jfon...@opennebula.org>wrote: > >> Have you configured qemu as stated in the documentation [1]? These >> parameters in /etc/libvirt/qemu.conf: >> >> user = "oneadmin" >> group = "oneadmin" >> dynamic_ownership = 0 >> >> >> [1] http://opennebula.org/documentation:rel3.8:kvmg#kvm_configuration >> >> On Tue, Apr 9, 2013 at 8:03 PM, Anant Agarwal <anantinv...@gmail.com> >> wrote: >> > Hi, >> > >> > on checking the permissions of /var/lib/one/var/datastores/0/12/disk.0 >> its >> > shows the owner and group both as root and the user oneadmin belongs to >> > group root. So i think that should not be problem. But the group has >> only >> > read permission of the file. Can that be the problem? if yes then how to >> > change the permission, i tried doing it manually but then everytime i >> > create a new VM this file is created with same old permissions. Any >> help? >> > >> > Thanks, >> > >> > >> > On Tue, Apr 9, 2013 at 1:50 AM, Alexandre Bezroutchko <a...@gremwell.com >> > >> > wrote: >> >> >> >> Hi, >> >> >> >> I wonder if "permission denied" error can be a cause of your problem. >> Have >> >> you investigated it? >> >> >> >> >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 error: >> >> internal error process exited while connecting to monitor: kvm: -drive >> >> >> file=/var/lib/one/var/datastores/0/12/disk.0,if=none,id=drive-ide0-0-0,format=qcow2: >> >> could not open disk image /var/lib/one/var/datastores/0/12/disk.0: >> >> Permission denied >> >> >> >> Best regards, >> >> Alex >> >> >> >> >> >> On 04/08/2013 09:42 PM, Anant Agarwal wrote: >> >> >> >> HI, I am unable to create VM, >> >> >> >> This is the content of oned.log >> >> >> >> Tue Apr 9 00:50:26 2013 [TM][D]: Message received: LOG I 12 clone: >> >> Cloning ../../win-xp-2.qcow2 in >> >> anant-Inspiron-N5010:/var/lib/one/var/datastores/0/12/disk.0 >> >> Tue Apr 9 00:50:26 2013 [TM][D]: Message received: LOG I 12 ExitCode: >> 0 >> >> Tue Apr 9 00:50:28 2013 [TM][D]: Message received: LOG I 12 context: >> >> Generating context block device at >> >> anant-Inspiron-N5010:/var/lib/one/var/datastores/0/12/disk.1 >> >> Tue Apr 9 00:50:28 2013 [TM][D]: Message received: LOG I 12 ExitCode: >> 0 >> >> Tue Apr 9 00:50:28 2013 [TM][D]: Message received: TRANSFER SUCCESS >> 12 - >> >> Tue Apr 9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 >> ExitCode: 0 >> >> Tue Apr 9 00:50:29 2013 [VMM][D]: Message received: LOG I 12 >> Successfully >> >> execute network driver operation: pre. >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 Command >> >> execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy >> >> /var/lib/one/var/datastores/0/12/deployment.0 anant-Inspiron-N5010 12 >> >> anant-Inspiron-N5010 >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 error: >> >> Failed to create domain from >> /var/lib/one/var/datastores/0/12/deployment.0 >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 error: >> >> internal error process exited while connecting to monitor: kvm: -drive >> >> >> file=/var/lib/one/var/datastores/0/12/disk.0,if=none,id=drive-ide0-0-0,format=qcow2: >> >> could not open disk image /var/lib/one/var/datastores/0/12/disk.0: >> >> Permission denied >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG E 12 Could not >> >> create domain from /var/lib/one/var/datastores/0/12/deployment.0 >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 ExitCode: >> >> 255 >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: LOG I 12 Failed to >> >> execute virtualization driver operation: deploy. >> >> Tue Apr 9 00:50:33 2013 [VMM][D]: Message received: DEPLOY FAILURE 12 >> >> Could not create domain from >> /var/lib/one/var/datastores/0/12/deployment.0 >> >> >> >> >> >> >> >> This is the config file >> >> AUTH_MAD=ARGUMENTS=--authn >> >> ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad >> >> DATASTORE_LOCATION=/var/lib/one/var/datastores >> >> DATASTORE_MAD=ARGUMENTS=-t 15 -d >> fs,vmware,iscsi,EXECUTABLE=one_datastore >> >> >> >> >> DB=BACKEND=mysql,DB_NAME=opennebula,PASSWD=oneadmin,PORT=0,SERVER=localhost,USER=oneadmin >> >> DEBUG_LEVEL=3 >> >> DEFAULT_DEVICE_PREFIX=hd >> >> DEFAULT_IMAGE_TYPE=OS >> >> ENABLE_OTHER_PERMISSIONS=YES >> >> HM_MAD=EXECUTABLE=one_hm >> >> HOST_MONITORING_INTERVAL=600 >> >> HOST_PER_INTERVAL=15 >> >> IMAGE_RESTRICTED_ATTR=SOURCE >> >> IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm >> >> MAC_PREFIX=02:00 >> >> MANAGER_TIMER=15 >> >> NETWORK_SIZE=254 >> >> PORT=2633 >> >> SCRIPTS_REMOTE_DIR=/var/tmp/one >> >> SESSION_EXPIRATION_TIME=900 >> >> TM_MAD=ARGUMENTS=-t 15 -d >> >> dummy,shared,qcow2,ssh,vmware,iscsi,EXECUTABLE=one_tm >> >> VM_MAD=ARGUMENTS=-t 15 -r 0 >> >> >> kvm,DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm >> >> VM_PER_INTERVAL=5 >> >> VM_POLLING_INTERVAL=600 >> >> VM_RESTRICTED_ATTR=CONTEXT/FILES >> >> VM_RESTRICTED_ATTR=DISK/SOURCE >> >> VM_RESTRICTED_ATTR=NIC/MAC >> >> VM_RESTRICTED_ATTR=NIC/VLAN_ID >> >> VM_RESTRICTED_ATTR=RANK >> >> VNC_BASE_PORT=5900 >> >> >> >> Initially the datastore path generated was /var/lib/one/var//datastore >> but >> >> then i somehow fixed this problem and it generates the correct path >> now, but >> >> still VM is not getting created. >> >> >> >> Thanks. >> >> >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@lists.opennebula.org >> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >> >> >> >> >> >> _______________________________________________ >> >> Users mailing list >> >> Users@lists.opennebula.org >> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >> > >> > >> > _______________________________________________ >> > Users mailing list >> > Users@lists.opennebula.org >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > >> >> >> >> -- >> Javier Fontán Muiños >> Project Engineer >> OpenNebula - The Open Source Toolkit for Data Center Virtualization >> www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula >> > > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org