[one-users] onecluster creation problem
Hi, Since I was problem with manual install , I went system wide install (apt-get install opennebula ),. Its installed properly and I cloud see the proper file structure . I cloud create the host using #onehost create host01 im_kvm vmm_kvm tm_nfs # onehost list HID NAME RVM TCPU FCPU ACPUTMEMFMEM STAT 5 host2 0 0100 on -- here nothing is allocated for the RVM TCPU FCPU ... after this I tried to do the SSH #sudo -u oneadmin ssh host2 ssh: Could not resolve hostname host2: Name or service not known ( Why this problem is coming ) and also I could not run the command *onecluster* it gives the following error /usr/bin/onecluster:133:in `initialize': wrong number of arguments (1 for 0) (ArgumentError) from /usr/bin/onecluster:133:in `new' from /usr/bin/onecluster:133 pls help to fix this problem,.. i'm really struggling to solve this .. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] unable to start opennebula
Hi, Did you set up your env. variables? http://opennebula.org/documentation:rel2.2:cg#opennebula_users Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On Mon, Jul 4, 2011 at 7:01 AM, bharath pb bharatha...@gmail.com wrote: Hi, I have installed the opennebula in self contanied mode. after installed I cloud see the files but when I run one start it shows the error The program 'one' is currently not installed. pls help to solve this ___ 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] Yet another problem with connecting to ttylinux via ssh
Hi Adnan, Reviewing the ouput you sent us a while back I've just realized that 'eth0' is not attached to 'virbr0'. Try doing brctl addif virbr0 eth0 and deploying the VM again. Regards, Jaime On Mon, Jun 6, 2011 at 12:14 PM, Adnan Pasic pa...@informatik.uni-wuerzburg.de wrote: Hi, sorry for the late response! Here are the config-infos you wanted: nebula@nebula2:~$ brctl show bridge name bridge id STP enabled interfaces virbr0 8000.fe00c0a80005 yes vnet0 nebula@nebula2:~$ netstat -nr Kernel-IP-Routentabelle ZielRouter Genmask Flags MSS Fenster irtt Iface 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0 0.0.0.0 192.168.0.1 0.0.0.0 UG0 0 0 eth0 Any idea? I would like my VM to have the IP from the same subnet as the original PC... Regards On Wed, 1 Jun 2011 17:45:26 +0200, Javier Fontan wrote: Can you send us the configuration of bridges and routes from your physical host? brctl show netstat -nr On Tue, May 31, 2011 at 3:18 PM, Adnan Pasic pq...@yahoo.de wrote: OK, the problem with the vncviewer was yet another beginners' mistake. I am now able to log into the ttylinux-VM and perform a ifconfig. Here's what I get: eth0 Link encap:Ethernet Hardware Adresse 02:00:C0:A8:00:05 inet Adresse:192.168.0.5 Bcast:192.168.0.255 Maske:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:321 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:0 (0.0 B) TX bytes:19260 (18.8 KB) Interrupt:11 Basisadresse: 0xc100 loLink encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metrik:1 RX packets:320 errors:0 dropped:0 overruns:0 frame:0 TX packets:320 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:35840 (35.0 KB) TX bytes:35840 (35.0 KB) And still I can't ping whether the host PC (192.168.0.3), nor the ONE-frontend (192.168.0.1). Obviously it's some kind of virtual-network configuration issue. However, strangely the migration and suspend/resume etc. are working, but only the ping won't do! __**__ Von: Adnan Pasic pq...@yahoo.de An: users@lists.opennebula.org users@lists.opennebula.org Gesendet: 12:13 Dienstag, 31.Mai 2011 Betreff: [one-users] Yet another problem with connecting to ttylinux via ssh Hello, I've been trying to enter my ttylinux-VM from the tutorial, but somehow the connection just cant be established. Every time I get a no route to host error, when I try the various IP's. First of all, here are my ifconfig data, after the VM has been created: eth0 Link encap:Ethernet Hardware Adresse 00:19:99:03:b0:3e inet Adresse:192.168.0.3 Bcast:192.168.0.255 Maske:255.255.255.0 inet6-Adresse: fe80::219:99ff:fe03:b03e/64 Gültigkeitsbereich:Verbindng UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:21659 errors:0 dropped:0 overruns:0 frame:0 TX packets:10582 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:1000 RX bytes:31304320 (31.3 MB) TX bytes:776923 (776.9 KB) Interrupt:17 loLink encap:Lokale Schleife inet Adresse:127.0.0.1 Maske:255.0.0.0 inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine UP LOOPBACK RUNNING MTU:16436 Metrik:1 RX packets:70 errors:0 dropped:0 overruns:0 frame:0 TX packets:70 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:5584 (5.5 KB) TX bytes:5584 (5.5 KB) virbr0Link encap:Ethernet Hardware Adresse fe:00:c0:a8:00:06 inet Adresse:192.168.122.1 Bcast:192.168.122.255 Maske:255.255.255.0 inet6-Adresse: fe80::a8e2:ff:fe60:a424/64 Gültigkeitsbereich:Verbindugn UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0 Sendewarteschlangenlänge:0 RX bytes:230 (230.0 B) TX bytes:5750 (5.7 KB) vnet0 Link encap:Ethernet Hardware Adresse fe:00:c0:a8:00:06 inet6-Adresse: fe80::fc00:c0ff:fea8:6/64 Gültigkeitsbereich:Verbindun ** UP BROADCAST RUNNING MULTICAST MTU:1500 Metrik:1 RX packets:5 errors:0 dropped:0 overruns:0 frame:0 TX packets:17 errors:0 dropped:0 overruns:0 carrier:0 Kollisionen:0
Re: [one-users] VM not pingable after Live migration
Hi, just like Justin said, make sure the bridge is also connected to the physical device: brctl addif virbr0 eth0 in the worker nodes Regards, Jaime On Tue, Jun 21, 2011 at 11:02 PM, Adnan Pasic pq...@yahoo.de wrote: I’m sorry, no! I’m still trying to figure out how this could be done. Maybe the developers could have an idea? Carlos Co.? ** ** Regards. ** ** *Von:* Khoa Nguyen [mailto:vankhoa...@gmail.com] *Gesendet:* Dienstag, 21. Juni 2011 16:31 *An:* Adnan Pasic *Betreff:* Re: [one-users] VM not pingable after Live migration ** ** Hi all, I have the same problem with you but I don't solve. Do you find the way to solve it ? On Tue, Jun 21, 2011 at 12:04 AM, Adnan Pasic pq...@yahoo.de wrote: Hello, well, actually this command gives me as result that the virbr0-bridge is connected to the vnet0-interface. Is this what you meant? How could I change this to eth0? And would the VM then be pingable after the migration as well?? Thanks for your help! Best regards, Adnan -Ursprüngliche Nachricht- Von: Justin Cinkelj [mailto:justin.cink...@xlab.si] Gesendet: Montag, 20. Juni 2011 08:44 An: Adnan Pasic Cc: users@lists.opennebula.org Betreff: Re: [one-users] VM not pingable after Live migration I assume this would occur if VM's network interface is connected to a bridge, and bridge is not connected to to a physical network interface. 'brctl show' should show if this is the case. Regards, justin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Nguyễn Vũ Văn Khoa Đại học Khoa Học Tự Nhiên TP HCM ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VM failure
Hi , I'm trying to follow the ttylinux vm tutorial. Here is the ttylinux.one: #--- # VM definition example #--- NAME = ttylinux CPU= 0.5 MEMORY = 64 # --- disks --- DISK = [ source = /home/ami/one-templates/ttylinux.img, target = sda, readonly = no ] # --- 1 NIC --- NIC = [ NETWORK=Small network] FEATURES=[ acpi=no ] # --- VNC server --- GRAPHICS = [ type= vnc, listen = 127.0.0.1] And here is the Small_network.net file NAME = Small network TYPE = FIXED #Now we'll use the cluster private network (physical) BRIDGE = br0 LEASES = [ IP=192.168.0.5] LEASES = [ IP=192.168.0.6] LEASES = [ IP=192.168.0.7] $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 192.168.0.2 default02001992002.9G2.7G on $ onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 19 oneadmin ttylinux fail 0 0K 192.168.0.2 00 00:00:24 20 oneadmin ttylinux fail 0 0K 192.168.0.2 00 00:00:25 And here is the oned.log : Mon Jul 4 12:43:04 2011 [InM][I]: Monitoring host 192.168.0.2 (3) Mon Jul 4 12:43:09 2011 [InM][D]: Host 3 successfully monitored. Mon Jul 4 12:43:13 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:28 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:43:35 2011 [ReM][D]: VirtualMachineAllocate invoked Mon Jul 4 12:43:58 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:43:59 2011 [ReM][D]: VirtualMachineDeploy invoked Mon Jul 4 12:43:59 2011 [DiM][D]: Deploying VM 20 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 STDERR follows. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE --8-- Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE --8-- Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ExitCode: 1 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: DST: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: Creating directory /var/lib/one//20/images Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Command /usr/bin/ssh 192.168.0.2 mkdir -p /var/lib/one//20/images failed. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: TRANSFER FAILURE 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Deleting /var/lib/one//20/images Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Executed /usr/bin/ssh 192.168.0.2 rm -rf /var/lib/one//20/images. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: TRANSFER SUCCESS 20 - Mon Jul 4 12:44:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:44:28 2011 [ReM][D]: HostPoolInfo method invoked The frontend ip is : 192.168.0.4 The node ip is : 192.168.0.2 Any help !! Regards. Ami ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM failure
I've solved the issue and ttylinux is 'runn' now. The problem was with oneadmin privileges on the node. [TM][I]: mkdir: cannot create directory `/var/lib/one': Permission denied Giving oneadmin enough privileges fixed the issue. Hi , I'm trying to follow the ttylinux vm tutorial. Here is the ttylinux.one: #--- # VM definition example #--- NAME = ttylinux CPU= 0.5 MEMORY = 64 # --- disks --- DISK = [ source = /home/ami/one-templates/ttylinux.img, target = sda, readonly = no ] # --- 1 NIC --- NIC = [ NETWORK=Small network] FEATURES=[ acpi=no ] # --- VNC server --- GRAPHICS = [ type= vnc, listen = 127.0.0.1] And here is the Small_network.net file NAME = Small network TYPE = FIXED #Now we'll use the cluster private network (physical) BRIDGE = br0 LEASES = [ IP=192.168.0.5] LEASES = [ IP=192.168.0.6] LEASES = [ IP=192.168.0.7] $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 192.168.0.2 default02001992002.9G2.7G on $ onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 19 oneadmin ttylinux fail 0 0K 192.168.0.2 00 00:00:24 20 oneadmin ttylinux fail 0 0K 192.168.0.2 00 00:00:25 And here is the oned.log : Mon Jul 4 12:43:04 2011 [InM][I]: Monitoring host 192.168.0.2 (3) Mon Jul 4 12:43:09 2011 [InM][D]: Host 3 successfully monitored. Mon Jul 4 12:43:13 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:28 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:29 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:43:35 2011 [ReM][D]: VirtualMachineAllocate invoked Mon Jul 4 12:43:58 2011 [ReM][D]: HostPoolInfo method invoked Mon Jul 4 12:43:59 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:43:59 2011 [ReM][D]: VirtualMachineDeploy invoked Mon Jul 4 12:43:59 2011 [DiM][D]: Deploying VM 20 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Command execution fail: /usr/lib/one/tm_commands/ssh/tm_clone.sh ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 STDERR follows. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE --8-- Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ERROR MESSAGE --8-- Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 ExitCode: 1 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ami-frontend:/home/ami/one-templates/ttylinux.img 192.168.0.2: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: DST: /var/lib/one//20/images/disk.0 Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: Creating directory /var/lib/one//20/images Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Command /usr/bin/ssh 192.168.0.2 mkdir -p /var/lib/one//20/images failed. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_clone.sh: ERROR: Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: TRANSFER FAILURE 20 Warning: Permanently added '192.168.0.2' (RSA) to the list of known hosts. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: mkdir: cannot create directory `/var/lib/one': Permission denied Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Deleting /var/lib/one//20/images Mon Jul 4 12:44:00 2011 [TM][D]: Message received: LOG - 20 tm_delete.sh: Executed /usr/bin/ssh 192.168.0.2 rm -rf /var/lib/one//20/images. Mon Jul 4 12:44:00 2011 [TM][D]: Message received: TRANSFER SUCCESS 20 - Mon Jul 4 12:44:18 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jul 4 12:44:28 2011 [ReM][D]: HostPoolInfo method invoked The frontend ip is : 192.168.0.4 The node ip is : 192.168.0.2 Any help !! Regards. Ami ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Remotes dir on a System wide installation
According to http://opennebula.org/_media/documentation:rel2.0:one-directories-rootmode.png the 'remotes' directory full path should be /usr/lib/one/remote. What could I have done wrong to get oned try to find it in /var/lib/one ??? Thank you in advance for any suggestion. -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(unix[\021%six\012\0], Fax +39-049.8283.569 |(unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] image and vm image creation
Hi, I need to store the Data block in opennebula . I have installed openebula and could create the hosts and cluster . Now I want to store teh Data( say just one variable may some temprature value ) The following steps i'm following . image.template NAME = Experiment results TYPE = DATABLOCK # No PATH set, this image will start as a new empty disk SIZE = 2048 FSTYPE= ext3 PUBLIC= NO DESCRIPTION = Storage for my For my tempsensor. $ oneimage register image.template // command submission vm.templatefortemp #--- # VM definition example #--- NAME = vm-example for temp sensor CPU= 0.5 MEMORY = 128 # --- kernel boot device --- OS = [ kernel = /vmlinuz, initrd = /initrd.img, root = sda1 ] DISK = [ source = PATH of the image created, target = sd, readonly = no ] DISK = [ IMAGE =Ubuntu Server ] # --- 1 NIC --- NIC = [ mac=00:ff:72:17:20:27] NIC = [ NETWORK=Private LAN] # --- VNC server --- GRAPHICS = [ type= vnc, listen = 127.0.0.1, port= 5] # --- Context --- CONTEXT = [ hostname = $NAME, ip_private = $NIC[IP, NETWORK=\Private LAN\], ip_gen = 10.0.0.$VM_ID] $ onevm create vm.templatefortemp . Will this work fine ...? If my steps or wrong pls help me ... regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org