Re: [one-users] Save VM NFS
2010/11/25 Flávio R. C. Sousa fla...@lia.ufc.br: Can we configure NFS to permit write by root? I think it's not possible. man exports no_root_squash Bye. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Windows* contextualization scripts?
Hi, searching on mailing list archives and googlin' around, I found many people talking about using bat/vbs/wmi scripts for configuring Windows guests, but I haven't actually found anything. Someone know if there is something available everywhere? Thanks. -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Windows* contextualization scripts?
Il 27/12/2010 14:44, John Murphy ha scritto: I am also looking for this information. Is anyone running Windows servers virtualized in OpenNebula? It seems that OpenNebula, along with Eucalyptus and OpenStack, is targeted at Linux guests. I am looking for a cloud infrastructure solution to host both Linux and Windows guests in a production environment. Can anyone share their experience virtualizing Windows guests in OpenNebula? I am currently virtualizing Windows guests, using 1 ip fixed networks and manually configuring network (that's creepy, I know). I think that a clean solution couldn't exists with the actual architectural problems on windows systems, not only related to how to configure your network card, but even how to deal with product activation that get triggered every time you start a new machine. Keep windows if you need it, throw it away when you can. Bye. -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Windows* contextualization scripts?
Il 27/12/2010 16:58, sa...@eng.it ha scritto: AFAIK the latest version of Windows (startin from Vista) should allow the setting of the IP from a script. http://www.tomstricks.com/how-to-create-a-batch-file-for-changing-network-settings-in-windows-vista/ Probably a vbscript or powershell could suffice to implement the vmcontext bash script used on GNU/Linux guests. -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone sinatra error
Il 04/04/2011 12:21, Patricia Santos Marco ha scritto: ruby 1.9.1p376 rubygem-sinatra-1.0-2.el5.noarch rack-1.2.2 thin-1.2.11 Keep in mind that you should not mix manually installed ruby gems with system supplied ruby packages, they have different include paths. You should probably remove rubygem-sinatra rpm and install it via gems: gem install sinatra. Bye. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone sinatra error
Il 04/04/2011 14:10, Patricia Santos Marco ha scritto: and when I run sunstone-server there aren't errors, but I don't see anyting in the web browser in port : https://myserver:4567| launch with -H ip sunstone by default listen on localhost only. -- Giovanni Toraldo http://gionn.net/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] cpu overcommit with kvm
Hi, I noticed only now that I've exhausted my opennebula available CPU resources: ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 2 nebula01 default2400369 0 11.8G 10.7G on 3 nebula02 default4800792 0 11.8G7.4G on 4 nebula03 default4800796 0 11.8G9.9G on 5 nebula04 default4800774 0 11.8G 10.4G on However CPU isn't really used so much. There is a way to let the scheduler allocate new VM? I supposed that using RANK = FREEMEMORY in VM template should solve, but not. Any hints? -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] cpu overcommit with kvm
Il 04/05/2011 18:39, Ruben S. Montero ha scritto: You can guide the overcommitment by using the CPU attribute of the template. For example if you want to put 16 VMs in nebula02 with 8 cores, just define the VMs with CPU = 0.5 I already tried CPU setting, but the guest will see half of the real frequency of my host CPU: this isn't cpu overcommit, I am just saying to allocate half of my 8 cpu to that VM (or not?). What I am trying to achieve is what I already do with other KVM-based virtualization platforms: allocating to every VM much more cpu than actually available on the host (ex: 16 VMs with VCPU = 4 and CPU = 1), so a single VM can get a lot of cpu power when needed. In the case there are many VM using a lot of cpu, it will be equally shared among them by the Linux process scheduler on the host. Am I missing something? Is this a bad practice? Thanks. -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] cpu overcommit with kvm
On 09/05/2011 00:36, Ruben S. Montero wrote: No, the host will see the same CPU speed. The CPU attribute in the template is only for OpenNebula and the scheduler. OK :) Maybe some sort of clarification should be placed in the documentation (http://opennebula.org/documentation:rel2.2:template) Thank you! -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Feature request: Locking of VM, images, nets...
On 11/05/2011 10:52, Luis M. Carril wrote: I think that would be great if a set of locking commands to the interface are implemented to avoid deleting the wrong virtual machine due to a typing error. Something like: onevm lock vm_iddenys all operations one the virtual machine vm_id until a onevm unlock vm_id is done I don't think that it will be a solution to the problem you surfaced: people will start to use unlock command without keeping attention too. Maybe a confirmation for disruptive commands will be better (Are you really sure to delete VM nn? y/n) Bye. -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Running VMs = -1
Il 29/06/2011 11:42, samuel ha scritto: I've not tried to remove hosts, but I think it's the only way to recover the right vm counters, isn't it? Nope, you can manually adjust the correct value in the opennebula db (sqlite or whatever you are using). -- Giovanni Toraldo http://www.libersoft.it/ signature.asc Description: OpenPGP digital signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula 3.0 + Xen 4.0.1 on Debian Squeeze
On Sun, Oct 16, 2011 at 5:49 PM, Gionn m...@gionn.net wrote: Deployment fails with: Sun Oct 16 17:30:00 2011 [VMM][D]: Message received: LOG I 12 Command execution fail: 'if [ -x /var/tmp/one/vmm/xen/deploy ]; then /var/tmp/one/vmm/xen/deploy /home/oneadmin/one/var//12/images/deployment.0 xen01 12 xen01; else exit 42; fi' Sun Oct 16 17:30:00 2011 [VMM][D]: Message received: LOG I 12 Error: Device 768 (tap) could not be connected. Hotplug scripts not working. It is working now, was a Debian bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591456 Cheers, -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] CPU capacity in Virtual Machine template leads to longterm pend.
2011/12/18 cat fa boost.subscrib...@gmail.com: I set a number in CPU capacity section in virtual machine template. After I instantiate that virtual machine, the state of that virtual machine was always PENGDING. It never entered the PROLOG stage. What was the virtual machina waiting for? Check the scheduler log file, you probably set a too high CPU that is not satisfiable with any of your current active hosts. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] sunstone conf doesn't honor host ip binding
Hi, I've noticed that even the default sunstone-server.conf contains: # Server Configuration :host: 127.0.0.1 :port: 9869 Sunstone is reachable from everywhere: $ netstat -putan|grep 9869|grep LIST tcp0 0 0.0.0.0:98690.0.0.0:* LISTEN 12284/ruby (Using ON 3.0) -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Wrong FMEM reported by im_ganglia?
Hi, seems that im_ganglia is using the wrong attribute for reporting the free memory in the hosts: ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT 2 thor 34003733702.9G30.9M 2.8G on 3 odin 4400 433603.9G 54.6M 3.6G on And for this reason the scheduler is not deploying any vm instance: Sun Jan 8 18:59:45 2012 [SCHED][D]: Host 2 filtered out. It does not have enough capacity. Sun Jan 8 18:59:45 2012 [SCHED][D]: Host 3 filtered out. It does not have enough capacity. I'm using ON 3.0 installed from sources with Ganglia 3.1.7-1 (Debian Squeeze packages). Any hints? Thanks! -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] bi-directional passwordless ssh requirement?
Hi, on the documentation page: http://opennebula.org/documentation:rel3.0:hostsubsystem The oneadmin account in any Host or the Frontend should be able to ssh passwordlessly to any other Host or Frontend. This is achieved either by sharing the $HOME of oneadmin accross all the servers with NFS or by manually copying the ~/.ssh directory. Is this required for what? It isn't sufficient only for the front-end to connect password-less to any other host for OpenNebula to work correctly? -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] fencing a failed host?
Hi, the host hook documentation page says: Additionally, there is a corner case that in critical production environments should be taken into account. OpenNebula also has become tolerant to network errors (up to a limit). This means that a spurious network error won't trigger the hook. But if this network error stretches in time, the hook may be triggered and the VMs resubmitted. When (and if) the network comes back, there will be a potential clash between the old and the reincarnated VMs. In order to prevent this, a script can be placed in the cron of every host, that will detect the network error and shutdown the host completely (or delete the VMs). There is a suggested implementation for this kind of script? Someone is already using it in production? Thanks. -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] self-service rough edges
Hi Hector, 2012/1/22 Hector Sanjuan hsanj...@opennebula.org: localhost. Apart from that, I'm not sure what it could be. Is there anything special about your SelfService setup that i can use to try to reproduce such problems? Nevermind, I retried with a clean Firefox profile, it was definitively a glitch somewhere with my default profile (maybe some extension, I'm an hardcore firefox user). I did a test with Chromium too and everything worked flawlessly (the ajax upload in background it's great!) Thanks for filling the issues, I've already put them in my watch list :) -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula 3.2 + Xen 4.0 = headaches
Hi Christopher, 2012/1/23 Christopher Metter christopher.met...@informatik.uni-wuerzburg.de: Sun Jan 22 22:37:11 2012 [VMM][I]: Error: Device 768 (tap) could not be connected. Hotplug scripts not working. Sun Jan 22 22:37:11 2012 [VMM][E]: Unable I lost half of a day some months ago for this problem: http://lists.opennebula.org/pipermail/users-opennebula.org/2011-October/006634.html http://lists.opennebula.org/pipermail/users-opennebula.org/2011-October/006635.html On the second link, there is a bug report with an unofficial fix, but I preferred to make an install from sources. Good luck. -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Installation of OpenNebula 3.2 on Ubuntu OS
Hi Poul, 2012/1/31 Poul Kristensen bcc5...@gmail.com: Would someone suggest the easiest way to install OpenNebula 3.2 to Ubuntu? It's easy, you just need to read the documentation. If you mean the fastest method, you may want to use pre-built .DEB packages. Should OS be Ubuntu server version 10.04(with the included packages or are the packages to old?) or Ubuntu server version 11.10? Ubuntu 10.04 is pretty good for ON, you may prefer 11.10 only for having a more recent KVM version, but you may wish to stick to an LTS edition in production. Should it be compiled and if so how can I be sure that all packages are installed needed to get a succesfull compilation in first try? IMHO the self-contained install from sources is the best option since all the ON files will be on a separated system folder (eventually on a shared resource among hosts), very handy when upgrading or backup purposes. Bye. -- Giovanni Toraldo - LiberSoft http://www.libersoft.it ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] experiences with distributed FS?
2012/2/8 João Pagaime j...@fccn.pt: Can anyone share his experiences on this topic? any hints would be nice... I've written a small article few months ago after a successful deployment of OpenNebula on top of a MooseFS volume: http://blog.opennebula.org/?p=1512 Short anwser: yes, they works, but you need to fully understand how they work before using them with OpenNebula. Build a test environment and try different configurations, make some test plugging randomly power-chord and try to recover by yourself :) -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] econe-server, ssl_server and User not authorized
Hi, I was having authentication problems while trying to use the econe-tools and the OpenNebula EC2 public interface. There is a reason for getting: econe-describe-images: User not authorized even with correct credentials if ssl_server is unset (since I am not using an SSL proxy)? Setting ssl_server to the fqdn, the same used in the EC2_URL on the client side, made it works. Thanks. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Asking about OpenNebula with Amazon EC2
Hi, 2012/2/7 Hoang Dinh Phuc hdp...@gmail.com: But when i lauch my private AMI (image CentOS), it cannot run on Amazon EC2. What should i have to do? the most common error when using a private AMI is missing to select a proper kernel to use with it (the default kernel is an old red-hat kernel, that doesn't work with recent distributions). Most custom AMI are executed using pv-grub http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/UserProvidedkernels.html Check also the instance log for whatever message. Good luck. -- Giovanni Toraldo http://gionn.net/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [Monitor Error] Error executing xen.rb. Please help!!!!
2012/3/7 張德勤 cinmex91...@gmail.com: But, something is strange. When I onehost show 4 the error message is following... ERROR=[ MESSAGE=Error monitoring host 4 : MONITOR FAILURE 4 Error executing xen.rb , TIMESTAMP=Wed Mar 7 04:57:55 2012 ] Take a look at the timestamp ;) -- Giovanni Toraldo http://gionn.net/about-me http://it.linkedin.com/in/giovannitoraldo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] In oZones GUI resources from VDC are not included
Hi, I was expecting to being able to find in the oZones GUI also the resources created inside a VDC (VM instances, images, etc). Is this the expected behavior? Why? Instead, when using the Sunstone interface with oneadmin credentials, I can see also VDC resources. Shouldn't these two behavior be consistent? Thanks! -- Giovanni Toraldo http://gionn.net/about-me http://it.linkedin.com/in/giovannitoraldo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Distributed File System with OpenNebula
Hi Alexandre, 2012/3/22 Alexandre Fouchs alexandrefou...@gmail.com: My concern is now how does it really work ? For example if I have 2 hypervisors or more, would it be possible to access the same share space with something else than NFS ? And would it be seen as one unique system from a user point of view (with loadbalancing I assume) ? We would prefer not to use NFS but I haven't seen alternatives yet. If you stick with ESXi, yes, you don't have many other choices. Instead, with KVM and Xen, you can use every supported storage technology usually available with a standard Linux system. Apparently DFS such as MooseFS exist but what I would like is to be able to connect Unix VM to it but also Windows VM, and MooseFS is Unix only from what I undestand. You are missing that DFS are usually used as backend storage, so their support is strictly depending on your hypervisor hosts and not on the VM instances. In other words, you can use MooseFS to run both Linux and Windows instances, but you need to use KVM/XEN hosts and not ESXi. -- Giovanni Toraldo http://gionn.net/about-me http://it.linkedin.com/in/giovannitoraldo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] deploy failure due to ../tm_ssh/pre missing file?
Hi Valerio, 2012/4/22 Valerio Schiavoni valerio.schiav...@gmail.com: Sun Apr 22 12:42:09 2012 [VMM][D]: Message received: LOG I 4 bash: line 2: /var/tmp/one/vnm/tm_ssh/pre: No such file or directory Sun Apr 22 12:42:09 2012 [VMM][D]: Message received: LOG I 4 ExitCode: 127 Sun Apr 22 12:42:09 2012 [VMM][D]: Message received: LOG I 4 Failed to execute network driver operation: pre. seems that you configured this host to use tm_ssh as network driver, check again the onehost command you have used to add it to the pool, you have probably entered the parameters in the wrong order. -- Giovanni Toraldo http://gionn.net/about-me http://it.linkedin.com/in/giovannitoraldo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ubuntu 12.04 KVM package breaking opennebula (libvirt) templates
2012/4/23 Shankhadeep Shome shank15...@gmail.com: I tried to add some Ubuntu 12.04 hosts into my cluster and had some problems deploying VMs on these new hosts.. turns out there was a change from 11.10.. Changes to Ubuntu KVM packages... So for some reason Ubuntu 12.04 packages creates two kvm binary links breaking backward compatibility with libvirt templates This is true if you install the qemu-kvm-spice package instead of the standard qemu-kvm, since /usr/bin/kvm is provided only in the package without spice support. You can also simply symlink the spiced kvm to /usr/bin/kvm with: $ sudo ln -s /usr/bin/kvm-spice /usr/bin/kvm -- Giovanni Toraldo http://gionn.net/about-me http://it.linkedin.com/in/giovannitoraldo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM Sum isn't consistent
Hi, 2012/10/23 Duverne, Cyrille cyrille.duve...@euranova.eu: How could we solve this ? Bug or feature ? I am facing this bug as well, but I am not able to reproduce it consistently. Last time happened while testing a VMWare infrastructure with ON 3.6, I usually correct the wrong VM count directly on the database after I've finished tests. I think there is some corner case that lead to multiple subtractions in the host counter for the same VM (after a FAIL, maybe). -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Monitoring of cloud management events?
Hi Frank, 2012/11/1 Frank Doelitzscher doel...@hs-furtwangen.de: I was looking for some possibilities to collect and monitor cloud management system (CMS) activities, such as: OpenNebula includes an accounting tool that track on DB the resources usage by every single VM during time. This data should be sufficient to implement your requirements. (http://opennebula.org/documentation:rel3.8:accounting) I also looked into OpenNebula's ganglia integration, but this seems more like a VM health monitoring system to me? Ganglia is a well-know health monitoring tool for datacenters, you can use it to make sure that your hardware is keeping well. You can use Ganglia monitoring features with your OpenNebula infrastructure without any particular software requirement. Instead, the OpenNebula integration witn Ganglia as explained here http://opennebula.org/documentation:rel3.8:ganglia is to take advantage of Ganglia to transport monitoring metrics instead of using the native OpenNebula IM drivers. In other words, you may need to use that specific integration to increase the scalability of your infrastructure (it will use Ganglia agents on nodes instead of ON frontend's active checks). Does anybody already monitor such events and maybe even visualize them? In any case, you can write your own data collecting daemon using the XML-RPC OpenNebula API (Ruby and Java clients are available): http://opennebula.org/documentation:rel3.8:ruby http://opennebula.org/documentation:rel3.8:java -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] mooseFS OpenNebula integration
Hi Matthias, On Thu, Nov 1, 2012 at 10:59 PM, Matthias Gasser matth...@theapp.at wrote: I've just followed the Instructions of the eBook Opennebula 3 Cloud Computing to setup a MooseFS data storage. Great! I'm sure OpenNebula will work with the shared network driver, but the book states an optimized shared transfer manager [1] - unfortunately quite outdated. Is anybody working on migrating that for 3.8? That driver in reality isn't doing anything special: it just use the mfsmakesnapshot command instead of the classic cp -r to speed-up cloning operations (lazy copy operation). I was planning to update that driver this weekend, but you can also use the standard shared driver, it will work without problems. -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] GlusterFS on open nebula
On Fri, Nov 2, 2012 at 9:46 AM, Timothy Ehlers ehle...@gmail.com wrote: How does an instance react to a gluster node failure? On my POC cloud, killing a server causes all the other boxes to hang while the node times out in gluster. This is a GlusterFS well-known configuration issue, you may read documentation or ask about it on their ML. -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Haven't authorized while using Java API
Hi, On Sun, Nov 25, 2012 at 3:21 PM, Hoàng Thái Xuân Khoa htxuank...@gmail.com wrote: Client client = new Client(); if you instance Client without parameters, will be assumed to be at $ONE_AUTH, and the endpoint will be set to the environment variable $ONE_XMLRPC. You may want to instance Client with: Client client = new Client(oneadmin:password,http://localhost:2633/RPC2;); Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Haven't authorized while using Java API
On Mon, Nov 26, 2012 at 10:43 AM, Hoàng Thái Xuân Khoa htxuank...@gmail.com wrote: Client client = new Client(oneadmin:7f44b494160f2e69fed6c21b2ce555b8, http://localhost:2633/RPC2;); This looks like an md5 hash, you should put your *real* password instead. -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] some questions about lxc surpporting?
Hi Dylan, without a proper diff patch, or a proper branched git repository, you are not inviting anyone to look at your work. My 2¢. On Tue, Dec 11, 2012 at 9:30 AM, cmcc.dylan dx10ye...@126.com wrote: I have submited a draft , so it has some bugs and it's function is very simpe. you can download it from here. https://github.com/cmri/opennebula-3.2.1-lxc.git At 2012-12-11 16:12:02,Albert Avellana albertav...@gmail.com wrote: Hi Dylan, Thank for your response. I am happy to hear that do already developed it. I will be grateful if you could send me these LXC drivers to do some tests in my installation with LXC hypervisors. Thank you, albert On 5 December 2012 15:29, cmcc.dylan dx10ye...@126.com wrote: I'm very pleasure to share my work. I have complete the lxc driver for opennebula-3.2.1 and it can supprort the basic operations, for example, deploy/cancel/poll/reboot/shutdown and so on. But it may be a little bugs. I will submit my patches to opennebula after tidying up my codes. At 2012-12-05 19:37:45,Albert Avellana albertav...@gmail.com wrote: Hello dylan, My name is Albert, an student of UPC (Barcelona) university collaborating with Confine Project. I'm also developing drivers to manage LXC hypervisor with OpenNebula. I think we could maybe work together and share our work. At the moment I'm trying to do deploy script. I don't know much Ruby either, maybe we could do the script with python? I've already edited oned.conf file to add lxc option and created remotes/lxc directory. Best regards, albert On 2 December 2012 04:26, cmcc.dylan dx10ye...@126.com wrote: Hi, every one! I want to add lxc backend for opennebula, but i meet some questions and hope someone to help me. 1. the key point is i need to add a lxc driver like kvm, for example, imitating the directory structure of kvm as follows: # ls var/remotes/vmm/kvm cancel deploy kvmrc migrate migrate_local poll poll_ganglia reboot restore save shutdown But i don't knonw who call the these scripts, for example where call deploy script in opennebula soruce code or in config files. 2. I have already validate virsh commad is ok. and i can use command as follows to create and operate the lxc instance. a. Deploy: ssh node1 virsh -c lxc:/// create /path-to-xml/lxc.xml b. virsh -c lxc+ssh://node1 virsh-command lxc_instance_name But i know little ruby,someone can give me some advice to help me complete lxc driver for opennebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Albert Avellana -- Albert Avellana ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] (no subject)
On Tue, Feb 12, 2013 at 5:05 PM, Javier Fontan jfon...@opennebula.org wrote: That's right, you cannot use free license ESXi with OpenNebula. However (just FYI), if you use the first release of ESXi 5.0, it will works, probably due to an ESXi bug :) You should look for the following installer image: VMware-VMvisor-Installer-5.0.0-469512.x86_64.iso -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] can't add volatile disk
Which TM is using the host running that VM? With ESXi it should be used the vmfs transfer manager, that use the vmkfstool instead of mkfs. Cheers, On Tue, Feb 26, 2013 at 12:48 PM, Tino Vazquez tin...@opennebula.org wrote: Hi Alexandre, I looks like there is no mkfs available in the ESX hypervisors. Could you please try adding the attached mkfs binary to your ESX's /sbin path? Permissions should be set to: -rwxr-xr-x1 root root 10456 Feb 26 13:45 mkfs We appreciate your feedback. Regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Tue, Feb 26, 2013 at 11:53 AM, Alexandre De Carvalho alexandre7.decarva...@gmail.com wrote: Hi Tino I'm using the version 5.0 of ESX best regards, Alex 2013/2/26 Tino Vazquez tin...@opennebula.org Hi Alexandre, We are trying to reproduce this, could you please tell us the version of ESX you are using? Best regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Tue, Feb 26, 2013 at 11:25 AM, Alexandre De Carvalho alexandre7.decarva...@gmail.com wrote: The command mkfs must be do in the frontend or in the node (vmware for me) ? Alex 2013/2/26 Alexandre De Carvalho alexandre7.decarva...@gmail.com Hi Jaime ! [oneadmin@localhost ~]$ which mkfs /sbin/mkfs Alex 2013/2/25 Jaime Melis jme...@opennebula.org Hi Alexandre, whereis looks in the usual paths, but doesn't reflect if the user actually has the command's path in their PATH env variable. Do this instead *as oneadmin* (important) $ which mkfs On Mon, Feb 25, 2013 at 7:14 PM, Alexandre De Carvalho alexandre7.decarva...@gmail.com wrote: I'm using vmware. Alex 2013/2/25 Alexandre De Carvalho alexandre7.decarva...@gmail.com Hi Jaime ! mkfs is already installed. Here : [root@localhost home]# whereis mkfs mkfs: /sbin/mkfs.cramfs /sbin/mkfs /sbin/mkfs.ext3 /sbin/mkfs.msdos /sbin/mkfs.ext4dev /sbin/mkfs.vfat /sbin/mkfs.ext2 /sbin/mkfs.ext4 /usr/share/man/man8/mkfs.8.gz Alex 2013/2/25 Jaime Melis jme...@opennebula.org Hi Alexandre sh: mkfs: not found You have to install the mkfs command... cheers -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org -- Cordialement, Alexandre DE CARVALHO -- Cordialement, Alexandre DE CARVALHO -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org -- Cordialement, Alexandre DE CARVALHO -- Cordialement, Alexandre DE CARVALHO ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Cordialement, Alexandre DE CARVALHO ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Chef cookbook for OpenNebula (to be used with Vagrant)
Hi! Recently I was interested in using Vagrant plus some Chef recipes to easily bootstrap a development machine containing OpenNebula. I've published a very basic cookbook that will install build dependencies and opennebula from sources, served by Vagrant (tested under Ubuntu 12.04) The GitHub repository of the cookbook: https://github.com/gionn/chef-opennebula If you want to take a look to my Vagrantfile, it's here (along with the latest OpenNebula sources): https://github.com/liberologico/one/blob/vagrant/Vagrantfile If someone is interested in expanding this cookbook, pull requests are warmly welcomed (even for fixing crap I put into it) Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Trying jclouds to manage OpenNebula
Hi, just to share a few discoveries of the last few days. I've tried to manage OpenNebula instances with jclouds [1]. It doesn't comes with a native OpenNebula driver, however it contains a generic EC2 driver, that could be used along with the OpenNebula econe-server. Hence some rough edges [2] [3], I've achieved to succesfully authenticate, and retrieve the list of available images and active instances. Unfortunately, to be able to instantiate new VMs with jclouds, it looks like that the CreateSecurityGroup method should be implemented in econe-server (since jclouds relies on it to manage instances grouping, even when launching a single instance). Is that feasible with the current OpenNebula, without a way to logically group instances together? Maybe injecting a custom variable in the templates? Any suggestion is highly appreciated, thanks! [1] https://github.com/jclouds/jclouds [2] http://dev.opennebula.org/issues/1816 [3] https://github.com/jclouds/jclouds/issues/1434 -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Chef cookbook for OpenNebula (to be used with Vagrant)
Hi Javier, On Thu, Mar 21, 2013 at 3:26 PM, Javier Fontan jfon...@opennebula.org wrote: Any reason why this is installed using source code and not using packages? And other question I have after browsing the files, how does it download the code? I could not figure out how the source code reaches the vagrant machine. this is how Vagrant actually works: it launches a virtual machine and expose the current working directory into the virtual machine using a shared folder (http://docs.vagrantup.com/v2/getting-started/synced_folders.html). It's nice to have OpenNebula running inside a VM with all dependencies automatically installed in a few minutes, and you can easily modify OpenNebula source code from your IDE running on your host machine. I hope to be able to expand the chef recipes to cover also the OpenNebula installation via binary packages and to automate the opennebula configuration. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Chef cookbook for OpenNebula (to be used with Vagrant)
On Fri, Mar 22, 2013 at 12:14 PM, Ruben S. Montero rsmont...@opennebula.org wrote: So, given your experience with OpenNebula and Vagrant, do you think this integration is doable (I am concern about that shared folder thing)? and second do you think that adding OpenNebula as a backend for Vagrant is interesting? Since the driver refactoring of Vagrant 1.1, it should be more easy to plug-in a new one: http://docs.vagrantup.com/v2/plugins/providers.html The main problem indeed is about serving files from a local workstation to the remote virtual machine, I can think only of hackish ways to do that, like using a shared NFS for both workstations and VMs, or a SSHFS to mount a local workstation directory into the VM (only for workstation with sshd available). Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] shared transfer manager and image file ownership to qemu
Hi, it looks like you are completely missing this useful paragraph from the documentation: http://opennebula.org/documentation:rel3.8:kvmg#kvm_configuration chmod 660 should be sufficient since OpenNebula frontend and VMs should be running with the same user (usually oneadmin) on every node. -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] shutdown action doesn't take effect
On Sat, Apr 13, 2013 at 5:35 AM, cmcc.dylan dx10ye...@126.com wrote: I meet a problem after i shutdown a selected vm, the sunstone show SHUTDOWN status, but it is running in fact and i can ping it and also login by ssh. I also execute the shutdown virsh command manually, howerver it doesn't take effect. what's going on? The VM needs acpid to handle the acpi shutdown message. http://wiki.libvirt.org/page/Tips#Debian.2FUbuntu_guests_under_KVM_don.27t_shut_down_properly -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] It is not possible to clone a VM to another node
Hi, On 04/13/2013 09:02 AM, Евгений Суворов wrote: Sat Apr 13 10:39:12 2013 [TM][E]: clone: Command cd /var/lib/one/datastores/0/80; cp -r /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb /var/lib/one/datastores/0/80/disk.0 failed: cp: невозможно выполнить stat для «/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb»: Нет такого файла или каталога it would be better to post error messages in English. Try starting opennebula with: LC_ALL=C one start However, the most common problem with shared drivers are improper permissions set, check that source and destination file are actually readable/writable by the oneadmin user. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] It is not possible to clone a VM to another node
On 04/15/2013 10:01 PM, Евгений Суворов wrote: Mon Apr 15 23:41:59 2013 [TM][E]: clone: Command cd /var/lib/one/datastores/0/84; cp -r /var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb /var/lib/one/datastores/0/84/disk.0 failed: cp: cannot stat `/var/lib/one/datastores/1/601ff612f5ea1cc257de6913bd23a0cb': No such file or directory The shared TM assumes that the datastores are mounted on all the hosts of the cluster under the /var/lib/datastores folder (the cp command is physically executed on the deploying host, not on the frontend), check the following configuration advices for both system and default datastores: http://opennebula.org/documentation:rel3.8:system_ds#using_the_shared_transfer_driver http://opennebula.org/documentation:rel3.8:fs_ds#using_the_shared_transfer_driver -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula and XCP
On Sun, Apr 21, 2013 at 9:44 AM, Alberto Zuin - Liste li...@albertozuin.eu wrote: If XCP isn't compatible, what is the best way to have OpenNebuka with an updated xen HyperVisors (4.0-4.1)? CentOS include XEN virtualization only in 5.X releases (XEN 3), Debian has a problem with blktap driver and I have to use the (unsuggested) file. OpenSUSE? Ubuntu 12.04 should work fine, I don't remember any issue when I tried out. With Debian Squeeze I remember there was an unfixed bug, but it was solvable with a one-liner patch, and maybe they released the update. Or you may try with the next Debian release, it should be on the way to became stable. On the other hand, why you keep to prefer Xen instead of KVM? It's pretty easy to configure on any recent distro and receive faster updates from upstream. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ubuntu / Centos KVM image from marketplace are not being properly contextualized
Hi Artem, can you try to use something like this one in your VM template? https://gist.github.com/gionn/6007641 loc is the name of my local virtual network, I am using the ubuntu image available on the marketplace under KVM. On Tue, Jul 16, 2013 at 12:23 PM, Artem Salpagarov artem.salpaga...@gmail.com wrote: So, for anyone who will encounter this in future, I haven't found a solution better than to create a VM from scratch and contextualise it with a package from http://opennebula.org/documentation:rel4.0:context_overview. -- Artem Salpagarov On Monday, July 15, 2013 at 2:11 AM, Artem Salpagarov wrote: Hello world! I might be wrong because I just started rolling out OpenNebula, but it seems that my VMs with this https://marketplace.c12g.com/appliance/4fc76a938fb81d351701 or this https://marketplace.c12g.com/appliance/4fc76a938fb81d351702 image are either not being started properly, or don't get network context properly. At least I have no idea why vms with these images are unreachable neither by ssh and ping, nor by a serial console. Also, KVM process of these VMs takes 100% of available CPU. But ttylinux vm with this https://marketplace.c12g.com/appliance/4fc76a938fb81d351703 image works as expected. I can ssh to it and it doesn't take all the CPU. So it's all about contextualisation differences between images I guess. Could someone point me out a direction where to look for a mistake? Here are onevnet show onevm show onetemplate show for both images, the one that works and centos which doesn't work: https://gist.github.com/iartem/5996187 -- Artem Salpagarov ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] annoying IP allocation
Hi François, On 03/08/2013 15:22, François Thiebolt wrote: Hence, when I start to allocate VMs, they got the right IP starting from 172.28.112.101 ... but when it's time to switch to the 172.28.113.xxx network, one of the VM get allocated the IP 172.28.112.255 (?!) and next one gets 172.28.113.0 ?!?! Why this looks strange to you? If you have a network larger than /24, there is no problem on using .255 or .0 adresses, and OpenNebula has no reasons to simply skip them. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Has an update on OpenNebula 3 Cloud Computing being planned?
Hi Veikko, the book was sponsored by its publisher (Packt Publishing), and AFAIK there aren't plans to update it for the current version of OpenNebula in the near future (and I know that it is quite complicated, since a book writing process usually take 6 months, and OpenNebula development pace is fast). I can suggest you to use the book with the latest OpenNebula 3.x version, and once you are sufficiently comfortable with its basics, learn the changes introduced in OpenNebula 4.0 using the official documentation. Cheers, On Mon, Aug 12, 2013 at 5:09 PM, Veikko Eeva veikko.e...@iki.fi wrote: Greetings! Does anyone know is there a plan to update OpenNebula 3 Cloud Computing by Giovanni Toraldo (http://www.packtpub.com/open-nebula-3-cloud-computing/book)? The book looks like being just the resource I'm looking for, but of course I'd prefer something more recent. Thanks for answers and possible pointers in advance. Cordially, Veikko Eeva ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Getting VNC Information with Java API
Hi, On Wed, Aug 14, 2013 at 12:58 PM, Daniel Molina dmol...@opennebula.org wrote: On 14 August 2013 11:14, chenxi...@aquala-tech.com wrote: Then I found the VNC proxy port 29876 in sunstone-server.conf, and add the VM-ID to 29876, then trying to conned with noVNC to that port, but failed. noVNC is used as a proxy and you have to use tokens to be able to connect to different vms. For example, this how it's done in Sunstone. You need to launch your own noVNC proxy, talking directly with the hypervisors VNC server; for KVM it's sufficient to use the ip address of the physical host where the VM is running, on the port 5900 + VM id. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can't access the running VM's from the outside network
Hi, On Mon, Aug 19, 2013 at 10:27 PM, Armando Escalante escalan...@gmail.com wrote: I can ssh/ping other VM's running on the *same* host! But that is it. I had a similar issue on another installation, but can't recall how I resolved it. Had to do with the Context setting... I use the SunStone interface for all of this. can you paste your /etc/network/interfaces and the templates of your virtual networks defined in OpenNebula? You should have configured a network bridge bonded to a physical interface on the hosts to let VMs be able to reach your physical network. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OneFlow with Chef ? AppStage is gone ?
On Mon, Aug 19, 2013 at 5:59 PM, Javier Fontan jfon...@opennebula.org wrote: I found this server mode a bit cumbersome for our needs and chosen a chef solo approach where a init script downloaded the recipes from a repository and a manifests and run chef solo with a parameter in contextualization. Take a look at chef-zero, it should probably deprecate chef-solo in the near future: https://github.com/jkeiser/chef-zero Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can no longer create new virtual machines
Hi Geery, On Tue, Aug 27, 2013 at 8:43 PM, Gerry O'Brien ge...@scss.tcd.ie wrote: Is there any place where we can find more logging when a machines is in a PENDING state. Usually it means that the scheduler is not picking them, you can take a look inside the sched.log. -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ruby version
Hi, On Fri, Jul 25, 2014 at 9:27 AM, Anandharaj Subramaniam anandharaj.man...@mimos.my wrote: What is the recommended / minimum version for Ruby? You should upgrade to Ruby 1.9.3 as the warning are saying, Ruby 1.8.7 is no more supported by upstream: https://www.ruby-lang.org/en/news/2013/06/30/we-retire-1-8-7/ -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Softlayer Error
Ciao Vincenzo, On Fri, Aug 29, 2014 at 11:57 PM, Vincenzo Barbieri vincenzo.barbi...@blueit.it wrote: Fri Aug 29 23:46:33 2014 [Z0][InM][I]: /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- softlayer_api (LoadError) remember to run install_gems after the ruby upgrade since gems needs to be installed for the newer Ruby version. Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Talk at FOSDEM
Hi Javier, On Tue, Jan 27, 2015 at 1:03 PM, Javier Fontan jfon...@opennebula.org wrote: This Saturday I'll be at FOSDEM in Brussels talking about OpenNebula. If you happen to be there come and say hi! I will find you! :P Cheers, -- Giovanni Toraldo http://gionn.net ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org