Re: [one-users] 'one start' returning error
Hi, There is something broken in your installation... By any chance do you have 'serveradmin' as the username in your ~/.one/one_auth file? That file should contain the string 'oneadmin:password' You may also want to reset your installation and try again. To do so, simply delete the sqlite file /var/lib/one/one.db. Oh, and I see you are using 3.2.1. The last stable version is 3.8.3, and the development version is stable for testing (but not for production) if you want to give it a try. You can download both from here: http://opennebula.org/software:software Cheers. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Sun, Apr 28, 2013 at 2:10 PM, Giuliano Casale g.cas...@imperial.ac.ukwrote: Hello, I am facing difficulties in installing OpenNebula for the first time. I use Ubuntu 12.04, Linux kernel v 3.6.0, and I want to install OpenNebula on a small cluster, but the onehost and oneuser commands do not work on the root node. The root node has been reformatted 2 days ago to use a fresh installation for this. I cannot add users or hosts and the only problem I see is the final line in oned.log. I do not know how to resolve this since I cannot create a different user. Any advice? onehost list Connection refused - connect(2) oneuser list Connection refused - connect(2) one start Stale .lock detected. Erasing it. terminate called without an active exception #/usr/bin/one: line 104: 25028 Aborted $ONED -f 21 oned failed to start sh -x /usr/bin/one start + [ -z ] + ONE_PID=/var/run/one/oned.pid + ONE_SCHEDPID=/var/run/one/sched.pid + ONE_CONF=/etc/one/oned.conf + ONE_DB=/var/lib/one/one.db + ONE_LOG=/var/log/one/oned.log + ONED=/usr/bin/oned + ONE_SCHEDULER=/usr/bin/mm_sched + LOCK_FILE=/var/lock/one/one + KILL_9_SECONDS=5 + [ start = -b ] + setup + [ -f /var/lock/one/one ] + [ -f /var/run/one/oned.pid ] + [ -f /var/run/one/sched.pid ] + echo Stale .lock detected. Erasing it. Stale .lock detected. Erasing it. + rm /var/lock/one/one + start + [ ! -x /usr/bin/oned ] + [ ! -x /usr/bin/mm_sched ] + [ ! -f /var/lib/one/one.db ] + [ = true ] + LASTRC=0 + LASTPID=25047 + [ 0+ -ne 0 ]/usr/bin/oned -f + echo 25047 + LASTRC=0 + LASTPID=25048 + + [/usr/bin/mm_sched 0 -ne 0 ] + echo 25048 + sleep 2 terminate called without an active exception #+ STARTED=true + cat /var/run/one/oned.pid + ps 25047 + [ 1 -ne 0 ] + echo oned failed to start oned failed to start + STARTED=false + cat /var/run/one/sched.pid + ps 25048 + [ 0 -ne 0 ] + [ false == false ] /usr/bin/one: 176: [: false: unexpected operator cat /var/log/one/oned.log Sun Apr 28 13:05:24 2013 [ONE][I]: Starting OpenNebula 3.2.1 OpenNebula Configuration File AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad DB=BACKEND=sqlite 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_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image 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=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh VM_DIR=/var/lib/one/ 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 VNC_BASE_PORT=5900 Sun Apr 28 13:05:24 2013 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Sun Apr 28 13:05:24 2013 [ONE][I]: Checking database version. Sun Apr 28 13:05:24 2013 [ONE][E]: The name 'serveradmin' is reserved ___ 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
Re: [one-users] help, error creating VM (ssh port)
Hey, after creating vmstill in pending mode. i checked the sched.log Mon Apr 29 08:54:44 2013 [SCHED][I]: Init Scheduler Log system Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting Scheduler Daemon Scheduler Configuration File DEFAULT_SCHED=POLICY=1 MAX_DISPATCH=30 MAX_HOST=1 MAX_VM=300 _ONED_PORT_=2633 SCHED_INTERVAL=30 Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting scheduler loop... Mon Apr 29 08:54:44 2013 [SCHED][I]: Scheduler loop started. Mon Apr 29 08:55:14 2013 [HOST][E]: Exception raised: Unable to transport XML to server and get XML response back. HTTP response code is 403, not 200 Mon Apr 29 08:55:14 2013 [POOL][E]: Could not retrieve pool info from ONE what couldbe the problem? it can not create the xml file on host? why http response? i have no idea what it means... Thanks for help, M. Gesendet:Mittwoch, 24. April 2013 um 11:32 Uhr Von:Carlos Martn Snchez cmar...@opennebula.org An:Mario Sickert sic...@gmx.net Cc:users users@lists.opennebula.org Betreff:Re: [one-users] help, error creating VM (ssh port) If the VMs stay in pending state, that means that the scheduler is not deploying them. Look for the mm_sched process, and check the shced logs in /var/log/one/sched.log. Regards -- Carlos Martn, MSc Project Engineer OpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org cmar...@opennebula.org @OpenNebula On Mon, Apr 22, 2013 at 4:56 PM, Mario Sickert sic...@gmx.net wrote: Hey, the oneadmin account is able to login from frontend to the host and reverse too. All this via ssh-key whitout password. scp data from one to other is also working fine. All demons running well. But creating VM ends in pending mode. Best regards, M. Am 19.04.2013 16:45, schrieb Carlos Martn Snchez: Hi, You dont need to configure anything in OpenNebula regarding ssh, just make sure the oneadmin unix account ssh configuration is working properly. Regards -- Carlos Martn, MSc Project Engineer OpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org cmar...@opennebula.org @OpenNebula On Mon, Apr 15, 2013 at 6:02 PM, Mario Sickert sic...@gmx.net wrote: Hello, i got errors when creating new VM. Checking the logfiles i guess it caused on a different ssh-port i use. i changed ssh from port 22 to other four-digit number. How can i change ssh ports to create VM? Which Config do i have to alter? here the VM.log with errors: Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is ACTIVE. Mon Apr 15 11:52:11 2013 [LCM][I]: New VM state is PROLOG. Mon Apr 15 11:52:11 2013 [VM][I]: Virtual Machine has no context Mon Apr 15 11:52:11 2013 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//1/images Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Executed ssh srv01 mkdir -p /var/lib/one//1/images. Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Cloning frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Command scp frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 failed. Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Host key verification failed. Mon Apr 15 11:52:11 2013 [TM][E]: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: ExitCode: 1 Mon Apr 15 11:52:11 2013 [TM][E]: Error excuting image transfer script: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is FAILED Best regards, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org E-Mail ist virenfrei. Von AVG berprft - www.avg.de Version: 2013.0.3272 / Virendatenbank: 3162/6256 - Ausgabedatum: 19.04.2013 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Resource Overcommit / Provisioning Limitations
Hi, On Sun, Apr 28, 2013 at 12:18 AM, Jon three1...@gmail.com wrote: Hello All, I'm only able to provision resources up to 750 / 800 CPU and 7GB / 7.8GB. VMs provisioned after this limit has been reached causes the VMs to stay in pend status until vms are turned off or destroyed. The scheduler will reserve some memory for the hypervisor, this can be configured with the HYPERVISOR_MEM attribute in sched.conf [1]. Even though 7GB has been provisioned, I'm hardly using 2G. HOST SHARES TOTAL MEM : 7.8G USED MEM (REAL) : 1.9G USED MEM (ALLOCATED) : 7G TOTAL CPU : 800 USED CPU (REAL) : 44 USED CPU (ALLOCATED) : 750 RUNNING VMS : 10 How can I configure OpenNebula to allow overcommit of resources? Currently there is no way to do Memory over-commitment, but you can do cpu over-commitment with the CPU VCPU attributes. For example, if you need a VM with 2 Virtual CPUs, you don't have to reserve 2 of the Host CPUs; you could request only 0.25: CPU = 0.25 VCPU = 2 If you are using 4.0, you can use the onevm resize command [2] on your existing VMs. I see in the host template, there are free/totalmem and free/totalcpu parameters: FREECPU=756.0 FREEMEMORY=6152516 TOTALCPU=800 TOTALMEMORY=8169164 I can edit these in SunStone, but it doesn't seem to have an effect. As they are monitoring attributes, I'm not sure I'm looking in the right place. The host template holds the information returned by the drivers. You can edit it to add custom attributes, but they will not be understood by OpenNebula as monitoring values. If you want to customize the monitoring drivers, take a look at this guide [3]. Regards Thanks for the advice, Jon A ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [1] http://opennebula.org/documentation:rel4.0:schg [2] http://opennebula.org/documentation:rel4.0:vm_guide_2#resizing_a_vm [3] http://opennebula.org/documentation:rel4.0:img#tuning_extending -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] instance running without IP
Hi, OpenNebula manages the IPs, but you need to make your guests use that IP selected by OpenNebula. This can be done either with a Virtual Router appliance, or through contextualization. See this guide for more information [1] Regards [1] http://opennebula.org/documentation:rel4.0:vgg#using_the_leases_within_the_virtual_machine -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Sat, Apr 27, 2013 at 10:00 AM, song song@venusource.com wrote: Hi everyone: I am a newbie to OPENNEBULA! I just try opennebula 2 days ago. Now I followed some blog to setup my environment, It seems there's nothing going down,only instance running without IP ,I have create virtual network resources by assign network and mask like :192.168.0.0 and 255.255.255.0.But every time I run an instance it won't fetch an IP from pool, Can anyone help? Any help will be appreciated. ___ 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
Re: [one-users] sunstone in 3.9.90
Hi Daniel, I'm abroad with limited Internet access, so I can't test the new package, sorry. Maybe end of this week or beginning next one. Best regards, Alex On 04/26/2013 10:57 AM, Daniel Molina wrote: Hi Tao and Alexandre, On 22 April 2013 19:37, Tao Craig t...@leadmesh.com mailto:t...@leadmesh.com wrote: I'm actually having the exact same issue with Firefox 20. I assumed it had something to do with the way I updated my ruby libs (and it appears Alex updated his libs in exactly the same way), but I haven't been able to put my finger on it. For what it's worth, this issue does not exist in Chrome. Could you try the new one 4.0 RC packages and check if you find the same problem? http://downloads.opennebula.org/ Cheers On Mon, Apr 22, 2013 at 4:26 AM, Daniel Molina dmol...@opennebula.org mailto:dmol...@opennebula.org wrote: Hi, On 20 April 2013 22:58, Alexandre Bezroutchko a...@gremwell.com mailto:a...@gremwell.com wrote: Are you running ruby 1.8.7? There are some issues when using ruby 1.8.7 due to the way it handles Hashes. The tabs are loaded in a different order in this version and there are some dependencies among tabs that produce these errors.. Could you try upgrading ruby to 1.9? I have tried to install ruby-1.9.1-full package on fresh Debian Squeeze and then installing opennebula packages. This does not help at all as opennebula seems to install ruby-1.8 anyway. However, if I install yaml/ruby/rubygems from sources (bunch of thanks to Tao for his notes on how to do this), it works just fine. There is a strange little glitch with 'Virtual Resources' tab though, illustrated with attached screenshots. First one shows its initial state, second one shows after first click (the arrow shifts down but menu does not open), and the third one after another click (menu opens properly). On Xubuntu 12.10 with Firefox 19.0.2 this glitch is very well reproducible. I cannot reproduce this error with Firefox 20. Could you try upgrading Firefox or clearing the cache of the browser. Cheers Regards, Alex ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org http://www.OpenNebula.org | dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org http://www.OpenNebula.org | dmol...@opennebula.org mailto:dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] help, error creating VM (ssh port)
On 04/29/2013 11:17 AM, Mario Sickert wrote: Hey, after creating vm still in pending mode. i checked the sched.log Mon Apr 29 08:54:44 2013 [SCHED][I]: Init Scheduler Log system Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting Scheduler Daemon Scheduler Configuration File DEFAULT_SCHED=POLICY=1 MAX_DISPATCH=30 MAX_HOST=1 MAX_VM=300 ONED_PORT=2633 SCHED_INTERVAL=30 Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting scheduler loop... Mon Apr 29 08:54:44 2013 [SCHED][I]: Scheduler loop started. Mon Apr 29 08:55:14 2013 [HOST][E]: Exception raised: Unable to transport XML to server and get XML response back. HTTP response code is 403, not 200 Mon Apr 29 08:55:14 2013 [POOL][E]: Could not retrieve pool info from ONE what could be the problem? it can not create the xml file on host? why http response? i have no idea what it means... You reached a server, but access is not allowed. Is your oned_port correct? Olivier Thanks for help, M. *Gesendet:* Mittwoch, 24. April 2013 um 11:32 Uhr *Von:* Carlos Martín Sánchez cmar...@opennebula.org *An:* Mario Sickert sic...@gmx.net *Cc:* users users@lists.opennebula.org *Betreff:* Re: [one-users] help, error creating VM (ssh port) If the VMs stay in pending state, that means that the scheduler is not deploying them. Look for the mm_sched process, and check the shced logs in /var/log/one/sched.log. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula On Mon, Apr 22, 2013 at 4:56 PM, Mario Sickert sic...@gmx.net wrote: Hey, the oneadmin account is able to login from frontend to the host and reverse too. All this via ssh-key whitout password. scp data from one to other is also working fine. All demons running well. But creating VM ends in pending mode. Best regards, M. Am 19.04.2013 16:45, schrieb Carlos Martín Sánchez: Hi, You don't need to configure anything in OpenNebula regarding ssh, just make sure the oneadmin unix account ssh configuration is working properly. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula On Mon, Apr 15, 2013 at 6:02 PM, Mario Sickert sic...@gmx.net wrote: Hello, i got errors when creating new VM. Checking the logfiles i guess it caused on a different ssh-port i use. i changed ssh from port 22 to other four-digit number. How can i change ssh ports to create VM? Which Config do i have to alter? here the VM.log with errors: Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is ACTIVE. Mon Apr 15 11:52:11 2013 [LCM][I]: New VM state is PROLOG. Mon Apr 15 11:52:11 2013 [VM][I]: Virtual Machine has no context Mon Apr 15 11:52:11 2013 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//1/images Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Executed ssh srv01 mkdir -p /var/lib/one//1/images. Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Cloning frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Command scp frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 failed. Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Host key verification failed. Mon Apr 15 11:52:11 2013 [TM][E]: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: ExitCode: 1 Mon Apr 15 11:52:11 2013 [TM][E]: Error excuting image
Re: [one-users] Relationship of cpu usages
Hi, On Fri, Apr 26, 2013 at 11:27 AM, Christoph Pleger christoph.ple...@cs.tu-dortmund.de wrote: Hello, I'm not that much familiar with cgroups, but the way I understand it the first VM does not get 100%, it will get 1024 shares out of 1536 (2/3 of cpu time). Yes, that's how cgroup works, and I wonder why this is not a conflict with what CPU= in VM Templates means Could you please elaborate a bit more about this conflict? The only problem I can think of is that VMs will get more cpu time that requested if the Host isn't full; but we still ensure that the VM gets at least as much as requested. and why the documentation even says that the cgroup feature can be used to enforce the amount of CPU assigned to a VM, as defined in its template. What about enforcement without cgroup? Isn't there any? We have the logical OpenNebula level enforcement, and the hypervisor level. First one: the OpenNebula scheduler will not allocate more cpu/memory than the Host reports as available. Hypervisor level reservation: cgroups for kvm, credit scheduler for xen, and the esx cpu scheduler for vmware I am also wondering why, in sunstone, one cloud node with one VM running on it shows a CPU usage of 6400. I thought that this is because the user set CPU=8, VCPU=8 and 8*8=64, but if CPU= is related to one physical CPU, that cannot be true ... Can you please paste the output of 'onehost show id' ? Regards Christoph Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@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
[one-users] i got error Wrong state to perform action
*13* oneadmin oneadmin one-13 *clea* 13 2G onehost 21d 06h33 *14* oneadmin oneadmin one-14 28 2G onehost 20d 16h33 15 oneadmin oneadmin one-15 stop 18 1024M 20d 13h23 i had problem while resubmit the virtual machine it show the state as *Clea { vm 13 }*and another one virtaul machine state is blank *{ vm 14 }* when i try to using the command oneadmin@onehost:~$ onevm resubmit 13 [VirtualMachineAction] Wrong state to perform action oneadmin@onehost:~$ onevm stop 13 [VirtualMachineAction] Wrong state to perform action oneadmin@onehost:~$ onevm resume 13 [VirtualMachineAction] Wrong state to perform action oneadmin@onehost:~$ onevm restart 13 [VirtualMachineAction] Wrong state to perform action what i suppose to do to resolve this problem pls give me your suggestion ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Debian source for 4.0RC
Hi all, I'm looking for the original tarball that's used with the .dsc that's distributed on the downloads page, so I can rebuild the package for Wheezy. The source tarball has the wrong size, so doesn't work with that .dsc. Can anyone point me to the download for this? -- Kind regards, Tim ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] 'one start' returning error
Are you run opennebula how oneadmin or cluod user? Message: 2 Date: Sun, 28 Apr 2013 13:10:04 +0100 From: Giuliano Casale g.cas...@imperial.ac.uk To: users@lists.opennebula.org Subject: [one-users] 'one start' returning error Message-ID: cafbeqvahn+f1khap4zn9jabcpugg9zqhacydzfhqkrtiq0q...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 Hello, I am facing difficulties in installing OpenNebula for the first time. I use Ubuntu 12.04, Linux kernel v 3.6.0, and I want to install OpenNebula on a small cluster, but the onehost and oneuser commands do not work on the root node. The root node has been reformatted 2 days ago to use a fresh installation for this. I cannot add users or hosts and the only problem I see is the final line in oned.log. I do not know how to resolve this since I cannot create a different user. Any advice? onehost list Connection refused - connect(2) oneuser list Connection refused - connect(2) one start Stale .lock detected. Erasing it. terminate called without an active exception #/usr/bin/one: line 104: 25028 Aborted $ONED -f 21 oned failed to start sh -x /usr/bin/one start + [ -z ] + ONE_PID=/var/run/one/oned.pid + ONE_SCHEDPID=/var/run/one/sched.pid + ONE_CONF=/etc/one/oned.conf + ONE_DB=/var/lib/one/one.db + ONE_LOG=/var/log/one/oned.log + ONED=/usr/bin/oned + ONE_SCHEDULER=/usr/bin/mm_sched + LOCK_FILE=/var/lock/one/one + KILL_9_SECONDS=5 + [ start = -b ] + setup + [ -f /var/lock/one/one ] + [ -f /var/run/one/oned.pid ] + [ -f /var/run/one/sched.pid ] + echo Stale .lock detected. Erasing it. Stale .lock detected. Erasing it. + rm /var/lock/one/one + start + [ ! -x /usr/bin/oned ] + [ ! -x /usr/bin/mm_sched ] + [ ! -f /var/lib/one/one.db ] + [ = true ] + LASTRC=0 + LASTPID=25047 + [ 0+ -ne 0 ]/usr/bin/oned -f + echo 25047 + LASTRC=0 + LASTPID=25048 + + [/usr/bin/mm_sched 0 -ne 0 ] + echo 25048 + sleep 2 terminate called without an active exception #+ STARTED=true + cat /var/run/one/oned.pid + ps 25047 + [ 1 -ne 0 ] + echo oned failed to start oned failed to start + STARTED=false + cat /var/run/one/sched.pid + ps 25048 + [ 0 -ne 0 ] + [ false == false ] /usr/bin/one: 176: [: false: unexpected operator cat /var/log/one/oned.log Sun Apr 28 13:05:24 2013 [ONE][I]: Starting OpenNebula 3.2.1 OpenNebula Configuration File AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad DB=BACKEND=sqlite 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_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image 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=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh VM_DIR=/var/lib/one/ 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 VNC_BASE_PORT=5900 Sun Apr 28 13:05:24 2013 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Sun Apr 28 13:05:24 2013 [ONE][I]: Checking database version. Sun Apr 28 13:05:24 2013 [ONE][E]: The name 'serveradmin' is reserved -- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org End of Users Digest, Vol 62, Issue 120 ** 48 Aniversario de la 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VNC problem: Failed to connect to server (code: 1006)
People, I repeat my problem People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unable to create Datastores via Sunstone after upgrade to 4.0RC
Hi, On 27 April 2013 23:24, Jon three1...@gmail.com wrote: Hello All, I've just upgraded from 4.0B to 4.0RC and most things seem to be working, however, since the upgrade I am unable to create new datastores. regardless of the options I choose, OpenNebula presents the OpenNebula logo screen (I don't know what else to call it, as the logo just flashes, no side bar, no center window, I sometimes see the same screen when I first login to OpenNebula, but only very briefly). I get the following in the sunstone log, (My IP has been redacted, I'm not google) and no entries in sunstone.error: Sat Apr 27 15:14:45 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:45] GET /?name=test-filesystempresets=cephcluster_id=-1disk_type=RBDsafe_dirs=restricted_dirs=bridge_list=host=base_iqn=vg_name=datastore_cluster_raw=-1 HTTP/1.1 200 11386 0.0067 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /user?timeout=false HTTP/1.1 200 1541 0.0056 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /group?timeout=false HTTP/1.1 200 772 0.0030 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /acl?timeout=false HTTP/1.1 200 541 0.0048 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /vm?timeout=false HTTP/1.1 200 11613 0.0215 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /image?timeout=true HTTP/1.1 200 3661 0.0074 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /vnet?timeout=true HTTP/1.1 200 2484 0.0042 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /vmtemplate?timeout=false HTTP/1.1 200 5897 0.0084 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /host?timeout=true HTTP/1.1 200 1190 0.0049 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /cluster?timeout=true HTTP/1.1 200 27 0.0040 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /image?timeout=false HTTP/1.1 200 3661 0.0062 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /cluster?timeout=false HTTP/1.1 200 27 0.0037 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /host?timeout=false HTTP/1.1 200 1190 0.0046 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /datastore?timeout=false HTTP/1.1 200 3978 0.0072 Sat Apr 27 15:14:46 2013 [I]: 8.8.8.8 - - [27/Apr/2013 15:14:46] GET /vnet?timeout=false HTTP/1.1 200 2484 0.0056 The oned.log doesn't seem to shed any light on the situation either: Sat Apr 27 15:19:35 2013 [ReM][D]: Req:6400 UID:0 UserPoolInfo invoked Sat Apr 27 15:19:35 2013 [ReM][D]: Req:6400 UID:0 UserPoolInfo result SUCCESS, USER_POOLUSERID... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:8880 UID:0 GroupPoolInfo invoked Sat Apr 27 15:19:35 2013 [ReM][D]: Req:8880 UID:0 GroupPoolInfo result SUCCESS, GROUP_POOLGROUP... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5280 UID:0 AclInfo invoked Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5280 UID:0 AclInfo result SUCCESS, ACL_POOLACLID0... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:6000 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 Sat Apr 27 15:19:35 2013 [ReM][D]: Req:6000 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID37... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5920 UID:0 ImagePoolInfo invoked, -2, -1, -1 Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5920 UID:0 ImagePoolInfo result SUCCESS, IMAGE_POOLIMAGE... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:9280 UID:0 VirtualNetworkPoolInfo invoked, -2, -1, -1 Sat Apr 27 15:19:35 2013 [ReM][D]: Req:9280 UID:0 VirtualNetworkPoolInfo result SUCCESS, VNET_POOLVNETID... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:2640 UID:0 TemplatePoolInfo invoked, -2, -1, -1 Sat Apr 27 15:19:35 2013 [ReM][D]: Req:2640 UID:0 TemplatePoolInfo result SUCCESS, VMTEMPLATE_POOLVM... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:1360 UID:0 HostPoolInfo invoked Sat Apr 27 15:19:35 2013 [ReM][D]: Req:1360 UID:0 HostPoolInfo result SUCCESS, HOST_POOLHOSTID... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:3440 UID:0 ClusterPoolInfo invoked Sat Apr 27 15:19:35 2013 [ReM][D]: Req:3440 UID:0 ClusterPoolInfo result SUCCESS, CLUSTER_POOL/CLUS... Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5920 UID:0 ImagePoolInfo invoked, -2, -1, -1 Sat Apr 27 15:19:35 2013 [ReM][D]: Req:5920 UID:0 ImagePoolInfo result SUCCESS, IMAGE_POOLIMAGE... Sat Apr 27 15:19:36 2013 [ReM][D]: Req:3088 UID:0 ClusterPoolInfo invoked Sat Apr 27 15:19:36 2013 [ReM][D]: Req:3088 UID:0 ClusterPoolInfo result SUCCESS, CLUSTER_POOL/CLUS... Sat Apr 27 15:19:36 2013 [ReM][D]: Req:9872 UID:0 HostPoolInfo invoked Sat Apr 27 15:19:36 2013 [ReM][D]: Req:9872 UID:0 HostPoolInfo result SUCCESS, HOST_POOLHOSTID... Sat Apr 27 15:19:36 2013 [ReM][D]: Req:5984 UID:0 DatastorePoolInfo invoked Sat Apr 27 15:19:36 2013 [ReM][D]: Req:5984 UID:0 DatastorePoolInfo result SUCCESS, DATASTORE_POOLDAT... Sat Apr 27 15:19:36 2013 [ReM][D]: Req:4656 UID:0
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi, On 29 April 2013 14:25, ahernan...@tesla.cujae.edu.cu wrote: People, I repeat my problem People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? Please use the same thread, so other people, facing the same problem, can find a solution in the future. Thank you. -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu** wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org 48 Aniversario de la 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 __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] help, error creating VM (ssh port)
hey Oliver, the ONED_PORT i dit not change. Its used by default (Port 2633) Regards, M. On 04/29/2013 11:34 AM, Olivier Sallou olivier.sal...@irisa.fr wrote: You reached a server, but access is not allowed. Is your oned_port correct? Olivier --- Gesendet:Montag, 29. April 2013 um 11:17 Uhr Von:Mario Sickert sic...@gmx.net An:Carlos Martn Snchez cmar...@opennebula.org Cc:Mario Sickert sic...@gmx.net, users users@lists.opennebula.org Betreff:Aw: Re: [one-users] help, error creating VM (ssh port) Hey, after creating vmstill in pending mode. i checked the sched.log Mon Apr 29 08:54:44 2013 [SCHED][I]: Init Scheduler Log system Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting Scheduler Daemon Scheduler Configuration File DEFAULT_SCHED=POLICY=1 MAX_DISPATCH=30 MAX_HOST=1 MAX_VM=300 _ONED_PORT_=2633 SCHED_INTERVAL=30 Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting scheduler loop... Mon Apr 29 08:54:44 2013 [SCHED][I]: Scheduler loop started. Mon Apr 29 08:55:14 2013 [HOST][E]: Exception raised: Unable to transport XML to server and get XML response back. HTTP response code is 403, not 200 Mon Apr 29 08:55:14 2013 [POOL][E]: Could not retrieve pool info from ONE what couldbe the problem? it can not create the xml file on host? why http response? i have no idea what it means... Thanks for help, M. Gesendet:Mittwoch, 24. April 2013 um 11:32 Uhr Von:Carlos Martn Snchez cmar...@opennebula.org An:Mario Sickert sic...@gmx.net Cc:users users@lists.opennebula.org Betreff:Re: [one-users] help, error creating VM (ssh port) If the VMs stay in pending state, that means that the scheduler is not deploying them. Look for the mm_sched process, and check the shced logs in /var/log/one/sched.log. Regards -- Carlos Martn, MSc Project Engineer OpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org cmar...@opennebula.org @OpenNebula On Mon, Apr 22, 2013 at 4:56 PM, Mario Sickert sic...@gmx.net wrote: Hey, the oneadmin account is able to login from frontend to the host and reverse too. All this via ssh-key whitout password. scp data from one to other is also working fine. All demons running well. But creating VM ends in pending mode. Best regards, M. Am 19.04.2013 16:45, schrieb Carlos Martn Snchez: Hi, You dont need to configure anything in OpenNebula regarding ssh, just make sure the oneadmin unix account ssh configuration is working properly. Regards -- Carlos Martn, MSc Project Engineer OpenNebula -The Open-source Solution for Data Center Virtualization www.OpenNebula.org cmar...@opennebula.org @OpenNebula On Mon, Apr 15, 2013 at 6:02 PM, Mario Sickert sic...@gmx.net wrote: Hello, i got errors when creating new VM. Checking the logfiles i guess it caused on a different ssh-port i use. i changed ssh from port 22 to other four-digit number. How can i change ssh ports to create VM? Which Config do i have to alter? here the VM.log with errors: Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is ACTIVE. Mon Apr 15 11:52:11 2013 [LCM][I]: New VM state is PROLOG. Mon Apr 15 11:52:11 2013 [VM][I]: Virtual Machine has no context Mon Apr 15 11:52:11 2013 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//1/images Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Executed ssh srv01 mkdir -p /var/lib/one//1/images. Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Cloning frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Command scp frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 failed. Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Host key verification failed. Mon Apr 15 11:52:11 2013 [TM][E]: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: ExitCode: 1 Mon Apr 15 11:52:11 2013 [TM][E]: Error excuting image transfer script: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is FAILED Best regards, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org E-Mail ist virenfrei. Von AVG berprft - www.avg.de Version: 2013.0.3272 / Virendatenbank:
[one-users] Communication channel between users and developers
Dear community, We've been thinking on how to improve the communication channel between users and developers. In the following link, you can find a summary of the ideas: http://opennebula.org/software:roadmap?#how_do_we_receive_feedback_from_the_community Any feedback on this topic is more than welcome. Cheers -- 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
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
I use OpenNebula 3.8.3, and Hypervisor ESXi 5.0 El 2013-04-29 08:53, Daniel Molina escribió: Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] [3] Links: -- [1] http://cujae.edu.cu [1] [2] http://www.ecured.cu [2] [3] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [4] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] http://www.OpenNebula.org 48 Aniversario de la 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
On 29 April 2013 15:33, ahernan...@tesla.cujae.edu.cu wrote: I use OpenNebula 3.8.3, and Hypervisor ESXi 5.0 Did you follow this step, to allow VNC inbound connections? http://opennebula.org/documentation:rel3.8:evmwareg#vnc El 2013-04-29 08:53, Daniel Molina escribió: Hi, On 26 April 2013 15:56, ahernan...@tesla.cujae.edu.cu** wrote: Hi anagba b, thank for you answer, I see that I don't have novnc-server How obtain novnc-server bin Any Ideas? PD: I have install install_novnc.sh What OpenNebula version are you using? Cheers El 2013-04-26 02:32, anagha b escribió: Try to kill the vnc proxy and relaunch it manually . May be you can find the cause of error. On Thu, Apr 25, 2013 at 11:17 PM, ahernan...@tesla.cujae.edu.cu** wrote: People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu[2] [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] [3] Links: -- [1] http://cujae.edu.cu [1] [2] http://www.ecured.cu [2] [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [4] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] http://www.OpenNebula.org 48 Aniversario de la 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 -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Resource Overcommit / Provisioning Limitations
Hi, On Mon, Apr 29, 2013 at 5:18 AM, Carlos Martín Sánchez cmar...@opennebula.org wrote: On Sun, Apr 28, 2013 at 12:18 AM, Jon three1...@gmail.com wrote: Hello All, I'm only able to provision resources up to 750 / 800 CPU and 7GB / 7.8GB. VMs provisioned after this limit has been reached causes the VMs to stay in pend status until vms are turned off or destroyed. The scheduler will reserve some memory for the hypervisor, this can be configured with the HYPERVISOR_MEM attribute in sched.conf [1]. Even though 7GB has been provisioned, I'm hardly using 2G. HOST SHARES TOTAL MEM : 7.8G USED MEM (REAL) : 1.9G USED MEM (ALLOCATED) : 7G TOTAL CPU : 800 USED CPU (REAL) : 44 USED CPU (ALLOCATED) : 750 RUNNING VMS : 10 How can I configure OpenNebula to allow overcommit of resources? Currently there is no way to do Memory over-commitment, but you can do cpu over-commitment with the CPU VCPU attributes One trick is to set HYPERVISOR_MEM in sched.conf to a negative value, ex. : HYPERVISOR_MEM = -0.4 This will allow for over provisioning memory by 40%. Beware that it will not check actual memory usage on the host so setting this limit too high will most likely crash the host or prevent VM from being deployed. Simon ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Relationship of cpu usages
Hello, We have the logical OpenNebula level enforcement, and the hypervisor level. First one: the OpenNebula scheduler will not allocate more cpu/memory than the Host reports as available. Hypervisor level reservation: cgroups for kvm, credit scheduler for xen, and the esx cpu scheduler for vmware So, if I understand correctly, it is like following: 1. One real CPU core represents 100 percent of CPU capacity. 2. The CPU value in VM Templates is related to one CPU core. 3. From the CPU values, OpenNebula calculates how much of the capacity of a cloud node is already used. 4. If a node does not have enough CPU capacity for a new VM, the VM is not started on that node. 5. For the kvm hypervisor, OpenNebula can use the cgroup feature to enforce relationship between CPU values of different VMs. Is this correct? I am also wondering why, in sunstone, one cloud node with one VM running on it shows a CPU usage of 6400. I thought that this is because the user set CPU=8, VCPU=8 and 8*8=64, but if CPU= is related to one physical CPU, that cannot be true ... Can you please paste the output of 'onehost show id' ? HOST 151 INFORMATION ID: 151 NAME : node18 CLUSTER : - STATE : MONITORED IM_MAD: im_kvm VM_MAD: vmm_kvm VN_MAD: ebtables LAST MONITORING TIME : 04/29 17:06:11 HOST SHARES TOTAL MEM : 252.4G USED MEM (REAL) : 9.1G USED MEM (ALLOCATED) : 8G TOTAL CPU : 6400 USED CPU (REAL) : 384 USED CPU (ALLOCATED) : 6400 RUNNING VMS : 1 MONITORING INFORMATION ARCH=x86_64 CPUSPEED=2100 FREECPU=6016.0 FREEMEMORY=255101900 HOSTNAME=cloudhost18 HYPERVISOR=kvm MODELNAME=AMD Opteron(TM) Processor 6272 NETRX=0 NETTX=0 TOTALCPU=6400 TOTALMEMORY=264614860 USEDCPU=384.0 USEDMEMORY=9512960 Regards Christoph ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] help, error creating VM (ssh port)
Make sure that http_proxy environment variable is not set when starting opennebula daemons (at least the scheduler). On Mon, Apr 29, 2013 at 11:17 AM, Mario Sickert sic...@gmx.net wrote: Hey, after creating vm still in pending mode. i checked the sched.log Mon Apr 29 08:54:44 2013 [SCHED][I]: Init Scheduler Log system Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting Scheduler Daemon Scheduler Configuration File DEFAULT_SCHED=POLICY=1 MAX_DISPATCH=30 MAX_HOST=1 MAX_VM=300 ONED_PORT=2633 SCHED_INTERVAL=30 Mon Apr 29 08:54:44 2013 [SCHED][I]: Starting scheduler loop... Mon Apr 29 08:54:44 2013 [SCHED][I]: Scheduler loop started. Mon Apr 29 08:55:14 2013 [HOST][E]: Exception raised: Unable to transport XML to server and get XML response back. HTTP response code is 403, not 200 Mon Apr 29 08:55:14 2013 [POOL][E]: Could not retrieve pool info from ONE what could be the problem? it can not create the xml file on host? why http response? i have no idea what it means... Thanks for help, M. Gesendet: Mittwoch, 24. April 2013 um 11:32 Uhr Von: Carlos Martín Sánchez cmar...@opennebula.org An: Mario Sickert sic...@gmx.net Cc: users users@lists.opennebula.org Betreff: Re: [one-users] help, error creating VM (ssh port) If the VMs stay in pending state, that means that the scheduler is not deploying them. Look for the mm_sched process, and check the shced logs in /var/log/one/sched.log. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Mon, Apr 22, 2013 at 4:56 PM, Mario Sickert sic...@gmx.net wrote: Hey, the oneadmin account is able to login from frontend to the host and reverse too. All this via ssh-key whitout password. scp data from one to other is also working fine. All demons running well. But creating VM ends in pending mode. Best regards, M. Am 19.04.2013 16:45, schrieb Carlos Martín Sánchez: Hi, You don't need to configure anything in OpenNebula regarding ssh, just make sure the oneadmin unix account ssh configuration is working properly. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Mon, Apr 15, 2013 at 6:02 PM, Mario Sickert sic...@gmx.net wrote: Hello, i got errors when creating new VM. Checking the logfiles i guess it caused on a different ssh-port i use. i changed ssh from port 22 to other four-digit number. How can i change ssh ports to create VM? Which Config do i have to alter? here the VM.log with errors: Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is ACTIVE. Mon Apr 15 11:52:11 2013 [LCM][I]: New VM state is PROLOG. Mon Apr 15 11:52:11 2013 [VM][I]: Virtual Machine has no context Mon Apr 15 11:52:11 2013 [TM][I]: Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][D]: tm_clone.sh: DST: /var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//1/images Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Executed ssh srv01 mkdir -p /var/lib/one//1/images. Mon Apr 15 11:52:11 2013 [TM][I]: tm_clone.sh: Cloning frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Command scp frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 srv01:/var/lib/one//1/images/disk.0 failed. Mon Apr 15 11:52:11 2013 [TM][E]: tm_clone.sh: Host key verification failed. Mon Apr 15 11:52:11 2013 [TM][E]: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [TM][I]: ExitCode: 1 Mon Apr 15 11:52:11 2013 [TM][E]: Error excuting image transfer script: Error copying frontend:/var/lib/one/images/6d6dc6ae8a3b4f6df69eca0844a40117 to srv01:/var/lib/one//1/images/disk.0 Mon Apr 15 11:52:11 2013 [DiM][I]: New VM state is FAILED Best regards, Mario ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org E-Mail ist virenfrei. Von AVG überprüft - www.avg.de Version: 2013.0.3272 / Virendatenbank: 3162/6256 - Ausgabedatum: 19.04.2013 ___ 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
Re: [one-users] Problems with VM
Hi Javier, thank you for your answer. After having a look at permissions I added root to the cloud group wich solved the problem of writing in the folders belonging to oneadmin. Now the VM poweroffs correctly but when I try to stop it, it goes to SAVE state and then UNKOWN again, but now the log message has changed. Now this is what I get: Mon Apr 29 16:34:22 2013 [LCM][I]: New VM state is RUNNING Mon Apr 29 16:39:31 2013 [LCM][I]: New VM state is SAVE_STOP Mon Apr 29 16:39:31 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/xen/save one-29 /var/lib/one//datastores/0/29/checkpoint oneHost 29 oneHost Mon Apr 29 16:39:31 2013 [VMM][E]: save: Command sudo /usr/sbin/xm save one-29 /var/lib/one//datastores/0/29/checkpoint failed: Error: Domain 'one-29' does not exist. Mon Apr 29 16:39:31 2013 [VMM][E]: Could not save one-29 to /var/lib/one//datastores/0/29/checkpoint Mon Apr 29 16:39:31 2013 [VMM][I]: ExitCode: 3 Mon Apr 29 16:39:31 2013 [VMM][I]: Failed to execute virtualization driver operation: save. Mon Apr 29 16:39:31 2013 [VMM][E]: Error saving VM state: Could not save one-29 to /var/lib/one//datastores/0/29/checkpoint Mon Apr 29 16:39:31 2013 [LCM][I]: Fail to save VM state. Assuming that the VM is still RUNNING (will poll VM). Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-1-768 but domain 1 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-2-768 but domain 2 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-3-768 but domain 3 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-4-768 but domain 4 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-5-768 but domain 5 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-6-768 but domain 6 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-8-768 but domain 8 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-9-768 but domain 9 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-10-768 but domain 10 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-11-768 but domain 11 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-12-768 but domain 12 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-1-768 but domain 1 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-2-768 but domain 2 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-3-768 but domain 3 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-4-768 but domain 4 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-5-768 but domain 5 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-6-768 but domain 6 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-8-768 but domain 8 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-9-768 but domain 9 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-10-768 but domain 10 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-11-768 but domain 11 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-12-768 but domain 12 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: ExitCode: 0 Mon Apr 29 16:39:35 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually Mon Apr 29 16:39:35 2013 [LCM][I]: New VM state is UNKNOWN 2013/4/26 Javier Fontan jfon...@opennebula.org It looks like a problem with root permissions. Add root to the group oneadmin and make sure that the datastore directory is writable by group oneadmin in the remote node. You may need to restart xen daemons in the physical node. A reboot will probably be the safest way. On Wed, Apr 24, 2013 at 5:49 PM, Aridane Jesús Sarrionandia de León ajsa...@gmail.com wrote: Hi everyone, I've got open nebula installed and a server with Xen running and I have the following problem. I can create a VM with no problem, and reaches the state runn without error messages. The thing is that if I try to stop (onevm stop X) or poweroff (onevm poweroff X) it goes to unk state. This is the VM template I used (a lot of things are in comments until I get to solve the basic issues). CPU= 0.1 MEMORY = 64 DISK = [ #BUS=ide, IMAGE=ttylinux, #IMAGE_UNAME=oneadmin, READONLY=no#, #TARGET=xvda ] NIC= [ NETWORK=Small network] OS=[ KERNEL=/vmlinuz, INITRD=/initrd.img ] #RAW=[ DATA=builder = 'hvm' #shadow_memory = 8 # device_model = '/usr/lib/xen-default/bin/qemu-dm' # boot=\c\, # TYPE=xen ] TEMPLATE_ID=1 #CONTEXT = [ #hostname= $NAME, #
Re: [one-users] Communication channel between users and developers
Hi Javier, You may use the development portal http://dev.opennebula.org/ to make feature requests, just open a new issue and label it as Request. The issue will be used to track the discussions about the new feature. We try to contact you as soon as possible to have more information and to give you a first feedback about your request. I am not a big fan of using the development portal / bug tracking tool for sending / discussing feature request. I favour a regular mailing list ex. dev@ list where anyone that wish to receive upcoming feature can subscribe. Perhaps the dev@ list could receive a copy of any new feature requests that's opened / updated in the development portal. If we want to make sure everything gets tracked in the development portal, make the list read only and force users to submit updates though the portal. Or, make it possible to easily receive notifications of new features requests (such as an RSS feed) and make sure issues are properly categorized (one may not want to receive general users / unconfirmed bugs or support requests). Also I think the users@ list could be for general support / users discussion. Any new features or patches could be discussed in a separate dev@ list. Also perhaps the ecosystem@ list could be renamed to something more meaningful, at one point it wasn't clear for me if ecosystem@ was for general development discussions. At the beginning of each release cycle we organize a IRC meetinghttp://opennebula.org/community:irc to discuss the requests for new features and for extending existing features. This valuable input to the planning meeting is used to create the short-term roadmap with the features that will be part of the release cycle. The final roadmap is described in a blog post after the planning meeting. +1 !! :-) Simon On Mon, Apr 29, 2013 at 9:11 AM, Javier Fontan jfon...@opennebula.orgwrote: Dear community, We've been thinking on how to improve the communication channel between users and developers. In the following link, you can find a summary of the ideas: http://opennebula.org/software:roadmap?#how_do_we_receive_feedback_from_the_community Any feedback on this topic is more than welcome. Cheers -- 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
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org[3] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [4] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org [4] http://www.OpenNebula.org 48 Aniversario de la 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 -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula -- next part -- An HTML attachment was scrubbed... URL: http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130429/9f91a848/attachment-0001.htm -- 48 Aniversario de la 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problems with VM
Hi again, I checked what happened in XEN while I restarted the VM. With xm top I could see that the domain one-XX appears for a moment and then is deleted, but I have no Idea why... Does anyone know why? 2013/4/29 Aridane Jesús Sarrionandia de León ajsa...@gmail.com Hi Javier, thank you for your answer. After having a look at permissions I added root to the cloud group wich solved the problem of writing in the folders belonging to oneadmin. Now the VM poweroffs correctly but when I try to stop it, it goes to SAVE state and then UNKOWN again, but now the log message has changed. Now this is what I get: Mon Apr 29 16:34:22 2013 [LCM][I]: New VM state is RUNNING Mon Apr 29 16:39:31 2013 [LCM][I]: New VM state is SAVE_STOP Mon Apr 29 16:39:31 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/xen/save one-29 /var/lib/one//datastores/0/29/checkpoint oneHost 29 oneHost Mon Apr 29 16:39:31 2013 [VMM][E]: save: Command sudo /usr/sbin/xm save one-29 /var/lib/one//datastores/0/29/checkpoint failed: Error: Domain 'one-29' does not exist. Mon Apr 29 16:39:31 2013 [VMM][E]: Could not save one-29 to /var/lib/one//datastores/0/29/checkpoint Mon Apr 29 16:39:31 2013 [VMM][I]: ExitCode: 3 Mon Apr 29 16:39:31 2013 [VMM][I]: Failed to execute virtualization driver operation: save. Mon Apr 29 16:39:31 2013 [VMM][E]: Error saving VM state: Could not save one-29 to /var/lib/one//datastores/0/29/checkpoint Mon Apr 29 16:39:31 2013 [LCM][I]: Fail to save VM state. Assuming that the VM is still RUNNING (will poll VM). Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-1-768 but domain 1 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-2-768 but domain 2 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-3-768 but domain 3 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-4-768 but domain 4 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-5-768 but domain 5 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-6-768 but domain 6 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-8-768 but domain 8 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-9-768 but domain 9 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-10-768 but domain 10 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-11-768 but domain 11 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-12-768 but domain 12 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-1-768 but domain 1 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-2-768 but domain 2 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-3-768 but domain 3 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-4-768 but domain 4 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-5-768 but domain 5 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-6-768 but domain 6 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-8-768 but domain 8 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-9-768 but domain 9 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-10-768 but domain 10 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-11-768 but domain 11 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: Found interface tap-12-768 but domain 12 does not exist. Mon Apr 29 16:39:35 2013 [VMM][I]: ExitCode: 0 Mon Apr 29 16:39:35 2013 [VMM][I]: VM running but it was not found. Restart and delete actions available or try to recover it manually Mon Apr 29 16:39:35 2013 [LCM][I]: New VM state is UNKNOWN 2013/4/26 Javier Fontan jfon...@opennebula.org It looks like a problem with root permissions. Add root to the group oneadmin and make sure that the datastore directory is writable by group oneadmin in the remote node. You may need to restart xen daemons in the physical node. A reboot will probably be the safest way. On Wed, Apr 24, 2013 at 5:49 PM, Aridane Jesús Sarrionandia de León ajsa...@gmail.com wrote: Hi everyone, I've got open nebula installed and a server with Xen running and I have the following problem. I can create a VM with no problem, and reaches the state runn without error messages. The thing is that if I try to stop (onevm stop X) or poweroff (onevm poweroff X) it goes to unk state. This is the VM template I used (a lot of things are in comments until I get to solve the basic issues). CPU= 0.1 MEMORY = 64 DISK = [ #BUS=ide, IMAGE=ttylinux, #IMAGE_UNAME=oneadmin, READONLY=no#,
Re: [one-users] 'one start' returning error
Yes the username was wrong, this has solved the problem. Thanks Giuliano On Monday, 29 April 2013, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, There is something broken in your installation... By any chance do you have 'serveradmin' as the username in your ~/.one/one_auth file? That file should contain the string 'oneadmin:password' You may also want to reset your installation and try again. To do so, simply delete the sqlite file /var/lib/one/one.db. Oh, and I see you are using 3.2.1. The last stable version is 3.8.3, and the development version is stable for testing (but not for production) if you want to give it a try. You can download both from here: http://opennebula.org/software:software Cheers. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula On Sun, Apr 28, 2013 at 2:10 PM, Giuliano Casale g.cas...@imperial.ac.uk wrote: Hello, I am facing difficulties in installing OpenNebula for the first time. I use Ubuntu 12.04, Linux kernel v 3.6.0, and I want to install OpenNebula on a small cluster, but the onehost and oneuser commands do not work on the root node. The root node has been reformatted 2 days ago to use a fresh installation for this. I cannot add users or hosts and the only problem I see is the final line in oned.log. I do not know how to resolve this since I cannot create a different user. Any advice? onehost list Connection refused - connect(2) oneuser list Connection refused - connect(2) one start Stale .lock detected. Erasing it. terminate called without an active exception #/usr/bin/one: line 104: 25028 Aborted $ONED -f 21 oned failed to start sh -x /usr/bin/one start + [ -z ] + ONE_PID=/var/run/one/oned.pid + ONE_SCHEDPID=/var/run/one/sched.pid + ONE_CONF=/etc/one/oned.conf + ONE_DB=/var/lib/one/one.db + ONE_LOG=/var/log/one/oned.log + ONED=/usr/bin/oned + ONE_SCHEDULER=/usr/bin/mm_sched + LOCK_FILE=/var/lock/one/one + KILL_9_SECONDS=5 + [ start = -b ] + setup + [ -f /var/lock/one/one ] + [ -f /var/run/one/oned.pid ] + [ -f /var/run/one/sched.pid ] + echo Stale .lock detected. Erasing it. Stale .lock detected. Erasing it. + rm /var/lock/one/one + start + [ ! -x /usr/bin/oned ] + [ ! -x /usr/bin/mm_sched ] + [ ! -f /var/lib/one/one.db ] + [ = true ] + LASTRC=0 + LASTPID=25047 + [ 0+ -ne 0 ]/usr/bin/oned -f + echo 25047 + LASTRC=0 + LASTPID=25048 + + [/usr/bin/mm_sched 0 -ne 0 ] + echo 25048 + sleep 2 terminate called without an active exception #+ STARTED=true + cat /var/run/one/oned.pid + ps 25047 + [ 1 -ne 0 ] + echo oned failed to start oned failed to start + STARTED=false + cat /var/run/one/sched.pid + ps 25048 + [ 0 -ne 0 ] + [ false == false ] /usr/bin/one: 176: [: false: unexpected operator cat /var/log/one/oned.log Sun Apr 28 13:05:24 2013 [ONE][I]: Starting OpenNebula 3.2.1 OpenNebula Configuration File AUTH_MAD=ARGUMENTS=--authn ssh,x509,ldap,server_cipher,server_x509,EXECUTABLE=one_auth_mad DB=BACKEND=sqlite 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_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image 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=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh VM_DIR=/var/lib/one/ 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 VNC_BASE_PORT=5900 Sun Apr 28 13:05:24 2013 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Sun Apr 28 13:05:24 2013 [ONE][I]: Checking database version. Sun Apr 28 13:05:24 2013 [ONE][E]: The name 'serveradmin' is reserved ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Giuliano === Giuliano Casale, Imperial College London http://www.doc.ic.ac.uk/~gcasale/ Phone: +44 (0) 20 759 42920 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org