[one-users] New OpenNebula release process

2011-11-16 Thread Carlos Martín Sánchez
Dear community, We have posted in our blog the announcement of the new release process for the upcoming OpenNebula versions [1]. The release plan for OpenNebula 3.2 is: - OpenNebula 3.2 Final will be released on December 20th. The blue-prints for this release can be found at the

Re: [one-users] installing OpenNebula: system requirements?

2011-11-22 Thread Carlos Martín Sánchez
Hi, It all depends on the workload you will execute and performance you will expect. You will have to plan the amount of CPU and RAM depending on the number of VMs you will run concurrently, and the requirements of the virtualized services. The same goes for disk, it will depend on the number of

Re: [one-users] RPC c++ client: how to turn the XML output into something useful?

2011-11-23 Thread Carlos Martín Sánchez
Hi, I don't see why you would want to write your own XML parser, you can use any existing one... We use libxml [1]. You can see some code in our repository [2, 3] Regards [1] http://xmlsoft.org/ [2] http://dev.opennebula.org/projects/opennebula/repository/revisions/master/show/src/scheduler [3]

Re: [one-users] Sunstone repository - available?

2011-11-23 Thread Carlos Martín Sánchez
Hi Jhon, Sunstone is part of the main repository [1] since the 2.2 release, you can find it under src/sunstone [2] Regards. [1] git://git.opennebula.org/one.git [2] http://dev.opennebula.org/projects/opennebula/repository/revisions/master/show/src/sunstone -- Carlos Martín, MSc Project

Re: [one-users] can one assign a public ip to a running VM ?

2011-11-24 Thread Carlos Martín Sánchez
Hi, OpenNebula can't dynamically manage IPs or network interfaces, so the scenario you describe can't be implemented out of the box. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] troubles with shutdown VMs

2011-12-01 Thread Carlos Martín Sánchez
Hi, I would be useful to know what's going on inside the VM after it receives the ACPI signal. Maybe it is not properly configured to shutdown. If it is a desktop Ubuntu, it may be showing a dialog asking whether to shutdown or not... Regards. -- Carlos Martín, MSc Project Engineer OpenNebula -

Re: [one-users] Not able to ping running VM from outside network

2011-12-01 Thread Carlos Martín Sánchez
Hi, The IP assignment mechanism is explained in the contextualization guide [1]. If you don't use the CONTEXT section, the init scripts installed in the ttylinux sample VM translate the MAC address to the corresponding IP. Using the CONTEXT cdrom, the init.sh script in executed at boot time.

Re: [one-users] Problem in network from fresh install opennebula 3

2011-12-12 Thread Carlos Martín Sánchez
Hi, It looks like for some reason the LEASES attributes weren't processed. If I create a vnet from this template: $ cat fixed BRIDGE=virbrCLOUD LEASES=[ IP=84.21.173.192, MAC=02:fe:54:15:ad:C0 ] LEASES=[ IP=84.21.173.194, MAC=02:fe:54:15:ad:C2 ] NAME=red1 TYPE=FIXED The xml shows the two LEASES

Re: [one-users] VMs instantiated from template have incorrect name?

2011-12-12 Thread Carlos Martín Sánchez
Hi, You can use the -n (--name) option with onetemplate instantiate. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org

Re: [one-users] error status on disk image

2011-12-12 Thread Carlos Martín Sánchez
Hi, I assume you are using the 3.1 development version. This is a new security feature to prevent users from registering any file readable by oneadmin. /var/lib/one is by default a restricted directory, you can configure the behaviour in /var/lib/one/remotes/image/fs/fsrc, check the Image

Re: [one-users] Creating virtual machines from scratch

2011-12-14 Thread Carlos Martín Sánchez
Hi, You can also create an empty image with a template similar to this one (see [1] for more info): NAME = new_img TYPE = DATABLOCK SIZE = 512000 FSTYPE= ext3 Or create an empty disk instead, as explained in [2]. You can change the boot device with the

Re: [one-users] Creating virtual machines from scratch

2011-12-14 Thread Carlos Martín Sánchez
Hi, Images can be created from Sunstone. Please use this list to ask for support if you are having trouble with this functionality. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] [Help] How to reboot a VM when the VM crashes?

2011-12-20 Thread Carlos Martín Sánchez
Hi, You can use the 'onevm restart' command, see [1] for more information on the VM life-cycle. Regards. [1] http://opennebula.org/documentation:rel3.0:vm_guide_2 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] CPU capacity in Virtual Machine template leads to longterm pend.

2011-12-20 Thread Carlos Martín Sánchez
Hi, Please check that the scheduler is running (mm_sched process), take a look at the scheduler log (/var/log/one/sched.log), and check that you have hosts with enough CPU and memory resources. More info here [1]. Note that you can always deploy manually your VMs with the 'onevm deploy' command.

Re: [one-users] Why no hooks for migration?

2011-12-20 Thread Carlos Martín Sánchez
Hi Richard, You can create a hook on RUNNING and then check the VM history to detect if it has reached that state after a migration. Use $TEMPLATE as one of the arguments to get the VM information. You have the life-cycle reference here [1,2]. Below is a sample xml of a VM migrated from (1

[one-users] How to develop Hybrid Cloud drivers

2011-12-21 Thread Carlos Martín Sánchez
Dear community, We have put together a how-to for drivers developers. It is focused on Hybrid Cloud drivers, hopefully it will be helpful to some of you. Cheers. [1] http://blog.opennebula.org/?p=2299 [2] http://wiki.opennebula.org/cloud_provider_driver -- Carlos Martín, MSc Project Engineer

Re: [one-users] Recommended usage patterns

2012-01-02 Thread Carlos Martín Sánchez
Hi, I'd like to add some comments on this: On Fri, Dec 30, 2011 at 8:52 AM, Chris Picton ch...@ecntelecoms.com wrote: Ok - so for this type of VM, I should: * Keep my vm definition templates in a known location * Use persistent disks for them. * Hardcode the MAC and VLAN/etc

Re: [one-users] users, groups and permissions

2012-01-18 Thread Carlos Martín Sánchez
Hi, The scenario you describe was indeed a limitation of OpenNebula 3.0. The permissions have been greatly improved in the recently released OpenNebula 3.2, so I advise you to upgrade [1], and take a look at the new user, group, other permissions [2]. Your VMs will be now private by default, or

Re: [one-users] Removing old VMs

2012-01-18 Thread Carlos Martín Sánchez
Computer Science and Engineering Texas AM University Forwarded Message From: Hutson Betts hut...@tamu.edu To: Carlos Martín Sánchez cmar...@opennebula.org Subject: Re: [one-users] Removing old VMs Date: Tue, 20 Dec 2011 17:48:08 -0600 Carlos, Thank you for your

Re: [one-users] heterogeneous (KVM + Xen) nodes and scheduler

2012-01-18 Thread Carlos Martín Sánchez
Hi, You can use REQUIREMENTS [1] to request any Host attribute seen in the 'onehost show' output. For example: REQUIREMENTS = HYPERVISOR=\kvm\ Regards. [1] http://opennebula.org/documentation:rel3.2:template#placement_section -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source

Re: [one-users] Clean up OpenNebula

2012-01-18 Thread Carlos Martín Sánchez
Hi, If you update the pool_control table without a cleanup of the pool tables you will face some inconsistencies. To reset opennebula, the easiest way is to delete the DB. With sqlite, just execute 'rm /var/lib/one/one.db', or issue a 'drop database' in mysql. Regards. -- Carlos Martín, MSc

Re: [one-users] opennebula 3.0 virtual networks assign IPs out of allocated RANGE

2012-01-18 Thread Carlos Martín Sánchez
Hi, The ranged network definition in OpenNebula 3.0 can be a bit confusing, because the NETWORK_ADDRESS is not the first IP, but rather the base address to use for the range. In your case, for 96 addresses the base address is 10.206.223.0, giving you the range 10.206.223.1 to 10.206.223.96. You

Re: [one-users] Extending VM monitoring system

2012-01-19 Thread Carlos Martín Sánchez
Hi Florian, You just need to edit your pool file, i.e. /var/lib/one/remotes/vmm/hypervisor/poll, and add any extra attribute you may need. Remember to execute 'onehost sync' as oneadmin in the frontend whenever you edit /var/lib/one/remotes files. The updated files will be copied to the hosts in

Re: [one-users] XML-RPC API 3.2 session string

2012-01-20 Thread Carlos Martín Sánchez
Hi Miguel, You are right, we warned about this change in the Compatibility Guide [1]; but we missed the xml-rpc api guide you link. It is updated now, thank you for letting us know! Regards [1] http://opennebula.org/documentation:rel3.2:compatibility -- Carlos Martín, MSc Project Engineer

Re: [one-users] OpenNebula 3.2 Strange behavior of chown

2012-01-25 Thread Carlos Martín Sánchez
Hi Akihiko, Thanks for your great feedback and your step by step instructions to reproduce the bug. This is now solved in the repo, see [1]. Cheers! [1] http://dev.opennebula.org/issues/1087 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center

Re: [one-users] ONE 3.2 VM Management issues

2012-01-26 Thread Carlos Martín Sánchez
Hi, Your 1st problem might be related to the qemu dynamic_ownership configuration, check the kvm configuration guide [1] for more details. About the automatic IP assignment, you need to contextualize your VMs so they can configure the IP leased by OpenNebula, see [2] for more information.

Re: [one-users] ONE 3.2 VM Management issues

2012-01-26 Thread Carlos Martín Sánchez
the machine back to running state on the next poll interval. I've also disabled apparmor for libvirt by touching /etc/apparmor.d/disable/usr.sbin.libvirtd. The information about contextualization did the trick. That seems to be working fine. Thank you. On Jan 26, 2012, at 09:33 , Carlos Martín

Re: [one-users] Remus support

2012-01-30 Thread Carlos Martín Sánchez
Hi, OpenNebula does not support Remus management. You can read in the links below what OpenNebula offers in terms of fault tolerance [1] and high availability [2]. Perhaps a tight integration with Remus is not easy, because OpenNebula assumes total control of the VM life-cycle and placement. But

Re: [one-users] Remus support

2012-01-31 Thread Carlos Martín Sánchez
Baranowo, ul. Nowina 20 tel. (061) 650-78-20 NIP: 777-101-39-55 e-mail:i...@firmaadams.pl ** ** -- *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org] *Sent:* Monday, January 30, 2012 2:36 PM *To:* d...@firmaadams.pl *Cc:* users

Re: [one-users] Symmetric Key Configuration

2012-01-31 Thread Carlos Martín Sánchez
Hi, The serveradmin user was created in the upgrade process, and the /var/lib/one/.one/sunstone_auth file should be also created. Did you get any error message from the onedb command? The sunstone_auth file contains the password un-hashed. If you want to update the password, use this command:

Re: [one-users] How to access VMs?

2012-02-01 Thread Carlos Martín Sánchez
Hi, As you can read in the contextualization guide [1], there are two levels of contextualization: - The networking contextualization, to set the IP leased by OpenNebula from the MAC. - And the generic contextualization, that's what the init.sh script is for. The init.sh script is just an

Re: [one-users] locking plugin

2012-02-01 Thread Carlos Martín Sánchez
Hi, Thank you for sharing! Cheers. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Mon, Jan 30, 2012 at 8:34 AM, Upendra

Re: [one-users] XMLRPC: one.vm.action(finalize)

2012-02-01 Thread Carlos Martín Sánchez
Hi Manuel, That's right, onevm delete uses the finalize action. We will update the onevm command table at the top of that guide to include each action. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] vm dirs recreated by opennebula

2012-02-02 Thread Carlos Martín Sánchez
Hi, For OpenNebula, VMs are never completely deleted. You can still issue a 'onevm show', and see al the VMs in DONE state. I think those directories are created when the VMs are cached again, maybe because the accounting or statistics module. If that's becoming an important issue for you, and

Re: [one-users] vm is in unknown state(Centos 5.5, OpenNebula 2.0)

2012-02-03 Thread Carlos Martín Sánchez
Hi, OpenNebula sets the unk. state because the deployment succeeded, but the monitorization didn't. The first thing you should check is if the VM is actually running in your host. I suggest you to upgrade to the latest 3.2.1 version. Regards -- Carlos Martín, MSc Project Engineer OpenNebula -

Re: [one-users] onehost list showing stat err

2012-02-03 Thread Carlos Martín Sánchez
Hi, If you had another oned process, you should look for the scheduler daemon as well, mm_sched. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] is database(sqlite db) is necessary to run vm in opennebula 2.0 with xen

2012-02-07 Thread Carlos Martín Sánchez
Yes, OpenNebula needs a database to run, either sqlite or mysql. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On

Re: [one-users] Installation of OpenNebula 3.2 on Ubuntu OS

2012-02-07 Thread Carlos Martín Sánchez
Hi Poul, You said in a previous email you wanted to dump your sqlite DB to mysql... What DB configuration are you using? Was that DB created by you, or opennebula? Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization

Re: [one-users] [DEV] Questions about scale-in implementation in OpenNebula

2012-02-08 Thread Carlos Martín Sánchez
Hi Paul, This is a very interesting feature. You should open a new ecosystem project [1] as soon as your code is usable, so others can test it. If you would like to see your code merged upstream once it gets to a mature enough state, make sure that whoever has to give the thumbs up in your

Re: [one-users] problem with RANGED network (or caching)

2012-02-09 Thread Carlos Martín Sánchez
Hi Rolandas, I'd say that your better option is to move those commands to the init.sh script. Just put in the CONTEXT all the variables you may need, I'm guessing that would be $NIC[IP,NETWORK=\NET-NAME\]. These variables will be written by OpenNebula in the context.sh file, which you can source

Re: [one-users] OpenNebula 3.2 need memory and CPU over-commit.

2012-02-10 Thread Carlos Martín Sánchez
Hi Maxim, CPU overcommitment can be set up with the CPU / VCPU attributes. Let's say you have an 8-core host, and you want to run a max. of 16 VMs, each with 2 virtual CPUs: CPU = 0.5 VCPU = 2 Unfortunately, OpenNebula doesn't have any equivalent for memory overcommitment. Maybe we should add

Re: [one-users] /usr/include/xmlrpc-c/client.h:102:5: error: 'xmlrpc_dialect' does not name a type

2012-02-16 Thread Carlos Martín Sánchez
Hi, I suggest you to try with the latest 3.2 version, following the documentation [1], and the dependencies list [2]. Regards. [1] http://opennebula.org/documentation:rel3.2:compile [2] http://opennebula.org/documentation:rel3.2:build_deps -- Carlos Martín, MSc Project Engineer OpenNebula - The

Re: [one-users] Problems using allocateFromTemplate(Client client, int templateId) java OCA

2012-02-16 Thread Carlos Martín Sánchez
Hi, This is indeed a bug [1], that method is deprecated. Template.instantiate() must be used instead. Thank you for the feedback! [1] http://dev.opennebula.org/issues/1128 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization

Re: [one-users] SaaS with OpenNebula

2012-02-16 Thread Carlos Martín Sánchez
Hi, With OpenNebula you, as an administrator, can configure a list of VMs and make them available to your users, that will be able to start and shutdown them on demand. Take a look at the Self Service interface screencast [1] to get an idea of how your users would interact with OpenNebula. In you

[one-users] Feedback request: Misleading error messages

2012-02-16 Thread Carlos Martín Sánchez
Dear community, For the next release we have scheduled a ticket to improve the error messages [1]. We are aware of some generic errors that could provide more details. But some other messages can make sense to us, as developers, and be misleading or insufficient to you. So, if you have ever

Re: [one-users] Network: fixed IP Adresses

2012-02-23 Thread Carlos Martín Sánchez
Hi Hendrik, How did you configure your dhcp? OpenNebula assigns IPs through the MAC addresses, contextualizing the guest OS to translate that MAC to IP. You can read more in the following links: [1] http://opennebula.org/documentation:rel3.2:vgg#getting_a_lease [2]

Re: [one-users] something more sophisticated ...

2012-02-23 Thread Carlos Martín Sánchez
Hi, The simplest way to deploy such scenario I can think of, without coding, is to have duplicated templates for the VMs of users in group B: Template_1: [..] NIC = [ NETWORK = B ] Template_1_retry: [..] NIC = [ NETWORK = A ] Users can try to instantiate Template_1 and, if the instantiation

Re: [one-users] EC2 Security Group - CLI and EC2 Interface

2012-02-23 Thread Carlos Martín Sánchez
Hi Greg, That's certainly an interesting feature to add! I think your approach to copy the VirtualNetworkPool is a good start. Maybe you could take some of GroupPool code and mix it, assuming VMs will be assigned to one Security Group like they are now assigned to a Group. Take a look at

Re: [one-users] installing opennebula using oneadmin account

2012-03-01 Thread Carlos Martín Sánchez
Hi, We can't help you if you don't elaborate a bit more what your problem is... any error messages or logs? What command are you using to install opennebula? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] [HostAllocate] User couldn't be authenticated, aborting call.

2012-03-01 Thread Carlos Martín Sánchez
Hi, It might help if you could send a minimal code example to reproduce your problem. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] opennebula3.2.1-username:password-question

2012-03-01 Thread Carlos Martín Sánchez
Hi, Yes, OpenNebula 3.2 expects the plain password. We warn about this kind of changes in the Compatibility Guide [1]. Regards. [1] http://opennebula.org/documentation:rel3.2:compatibility#developers_and_integrators -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution

Re: [one-users] onevm saveas : not authorized to perform action on virtual machine

2012-03-02 Thread Carlos Martín Sánchez
Thank you Faras and Rolandas for reporting this bug, we are looking into it: http://dev.opennebula.org/issues/1152 Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread Carlos Martín Sánchez
Hi, Looks like you have installed two opennebulas, one in system-wide mode and another in self-contained inside /srv/cloud/one. I strongly advise you to choose one and uninstall the other. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center

Re: [one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

2012-03-05 Thread Carlos Martín Sánchez
xen.rb Could you help me?? Thank you!!! 2012/3/5 Carlos Martín Sánchez cmar...@opennebula.org Hi, Looks like you have installed two opennebulas, one in system-wide mode and another in self-contained inside /srv/cloud/one. I strongly advise you to choose one and uninstall the other

Re: [one-users] installing opennebula using oneadmin account

2012-03-05 Thread Carlos Martín Sánchez
Hi, You need to execute the install.sh script as sudo, and use the -u and -g options to set the oneadmin user. See [1] for all the available options. For instance: $ sudo install.sh -u oneadmin -g oneadmin Regards. [1] http://opennebula.org/documentation:rel3.2:compile -- Carlos Martín, MSc

Re: [one-users] java api

2012-03-06 Thread Carlos Martín Sánchez
Hi, Are you using the 3.2 java OCA? The authentication changed a bit, take a look at http://opennebula.org/documentation:rel3.2:compatibility#developers_and_integrators Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization

Re: [one-users] opennebula 3.

2012-03-07 Thread Carlos Martín Sánchez
Hi, You may get more useful information in /var/log/one/oned.log. The authentication in the CLI works reading the credentials from ~/.one/one_auth. This file is also read the first time opennebula is started to create the oneadmin user. This kind of errors usually happen because oneadmin's

Re: [one-users] Opennebula+Storage...Help!!!

2012-03-08 Thread Carlos Martín Sánchez
Hi, You can find information about the OpenNebula storage model in our documentation [1], or use the mail-archive.com mirror [2] to search this mailing list Regards. [1] http://opennebula.org/documentation:rel3.2:sm [2] http://www.mail-archive.com/users@lists.opennebula.org/info.html -- Carlos

Re: [one-users] [Monitor Error] Error executing xen.rb. Please help!!!!

2012-03-08 Thread Carlos Martín Sánchez
Hi, You didn't need to delete that host, that error message is just an attribute, informing you of the last error occurred. But the host was in the MONITORED state, so it was ready to deploy VMs. Instead, you could have used the command onehost update to edit the template and delete that ERROR

Re: [one-users] how I can use openNebula to combine 2 clusters in one cloud?

2012-03-08 Thread Carlos Martín Sánchez
Hi, 2012/3/6 Eman Hossny e.hos...@gmail.com 1- can I combine these 2 clusters in one cloud? You can have an OpenNebula installation in each cluster, and then manage both using OpenNebula Zones [1]. 2- can I make Virtual storage from these 2 clusters, i.e. combine the hard disk of all

Re: [one-users] Problems with IPs in VM

2012-03-13 Thread Carlos Martín Sánchez
Hi, Are your VMs contextualized? [1] Regards. [1] http://opennebula.org/documentation:rel3.2:cong -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] create vm error : No space left on device

2012-03-13 Thread Carlos Martín Sánchez
Hi, You are right, the OpenNebula scheduler does not check the available storage. But the scheduler ignores disables hosts, so you can set up a cron job to gather the storage left in each host and execute 'onehost disable' or 'enable'. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula -

Re: [one-users] I'm confused the sunstone to create a VM on CentOS + ONE + XEN.

2012-03-13 Thread Carlos Martín Sánchez
Hi, What storage model are you using [1], shared? If so, please check that /srv/cloud/one/var/ is properly mounted in your host. Regards. [1] http://opennebula.org/documentation:rel3.2:sm -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization

Re: [one-users] Create VM Fail: error: disk I/O error

2012-03-13 Thread Carlos Martín Sánchez
Hi, Looks like you are out of space... Sun Mar 11 18:58:47 2012 [TM][E]: tm_clone.sh: cp: writing `/srv/cloud/one/var/22/images/disk.0': No space left on device Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization

Re: [one-users] Creating virtual machine is always in the boot state

2012-03-13 Thread Carlos Martín Sánchez
Hi, The 'boot' status means that the hypervisor deploy action has been executed, but opennebula is still waiting for a response to move the VM to 'running' or 'failed'. Maybe you will get more info in your hypervisor logs. Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - The

Re: [one-users] create vm error : No space left on device

2012-03-14 Thread Carlos Martín Sánchez
host will be scheduled if i want to gather the storage . I got the info from opennebula ,when i get the hostid ,may be it's too late. -- 张光鹏 *发件人:* Carlos Martín Sánchez cmar...@opennebula.org *发送时间:* 2012-03-13 18:15 *收件人:* 张光鹏 zhan...@neusoft.com *抄送:* users

Re: [one-users] opennebula and XEN

2012-03-14 Thread Carlos Martín Sánchez
Hi, This [1] may be what you are looking for. Regards [1] http://opennebula.org/documentation:rel3.2:accounting -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] how to recover failed vms

2012-03-15 Thread Carlos Martín Sánchez
Hi Jhon, Your description is very accurate, and I have just one comment: Instead of manually executing the 'virsh create' command, you can execute 'onevm restart' [1]. This will have the same effect, the hypervisor deployment command is executed without going through the prolog state. The files

Re: [one-users] bug

2012-03-20 Thread Carlos Martín Sánchez
Hi, I doubt anyone will download an attached file without any description about its contents. If you expect people to take time to write an answer, please take yourself some time to write a detailed question. Be precise, and include as many useful information as possible so others can help.

Re: [one-users] SOLVED: self service instance type error

2012-03-20 Thread Carlos Martín Sánchez
Hi Rogier, Thank you for your great feedback! We have opened a ticket [1] to include this fix in the next version. Cheers. [1] http://dev.opennebula.org/issues/1173 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] opennebula: lease creation and usage

2012-03-20 Thread Carlos Martín Sánchez
Hi Stéphane, I can see some problems with the templates you are pasting: - Your VNet template must use the LEASES attribute instead of LEASE, take a look at the examples in the doc. [1] - Inside VM/NIC, NETWORK_UID must be combined with the NETWORK attribute. If you want to provide the VNET ID,

Re: [one-users] Restricted attributes in VM Templates error

2012-03-20 Thread Carlos Martín Sánchez
FYI, Olivier opened a request in dev.opennebula.org [1], and the behaviour he describes will be included in OpenNebula 3.4 Cheers. [1] http://dev.opennebula.org/issues/1159 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization

[one-users] Fwd: OpenNebula 3.3 and VMware ESXi 5

2012-03-20 Thread Carlos Martín Sánchez
Hi all, I'm forwarding this e-mail that, for some unknown reason, is not reaching the mailing list. Apologies if you get it twice. -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] Manually correcting ACPU ?

2012-03-23 Thread Carlos Martín Sánchez
to this host. Any idea how that could have happened in first place, so we can avoid it in the future ? Yours, Steffen On Thu, 2011-07-07 at 10:22 +0200, Carlos Martín Sánchez wrote: Subject: Re: [one-users] VMs in PENDING [was: Fixing up USED / FREECPU ?] ... Maybe

Re: [one-users] Dynamic IP Leases and NIC hotplug on Running VM

2012-03-23 Thread Carlos Martín Sánchez
Hi Simon, That functionality is not available in OpenNebula at the moment, but it is something we have in mind to be included at some point in the mid or long-term. I'm not sure if your email is a feature request, or you were asking for comments on how to implement it. We can give you support if

Re: [one-users] opennebula: lease creation and usage

2012-03-23 Thread Carlos Martín Sánchez
Martín Sánchez cmar...@opennebula.org Hi Stéphane, I can see some problems with the templates you are pasting: - Your VNet template must use the LEASES attribute instead of LEASE, take a look at the examples in the doc. [1] - Inside VM/NIC, NETWORK_UID must be combined with the NETWORK

Re: [one-users] VM Placement

2012-03-28 Thread Carlos Martín Sánchez
Hi, Using the sched.conf file, you can only define global policies for all VMs and Hosts. If you need to use different policies for a group of Hosts, I would add a new attribute to the Hosts you want to apply the policy, let's say POLICY=PACKING. Then add to all the VMs you want to deploy in this

Re: [one-users] VM life cycle - error handling

2012-03-28 Thread Carlos Martín Sánchez
Hi Danny, On Thu, Mar 22, 2012 at 6:48 PM, Danny Sternkopf danny.sternk...@csc.fi wrote: 1) onevm shutdown fails: [...] However ONE already released the VMs IP and assigned it to another VM which of course cause a clash. I wonder if this is intended to work like this? Obviously ONE knows

Re: [one-users] Sunstone login failure - bad decrypt

2012-04-09 Thread Carlos Martín Sánchez
Hi, serveradmin is a special user that the servers, like sunstone, use to forward user requests to the core. You can't login with that user. You have more information about the opennebula authentication here [1], and what is the serveradmin account here [2]. In that second link you will also

Re: [one-users] oneuser list as a regular user returns an empty list.

2012-04-10 Thread Carlos Martín Sánchez
Hi, This is a known issue [1], the permission column in the DB was not upgraded properly. The internal object representation is fine though, and this does not represent any security risk. To fix the issue, you have to make OpenNebula update the user information in the DB, the easiest way to do

Re: [one-users] Upgrade 3.2 - 3.4 with active VMs

2012-04-12 Thread Carlos Martín Sánchez
Hi Michael, The reason why VMs have to be shut down is because the storage model has changed quite a bit in this last version, and we couldn't come up with a migration process that felt solid enough for any deployment. But, since you said you are ready for lots of manual work, let's try this:

Re: [one-users] 3.4.0 and HISTORY

2012-04-17 Thread Carlos Martín Sánchez
Hi Chris, It is indeed a bug. At first I wasn't able to reproduce the problem, then I realized you were creating VM directly from a template file rather than using onetemplate. We are looking into it [1]. Meanwhile, could you please try to create the VMs with onetemplate instantiate [2], and see

Re: [one-users] 3.4.0 and HISTORY

2012-04-17 Thread Carlos Martín Sánchez
and haven't had the time to get it into what I would consider a reasonable state. But FWIW, here it is. On Tue, Apr 17, 2012 at 09:53:07AM -0400, Carlos Martín Sánchez wrote: Hi Chris, It is indeed a bug. At first I wasn't able to reproduce the problem, then I realized you were creating

Re: [one-users] VM forced deletion? [VM hanging in CLEANUP state]

2012-04-19 Thread Carlos Martín Sánchez
Hi, When you modify the DB, there are two important things to be aware of: - OpenNebula must be stopped first, otherwise the cached objects will be flushed again to the DB and your changes will be ignored - All the data is stored as xml inside the body column. Some attributes are copied to

Re: [one-users] Upgrade 3.2 - 3.4 with active VMs (SOLVED)

2012-04-20 Thread Carlos Martín Sánchez
version, great work [siehe angehängte Datei: 3.4.0_to_3.4.0.5.rb] Am 12.04.2012 um 16:26 schrieb Carlos Martín Sánchez: Hi Michael, The reason why VMs have to be shut down is because the storage model has changed quite a bit in this last version, and we couldn't come up with a migration

Re: [one-users] OpenNebula on 1 Machine

2012-04-23 Thread Carlos Martín Sánchez
Hi, You can register localhost as an OpenNebula Host without any problem. Make sure you follow all the steps in the documentation regarding the Host requisites, for instance oneadmin must have passwordless ssh access to localhost. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The

Re: [one-users] Question regarding password change for oneadmin. Errors in oned.log after the change.

2012-04-23 Thread Carlos Martín Sánchez
Hi, Just to clarify, the authentication file is the one pointed by the env. variable ONE_AUTH (not ONE_AUTHENTICATION), or if it is not defined, ~/.one/one_auth. Adam, the steps you followed are the right way to change the user password. You said you changed ~/.one.one_auth but I'm assuming

Re: [one-users] failed to create domain

2012-04-24 Thread Carlos Martín Sánchez
Hi, Are you using the shared TM driver [1] in your system datastore? If so, please check that the datastore directory is properly exported, and that files created in the front-end have the correct permissions so the oneadmin account in the host can see them. Regards [1]

Re: [one-users] vm doesn't change its states when used fully virtualized images using xen hypervisor

2012-04-24 Thread Carlos Martín Sánchez
Hi, Do you have any error messages in /var/log/one/oned.log or /var/log/one/vm_id.log? What TM drivers are you using for your datastores? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] openenbula3.4——bug and a question about datastores

2012-04-24 Thread Carlos Martín Sánchez
Hi, You need to set the DS_MAD datastore attribute to 'vmware' [1], instead of 'fs'. Regards [1] http://opennebula.org/documentation:rel3.4:vmware_ds -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] ONE_AUTH file during one start

2012-04-26 Thread Carlos Martín Sánchez
Hi, The auth file is only required the first time OpenNebula starts to create the oneadmin user. I'm looking at the 'one' script, and it only shows the missing ONE_AUTH error message if the one.db file is not found... which will never be if you are using mysql. Is this your scenario? I've opened

Re: [one-users] ACL rules for user

2012-05-07 Thread Carlos Martín Sánchez
Hi, The acl rules are explained here [1]. It may be easier to create them from Sunstone. On Wed, May 2, 2012 at 12:33 PM, Darshan Upadhyay darshan...@gmail.com wrote: I want to create one user, let say xyz. who can just run the VM(existing created VM) and get the relevant information of VM,

Re: [one-users] examples of pre, post and clean scripts for VNM

2012-05-09 Thread Carlos Martín Sánchez
Hi, On Wed, Apr 25, 2012 at 2:16 PM, José Valerio jose.vale...@unine.ch wrote: - how can I add new VN MAD? (I don't want to modify dummy, vmware, etc). i tried just creating a new directory inside the remotes/vnm dir but it didn't work. Maybe I need to do something else. To create a new

Re: [one-users] ONE success stories

2012-05-14 Thread Carlos Martín Sánchez
Hi, I hope the following links are helpful: http://opennebula.org/community:users http://opennebula.org/about:contributors Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org |

Re: [one-users] Problem... but not sure what...

2012-05-14 Thread Carlos Martín Sánchez
Hi, Looks like you executed 'oned start' instead of 'one start'. oned is the core daemon, but the 'one' script also starts the scheduler process mm_sched. That's probably why your VM is stuck on pending. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for

Re: [one-users] Error when upgrading to 3.4.1

2012-05-16 Thread Carlos Martín Sánchez
Hi, Looks like something happened to your one_auth file. It is located in the file pointed by the ONE_AUTH environment variable, or ~/.one/one_auth. It must contain 'oneadmin:password'. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center

Re: [one-users] problem in instantiating VM

2012-05-16 Thread Carlos Martín Sánchez
Hi, First thing in the checklist: did you follow the KVM configuration guide? http://opennebula.org/documentation:rel3.4:kvmg#configuration Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org |

Re: [one-users] VM template : source in DISK attribute don't work!

2012-05-21 Thread Carlos Martín Sánchez
Hi, That error message might be a bit misleading, but it means that you need to use a registered image, with the attribute DISK/IMAGE_ID (or IMAGE). DISK/SOURCE cannot be used anymore in OpenNebula 3.4. We warned about it in the compatibility guide [1], but we didn't notice the VM template

Re: [one-users] Added VM IP adresses to the list of VMs in sunstone

2012-05-22 Thread Carlos Martín Sánchez
Hi Jhon, On Tue, May 22, 2012 at 8:44 AM, Jhon Masschelein jhon.masschel...@sara.nl wrote: Looking at the template in the sunstone interface (tabs at the bottom), we see both CPU and VCPU listed. However, when I look at the javascript array object used to fill in the vm table in sunstone,

Re: [one-users] problem with VM monitoring (Xen + opennebula-3.2.1)

2012-05-24 Thread Carlos Martín Sánchez
Hi, This is fixed in OpenNebula 3.4+, see [1]. I think you should be able to apply these changes [2] in 3.2 without any problems. Regarding your question, you can't force a VM in the suspended state to be monitored and restored to the running state, unless you change in the DB the vm_pool

<    1   2   3   4   5   6   7   8   9   10   >