search for: start_now

Displaying 13 results from an estimated 13 matches for "start_now".

2009 Jul 24
1
permit many-to-many vms / networks relationship redux
redux patchset permitting a vm to be associated with multiple networks and vice-versa. updated patchset so as to be applicable against current oVirt server HEAD these patches may be applied in any order, they all need to be pushed together
2009 Jul 09
2
permit many-to-many vms / networks relationship
This patchset contains changes to the ovirt server frontend, backend, and tests components, permitting vms to be associated with multiple networks and vice versa. Also included are two patches which are required for the frontend bits; a patch adding collapsable sections to the vm form, which in itself depends on the second patch that provides default values for the cpu and memory vm table fields
2014 Feb 18
0
Wait for network delay
...ying to clean-up the NUT state directory $STATEDIR from stale files..." ${UPSMON} stop ${UPSD} stop rm -f ${STATEDIR}/upsd.pid ${UPSDRV} stop for UPS in \ `egrep '^\[' ${UPSDRV_CONF} | sed 's,^ *\[\(.*\)\] *,\1,g'`; do rm -f ${STATEDIR}/*-${UPS}{,.pid} done } start_now() { echo_wall "Trying to delayed-start the UPS monitoring now" ${UPSDRV} status || \ ${UPSDRV} restart sleep 5 ${UPSDRV} status || { cleanup; sched; exit 1; } ${UPSD} restart ${UPSMON} restart sleep 5 ( status || { cleanup; sched; exit 1; } ) | wall } case "$1" i...
2010 Aug 25
2
[PATCH] Virtio support
...nfig_remove"> Remove @@ -113,10 +124,11 @@ </div> <div class="clear_row"></div> - <div class="form_heading"/> - <%= check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %> - <%= check_box_tag_with_label "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %> - + <div class="form_heading clickable closed"&gt...
2009 May 15
1
[PATCH server] provide default uuid and mac if not provided for create.
...fault_mac_and_uuid(new_vm_hash) + @vm = Vm.new(new_vm_hash) authorized!(Privilege::MODIFY, @vm.vm_resource_pool) end @@ -71,6 +65,7 @@ module VmService # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the vm's VmResourcePool def svc_create(vm_hash, start_now) + default_mac_and_uuid(vm_hash) vm_hash[:state] = Vm::STATE_PENDING @vm = Vm.new(vm_hash) authorized!(Privilege::MODIFY, at vm.vm_resource_pool) @@ -250,4 +245,16 @@ module VmService authorized!(priv, at vm.vm_resource_pool) end + def default_mac_and_uuid(vm_hash) +...
2014 Feb 16
3
Wait for network delay
On 2/5/2014 8:24 AM, Charles Lepple wrote: > On Feb 4, 2014, at 10:48 PM, Elliot Dierksen wrote: > >> NUT will complain endlessly about communication errors and never establish SNMP communication with my APC UPS > Hmm, at first glance, I read the "complain endlessly" part as a figure of speech, and figured SNMP would get there eventually since it's UDP. But if you have
2009 Jun 30
0
[PATCH server] permit many-to-many vms / networks relationship
...s[:vm_resource_pool_id]).get_hardware_pool.storage_tree.to_json - @networks = Network.find(:all).collect{ |net| [net.name, net.id] } render :layout => 'popup' end def create params[:vm][:forward_vnc] = params[:forward_vnc] - alert = svc_create(params[:vm], params[:start_now]) + _parse_network_params(params) + alert = svc_create(params[:vm], params[:start_now], params[:nics]) render :json => { :object => "vm", :success => true, :alert => alert } end def edit svc_modify(params[:id]) _setup_provisioning_options - @ne...
2009 Jun 19
1
[PATCH server] add collapsable sections to vm form
...k_box_tag_with_label "Forward vm's vnc port locally", "forward_vnc", 1, @vm.forward_vnc %> + </div> + <div class="clear_row"></div> - <%= check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %> - <%= check_box_tag_with_label "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %> + <%= rcheck_box_tag_with_label "Start VM Now? (pendin...
2009 Jul 13
0
[PATCH server] remove vm forward vnc and vm host history
...dex 197241d..11b68ed 100644 --- a/src/app/controllers/vm_controller.rb +++ b/src/app/controllers/vm_controller.rb @@ -61,7 +61,6 @@ class VmController < ApplicationController end def create - params[:vm][:forward_vnc] = params[:forward_vnc] alert = svc_create(params[:vm], params[:start_now]) render :json => { :object => "vm", :success => true, :alert => alert } end @@ -75,7 +74,6 @@ class VmController < ApplicationController end def update - params[:vm][:forward_vnc] = params[:forward_vnc] alert = svc_update(params[:id], params[:vm],...
2009 Jul 24
2
[PATCH server] add collapsable sections to vm form
...lly", "forward_vnc", 1, @vm.forward_vnc %> - <div class="clear_row"></div> + </div> + <div class="clear_row"></div> <%= check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %> <%= check_box_tag_with_label "Restart VM Now? (pending current resource availability)", "restart_now", nil if @vm.state == Vm::STATE_RUNNING %> @@ -103,7 +112,11 @@ ${htmlList(pools, id)} channel: ...
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...pp/services/vm_service.rb index fb58b51..4c29bcf 100644 --- a/src/app/services/vm_service.rb +++ b/src/app/services/vm_service.rb @@ -71,7 +71,6 @@ module VmService # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the vm's VmResourcePool def svc_create(vm_hash, start_now) - # from before_filter vm_hash[:state] = Vm::STATE_PENDING @vm = Vm.new(vm_hash) authorized!(Privilege::MODIFY, at vm.vm_resource_pool) @@ -106,9 +105,7 @@ module VmService # === Required permissions # [<tt>Privilege::MODIFY</tt>] for the Vm's VmResourcePool...
2009 May 19
1
re-sending outstanding controller refactoring patches after rebase
I've rebased the patch series to the current next branch and am sending them again.
2009 Jun 19
0
[PATCH server] add toggable sections to vm form
...x_tag_with_label "Forward vm's vnc port locally", "forward_vnc", 1, @vm.forward_vnc %> + </div> <div class="clear_row"></div> <%= check_box_tag_with_label "Start VM Now? (pending current resource availability)", "start_now", nil if create or @vm.state == Vm::STATE_STOPPED %> @@ -104,6 +129,16 @@ ${htmlList(pools, id)} refresh: VmCreator.returnToVmForm }); }); -</script> + toggle_visability_on_click('#vm_general_config', '#vm_general_section_link', 'General...