Hi, Carlos, Thanks for a quick and precise information. - onevm hold will not be helpful to us because it also requires users to be "quick" just like deploy. - For the time being, using some impossible requirement will be our solution - We will look forward to the new option that you plan to add to 4.0
Thanks again HyunWoo FermiCloud Project. ________________________________________ From: Carlos Martín Sánchez [cmar...@opennebula.org] Sent: Thursday, December 20, 2012 4:46 AM To: Hyun Woo Kim Cc: users@lists.opennebula.org Subject: Re: [one-users] option to prevent a VM instance from being deployed Hi, That is what the command 'onevm hold' [1] does. But that command requires you to instantiate the template, and then quickly hold the new VM. For the next version we will add the option to create the new VMs directly on hold instead of pending [2]. Meanwhile, if you don't want to instantiate & hold, you can also use this workaround: Add an imposible requirement [3], such as REQUIREMENTS="NAME = NONEXISTENTHOST". The scheduler won't be able to find a suitable host, but you can still deploy that VMs manually. Regards [1] http://opennebula.org/documentation:rel3.8:vm_guide_2#life-cycle_operations [2] http://dev.opennebula.org/issues/1103 [3] http://opennebula.org/documentation:rel3.8:template#requirement_expression_syntax -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org<http://www.OpenNebula.org> | cmar...@opennebula.org<mailto:cmar...@opennebula.org> | @OpenNebula<http://twitter.com/opennebula><mailto:cmar...@opennebula.org> On Wed, Dec 19, 2012 at 10:22 PM, Hyun Woo Kim <hyun...@fnal.gov<mailto:hyun...@fnal.gov>> wrote: Hi Open Nebula developers and users, Is it possible to prevent a VM instance from being deployed automatically after a couple of seconds? When we do "onetemplate instantiate N", the new VM will stay at "PEND" briefly and go to "PROL" in just a few seconds, right? For a certain types of templates, we would like to make the virtual machines (in the PEND state) to wait for admin's command "onevm deploy" (to be sent to a specific set of hosts).. Hyunwoo FermiCloud Project _______________________________________________ Users mailing list Users@lists.opennebula.org<mailto: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