Re: [one-users] sunstone says : "OpenNebula is not running"
Hello, Could you paste the contents of oned.log then? It should be located under /var/log/one/ folder. Maybe we can find more information there about the problem. Also, did you check if ONE_AUTH environment variable is properly set (pointing to the one_auth file, usually located under $HOME/.one/one_auth, and containing a single unencrypted line "oneadmin:password", where $HOME is the home folder of oneadmin user)? Cheers, Lehel. --- On Tue, 5/1/12, Guigui 6675636b206f wrote: From: Guigui 6675636b206f Subject: RE: [one-users] sunstone says : "OpenNebula is not running" To: lehel.b...@yahoo.com Date: Tuesday, May 1, 2012, 10:43 AM Hello Lehel, No, unfortunatly, that's the the problem. I already saw this address yesterday while I was googling :) Guillaume Date: Tue, 1 May 2012 00:37:31 -0700 From: lehel.b...@yahoo.com Subject: Re: [one-users] sunstone says : "OpenNebula is not running" To: licks...@hotmail.com CC: users@lists.opennebula.org Hello there, Please check the answers in this thread to see if they helps: http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5900 I ran in to the very same error when starting to use OpenNebula on an openSUSE architecture. Cheers, Lehel. --- On Tue, 5/1/12, Guigui 6675636b206f wrote: From: Guigui 6675636b206f Subject: [one-users] sunstone says : "OpenNebula is not running" To: users@lists.opennebula.org Date: Tuesday, May 1, 2012, 9:50 AM Good morning, I'm trying to setup open nebula on an opensuse 12.1 I followed this document (which, if you do exactly the steps is NOT working at the end): SDB:Cloud OpenNebula - openSUSE The problem is that I can't get sunstone server working. I double checked the settings, etc, no way I'll get it to work. Sunstone server systematically answers : "OpenNebula is not running" But, I confirm that open nebula IS running, here's a ps -ef | grep one : oneadmin 3046 1 0 Apr30 pts/000:00:05 /usr/bin/oned -f oneadmin 3064 1 0 Apr30 pts/000:00:03 /usr/bin/mm_sched oneadmin 3067 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_vmm_exec.rb -t 15 -r 0 kvm oneadmin 3077 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_im_exec.rb -r 0 -t 15 kvm oneadmin 3086 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_tm.rb tm_shared/tm_shared.conf oneadmin 3099 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_hm.rb oneadmin 3109 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_image.rb fs -t 15 oneadmin 3118 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_auth_mad.rb --authn ssh,x509,ldap,server_cipher,server_x509 root 3162 1 0 Apr30 pts/000:00:17 ruby /usr/lib/one/sunstone/sunstone-server.rb root 6697 2989 0 08:18 pts/000:00:00 grep --color=auto one Any clues? Thanks in advance! -Inline Attachment Follows- ___ 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 says : "OpenNebula is not running"
Hello there, Please check the answers in this thread to see if they helps: http://comments.gmane.org/gmane.comp.distributed.opennebula.user/5900 I ran in to the very same error when starting to use OpenNebula on an openSUSE architecture. Cheers, Lehel. --- On Tue, 5/1/12, Guigui 6675636b206f wrote: From: Guigui 6675636b206f Subject: [one-users] sunstone says : "OpenNebula is not running" To: users@lists.opennebula.org Date: Tuesday, May 1, 2012, 9:50 AM Good morning, I'm trying to setup open nebula on an opensuse 12.1 I followed this document (which, if you do exactly the steps is NOT working at the end): SDB:Cloud OpenNebula - openSUSE The problem is that I can't get sunstone server working. I double checked the settings, etc, no way I'll get it to work. Sunstone server systematically answers : "OpenNebula is not running" But, I confirm that open nebula IS running, here's a ps -ef | grep one : oneadmin 3046 1 0 Apr30 pts/000:00:05 /usr/bin/oned -f oneadmin 3064 1 0 Apr30 pts/000:00:03 /usr/bin/mm_sched oneadmin 3067 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_vmm_exec.rb -t 15 -r 0 kvm oneadmin 3077 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_im_exec.rb -r 0 -t 15 kvm oneadmin 3086 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_tm.rb tm_shared/tm_shared.conf oneadmin 3099 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_hm.rb oneadmin 3109 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_image.rb fs -t 15 oneadmin 3118 3046 0 Apr30 pts/000:00:00 ruby /usr/lib/one/mads/one_auth_mad.rb --authn ssh,x509,ldap,server_cipher,server_x509 root 3162 1 0 Apr30 pts/000:00:17 ruby /usr/lib/one/sunstone/sunstone-server.rb root 6697 2989 0 08:18 pts/000:00:00 grep --color=auto one Any clues? Thanks in advance! -Inline Attachment Follows- ___ 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] KVM drivers fail to load? [MAD did not answer INIT command]
Hi, I've found out that the reason for my problems was that libvirtd was continuously crashing at start-up on my OpenNebula Front-End. Since I didn't manage to repair it so far, for the time being, I disabled it completely, and this seemed to make the error disappear, that is, my KVM drivers are loaded successfully ever since. However, I got a question here, which might be naive, but I got really curious now: shouldn't the hypervisor, virtualization drivers, libvirt settings and all the related stuff be affecting OpenNebula only in case of the hosts? How (and why) does the fact that libvirt is crashing on my front-end affect the ONE system? Thanks, Lehel. --- On Thu, 4/19/12, biro lehel wrote: From: biro lehel Subject: Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command] To: "Ruben S. Montero" Cc: users@lists.opennebula.org Date: Thursday, April 19, 2012, 10:50 PM Hi Ruben, No, I'm running OpenNebula on a 'normal' physical machine, with which I didn't have problems so far. Apart from heavy load, IYHO, could anything else be possibly causing such malfunction? Cheers, Lehel. --- On Thu, 4/19/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, April 19, 2012, 3:35 PM Hi, Are you running the OpenNebula on a VM? We've seen this type of error when OpenNebula is started under heavy-load (usually in a VM low on CPU resources) Cheers Ruben On Thu, Apr 19, 2012 at 11:28 AM, biro lehel wrote: Dear all, In my ONE system, sometimes, after the front-end's startup, I've noticed that the KVM drivers (vmm_kvm and im_kvm) are not able to load. At first I didn't understand what could be causing such ONE malfunction, but soon I tracked back all related errors and found the answer in the very initial part of oned.log, which I copied at the end of this mail. It seems to be a strange issue, since it apparently happens rather randomly, sometimes a reboot of the front-end makes the issue disappear, but sometimes the error just sticks. I'm aware that it might possibly not be an ONE issue. However, I would be extremely grateful if you could provide some hints or point-outs to where should I at least be looking for the cause of this problem. Is this a front-end issue? Is this an issue with the respective host? Both have KVM installed and I've performed virtualizations on both of them (with virsh+qemu) since my ONE infrastructure is up. Are there any logs which I could check to possibly find more detail? Here is the initial part of oned.log, highlighted with the errors: Wed Apr 18 16:24:58 2012 [ONE][I]: Starting OpenNebula 3.2.0 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_shared/tm_shared.conf,EXECUTABLE=one_tm,NAME=tm_shared 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 Wed Apr 18 16:24:58 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Wed Apr 18 16:24:58 2012 [ONE][I]: Checking database version. Wed Apr 18 16:24:58 2012 [VMM][I]: Starting Virtual Machine Manager... Wed Apr 18 16:24:58 2012 [VMM][I]: Virtual Machine Manager started. Wed Apr 18 16:24:58 2012 [LCM][I]: Starting Life-cycle Manager... Wed Apr 18 16:24:58 2012 [LCM][I]: Life-cycle Manager started. Wed Apr 18 16:24:58 2012 [InM][I]: Starting Information Manager... Wed Apr 18 16:24:58 2012 [InM][I]: Information Manager started. Wed Apr 18 16:24:58 2012 [TrM][I]: Starting Transfer Manager... Wed Apr 18 16:24:58 2012 [TrM][I]: Transfer Manager started. Wed Apr 18 16:24:58 2012 [DiM][I]: Starting Dispatch Manager... Wed Apr 18 16:24:58 2012 [DiM][I]: Dispatch Manager started. Wed Apr 18 16:24:58 2012 [HKM][I]: Starting Hook Manager... Wed Apr 18 16:24:58 2012 [HKM][I]: Hook Manager started. Wed Apr 18 16:24:58 2012 [AuM][I]: Starting Auth Manager... Wed Apr 18 16:24:58 2012 [AuM][I]: Authorization Manager started. Wed Apr 18 16:24:58 2012 [ImM][I]: Starting Image Manager... Wed Apr 18 16:24:58 2012 [ImM][I]: Image Manager started. Wed Apr 18
Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command]
Hi Ruben, No, I'm running OpenNebula on a 'normal' physical machine, with which I didn't have problems so far. Apart from heavy load, IYHO, could anything else be possibly causing such malfunction? Cheers, Lehel. --- On Thu, 4/19/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] KVM drivers fail to load? [MAD did not answer INIT command] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, April 19, 2012, 3:35 PM Hi, Are you running the OpenNebula on a VM? We've seen this type of error when OpenNebula is started under heavy-load (usually in a VM low on CPU resources) Cheers Ruben On Thu, Apr 19, 2012 at 11:28 AM, biro lehel wrote: Dear all, In my ONE system, sometimes, after the front-end's startup, I've noticed that the KVM drivers (vmm_kvm and im_kvm) are not able to load. At first I didn't understand what could be causing such ONE malfunction, but soon I tracked back all related errors and found the answer in the very initial part of oned.log, which I copied at the end of this mail. It seems to be a strange issue, since it apparently happens rather randomly, sometimes a reboot of the front-end makes the issue disappear, but sometimes the error just sticks. I'm aware that it might possibly not be an ONE issue. However, I would be extremely grateful if you could provide some hints or point-outs to where should I at least be looking for the cause of this problem. Is this a front-end issue? Is this an issue with the respective host? Both have KVM installed and I've performed virtualizations on both of them (with virsh+qemu) since my ONE infrastructure is up. Are there any logs which I could check to possibly find more detail? Here is the initial part of oned.log, highlighted with the errors: Wed Apr 18 16:24:58 2012 [ONE][I]: Starting OpenNebula 3.2.0 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_shared/tm_shared.conf,EXECUTABLE=one_tm,NAME=tm_shared 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 Wed Apr 18 16:24:58 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Wed Apr 18 16:24:58 2012 [ONE][I]: Checking database version. Wed Apr 18 16:24:58 2012 [VMM][I]: Starting Virtual Machine Manager... Wed Apr 18 16:24:58 2012 [VMM][I]: Virtual Machine Manager started. Wed Apr 18 16:24:58 2012 [LCM][I]: Starting Life-cycle Manager... Wed Apr 18 16:24:58 2012 [LCM][I]: Life-cycle Manager started. Wed Apr 18 16:24:58 2012 [InM][I]: Starting Information Manager... Wed Apr 18 16:24:58 2012 [InM][I]: Information Manager started. Wed Apr 18 16:24:58 2012 [TrM][I]: Starting Transfer Manager... Wed Apr 18 16:24:58 2012 [TrM][I]: Transfer Manager started. Wed Apr 18 16:24:58 2012 [DiM][I]: Starting Dispatch Manager... Wed Apr 18 16:24:58 2012 [DiM][I]: Dispatch Manager started. Wed Apr 18 16:24:58 2012 [HKM][I]: Starting Hook Manager... Wed Apr 18 16:24:58 2012 [HKM][I]: Hook Manager started. Wed Apr 18 16:24:58 2012 [AuM][I]: Starting Auth Manager... Wed Apr 18 16:24:58 2012 [AuM][I]: Authorization Manager started. Wed Apr 18 16:24:58 2012 [ImM][I]: Starting Image Manager... Wed Apr 18 16:24:58 2012 [ImM][I]: Image Manager started. Wed Apr 18 16:24:58 2012 [ReM][I]: Starting Request Manager... Wed Apr 18 16:24:58 2012 [ReM][I]: Request Manager started. Wed Apr 18 16:24:58 2012 [ReM][I]: Starting XML-RPC server, port 2633 ... Wed Apr 18 16:25:00 2012 [VMM][I]: Loading Virtual Machine Manager drivers. Wed Apr 18 16:25:00 2012 [VMM][I]: Loading driver: vmm_kvm (KVM) Wed Apr 18 16:25:05 2012 [MAD][E]: MAD did not answer INIT command Wed Apr 18 16:25:05 2012 [InM][I]: Loading Information Manager drivers. Wed Apr 18 16:25:05 2012 [InM][I]: Loading driver: im_kvm Wed Apr 18 16:25:10 2012 [MAD][E]: MAD did not answer INIT command Wed Apr 18 16:25:10 2012 [TM][I]: Loading Transfer Manager drivers. Wed Apr 18 16:25:11 2012 [VMM][I]: Loading driver: tm_shared Wed Apr 18 16:25:12 2012 [TM][I]: Driver tm_shared loaded. Wed Apr 18 16:25:12 2012 [HKM][I]: Loading Hook Manager driver. Wed Apr 18 16:25:13 2012 [HKM][I]: Hook Manager loaded Wed Apr 18 16:25:1
[one-users] KVM drivers fail to load? [MAD did not answer INIT command]
Dear all, In my ONE system, sometimes, after the front-end's startup, I've noticed that the KVM drivers (vmm_kvm and im_kvm) are not able to load. At first I didn't understand what could be causing such ONE malfunction, but soon I tracked back all related errors and found the answer in the very initial part of oned.log, which I copied at the end of this mail. It seems to be a strange issue, since it apparently happens rather randomly, sometimes a reboot of the front-end makes the issue disappear, but sometimes the error just sticks. I'm aware that it might possibly not be an ONE issue. However, I would be extremely grateful if you could provide some hints or point-outs to where should I at least be looking for the cause of this problem. Is this a front-end issue? Is this an issue with the respective host? Both have KVM installed and I've performed virtualizations on both of them (with virsh+qemu) since my ONE infrastructure is up. Are there any logs which I could check to possibly find more detail? Here is the initial part of oned.log, highlighted with the errors: Wed Apr 18 16:24:58 2012 [ONE][I]: Starting OpenNebula 3.2.0 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_shared/tm_shared.conf,EXECUTABLE=one_tm,NAME=tm_shared 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 Wed Apr 18 16:24:58 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Wed Apr 18 16:24:58 2012 [ONE][I]: Checking database version. Wed Apr 18 16:24:58 2012 [VMM][I]: Starting Virtual Machine Manager... Wed Apr 18 16:24:58 2012 [VMM][I]: Virtual Machine Manager started. Wed Apr 18 16:24:58 2012 [LCM][I]: Starting Life-cycle Manager... Wed Apr 18 16:24:58 2012 [LCM][I]: Life-cycle Manager started. Wed Apr 18 16:24:58 2012 [InM][I]: Starting Information Manager... Wed Apr 18 16:24:58 2012 [InM][I]: Information Manager started. Wed Apr 18 16:24:58 2012 [TrM][I]: Starting Transfer Manager... Wed Apr 18 16:24:58 2012 [TrM][I]: Transfer Manager started. Wed Apr 18 16:24:58 2012 [DiM][I]: Starting Dispatch Manager... Wed Apr 18 16:24:58 2012 [DiM][I]: Dispatch Manager started. Wed Apr 18 16:24:58 2012 [HKM][I]: Starting Hook Manager... Wed Apr 18 16:24:58 2012 [HKM][I]: Hook Manager started. Wed Apr 18 16:24:58 2012 [AuM][I]: Starting Auth Manager... Wed Apr 18 16:24:58 2012 [AuM][I]: Authorization Manager started. Wed Apr 18 16:24:58 2012 [ImM][I]: Starting Image Manager... Wed Apr 18 16:24:58 2012 [ImM][I]: Image Manager started. Wed Apr 18 16:24:58 2012 [ReM][I]: Starting Request Manager... Wed Apr 18 16:24:58 2012 [ReM][I]: Request Manager started. Wed Apr 18 16:24:58 2012 [ReM][I]: Starting XML-RPC server, port 2633 ... Wed Apr 18 16:25:00 2012 [VMM][I]: Loading Virtual Machine Manager drivers. Wed Apr 18 16:25:00 2012 [VMM][I]: Loading driver: vmm_kvm (KVM) Wed Apr 18 16:25:05 2012 [MAD][E]: MAD did not answer INIT command Wed Apr 18 16:25:05 2012 [InM][I]: Loading Information Manager drivers. Wed Apr 18 16:25:05 2012 [InM][I]: Loading driver: im_kvm Wed Apr 18 16:25:10 2012 [MAD][E]: MAD did not answer INIT command Wed Apr 18 16:25:10 2012 [TM][I]: Loading Transfer Manager drivers. Wed Apr 18 16:25:11 2012 [VMM][I]: Loading driver: tm_shared Wed Apr 18 16:25:12 2012 [TM][I]: Driver tm_shared loaded. Wed Apr 18 16:25:12 2012 [HKM][I]: Loading Hook Manager driver. Wed Apr 18 16:25:13 2012 [HKM][I]: Hook Manager loaded Wed Apr 18 16:25:13 2012 [ImM][I]: Loading Image Manager driver. Wed Apr 18 16:25:13 2012 [InM][I]: Monitoring host pcls (6) Wed Apr 18 16:25:13 2012 [InM][E]: Could not find information driver im_kvm Sometimes, only vmm_kvm fails to load, while im_kvm loads successfully, which is another twist to the story. Any suggestion would be highly appreciated. Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Trouble setting VM's hostname
Hello Pedro, Indeed, my problem was that the init.sh script has not been at all executed. I've spent the last day trying to trace down the problem, which was rather weird, since the exact same configuration (as presented in the example in the documentation you provided, too) worked on another one of my images, and the init.sh script was properly called. I didn't manage to find the cause, however, I did manage to solve my problem with a simple workaround applicable in my case, which was to set the following script as an init script on my respective image: # OpenNebula Network Contextualization MAC=`ifconfig eth0|grep HWaddr|awk '{print $5}'` for i in `echo $MAC|cut -d: -f3-|tr : ' '`; do [ -n "$IP" ] && IP=$IP. let c=0x$i IP=${IP}$c done GATEWAY=`echo $IP|cut -d. -f1-3`.1 ifconfig eth0 $IP netmask 255.255.0.0 route add default gw $GATEWAY hostname "SLAVE${IP:9:12}" This last line sets the hostname at the first boot to , and that was just what I needed. Thank you for taking the time to answer. Cheers, Lehel. --- On Wed, 4/18/12, Pedro Vitti wrote: From: Pedro Vitti Subject: Re: [one-users] Trouble setting VM's hostname To: "biro lehel" Cc: users@lists.opennebula.org Date: Wednesday, April 18, 2012, 12:57 AM Hello, Are you sure that your init script is running at VM startup? If so, be sure to 'source' the file context.sh that contains $HOSTNAME definition, before running your script. If you are using hdc as your device where the contextualization image will be available, you can use something like this at startup: #!/bin/sh -e mount -t iso9660 /dev/sdc /mnt if [ -f /mnt/context.sh ]; then . /mnt/init.sh fi umount /mnt exit 0 Take a look at last section (EXAMPLE) here: http://opennebula.org/documentation:archives:rel3.2:cong For opensuse init script, read this: http://www.novell.com/coolsolutions/feature/15380.html Regars, Pedro Vitti On Tue, Apr 17, 2012 at 5:56 AM, biro lehel wrote: Hello again, I currently have an init script which I copy to the newly instantiated VM using the template's contextualization (FILES=.../init.sh). This script contains (among others) the following section: if [ -n "$HOSTNAME" ]; then hostname $HOSTNAME HOSTNAME is also a contextualized parameter, as I set HOSTNAME=MyHostName also in the contextualization section of my VM's template. I would expect this to set my hostname as MyHostName on the instantiated VM. However, the hostname remains the same (meaning it still remains the same hostname as it is in my image that the respective template uses). I'm using openSUSE 11.4 and OpenNebula 3.2.0. What are the other ways to try to set the hostname in my VM's? Since more VM's will use the same image, I cannot simply set it in my image. Is anything need to be done regarding the hostname in the respective image? Thanks, Lehel. ___ 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] Trouble setting VM's hostname
Hello again, I currently have an init script which I copy to the newly instantiated VM using the template's contextualization (FILES=.../init.sh). This script contains (among others) the following section: if [ -n "$HOSTNAME" ]; then hostname $HOSTNAME HOSTNAME is also a contextualized parameter, as I set HOSTNAME=MyHostName also in the contextualization section of my VM's template. I would expect this to set my hostname as MyHostName on the instantiated VM. However, the hostname remains the same (meaning it still remains the same hostname as it is in my image that the respective template uses). I'm using openSUSE 11.4 and OpenNebula 3.2.0. What are the other ways to try to set the hostname in my VM's? Since more VM's will use the same image, I cannot simply set it in my image. Is anything need to be done regarding the hostname in the respective image? Thanks, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM forced deletion? [VM hanging in CLEANUP state]
Okay, so far, for my hung VM, I have set the "default" values for the deleted VM's in the vm_pool table of one.db (more precisely, I have set: last_poll=0, state=6, lcm_state=0), and also, in the leases table, I have freed the respective IP address (=0, =-1). However, I'm looking for a confirmation if this is okay, or it can cause inconsistencies. Is anything else need to be done? Thanks, Lehel. --- On Tue, 4/17/12, biro lehel wrote: From: biro lehel Subject: [one-users] VM forced deletion? [VM hanging in CLEANUP state] To: users@lists.opennebula.org Date: Tuesday, April 17, 2012, 11:09 AM Dear all, I have a VM that apparently got hung in the CLEANUP state (now for quite a while). The problem is, I would need it's fixed IP to be used for another VM. "Delete" action from Sunstone has no effect on the hung VM, it disappears from the VM-list but it reappears at the next refresh. Is there any way to manually force the VM's deletion (take it out from the DB)? Thank you, Lehel. -Inline Attachment Follows- ___ 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] VM forced deletion? [VM hanging in CLEANUP state]
Dear all, I have a VM that apparently got hung in the CLEANUP state (now for quite a while). The problem is, I would need it's fixed IP to be used for another VM. "Delete" action from Sunstone has no effect on the hung VM, it disappears from the VM-list but it reappears at the next refresh. Is there any way to manually force the VM's deletion (take it out from the DB)? Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] SaaS with opennebula cloud
I'll just put this on the list, it seems like Daniel is busy, but maybe someone else can help me with an answer. Thank you in anticipation, Lehel. Daniel, two more things.. When creating a new occi template, can I use as IMAGE_ID an ID of an existing peristent image (of course one that is not currently USED)? At the moment I have some persistent images, from which I configured and set-up VM's with some specific software (I'm working on building a kind of "platform" above the "infrastructure"), and I intend these VM's to be used by end-users. In my original templates (that are using the persistent images), besides the image disk definition, I had some further disks defined (type FS and SWAP). Would these disks be available if I pass only the persistent image ID in my new_occi_template.erb? I mean, would I get "the very same VM back"? Also, I read that Self Service currently supports only ranged networks. Does this mean that there is no way to set for a specific VM a specific IP address? Thank you in anticipation, Lehel. --- On Fri, 3/30/12, Daniel Molina wrote: From: Daniel Molina Subject: Re: [one-users] SaaS with opennebula cloud To: "biro lehel" Cc: users@lists.opennebula.org Date: Friday, March 30, 2012, 1:23 PM On 30 March 2012 07:46, biro lehel wrote: > > I would also be interested, too, on this question. Not precisely on the SaaS > aspect, since I think I got the idea about that, but instead: is there any > way for an end-user (NON-OpenNebula user) to "communicate" with / pass > commands to OpenNebula (eventually by using a designated OpenNebula account, but at the same time not being aware of this)? OpenNebula Self-Service is a simplified GUI aimed to end-users, offering a simplified access to shared infrastructure for non-IT end users. The administrator will configure a set of instance_types that the end-user will be able to select without taking care of the VM configuration. The user can login to this portal and interact with his resources. The VirtualNetworks and Images can be exposed in three different ways: 1. The administrator creates the VNETs and Images through the one* tools and distributes these resources in different instance_types. The end-user will just have to select the desired instance_type $ onevnet create occi_vnet ID: 2 $ oneimage create occi_image ID:3 $ cat $ONE_LOCATION/etc/occi_templates/new_occi_template.erb CPU=1 MEMORY=1024 DISK=[IMAGE_ID=3] NIC=[NETWORK_ID=2] $ cat $ONE_LOCATION/etc/occi.conf [...] :instance_types: [...] :new_occi_template: :template: new_occi_template.erb :cpu: 1 :memory: 1024 2. The administrator creates the VNETs and Images through the one* tools and makes them available for the end-user. The end-user selects which instance_type he wants to use and what image and network throught the GUI interface. $ onevnet create occi_vnet ID: 2 $ oneimage create occi_image ID:3 $ cat $ONE_LOCATION/etc/occi_templates/new_occi_template.erb CPU=1 MEMORY=1024 $ cat $ONE_LOCATION/etc/occi.conf [...] :instance_types: [...] :new_occi_template: :template: new_occi_template.erb :cpu: 1 :memory: 1024 3. The end-user is allowed to create VNETs (you can also define a base template for this) and upload Images and can select them for a new instance through the GUI interface $ cat $ONE_LOCATION/etc/occi_templates/new_occi_template.erb CPU=1 MEMORY=1024 DISK=[IMAGE_ID=3] NIC=[NETWORK_ID=2] $ cat $ONE_LOCATION/etc/occi.conf [...] :instance_types: [...] :new_occi_template: :template: new_occi_template.erb :cpu: 1 :memory: 1024 If you want to enable VNC you have to add the following line to the templates: GRAPHICS = [ TYPE = "vnc", LISTEN = "0.0.0.0", PORT = "5"] Hope this helps Refs: * Self Service UI: http://www.opennebula.org/documentation:rel3.4:selfservice * Adding new VM types: http://www.opennebula.org/documentation:rel3.4:occicg#defining_compute_types * VNET base template: http://www.opennebula.org/documentation:rel3.4:occicg#configuring_occi_virtual_networks * Permissions: http://www.opennebula.org/documentation:rel3.4:manage_acl * Vm template: http://www.opennebula.org/documentation:rel3.4:template > > > Cheers, > Lehel. > > --- On Thu, 3/29/12, TARUN TANK <08bit...@nirmauni.ac.in> wrote: > > > From: TARUN TANK <08bit...@nirmauni.ac.in> > Subject: [one-users] SaaS with opennebula cloud > To: users@lists.opennebula.org > Date: Thursday, March 29, 2012, 12:46 PM > > > hi, we have developed the opennebula cloud with front end and 5 worker nodes > , we can successfully create the VM and can deploy them on the worker > nodes.Hence we are able to run the windows as well as linux on the dom U of > the worker nodes(using XEN) . We are using centos 5.0 on the worker nodes as > the host os.We
Re: [one-users] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ?
Hector, Indeed, the problem is that the wsproxy process remains hanging after some time. Killing it manually makes the error disappear, thank you very much for the hint. However, I think that this still is a bug. Cheers, Lehel. --- On Sat, 3/31/12, biro lehel wrote: From: biro lehel Subject: Re: [one-users] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ? To: "Hector Sanjuan" Cc: users@lists.opennebula.org Date: Saturday, March 31, 2012, 1:02 PM Hello Hector, I'm using OpenNebula 3.2.0 (downloaded the package) on openSUSE 11.4 (front-end), having Firefox 4.0b12. The respective host runs openSUSE 12.1 and KVM. I will try to kill wsproxy manually next time the error occurs, and see if it works. Until then, any other solutions are more than welcomed. Cheers, Lehel. --- On Sat, 3/31/12, Hector Sanjuan wrote: From: Hector Sanjuan Subject: Re: [one-users] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ? To: users@lists.opennebula.org Date: Saturday, March 31, 2012, 12:51 PM Hello, which version of OpenNebula are you using? It looks like wsproxy process is not conveniently terminated after closing the connection. A more convinient workaround would be to kill the wsproxy process in the frontend manually I guess. I have opened a ticket to keep track of this and see if I can reproduce it as well. http://dev.opennebula.org/issues/1201 Hector En Sat, 31 Mar 2012 11:24:44 +0200, biro lehel escribió: > Hello, > > I seem to have a noVNC-related issue. From time-to-time, I get a "Server > disconnected" error, when accessing my VM's through VNC. I've noticed that it > usually (only) happens when I was previously connected to that specific VM > (for which the error occurs) through VNC for an extended period of time (but > not more than 10-15 minutes), closed the connection, and then tried to reconnect (this is where I get the error). It never happened (so far) in situations other than this, if the VNC-connections are short-termed in time, I can close and reconnect to VM's through VNC as many times as I want. > > The only workaround I've found so far is rebooting both the front-end and the > respective host, which, as you can imagine, is rather inconvenient to do each > time this error occurs. > > sunstone.log contains the following about the > error: > > Starting vnc proxy: /usr/share/one/noVNC/utils/wsproxy.py 35822 pcls:5946 > /usr/lib/one/sunstone/models/SunstoneServer.rb:234: warning: Insecure world > writable dir /usr/X11R6/bin in PATH, mode 040777 > 127.0.0.1 - - [31/Mar/2012 12:08:17] "POST /vm/46/startvnc HTTP/1.1" 200 30 > 0.1036 > 127.0.0.1 - - [31/Mar/2012 12:08:17] "GET > /vendor/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png HTTP/1.1" 200 120 0.0116 > Traceback (most recent call last): > File "/usr/share/one/noVNC/utils/wsproxy.py", line 282, in > server.start_server() > File "/usr/share/one/noVNC/utils/websocket.py", line 794, in start_server > lsock = self.socket(self.listen_host, self.listen_port) > File "/usr/share/one/noVNC/utils/websocket.py", line 185, in socket > sock.bind(addrs[0][4]) > File "/usr/lib64/python2.7/socket.py", line 222, in meth > return getattr(self._sock,name)(*args) > socket.error: [Errno 98] Address already in use > 127.0.0.1 - - [31/Mar/2012 12:08:32] "POST /vm/46/stopvnc HTTP/1.1" 200 - > 0.0856 > > Since I'm not an expert in Python, I didn't want to dig myself into the > above-named files so far. > > Any ideas what should I check, or what should I do? > > Thank you, > Lehel. --Hector Sanjuan OpenNebula Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -Inline Attachment Follows- ___ 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] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ?
Hello Hector, I'm using OpenNebula 3.2.0 (downloaded the package) on openSUSE 11.4 (front-end), having Firefox 4.0b12. The respective host runs openSUSE 12.1 and KVM. I will try to kill wsproxy manually next time the error occurs, and see if it works. Until then, any other solutions are more than welcomed. Cheers, Lehel. --- On Sat, 3/31/12, Hector Sanjuan wrote: From: Hector Sanjuan Subject: Re: [one-users] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ? To: users@lists.opennebula.org Date: Saturday, March 31, 2012, 12:51 PM Hello, which version of OpenNebula are you using? It looks like wsproxy process is not conveniently terminated after closing the connection. A more convinient workaround would be to kill the wsproxy process in the frontend manually I guess. I have opened a ticket to keep track of this and see if I can reproduce it as well. http://dev.opennebula.org/issues/1201 Hector En Sat, 31 Mar 2012 11:24:44 +0200, biro lehel escribió: > Hello, > > I seem to have a noVNC-related issue. From time-to-time, I get a "Server > disconnected" error, when accessing my VM's through VNC. I've noticed that it > usually (only) happens when I was previously connected to that specific VM > (for which the error occurs) through VNC for an extended period of time (but > not more than 10-15 minutes), closed the connection, and then tried to > reconnect (this is where I get the error). It never happened (so far) in > situations other than this, if the VNC-connections are short-termed in time, > I can close and reconnect to VM's through VNC as many times as I want. > > The only workaround I've found so far is rebooting both the front-end and the > respective host, which, as you can imagine, is rather inconvenient to do each > time this error occurs. > > sunstone.log contains the following about the > error: > > Starting vnc proxy: /usr/share/one/noVNC/utils/wsproxy.py 35822 pcls:5946 > /usr/lib/one/sunstone/models/SunstoneServer.rb:234: warning: Insecure world > writable dir /usr/X11R6/bin in PATH, mode 040777 > 127.0.0.1 - - [31/Mar/2012 12:08:17] "POST /vm/46/startvnc HTTP/1.1" 200 30 > 0.1036 > 127.0.0.1 - - [31/Mar/2012 12:08:17] "GET > /vendor/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png HTTP/1.1" 200 120 > 0.0116 > Traceback (most recent call last): > File "/usr/share/one/noVNC/utils/wsproxy.py", line 282, in > server.start_server() > File "/usr/share/one/noVNC/utils/websocket.py", line 794, in start_server > lsock = self.socket(self.listen_host, self.listen_port) > File "/usr/share/one/noVNC/utils/websocket.py", line 185, in socket > sock.bind(addrs[0][4]) > File "/usr/lib64/python2.7/socket.py", line 222, in meth > return getattr(self._sock,name)(*args) > socket.error: [Errno 98] Address already in use > 127.0.0.1 - - [31/Mar/2012 12:08:32] "POST /vm/46/stopvnc HTTP/1.1" 200 - > 0.0856 > > Since I'm not an expert in Python, I didn't want to dig myself into the > above-named files so far. > > Any ideas what should I check, or what should I do? > > Thank you, > Lehel. --Hector Sanjuan OpenNebula Developer ___ 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] noVNC error: "Server disconnected" [socket.error: [Errno 98] Address already in use] ?
Hello, I seem to have a noVNC-related issue. From time-to-time, I get a "Server disconnected" error, when accessing my VM's through VNC. I've noticed that it usually (only) happens when I was previously connected to that specific VM (for which the error occurs) through VNC for an extended period of time (but not more than 10-15 minutes), closed the connection, and then tried to reconnect (this is where I get the error). It never happened (so far) in situations other than this, if the VNC-connections are short-termed in time, I can close and reconnect to VM's through VNC as many times as I want. The only workaround I've found so far is rebooting both the front-end and the respective host, which, as you can imagine, is rather inconvenient to do each time this error occurs. sunstone.log contains the following about the error: Starting vnc proxy: /usr/share/one/noVNC/utils/wsproxy.py 35822 pcls:5946 /usr/lib/one/sunstone/models/SunstoneServer.rb:234: warning: Insecure world writable dir /usr/X11R6/bin in PATH, mode 040777 127.0.0.1 - - [31/Mar/2012 12:08:17] "POST /vm/46/startvnc HTTP/1.1" 200 30 0.1036 127.0.0.1 - - [31/Mar/2012 12:08:17] "GET /vendor/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png HTTP/1.1" 200 120 0.0116 Traceback (most recent call last): File "/usr/share/one/noVNC/utils/wsproxy.py", line 282, in server.start_server() File "/usr/share/one/noVNC/utils/websocket.py", line 794, in start_server lsock = self.socket(self.listen_host, self.listen_port) File "/usr/share/one/noVNC/utils/websocket.py", line 185, in socket sock.bind(addrs[0][4]) File "/usr/lib64/python2.7/socket.py", line 222, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 98] Address already in use 127.0.0.1 - - [31/Mar/2012 12:08:32] "POST /vm/46/stopvnc HTTP/1.1" 200 - 0.0856 Since I'm not an expert in Python, I didn't want to dig myself into the above-named files so far. Any ideas what should I check, or what should I do? Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] SaaS with opennebula cloud
I would also be interested, too, on this question. Not precisely on the SaaS aspect, since I think I got the idea about that, but instead: is there any way for an end-user (NON-OpenNebula user) to "communicate" with / pass commands to OpenNebula (eventually by using a designated OpenNebula account, but at the same time not being aware of this)? Cheers, Lehel. --- On Thu, 3/29/12, TARUN TANK <08bit...@nirmauni.ac.in> wrote: From: TARUN TANK <08bit...@nirmauni.ac.in> Subject: [one-users] SaaS with opennebula cloud To: users@lists.opennebula.org Date: Thursday, March 29, 2012, 12:46 PM hi, we have developed the opennebula cloud with front end and 5 worker nodes , we can successfully create the VM and can deploy them on the worker nodes.Hence we are able to run the windows as well as linux on the dom U of the worker nodes(using XEN) . We are using centos 5.0 on the worker nodes as the host os.We can also manage using Sunstone GUI. now we want to provide the software/application to the end user via browser/web interface but we don't have proper guidance for that, can we enable the end user to use the software (i.e matlab) via browser and if yes then what configuration is left ? , please guide us on that . -Inline Attachment Follows- ___ 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] Error when instantiating VM from persistent image
Hi Jhon, The qemu configuration was fine, and also the NFS is (or at least seems to be) working fine, the problem indeed was with the permission settings of the specific image file in the /images directory. It only had RW permissions for owner (oneadmin) and root, and forbidden for others. The problem is now solved, the VM's created from the persistent image are running, and I indeed checked their persistency after a graceful shutdown. Thank you very much for taking the time to answer, and for your detailed description. Have a great day, Cheers, Lehel. --- On Thu, 3/29/12, Jhon Masschelein wrote: From: Jhon Masschelein Subject: Re: [one-users] Error when instantiating VM from persistent image To: "biro lehel" , users@lists.opennebula.org Date: Thursday, March 29, 2012, 9:33 AM Hi, it looks like this is the problem: > Wed Mar 28 10:50:00 2012 [VMM][I]: error: internal error process > exited while connecting to monitor: qemu-kvm: -drive > file=/var/lib/one//25/images/disk.2,if=none,id=drive-ide0-0-0,format=raw: > could not open disk image /var/lib/one//25/images/disk.2: Permission > denied At this point it would appear that oneadmin has access to the disk image file /var/lib/one//25/images/disk.2, but qemu does not. The error is coming from qemu. As far as I know, the difference between a persistent image and a non persistent image is that, when it is not persistent, the image get copied by oneadmin and new permissions are set on the new file, but when you are using a persistent image, a symbolic link is created. With symbolic links, the permissions of the link are not important, the permissions on the original file are used. So, when you look at the file that is listed as the "SOURCE" of your image. (Should be something like /var/lib/one/images/c0dc71ebe6562d4e8c9e186b249bff13, what are the permissions and is qemu (on the execution node) able to read&write to it? Probably that is the problem and the next thing to look for is why his file is not readable by qemu. The file was created by oneadmin at the time the onimage command was run on the opennebula server to create the Image object. Now the qemu process on the execution node is trying, and failing, to access the file. Do you have special directory permissions on the image directory? Is it an NFS mount that is doing "strange" things? A couple of other things that could be related: - did you set dynamic_ownership = 0 in the qemu.conf file onthe execution node? - did you change the user or group the qemu process is running as? I hope this is of some help to you, Wkr, Jhon -- Jhon Masschelein Senior Systeemprogrammeur SARA - HPCV Science Park 140 1098 XG Amsterdam T +31 (0)20 592 8099 F +31 (0)20 668 3167 M +31 (0)6 4748 9328 E jhon.masschel...@sara.nl http://www.sara.nl ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Error when instantiating VM from persistent image
Please... Anyone? -- On Wed, Mar 28, 2012 11:20 AM EEST biro lehel wrote: >Hello, > >I can create and run VM's whenever I leave the registered image-file >non-persistent. However, whenever I want to register an image using the same >image file (of course from different path), by making the image persistent, >and using the very same template, results in a FAILED VM state, with the >following log: > >Wed Mar 28 10:49:54 2012 [DiM][I]: New VM state is ACTIVE. >Wed Mar 28 10:49:54 2012 [LCM][I]: New VM state is PROLOG. >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "mkdir -p >/var/lib/one//25/images". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "dd if=/dev/zero >of=/var/lib/one//25/images/disk.0 bs=1 count=1 seek=4096M". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "mkfs -t ext3 -F >/var/lib/one//25/images/disk.0". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "chmod a+rw >/var/lib/one//25/images/disk.0". >Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 >Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Creating directory >/var/lib/one//25/images >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "mkdir -p >/var/lib/one//25/images". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "chmod a+w >/var/lib/one//25/images". >Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Creating 1024Mb image in >/var/lib/one//25/images/disk.1 >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "dd if=/dev/zero >of=/var/lib/one//25/images/disk.1 bs=1 count=1 seek=1024M". >Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Initializing swap space >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "mkswap >/var/lib/one//25/images/disk.1". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "chmod a+w >/var/lib/one//25/images/disk.1". >Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 >Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Creating directory >/var/lib/one//25/images >Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "mkdir -p >/var/lib/one//25/images". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "chmod a+w >/var/lib/one//25/images". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Link >/var/lib/one/images/0df5670f8e8c8cb5dd983e6eda502457 >Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "ln -s >/var/lib/one/images/0df5670f8e8c8cb5dd983e6eda502457 >/var/lib/one//25/images/disk.2". >Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 >Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "mkdir -p >/var/lib/one//25/images/isofiles". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "cp -R >/var/lib/one/25/context.sh /var/lib/one//25/images/isofiles". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "cp -R >/var/tmp/init.sh /var/lib/one//25/images/isofiles". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "mkisofs -o >/var/lib/one//25/images/disk.3 -J -R /var/lib/one//25/images/isofiles". >Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "rm -rf >/var/lib/one//25/images/isofiles". >Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 >Wed Mar 28 10:49:59 2012 [LCM][I]: New VM state is BOOT >Wed Mar 28 10:49:59 2012 [VMM][I]: Generating deployment file: >/var/lib/one/25/deployment.1 >Wed Mar 28 10:49:59 2012 [VMM][I]: ExitCode: 0 >Wed Mar 28 10:49:59 2012 [VMM][I]: Successfully execute network driver >operation: pre. >Wed Mar 28 10:50:00 2012 [VMM][I]: Command execution fail: cat < EOT | >/var/tmp/one/vmm/kvm/deploy /var/lib/one//25/images/deployment.1 pcls 25 pcls >Wed Mar 28 10:50:00 2012 [VMM][I]: WARNING: no socket to connect to >Wed Mar 28 10:50:00 2012 [VMM][I]: error: Failed to create domain from >/var/lib/one//25/images/deployment.1 >Wed Mar 28 10:50:00 2012 [VMM][I]: error: internal error process exited while >connecting to monitor: qemu-kvm: -drive >file=/var/lib/one//25/images/disk.2,if=none,id=drive-ide0-0-0,format=raw: >could not open disk image /var/lib/one//25/images/disk.2: Permission denied >Wed Mar 28 10:50:00 2012 [VMM][I]: >Wed Mar 28 10:50:00 2012 [VMM][E]: Could not create domain from >/var/lib/one//25/images/deployment.1 >Wed Mar 28 10:50:00 2012 [VMM][I]: ExitCode: 255 >Wed Mar 28 10:50:00 2012 [VMM][I]: Failed to execute virtualization driver >operation: deploy. >Wed Mar 28 10:50:00 2012 [VMM][E]: Error deploying virtual machine: Could not >create domain from /var/lib/one//25/images/deployment.1 >Wed Mar 28 10:50:00 2012 [DiM][I]: New VM state is FAILED >Wed Mar 28 10:5
[one-users] Error when instantiating VM from persistent image
Hello, I can create and run VM's whenever I leave the registered image-file non-persistent. However, whenever I want to register an image using the same image file (of course from different path), by making the image persistent, and using the very same template, results in a FAILED VM state, with the following log: Wed Mar 28 10:49:54 2012 [DiM][I]: New VM state is ACTIVE. Wed Mar 28 10:49:54 2012 [LCM][I]: New VM state is PROLOG. Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "mkdir -p /var/lib/one//25/images". Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "dd if=/dev/zero of=/var/lib/one//25/images/disk.0 bs=1 count=1 seek=4096M". Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "mkfs -t ext3 -F /var/lib/one//25/images/disk.0". Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkimage.sh: Executed "chmod a+rw /var/lib/one//25/images/disk.0". Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Creating directory /var/lib/one//25/images Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "mkdir -p /var/lib/one//25/images". Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /var/lib/one//25/images". Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Creating 1024Mb image in /var/lib/one//25/images/disk.1 Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "dd if=/dev/zero of=/var/lib/one//25/images/disk.1 bs=1 count=1 seek=1024M". Wed Mar 28 10:49:58 2012 [TM][D]: tm_mkswap.sh: Initializing swap space Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "mkswap /var/lib/one//25/images/disk.1". Wed Mar 28 10:49:58 2012 [TM][I]: tm_mkswap.sh: Executed "chmod a+w /var/lib/one//25/images/disk.1". Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Creating directory /var/lib/one//25/images Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "mkdir -p /var/lib/one//25/images". Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "chmod a+w /var/lib/one//25/images". Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Link /var/lib/one/images/0df5670f8e8c8cb5dd983e6eda502457 Wed Mar 28 10:49:58 2012 [TM][I]: tm_ln.sh: Executed "ln -s /var/lib/one/images/0df5670f8e8c8cb5dd983e6eda502457 /var/lib/one//25/images/disk.2". Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "mkdir -p /var/lib/one//25/images/isofiles". Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "cp -R /var/lib/one/25/context.sh /var/lib/one//25/images/isofiles". Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "cp -R /var/tmp/init.sh /var/lib/one//25/images/isofiles". Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "mkisofs -o /var/lib/one//25/images/disk.3 -J -R /var/lib/one//25/images/isofiles". Wed Mar 28 10:49:58 2012 [TM][I]: tm_context.sh: Executed "rm -rf /var/lib/one//25/images/isofiles". Wed Mar 28 10:49:58 2012 [TM][I]: ExitCode: 0 Wed Mar 28 10:49:59 2012 [LCM][I]: New VM state is BOOT Wed Mar 28 10:49:59 2012 [VMM][I]: Generating deployment file: /var/lib/one/25/deployment.1 Wed Mar 28 10:49:59 2012 [VMM][I]: ExitCode: 0 Wed Mar 28 10:49:59 2012 [VMM][I]: Successfully execute network driver operation: pre. Wed Mar 28 10:50:00 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//25/images/deployment.1 pcls 25 pcls Wed Mar 28 10:50:00 2012 [VMM][I]: WARNING: no socket to connect to Wed Mar 28 10:50:00 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//25/images/deployment.1 Wed Mar 28 10:50:00 2012 [VMM][I]: error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=/var/lib/one//25/images/disk.2,if=none,id=drive-ide0-0-0,format=raw: could not open disk image /var/lib/one//25/images/disk.2: Permission denied Wed Mar 28 10:50:00 2012 [VMM][I]: Wed Mar 28 10:50:00 2012 [VMM][E]: Could not create domain from /var/lib/one//25/images/deployment.1 Wed Mar 28 10:50:00 2012 [VMM][I]: ExitCode: 255 Wed Mar 28 10:50:00 2012 [VMM][I]: Failed to execute virtualization driver operation: deploy. Wed Mar 28 10:50:00 2012 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//25/images/deployment.1 Wed Mar 28 10:50:00 2012 [DiM][I]: New VM state is FAILED Wed Mar 28 10:51:11 2012 [DiM][I]: New VM state is DONE. My template is the following: CONTEXT=[ FILES=/var/tmp/init.sh, HOSTNAME=$NAME, SSH_KEY="ssh-rsa B3NzaC1yc2EDAQABAAABAQDCtKbr47tpZR8VqfEwOsvCYzZml20SqUpa819U97tJ+Opeo2mFQXKkqYzYf/t5/f90Ir6a+rrmxkOteyyjkIudiTHIcVzzdNhtBVNYweG8yIZEtWS/3uDKTh8y1DhJMSmQvzUhy0KZ1wvTvEV7ltIdxrpvgUqF56bVIrZt1vbdVvMHxPn3qAoCUdmRVDS3/fHHNRR39QCzPjWXhSVw7U1z+v89sID//mLG04i1k7tdnUOXYgL+gbJYlm5i9Fq09cXgfTKmLMmCEm8g4XialEltWS4jTt4vxf9KqTR+WVuwg+KJ+k3Bw0CR+kU1Z1CsELwbgLutOmmK+ariONJlS8x/ oneadmin@linux-4dsu", USER_NAME=oneadmin ] CPU=1 DISK=[ FORMAT=ext3, READONLY=no, SIZE=4096, TARGET=sdg, TYPE=fs ]
[one-users] Set the number of VM's instantiated - but not through Sunstone or CLI?
Hello, Is there any way to set the number of created VM's that would use a specific (same) image file? What I want to obtain is the following: I would have some kind of an "end-user" (the point is, NOT an OpenNebula-user), that would need to specific three parameters (let's say, through a config file): his needed CPU, his needed Memory, and the number of VM's he would like to have for this configuration. Then, I would have a previously pre-set and pre-filled OpenNebula template, which my system should complete with the CPU and Memory information. Finally, the number of the instantiated VM's (set by the user) should be communicated with OpenNebula - and this is what my question refers to. Is there a way to do this? Also, how can an end-user communicate with (that is, how can I "propagate" the information to) OpenNebula? Don't think of huge security issues here, I only have a small research/test environment, not a production one. I could even use oneadmin's credentials for him, I just don't know how to "externally" access OpenNebula, if possible. Thank you, and waiting for your answers, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Passwordless ssh between VM's?
Sorry, I missed a reference in the previous one. Completed below. --- On Fri, 3/23/12, biro lehel wrote: From: biro lehel Subject: Re: [one-users] Passwordless ssh between VM's? To: "Poul Kristensen" , "Olivier Sallou" Cc: users@lists.opennebula.org Date: Friday, March 23, 2012, 8:49 AM Hello, Thank you both Poul and Olivier for your answers. Poul, regarding my environment: it is small-scale experimental environment (up to ~10 VM's), NOT a production one. For experimental and test cases, should I go with the solution written by Olivier, or is it still more easier and convenient to use Kerberos? I would like to choose the most easily implementable solution here, since I'm a bit running out of time. Regarding Olivier's solution.. as I understand, it's basically the same than the method for obtaining passwordless ssh between the physical nodes, described at [1]. My question is, what is the difference (if any) between setting up pwdless ssh between the physical machines, and setting up pwdless ssh between the VM's? Also, Olivier, you have mentioned this: >At boot time you load the ssh key for a file set in CONTEXT template, with a key >dedicated per user. Or, still at boot time, you trigger a server (you made) to get a SSH >key from the VM ip. I'm not exactly sure what these mean. Could you or anyone else please detail what to do to obtain these boot-time settings? [1] http://opennebula.org/documentation:rel3.2:ssh_auth Thank you, Lehel. --- On Thu, 3/22/12, Poul Kristensen wrote: From: Poul Kristensen Subject: Re: [one-users] Passwordless ssh between VM's? To: users@lists.opennebula.org Date: Thursday, March 22, 2012, 12:40 PM Setup a Kerberos server and use tickets. You do not need to arrange private/public keys on every server (host/vm's). 2012/3/22 Olivier Sallou Le 3/22/12 6:53 AM, biro lehel a écrit : Hello everyone, I'm looking for the most convenient setting to be able to passwordlessly ssh between the VM's created by OpenNebula. I've noticed that the settings which provide passwordless ssh from the Front-end (or Hosts) into VM's do not deal with this, the system is still asking for a password if I want to ssh from VM into VM. So, did I do something wrong, and in theory, the exact same steps would need to be followed in case of VM's too, or is there some trick? To enable password less communication between VMs you need top create a SSH key for a user (root?) that will be in all you VMs. You should also disable in ssh_config the know_hosts feature (or redirect it to /dev/null). For SSH there are multiple means. You create a VM with a SSH key inside, the drawback is the SSH key is the same for all VMs e.g. all users, this is not secure but for test only it would fit. At boot time you load the ssh key for a file set in CONTEXT template, with a key dedicated per user. Or, still at boot time, you trigger a server (you made) to get a SSH key from the VM ip. Olivier Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -Inline Attachment Follows- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -Inline Attachment Follows- ___ 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] Passwordless ssh between VM's?
Hello, Thank you both Poul and Olivier for your answers. Poul, regarding my environment: it is small-scale experimental environment (up to ~10 VM's), NOT a production one. For experimental and test cases, should I go with the solution written by Olivier, or is it still more easier and convenient to use Kerberos? I would like to choose the most easily implementable solution here, since I'm a bit running out of time. Regarding Olivier's solution.. as I understand, it's basically the same than the method for obtaining passwordless ssh between the physical nodes, described at [1]. My question is, what is the difference (if any) between setting up pwdless ssh between the physical machines, and setting up pwdless ssh between the VM's? Also, Olivier, you have mentioned this: >At boot time you load the ssh key for a file set in CONTEXT template, with a key >dedicated per user. Or, still at boot time, you trigger a server (you made) to get a SSH >key from the VM ip. I'm not exactly sure what these mean. Could you or anyone else please detail what to do to obtain these boot-time settings? Thank you, Lehel. --- On Thu, 3/22/12, Poul Kristensen wrote: From: Poul Kristensen Subject: Re: [one-users] Passwordless ssh between VM's? To: users@lists.opennebula.org Date: Thursday, March 22, 2012, 12:40 PM Setup a Kerberos server and use tickets. You do not need to arrange private/public keys on every server (host/vm's). 2012/3/22 Olivier Sallou Le 3/22/12 6:53 AM, biro lehel a écrit : Hello everyone, I'm looking for the most convenient setting to be able to passwordlessly ssh between the VM's created by OpenNebula. I've noticed that the settings which provide passwordless ssh from the Front-end (or Hosts) into VM's do not deal with this, the system is still asking for a password if I want to ssh from VM into VM. So, did I do something wrong, and in theory, the exact same steps would need to be followed in case of VM's too, or is there some trick? To enable password less communication between VMs you need top create a SSH key for a user (root?) that will be in all you VMs. You should also disable in ssh_config the know_hosts feature (or redirect it to /dev/null). For SSH there are multiple means. You create a VM with a SSH key inside, the drawback is the SSH key is the same for all VMs e.g. all users, this is not secure but for test only it would fit. At boot time you load the ssh key for a file set in CONTEXT template, with a key dedicated per user. Or, still at boot time, you trigger a server (you made) to get a SSH key from the VM ip. Olivier Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (keyring.debian.org) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -Inline Attachment Follows- ___ 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] Passwordless ssh between VM's?
Hello everyone, I'm looking for the most convenient setting to be able to passwordlessly ssh between the VM's created by OpenNebula. I've noticed that the settings which provide passwordless ssh from the Front-end (or Hosts) into VM's do not deal with this, the system is still asking for a password if I want to ssh from VM into VM. So, did I do something wrong, and in theory, the exact same steps would need to be followed in case of VM's too, or is there some trick? Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] GRID-like functionalities with OpenNebula as a base? [Hadoop, or other possible solutions]
---My first email didn't seem to reach the list (or it's just Yahoo playing with me...), ---so I copy it once again here. I hope it will work this time. Dear all, After having successfully set up a small-scale (but up-and-running) experimental Private Cloud (using OpenSUSE 12.1 64bit machines -also VM's-, KVM as hypervisor, and ONE 3.2.0), my next task is to find a way in which GRID-like services (see below) could be implemented inside an OpenNebula-based Cloud. Basically, and architecturally-speaking, I think I would need a PaaS layer above my existing IaaS layer. I am interested in the following tasks: * job distribution among a set of dynamically created (or, as a start, fixed) VM's, initiated by a master-VM * job execution on the worker-VM's and, more importantly, execution monitoring of these jobs by the master-VM * results gathering on the master-VM I have briefly looked though Hadoop, which uses MapReduce, but, having no experience with it, I am not sure whether if it is the best tool to use for such a use-case, and also, I don't know if it could be at all used in my environment. So, my fundamental question is the following: which is the best way to start on, a way that would lead to satisfying my above-mentioned 3 necessities? Is Hadoop perfectly compatible with OpenNebula, and could be used for such purposes, or are there other and more fitting solutions or tools to use? Basically, all I'm asking is, what is the most appropriate way for obtaining these basic GRID-computing functionalities on a Platform constructed above the Infrastructure? Any suggestions, thoughts, and hints are extremely welcome, since this is a rather important and urgent matter for me. Thank you, Lehel.___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] GRID-like functionalities with OpenNebula as a base? [Hadoop, or other possible solutions]
Dear all, After having successfully set up a small-scale (but up-and-running) experimental Private Cloud (using OpenSUSE 12.1 64bit machines -also VM's-, KVM as hypervisor, and ONE 3.2.0), my next task is to find a way in which GRID-like services (see below) could be implemented inside an OpenNebula-based Cloud. Basically, and architecturally-speaking, I think I would need a PaaS layer above my existing IaaS layer. I am interested in the following tasks: * job distribution among a set of dynamically created (or, as a start, fixed) VM's, initiated by a master-VM * job execution on the worker-VM's and, more importantly, execution monitoring of these jobs by the master-VM * results gathering on the master-VM I have briefly looked though Hadoop, which uses MapReduce, but, having no experience with it, I am not sure whether if it is the best tool to use for such a use-case, and also, I don't know if it could be at all used in my environment. So, my fundamental question is the following: which is the best way to start on, a way that would lead to satisfying my above-mentioned 3 necessities? Is Hadoop perfectly compatible with OpenNebula, and could be used for such purposes, or are there other and more fitting solutions or tools to use? Basically, all I'm asking is, what is the most appropriate way for obtaining these basic GRID-computing functionalities on a Platform constructed above the Infrastructure? Any suggestions, thoughts, and hints are extremely welcome, since this is a rather important and urgent matter for me. Thank you, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] [openSUSE 12.1 + OpenNebula 3.2.0 + KVM. Template to be used?]
Okay, I just bumped into Suse Studio right after sending my previous mail; I must have been a moron for not discovering it before. As I understood, it provides me with a raw image file (with .raw extension), so my only question related to this matter is: can this .raw file be used in the exact same manner as the .img file (in case of ttylinux, for example)? Also, my second question is still actual, and is even more important now, so I copy it from the previous mail (so that thread can be discarded): For anyone having experience with SUSE + ONE + KVM (I've seen that there are a few of you here): could you provide me with an example template for your configuration, that I could use as a starting point for my configuration? It would really be a great help. Aaand, as a last 'bonus' question: is VNC a proper graphical tool to access the VM's interfaces (like, the Remote Desktop functionality in Windows, for example), or just provides a CLI for the machines? Thank you very much, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] [openSUSE + OpenNebula 3.2.0 + KVM. How to obtain an .img file?]
Hello everyone, Regarding my last issue here, the problem with the VNC connection initialization through Sunstone was indeed the presence of the line ['TIGHT_PNG', -260 ], in rfb.js. Uncommenting it solved the problem; thank you Carlo and Hector for you prompt feedbacks. So, at my current progress, I managed to create VM's from the provided ttylinux image without problems, VNC is also working, I could ssh and ping in all the possible directions, and, to gain some experience, I even fooled around a bit with some template attributes to see their effect. So, i guess that "so far, so good". Now, my next step would be to do the same thing with VM's created from an openSUSE image. In order to do this, I would need a raw openSUSE .img file (just like I had ttylinux.img), but, lacking any experience in the domain, I'm a little bit helpless regarding the exact way of obtaining such an .img file for my distribution. I have checked some online documentation, but none of it really helped. So, my question is, what is the correct and best way to obtain such a SUSE image, or are there any ways to get it from somewhere? Just for the record (as stated in the subject), I'm using KVM as hypervisor. Also, for anyone having experience with SUSE + ONE + KVM (I've seen that are a few of you here): could you provide me an example template for your configuration, that I could use a starting point for my configuration? It would really be a great help. Thank you very much, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] noVNC problems AND question about VM images [OpenNebula 3.2.0 on openSUSE]
Hello again, First of all, thank you for all your feedback and help so far, it's been immense! Also, Hector, you were right in the previous email, the monitoring info is now fine, after I started the oneacctd daemon (I simply forgot to restart it after some continuous reboots, stupid me). That single error message with the earlier timestamp is still there, but it doesn't seem to bother, so I guess it is not crucial. My current issue is the following: I managed to create a VM using the ttylinux image provided by you, and following the documentation at [1]. Everything went fine, the VM reached its running state, and I managed to passwordlessly ssh into it. However, I wanted to try the noVNC functionality, since I would probably use (at least) a graphical console to my VM's in the future. I installed noVNC with install_novnc.sh (succeeded), added the necessary GRAPHICS section to ttylinux.one template: GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] , and recreated the VM. As expected, the VNC icon turned active in Sunstone, however, clicking on it resulted in the following error message: WebSock error: Illegal basic compression received, ctl: 96 I'm not sure, but I guess I have to make some kind of VNC-related configurations on my host machine, but I didn't want to do anything drastic (and also, I have to leave the computers soon), until I ask for your opinions. The firewall on my host is disabled. Any suggestions about what shall I do? Also, and more importantly: my current set-up with the ttylinux VM went smoothly and without errors. However, in the future, I want to use VM's that use other images (preferably, a fresh openSUSE 12.1 -or 11.4- install image). And, it mind sound like a 'noob' question, but I'm not sure how exactly these image files are created, so that at the end I obtain something like an openSUSE_.img file. So, my question is, what should I do, in order to obtain the respective image file, that I would be able to use like the provided ttylinux.img file? Do I have to create it somehow, or are there other method to get/download it? I do have an installation DVD for both 11.4 and 12.1 versions, if it helps. Also, does the created VM need to have something specific installed / some specific configurations done BEFORE the VM deployment (I mean the way in which the image file is created), or any simple "fresh" (empty, basic) install image will do? Since my two main questions are unrelated, I would gladly accept any suggestions or opinions on any of them. Thank you, and have a great weekend, Lehel. [1] http://opennebula.org/documentation:rel3.2:vmg ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Hello, I managed to resolve the issues regarding the monitoring, by following the instructions at [1] (sections 7.1.1.1. and 7.1.1.2), and at [2] (the section regarding PolicyKit). Now, 'onehost show 6' results in the following (see below). As you can see, although the monitoring info returned the correct result, it still contains an error message, which is stuck there from an earlier time (the timestamp of the error message is not the actual time of the monitoring, it shows the timestamp of an earlier unsuccessful monitoring try). The oned.log contains no errors. Also, I suppose because of this error message (which also appears at the bottom of the "Host Template" tab, with my current Host selected in Sunstone), the "Monitoring Information" tab shows "There is no monitoring information for host 6" both at CPU and Memory info. Any idea how to work this around? Also, my initial socket problem (I copy the following from messages.log): Mar 9 10:10:57 pcls libvirtd[5603]: Starting libvirtd WARNING: no socket to connect to Mar 9 10:10:57 pcls libvirtd[5603]: ..done , still persist. This message also appears when trying to run anything related to 'virsh' on my host,, for ex: > virsh -c qemu:///system list WARNING: no socket to connect to Id Name State -- , and also, it appears when running run_probes on my host (although after the warning, it returns the correct information). It is kind of bothering me, and I could find the reason of it so far. It is also making it hard to trace the fact that besides this warning message, no errors messages are issued nowhere, and I couldn't trace it in the logs neither, so far. Any ideas what causes this socket warning? Please help. All the best, Lehel. > onehost show 6 HOST 6 INFORMATION ID : 6 NAME : pcls STATE : MONITORED IM_MAD : im_kvm VM_MAD : vmm_kvm VN_MAD : dummy TM_MAD : tm_shared LAST MONITORING TIME : 1331310160 HOST SHARES MAX MEM : 16446748 USED MEM (REAL) : 773580 USED MEM (ALLOCATED) : 0 MAX CPU : 400 USED CPU (REAL) : 42 USED CPU (ALLOCATED) : 0 MAX DISK : 0 USED DISK (REAL) : 0 USED DISK (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION ARCH=x86_64 CPUSPEED=1600 ERROR=[ MESSAGE="Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb ", TIMESTAMP="Fri Mar 9 12:12:32 2012" ] FREECPU=357.2 FREEMEMORY=15673168 HOSTNAME=pcls HYPERVISOR=kvm MODELNAME="Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz" NETRX=0 NETTX=0 TOTALCPU=400 TOTALMEMORY=16446748 USEDCPU=42.8 USEDMEMORY=773580 [1] http://doc.opensuse.org/documentation/html/openSUSE/opensuse-kvm/cha.libvirt.connect.html#sec.libvirt.connect.auth [2] http://en.opensuse.org/SDB:Cloud_OpenNebula#Setting_up_a_cloud_node --- On Fri, 3/9/12, biro lehel wrote: From: biro lehel Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: users@lists.opennebula.org Date: Friday, March 9, 2012, 1:00 PM Hi Ruben, I am using the OpenSUSE package (installed through YaST). Just to make sure that I did the configurations right (I'm sure I didn't): At (I quote from the documentation): "To be able to use the images copied by OpenNebula, change also the user and group under which the libvirtd is run to “oneadmin”", what exactly needs to be done? I am a Linux-noob (or at least, not at all an expert), so forget me this question, but how do I set the user and group under which a daemon is run? I have checked under which user is the libvirtd daemon is currently running, and indeed it is root (since I probably set it and put it in init.d as the root user). Also: "(typically ) has to pertain to the and groups in order to use the daemon and be able to launch VMs." What are the and groups? And how how do I achieve the necessary configuration? I did some configuration, but I just want to make sure that I'm not missing anything (which I probably do). Ruben? Anyone? Thank you, Lehel. --- On Fri, 3/9/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehe
Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Hi Ruben, I am using the OpenSUSE package (installed through YaST). Just to make sure that I did the configurations right (I'm sure I didn't): At (I quote from the documentation): "To be able to use the images copied by OpenNebula, change also the user and group under which the libvirtd is run to “oneadmin”", what exactly needs to be done? I am a Linux-noob (or at least, not at all an expert), so forget me this question, but how do I set the user and group under which a daemon is run? I have checked under which user is the libvirtd daemon is currently running, and indeed it is root (since I probably set it and put it in init.d as the root user). Also: "(typically ) has to pertain to the and groups in order to use the daemon and be able to launch VMs." What are the and groups? And how how do I achieve the necessary configuration? I did some configuration, but I just want to make sure that I'm not missing anything (which I probably do). Ruben? Anyone? Thank you, Lehel. --- On Fri, 3/9/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehel" Cc: users@lists.opennebula.org Date: Friday, March 9, 2012, 11:42 AM Hi It seems that a libvirt problem, either is not running at pcls or it is misconfigured. You have a couple of hints about configuring libvirt for KVM at [1]. My other concern is your permissions problem. Are you using the OpenSUSE package or installing from source? [1] http://www.opennebula.org/documentation:rel3.2:kvmg#configuration Thanks Ruben On Fri, Mar 9, 2012 at 7:58 AM, biro lehel wrote: Hello, I checked your suggestions, and although the scripts existed inside kvm.d, I didn't have execution permissions on them. I also run 'onehost sync'. However, now I get a monitoring error while running 'onehost show pcls', oned.log containing the following: Fri Mar 9 08:45:45 2012 [InM][I]: Monitoring host pcls (6) Fri Mar 9 08:45:50 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 6 pcls; else exit 42; fi' Fri Mar 9 08:45:50 2012 [InM][I]: WARNING: no socket to connect to Fri Mar 9 08:45:50 2012 [InM][I]: error: authentication failed: authentication failed Fri Mar 9 08:45:50 2012 [InM][I]: error: failed to connect to the hypervisor Fri Mar 9 08:45:50 2012 [InM][E]: Error executing kvm.rb Fri Mar 9 08:45:50 2012 [InM][I]: ExitCode: 255 Fri Mar 9 08:45:50 2012 [InM][E]: Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb On the other hand, running run_probes on pcls result in the same warning, but also outputs the expected data: # /var/tmp/one/im/run_probes kvm 6 pcls WARNING: no socket to connect to ARCH=x86_64 MODELNAME="Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz" HYPERVISOR=kvm TOTALCPU=400 CPUSPEED=3301 TOTALMEMORY=16446744 USEDMEMORY=724860 FREEMEMORY=15721884 FREECPU=381.6 USEDCPU=18.4 NETRX=0 NETTX=0 HOSTNAME=pcls I did check the documentation at [1], the only thing missing is that I didn't perform the following line: /etc/default/libvirt-bin : add -l option to libvirtd_opts , since I didn't have the mentioned file on my machine (I'm running OpenNebula 3.2.0 on an openSUSE 12.1 machine). I was curious, and I run 'virsh -c qemu' command, resulting in the following: # virsh -c qemu WARNING: no socket to connect to error: internal error unexpected Xen URI path 'qemu', try ///var/lib/xen/xend-socket error: failed to connect to the hypervisor Since I want to use KVM, and not Xen, as my hypervisor for OpenNebula, I smell a problem here. What am I missing? Any help? [1]: http://opennebula.org/documentation:rel3.2:kvmg --- On Thu, 3/8/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, March 8, 2012, 7:04 PM Yes, I mean the contents of the directory. run_probes, just executes the scripts in /var/tmp/one/im/kvm.d (in your case). The reason for no output of run_probes is an empty kvm.d. Could you check the contents of that directory (and execute any script there)? BTW run_probes is a very simple shell script (similar to run_parts) you may want to execute it with bash -xv /var/tmp/one/im/run_probes kvm 4 pcls On Thu, Mar 8, 2012 at 5:57 PM, biro lehel wrote: Hello Ruben, as I mentioned at the bottom of my previous email, I already run /var/tmp/one/im/run_probes with the necessary parameters on pcls (my only host), which resulted in the same (empty) output. The file exists, it just doesn't produce the expected (or any) output, and
Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Hello, I checked your suggestions, and although the scripts existed inside kvm.d, I didn't have execution permissions on them. I also run 'onehost sync'. However, now I get a monitoring error while running 'onehost show pcls', oned.log containing the following: Fri Mar 9 08:45:45 2012 [InM][I]: Monitoring host pcls (6) Fri Mar 9 08:45:50 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 6 pcls; else exit 42; fi' Fri Mar 9 08:45:50 2012 [InM][I]: WARNING: no socket to connect to Fri Mar 9 08:45:50 2012 [InM][I]: error: authentication failed: authentication failed Fri Mar 9 08:45:50 2012 [InM][I]: error: failed to connect to the hypervisor Fri Mar 9 08:45:50 2012 [InM][E]: Error executing kvm.rb Fri Mar 9 08:45:50 2012 [InM][I]: ExitCode: 255 Fri Mar 9 08:45:50 2012 [InM][E]: Error monitoring host 6 : MONITOR FAILURE 6 Error executing kvm.rb On the other hand, running run_probes on pcls result in the same warning, but also outputs the expected data: # /var/tmp/one/im/run_probes kvm 6 pcls WARNING: no socket to connect to ARCH=x86_64 MODELNAME="Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz" HYPERVISOR=kvm TOTALCPU=400 CPUSPEED=3301 TOTALMEMORY=16446744 USEDMEMORY=724860 FREEMEMORY=15721884 FREECPU=381.6 USEDCPU=18.4 NETRX=0 NETTX=0 HOSTNAME=pcls I did check the documentation at [1], the only thing missing is that I didn't perform the following line: /etc/default/libvirt-bin : add -l option to libvirtd_opts , since I didn't have the mentioned file on my machine (I'm running OpenNebula 3.2.0 on an openSUSE 12.1 machine). I was curious, and I run 'virsh -c qemu' command, resulting in the following: # virsh -c qemu WARNING: no socket to connect to error: internal error unexpected Xen URI path 'qemu', try ///var/lib/xen/xend-socket error: failed to connect to the hypervisor Since I want to use KVM, and not Xen, as my hypervisor for OpenNebula, I smell a problem here. What am I missing? Any help? [1]: http://opennebula.org/documentation:rel3.2:kvmg --- On Thu, 3/8/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, March 8, 2012, 7:04 PM Yes, I mean the contents of the directory. run_probes, just executes the scripts in /var/tmp/one/im/kvm.d (in your case). The reason for no output of run_probes is an empty kvm.d. Could you check the contents of that directory (and execute any script there)? BTW run_probes is a very simple shell script (similar to run_parts) you may want to execute it with bash -xv /var/tmp/one/im/run_probes kvm 4 pcls On Thu, Mar 8, 2012 at 5:57 PM, biro lehel wrote: Hello Ruben, as I mentioned at the bottom of my previous email, I already run /var/tmp/one/im/run_probes with the necessary parameters on pcls (my only host), which resulted in the same (empty) output. The file exists, it just doesn't produce the expected (or any) output, and I couldn't find the reason so far. I didn't try 'onehost sync', but I could try tomorrow morning (since I got home already, and I'm not at the respective computers), if you consider that it might help. Any other suggestions? Cheers, Lehel. --- On Thu, 3/8/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, March 8, 2012, 6:17 PM Hi, Could you please check the contents of /var/tmp/one/im/ at pcls? It seems that there are no probes there. If that's the case you can copy them by hand or use onehost sync and wait for a monitoring action on the host. Cheers Ruben On Thu, Mar 8, 2012 at 4:25 PM, biro lehel wrote: Hello, I tried to add my one and only host, by executing on the front-end: > onehost create pcls im_kvm vmm_kvm tm_shared dummy Issuing the 'onehost list' command, the result seems to be the one expected. However, issuing 'onehost show pcls' command results in zero values and NO monitoring information: oneadmin@linux-4dsu:~/remotes/im> onehost show pcls HOST 6 INFORMATION ID : 6 NAME : pcls STATE : MONITORED IM_MAD : im_kvm VM_MAD : vmm_kvm VN_MAD : dummy TM_MAD : tm_shared LAST MONITORING TIME : 1331219173 HOST SHARES
Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Hello Ruben, as I mentioned at the bottom of my previous email, I already run /var/tmp/one/im/run_probes with the necessary parameters on pcls (my only host), which resulted in the same (empty) output. The file exists, it just doesn't produce the expected (or any) output, and I couldn't find the reason so far. I didn't try 'onehost sync', but I could try tomorrow morning (since I got home already, and I'm not at the respective computers), if you consider that it might help. Any other suggestions? Cheers, Lehel. --- On Thu, 3/8/12, Ruben S. Montero wrote: From: Ruben S. Montero Subject: Re: [one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0] To: "biro lehel" Cc: users@lists.opennebula.org Date: Thursday, March 8, 2012, 6:17 PM Hi, Could you please check the contents of /var/tmp/one/im/ at pcls? It seems that there are no probes there. If that's the case you can copy them by hand or use onehost sync and wait for a monitoring action on the host. Cheers Ruben On Thu, Mar 8, 2012 at 4:25 PM, biro lehel wrote: Hello, I tried to add my one and only host, by executing on the front-end: > onehost create pcls im_kvm vmm_kvm tm_shared dummy Issuing the 'onehost list' command, the result seems to be the one expected. However, issuing 'onehost show pcls' command results in zero values and NO monitoring information: oneadmin@linux-4dsu:~/remotes/im> onehost show pcls HOST 6 INFORMATION ID : 6 NAME : pcls STATE : MONITORED IM_MAD : im_kvm VM_MAD : vmm_kvm VN_MAD : dummy TM_MAD : tm_shared LAST MONITORING TIME : 1331219173 HOST SHARES MAX MEM : 0 USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 0 MAX CPU : 0 USED CPU (REAL) : 0 USED CPU (ALLOCATED) : 0 MAX DISK : 0 USED DISK (REAL) : 0 USED DISK (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION (the report ends here, without monitoring information). I had some errors before, oned.log having: Thu Mar 8 15:49:03 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 4 pcls; else exit 42; fi' Thu Mar 8 15:49:03 2012 [InM][I]: ExitCode: 42 Thu Mar 8 15:49:03 2012 [InM][E]: Error monitoring host 4 : MONITOR FAILURE 4 - However, I fixed this by simply adding execution permission to the run_probes file mentioned above (since, it didn't have one). At this moment, oned.log contains no errors (to be precise, it says, Thu Mar 8 17:16:12 2012 [ReM][D]: HostPoolInfo method invoked Thu Mar 8 17:16:12 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Mar 8 17:16:12 2012 [ReM][D]: AclInfo method invoked Thu Mar 8 17:16:13 2012 [InM][I]: Monitoring host pcls (6) Thu Mar 8 17:16:18 2012 [InM][I]: ExitCode: 0 Thu Mar 8 17:16:18 2012 [InM][D]: Host 6 successfully monitored. Thu Mar 8 17:16:19 2012 [ReM][D]: UserPoolInfo method invoked Thu Mar 8 17:16:19 2012 [AuM][D]: Message received: LOG I 874 ExitCode: 0 ). Firing the respective command on the host ( /var/tmp/one/im/run_probes kvm 4 pcls ) also results in no output and no errors (it simply puts a space on a new line in the CLI). I don't think that this is the expected behavior and I think that there is a problem somewhere. What am I missing? Any suggestions? Thanks, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Monitoring issue right after host creation [No Monitoring Information | OpenNebula 3.2.0]
Hello, I tried to add my one and only host, by executing on the front-end: > onehost create pcls im_kvm vmm_kvm tm_shared dummy Issuing the 'onehost list' command, the result seems to be the one expected. However, issuing 'onehost show pcls' command results in zero values and NO monitoring information: oneadmin@linux-4dsu:~/remotes/im> onehost show pcls HOST 6 INFORMATION ID : 6 NAME : pcls STATE : MONITORED IM_MAD : im_kvm VM_MAD : vmm_kvm VN_MAD : dummy TM_MAD : tm_shared LAST MONITORING TIME : 1331219173 HOST SHARES MAX MEM : 0 USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 0 MAX CPU : 0 USED CPU (REAL) : 0 USED CPU (ALLOCATED) : 0 MAX DISK : 0 USED DISK (REAL) : 0 USED DISK (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION (the report ends here, without monitoring information). I had some errors before, oned.log having: Thu Mar 8 15:49:03 2012 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes kvm 4 pcls; else exit 42; fi' Thu Mar 8 15:49:03 2012 [InM][I]: ExitCode: 42 Thu Mar 8 15:49:03 2012 [InM][E]: Error monitoring host 4 : MONITOR FAILURE 4 - However, I fixed this by simply adding execution permission to the run_probes file mentioned above (since, it didn't have one). At this moment, oned.log contains no errors (to be precise, it says, Thu Mar 8 17:16:12 2012 [ReM][D]: HostPoolInfo method invoked Thu Mar 8 17:16:12 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Mar 8 17:16:12 2012 [ReM][D]: AclInfo method invoked Thu Mar 8 17:16:13 2012 [InM][I]: Monitoring host pcls (6) Thu Mar 8 17:16:18 2012 [InM][I]: ExitCode: 0 Thu Mar 8 17:16:18 2012 [InM][D]: Host 6 successfully monitored. Thu Mar 8 17:16:19 2012 [ReM][D]: UserPoolInfo method invoked Thu Mar 8 17:16:19 2012 [AuM][D]: Message received: LOG I 874 ExitCode: 0 ). Firing the respective command on the host ( /var/tmp/one/im/run_probes kvm 4 pcls ) also results in no output and no errors (it simply puts a space on a new line in the CLI). I don't think that this is the expected behavior and I think that there is a problem somewhere. What am I missing? Any suggestions? Thanks, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can't log onto Sunstone [OpenNebula 3.2.0, OpenSUSE 11.4]
Indeed, the root of all problems was that /var/lib/one/remotes/auth/server_cipher/authenticate had no execution permissions. I managed to log on now into Sunstone without problems. Thank you Daniel. But since this is a file created by OpenNebula, shouldn't this behavior be assured by default? Or at least mentioned somewhere in the documentation? Or is it an issue with my system? (it's the first time I extensively use openSUSE or any other Linux distribution) This last question leads to a more important one: if I had this (seemingly strange) issue, is it possible that I will have problems caused by similar reasons in the future? What should I check? Thank you, Lehel. --- On Wed, 3/7/12, Daniel Molina wrote: From: Daniel Molina Subject: Re: [one-users] Can't log onto Sunstone [OpenNebula 3.2.0, OpenSUSE 11.4] To: "biro lehel" Cc: users@lists.opennebula.org Date: Wednesday, March 7, 2012, 4:49 PM Hi, On 6 March 2012 15:22, biro lehel wrote: > > Hello, > > I still couldn't fix my problem to log onto Sunstone, as I keep getting the > "OpenNebula is not running" error. > > The relevant part of oned.log: > > Tue Mar 6 16:11:02 2012 [ReM][D]: UserPoolInfo method invoked > Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 Command > execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate > 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' > ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk > > Tue Mar 6 16:11:02 2012 [AuM][I]: Command execution fail: > /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' > '33f166cddc4d8f9ffe2102cea013ff23a286bc58' > ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk > Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 sh: > /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied > > Tue Mar 6 16:11:02 2012 [AuM][I]: sh: > /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied > Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 ExitCode: 126 > > Tue Mar 6 16:11:02 2012 [AuM][I]: ExitCode: 126 > Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 2 - > > Tue Mar 6 16:11:02 2012 [AuM][E]: Auth Error: > Tue Mar 6 16:11:02 2012 [ReM][E]: [UserPoolInfo] User couldn't be > authenticated, aborting call. > Tue Mar 6 16:11:09 2012 [VMM][I]: --Mark-- > Tue Mar 6 16:11:09 2012 [InM][I]: --Mark-- > Tue Mar 6 16:11:09 2012 [ReM][D]: HostPoolInfo method invoked > Tue Mar 6 16:11:09 2012 [ReM][D]: VirtualMachinePoolInfo method invoked > Tue Mar 6 16:11:09 2012 [ReM][D]: AclInfo method invoked > > My questions: In your log there is a "Permission denied" error on /var/lib/one/remotes/auth/server_cipher/authenticate. Can you check if the user running oned has execution permissions on this file? > > > * Who is "serveradmin"? It's the first time I see such a username; serveradmin is a user used by the servers (EC2, OCCI, Sunstone...) to authenticate on behalf of other users. You should not authenticate with this user or change its password, it is a user used by the system. You can find the credentials for this user in the following files for each server $ ls $ONE_LOCATION/var/.one/ ec2_auth occi_auth sunstone_auth The content of these files should be: serveradmin:passinplain So if you changed the serveradmin password using the CLI, oneuser passwd serveradmin newpassword you have to update those files as follows: $ cat sunstone_auth serveradmin:newpassword > > * Shouldn't I be logging in with "oneadmin" user, and it's system password > (the password with which I normally log into my system)? You have to log in with oneadmin or a different cloud user, but you never have to use the serveradmin user. Cheers -- 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
[one-users] Can't log onto Sunstone [OpenNebula 3.2.0, OpenSUSE 11.4]
Hello, I still couldn't fix my problem to log onto Sunstone, as I keep getting the "OpenNebula is not running" error. The relevant part of oned.log: Tue Mar 6 16:11:02 2012 [ReM][D]: UserPoolInfo method invoked Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk Tue Mar 6 16:11:02 2012 [AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgdA5mF3S5R4q/sGkbnHvP9JqTNoUXw8LkewWOwILQLfk Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Tue Mar 6 16:11:02 2012 [AuM][I]: sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: LOG I 2 ExitCode: 126 Tue Mar 6 16:11:02 2012 [AuM][I]: ExitCode: 126 Tue Mar 6 16:11:02 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 2 - Tue Mar 6 16:11:02 2012 [AuM][E]: Auth Error: Tue Mar 6 16:11:02 2012 [ReM][E]: [UserPoolInfo] User couldn't be authenticated, aborting call. Tue Mar 6 16:11:09 2012 [VMM][I]: --Mark-- Tue Mar 6 16:11:09 2012 [InM][I]: --Mark-- Tue Mar 6 16:11:09 2012 [ReM][D]: HostPoolInfo method invoked Tue Mar 6 16:11:09 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Tue Mar 6 16:11:09 2012 [ReM][D]: AclInfo method invoked My questions: * Who is "serveradmin"? It's the first time I see such a username; * Shouldn't I be logging in with "oneadmin" user, and it's system password (the password with which I normally log into my system)? * I found the encrypted passwords in one.db (two users are present, "oneadmin" and "serveradmin") Is there anything to do with them? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Version 3.2.0 + MySQL problems
Hello Jaime, Thank you very much for your answer. I performed your suggestions, and changed back the DB backend to SQLite (also, checked the executing permissions you have mentioned). However, my initial problem still exists. I can't log on with oneadmin's user and password to the main Sunstone interface (I get the "OpenNebula is not running" error each time, written in red above the log-in box, although oned daemon is started). I checked one.db , to see what password is set for oneadmin, but I couldn't find any password field. Any suggestions what should I do? I attach the contents of oned.log (I just noticed that error related to port 2633, it's the first time it appears here): Mon Mar 5 17:54:44 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Mon Mar 5 17:54:44 2012 [ONE][I]: Checking database version. Mon Mar 5 17:54:44 2012 [VMM][I]: Starting Virtual Machine Manager... Mon Mar 5 17:54:44 2012 [VMM][I]: Virtual Machine Manager started. Mon Mar 5 17:54:44 2012 [LCM][I]: Starting Life-cycle Manager... Mon Mar 5 17:54:44 2012 [LCM][I]: Life-cycle Manager started. Mon Mar 5 17:54:44 2012 [InM][I]: Starting Information Manager... Mon Mar 5 17:54:44 2012 [InM][I]: Information Manager started. Mon Mar 5 17:54:44 2012 [TrM][I]: Starting Transfer Manager... Mon Mar 5 17:54:44 2012 [TrM][I]: Transfer Manager started. Mon Mar 5 17:54:44 2012 [DiM][I]: Starting Dispatch Manager... Mon Mar 5 17:54:44 2012 [DiM][I]: Dispatch Manager started. Mon Mar 5 17:54:44 2012 [HKM][I]: Starting Hook Manager... Mon Mar 5 17:54:44 2012 [HKM][I]: Hook Manager started. Mon Mar 5 17:54:44 2012 [AuM][I]: Starting Auth Manager... Mon Mar 5 17:54:44 2012 [AuM][I]: Authorization Manager started. Mon Mar 5 17:54:44 2012 [ImM][I]: Starting Image Manager... Mon Mar 5 17:54:44 2012 [ImM][I]: Image Manager started. Mon Mar 5 17:54:44 2012 [ReM][I]: Starting Request Manager... Mon Mar 5 17:54:44 2012 [ReM][E]: Can not bind to port 2633 : Address already in use Mon Mar 5 17:54:46 2012 [ReM][D]: HostPoolInfo method invoked Mon Mar 5 17:54:47 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Mar 5 17:54:47 2012 [ReM][D]: AclInfo method invoked Mon Mar 5 17:54:53 2012 [ReM][D]: UserPoolInfo method invoked Mon Mar 5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgTY3Fq4cD5iJZ+6B6Xie1WXlXrbZS7XwYD4bj52XHzI4 Mon Mar 5 17:54:53 2012 [AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgTY3Fq4cD5iJZ+6B6Xie1WXlXrbZS7XwYD4bj52XHzI4 Mon Mar 5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Mon Mar 5 17:54:53 2012 [AuM][I]: sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Mon Mar 5 17:54:53 2012 [AuM][D]: Message received: LOG I 9 ExitCode: 126 Mon Mar 5 17:54:53 2012 [AuM][I]: ExitCode: 126 Mon Mar 5 17:54:53 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 9 - Mon Mar 5 17:54:53 2012 [AuM][E]: Auth Error: Mon Mar 5 17:54:53 2012 [ReM][E]: [UserPoolInfo] User couldn't be authenticated, aborting call. --- On Mon, 3/5/12, Jaime Melis wrote: From: Jaime Melis Subject: Re: [one-users] Version 3.2.0 + MySQL problems To: "biro lehel" Cc: users@lists.opennebula.org Date: Monday, March 5, 2012, 12:36 PM Hello Lehel, if it's not critical to you to have mysql support as you said in your email, you can always create a symlink where the target is somewhere outside of the NFS export, like /var/tmp/one.db and pointing to /var/lib/one/one.db: ln -s /var/tmp/one.db /var/lib/one/one.db After that OpenNebula will work correctly with a SQLite backend. If this doesn't fix your problems, try logging in as oneadmin and check that you can write and execute under /var/lib/one/ Regards,Jaime On Sat, Mar 3, 2012 at 5:17 PM, biro lehel wrote: Hello, I have an issue about using OpenNebula with MySQL. I have downloaded and installed version 3.2.0 using YaST on an openSUSE machine. The root of all my problems was when trying to log in the main Sunstone window, (with oneadmin user and password), i got the following error: "OpenNebula is not running". So I checked if the daemon was running (it was), and then I digged deeper into it, and found out that is probably a database issue. I have followed the instructions at [1], although it is probably a problem that I've only made the necessary changes in oned.conf AFTER running first-time the oned daemon. Now, at my one.db file (I wanted to check what password is set for oneadmin user) it says that: "It is an SQLite file created using other too
[one-users] Version 3.2.0 + MySQL problems
Hello, I have an issue about using OpenNebula with MySQL. I have downloaded and installed version 3.2.0 using YaST on an openSUSE machine. The root of all my problems was when trying to log in the main Sunstone window, (with oneadmin user and password), i got the following error: "OpenNebula is not running". So I checked if the daemon was running (it was), and then I digged deeper into it, and found out that is probably a database issue. I have followed the instructions at [1], although it is probably a problem that I've only made the necessary changes in oned.conf AFTER running first-time the oned daemon. Now, at my one.db file (I wanted to check what password is set for oneadmin user) it says that: p, li { white-space: pre-wrap; } "It is an SQLite file created using other tools", and I can't open it. Also, running oned start (when the backend at oned.conf is set to MySQL) results in the following: ~> oned start ~> #Aborting oned, MySQL support not compiled! (although I CAN run onevm list, which is kinda odd to me.) IMPORTANT NOTE: I only wanted to use MySQL as backend because I use my (only) host machine as the NFS server (sharing /var/lib/one), and the front-end acts as the NFS client, and the documentation said that using SQLite in this case can cause problems. My question: is it such a very important matter, that I wont be able to work with my host as the NFS server + SQLite as the backend? I'm using OpenNebula only on a small infrastructure, for a faculty research project. oned.log contains the following: Sat Mar 3 18:08:35 2012 [ONE][I]: Log level:3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Sat Mar 3 18:08:56 2012 [ReM][D]: HostPoolInfo method invoked Sat Mar 3 18:08:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Sat Mar 3 18:08:56 2012 [ReM][D]: AclInfo method invoked Sat Mar 3 18:09:26 2012 [ReM][D]: HostPoolInfo method invoked Sat Mar 3 18:09:26 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Sat Mar 3 18:09:26 2012 [ReM][D]: AclInfo method invoked Sat Mar 3 18:09:56 2012 [ReM][D]: HostPoolInfo method invoked Sat Mar 3 18:09:56 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Sat Mar 3 18:09:56 2012 [ReM][D]: AclInfo method invoked Sat Mar 3 18:09:58 2012 [InM][I]: --Mark-- Sat Mar 3 18:09:58 2012 [VMM][I]: --Mark-- Sat Mar 3 18:10:18 2012 [ReM][D]: UserPoolInfo method invoked Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8 Sat Mar 3 18:10:18 2012 [AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8 Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Sat Mar 3 18:10:18 2012 [AuM][I]: sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: LOG I 6 ExitCode: 126 Sat Mar 3 18:10:18 2012 [AuM][I]: ExitCode: 126 Sat Mar 3 18:10:18 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 6 - Sat Mar 3 18:10:18 2012 [AuM][E]: Auth Error: Sat Mar 3 18:10:18 2012 [ReM][E]: [UserPoolInfo] User couldn't be authenticated, aborting call. Sat Mar 3 18:10:19 2012 [ReM][D]: UserPoolInfo method invoked Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8 Sat Mar 3 18:10:20 2012 [AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate 'serveradmin' '33f166cddc4d8f9ffe2102cea013ff23a286bc58' ukbtkaYnnWypvN2hqaDZgb4qLOVbPVRjak9+onOYBXNlgi3SJWOPbbH1lYKz7hG8 Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Sat Mar 3 18:10:20 2012 [AuM][I]: sh: /var/lib/one/remotes/auth/server_cipher/authenticate: Permission denied Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: LOG I 7 ExitCode: 126 Sat Mar 3 18:10:20 2012 [AuM][I]: ExitCode: 126 Sat Mar 3 18:10:20 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE 7 - Sat Mar 3 18:10:20 2012 [AuM][E]: Auth Error: Sat Mar 3 18:10:20 2012 [ReM][E]: [UserPoolInfo] User couldn't be authenticated, aborting call. I'm new to OpenNebula, so any help is much appreciated. Thank you [1] http://opennebula.org/documentation:rel3.2:mysql ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] application integration (service publishing) in OpenNebula?
Hello Fabian. Thanks again for your reply. I really appreciate you for taking the time. I read what you wrote a couple of times, and (I think) it helped me to clarify some things. But still, I have a few questions and issues for which I am looking for a clear answer. I put them in bullets: As I understand so far, OpenNebula has two types of users: the administrator, who basically has control over "everything", and the users, who can authenticate securely, instantiate some VM's, and do the work necessary for them. My question: can OpenNebula have another "layer" of users, some kind of "end-users"? What I mean is: suppose I, as a user of OpenNebula, using my created VM's, create a Web Service, which I publish on the Internet. Can anyone access this (someone who has no idea about the private cloud, someone who is simply accessing the URL), and by this way uses my Web Service (created on the VM's by the means of OpenNebula), so, basically, uses OpenNebula "remotely" (without knowing it)? Or this just doesn't make sense, since the whole idea of a private cloud is not to provide/publish information and services to the outside world, and this is not even possible since the virtual context?Are the most important reasons for installing OpenNebula the performance needs? Is there any other reason because of which I may want to install it, besides the fact that I might need multiple VM's (that I can manage) to perform a task (and to achieve platform interoperability)? I mean this has be the main point of it, right?When the load reaches its maximum (on a task which a user tries to perform on OpenNebula VM's), are new VM's created automatically (it the physical resources allow this) to support the performace needs? Or the only way of creating VM's is the "manual" one?Can OpenNebula be installed on any type of physical network, or does it have some special needs? Suppose I have an intranet in a company environment, with more interconnected physical machine that I'm actually going to use, does this change anything? Do I have to set up a separate physical network for the physical machines that I'm planning to include in the private cloud? That's it for now, I don't want to ask for too much information all at once.:) I really hope that these questions are easy-to-answer for a professional, and will not take much time (for you Fabian, or for anyone else who thinks that can help me). Thank you, and waiting for your response, Biro Lehel. --- On Sun, 12/11/11, Fabian Wenk wrote: From: Fabian Wenk Subject: Re: [one-users] application integration (service publishing) in OpenNebula? To: users@lists.opennebula.org Date: Sunday, December 11, 2011, 7:04 PM Hello Lehel On 11.12.2011 14:33, biro lehel wrote: > what I've been referring to. I will have OpenNebula set up, > and (as common sense would tell) I will have my application > installed on the created VM's. My question only referred to: > how can I install an application on these VM's (should I only > just copy it, or is it more complex than this), or stuff like: Look at the VM like at any other physical computer. It is just a container (eg. a virtual computer) where you can install the OS of your choice. The installation of your application inside the OS of your VM needs to be done the same as you would do it on a physical computer. But the installation of the OS in the VM needs to be done first. See my recent posting "Re: Creating virtual machines from scratch" [1] to this mailing list. [1] http://lists.opennebula.org/pipermail/users-opennebula.org/2011-December/007156.html Look at an OpenNeubla cluster / cloud like on an additional abstraction layer between a physical computer and your OS installation. An example: If you have 3 computers, you can install on each one the OS of your choice and run it, but then you have only 3 concurrent running OS installation available. With OpenNebula you need to install Linux on all 3 computers (1x front-end and 2x cluster nodes). The cluster nodes also need to support some kind of hypervisor (eg. KVM or XEN). Then you install OpenNebula on the front-end and then adjust the configuration for the shared file systems to be used by the cluster nodes. Then you can create VMs (virtual machines / virtual computers) and deploy them through the front-end (with Sunstone you also have a web GUI). Now you can create as many VMs as the two cluster nodes can support (depending on CPU power an available memory). You even can stop or terminate VMs and reuse them (with persistent image) at a later time. > can the different tiers of the application (interface, > business logic, and data repository) be on different VM's, but Sure, they can. > most importantly: how can an end-user (not the administrator, > but a potencial cli
Re: [one-users] application integration (service publishing) in OpenNebula?
Hello again. Does this application which you would like to offer to clients already exist, or is this something you are developing? As far as I understand it, you would like to create something like Google Apps and then offer it to potential customers, right? Yes, it is something that we're developing. And we are looking for a way for it to be "publishable" (if there are some special settings or criteria for such an application to be run inside the cloud). It will not be a business solution though, we are only doing some experimental research.Not directly, but through the setup with pre-installed VMs which could be started on an as needed basis. But in this VMs your "(cloud) application" needs to be installed and able to run. This is what I've been referring to. I will have OpenNebula set up, and (as common sense would tell) I will have my application installed on the created VM's. My question only referred to: how can I install an application on these VM's (should I only just copy it, or is it more complex than this), or stuff like: can the different tiers of the application (interface, business logic, and data repository) be on different VM's, but most importantly: how can an end-user (not the administrator, but a potencial client) use the application? Or there is no such thing as the "end-user / client" concept in OpenNebula, since the only user is the administrator who has control over the infrastructure? If OpenNebula provides IaaS support, I suppose this means that he does not have control over the application only as a service, but rather he, as the admin, has control over the whole "physical" application? Thanks, Lehel ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] application integration (service publishing) in OpenNebula?
Hello Fabian. First of all, thanks for your answer. So, are you telling me, that there is no way for an application to exploit the advantages of OpenNebula? What is the use of it then? :) Basically, all I want to do is the following: when I will have OpenNebula set up and running (on a small scale), I will try to experiment and exemplify its benefits, by the means of an application that uses the private cloud. Tests, performance benefits, see how the nodes communicate, etc. But I don't understand exactly how a web application (for instance) is made and written such that it can use OpenNebula, it can exploit the benefits of the running VM's, so that it can be more performant. How is this whole integration done? How can an application make use of OpenNebula? Couldn't it be "published" somehow, such that its final users (clients) could use it as a service (through OpenNebula), in a way that is totally transparent to them? I think what I'm referring to is exactly this "communication with the outside world" that you were writing about. I hope I will get some enlightening. Thank you, Lehel. --- On Sat, 12/10/11, Fabian Wenk wrote: From: Fabian Wenk Subject: Re: [one-users] application integration (service publishing) in OpenNebula? To: users@lists.opennebula.org Date: Saturday, December 10, 2011, 10:52 PM Hello Lehel On 10.12.2011 20:06, biro lehel wrote: > My question is the following: I have a three-tier (interface, > business logic, data logic) web application, which I want to > integrate in OpenNebula (that is, to publish it as a service). > How can I accomplish this? Also, can I publish it as a service > only, or as a whole application, too? Can I pulbish only its > interface? Or what are the other existing possibilities in > which the users of the cloud can "see" my application (if > there are any), I mean, what possible control can they have > over it? Also, what needs to be done on each node to > accomplish my goal? I am not sure, but I guess you did eventually misunderstand what OpenNebula does provide. With OpenNebula you will get a framework on which you can run virtual machines (VMs). You will need to create this VM systems yourself and then deploy it on the OpenNebula Cloud. The network configuration can be done very flexible, eg. when using VLAN you could have several network segments on your cluster node, and those through the bridged interfaces also on the running VMs. Access to the outside world only depends on your network setup. Hope this information help. bye Fabian bye Fabian ___ 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] application integration (service publishing) in OpenNebula?
Hello. Suppose I have successfully set up a private cloud using OpenNebula. It is only an experimental approach, so I only have 3 phyisical machines: a main node and two cluster (worker) nodes. My question is the following: I have a three-tier (interface, business logic, data logic) web application, which I want to integrate in OpenNebula (that is, to publish it as a service). How can I accomplish this? Also, can I publish it as a service only, or as a whole application, too? Can I pulbish only its interface? Or what are the other existing possibilities in which the users of the cloud can "see" my application (if there are any), I mean, what possible control can they have over it? Also, what needs to be done on each node to accomplish my goal? Thank you very much for your answers, Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] installing OpenNebula: system requirements?
Hello everyone! I'm new here, but hopefully will try to be a regular member in the next few months. To start with, I have a very simple question: what are the system requirement for a machine on which I'm trying to install OpenNebula? Since I will be working in partnership with an IT company on my project, they need to know the parameters of the machine I'm going to work on (including OS, CPU performance, memory, all necessary software, etc.) This information was not specified on the official website, that's why I'm trying here. Also, do I need further physical machines (worker nodes), in order to experiment with OpenNebula, or could I just install several VM's on the already existing (main, cluster) node? I need to know how many physical PC's I need. In the starting phase, I only need to experiment with the cloud, and see what and how happens, possibly through integrating a simple appication (so you don't have to think of very complex stuff). I think these questions are really simple to answer if you have basic knowledge in the domain, so hopefully someone will be helpful enough to provide me with an answer. Thank you in advance. Hope you all have a good day, Biro Lehel. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org