Commit 9413d8af by Your Name

Fixes: new request form, batch processing in perodic tasks

parent 4937c30e
...@@ -25,10 +25,12 @@ ...@@ -25,10 +25,12 @@
<div class="alert alert-info text-justify"> <div class="alert alert-info text-justify">
{% trans "Changing resources is only possible on virtual machines with STOPPED state. We suggest to turn off the VM after submitting the request otherwise it will be automatically stopped in the future when the request is accepted." %} {% trans "Changing resources is only possible on virtual machines with STOPPED state. We suggest to turn off the VM after submitting the request otherwise it will be automatically stopped in the future when the request is accepted." %}
</div> </div>
<!-- Due the new form from Gergo
<div class="form-group"> <div class="form-group">
<label>{% trans "Message" %}*</label> <label>{% trans "Message" %}*</label>
<textarea class="form-control" name="message">{% include "request/initials/resources.html" %}</textarea> <textarea class="form-control" name="message">{% include "request/initials/resources.html" %}</textarea>
</div> </div>
--->
<input type="submit" class="btn btn-success btn-sm"/> <input type="submit" class="btn btn-success btn-sm"/>
</div> </div>
......
...@@ -550,6 +550,7 @@ class DestroyOperation(InstanceOperation): ...@@ -550,6 +550,7 @@ class DestroyOperation(InstanceOperation):
id = "_delete_vm" id = "_delete_vm"
name = _("destroy virtual machine") name = _("destroy virtual machine")
task = vm_tasks.destroy task = vm_tasks.destroy
remote_timeout = 120
# if e.libvirtError and "Domain not found" in str(e): # if e.libvirtError and "Domain not found" in str(e):
@register_operation @register_operation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment