Sub- and Remote Operations
closes #304 (closed)
requires vmdriver!4 (merged)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
44 45 ) 45 from .tasks import agent_tasks, local_agent_tasks 46 from .tasks import agent_tasks, local_agent_tasks, vm_tasks 46 47 47 48 from dashboard.store_api import Store, NoStoreException 49 from storage.tasks import storage_tasks 48 50 49 51 logger = getLogger(__name__) 50 52 51 53 54 class RemoteOperationMixin(object): 55 56 remote_timeout = 30 57 58 def _operation(self, **kwargs): 59 args = self._get_remote_args(**kwargs), -
Owner
Remove commafixed
-
-
324 # Resume vm 325 with activity.sub_activity( 326 'booting', readable_name=ugettext_noop( 327 "boot virtual machine")): 328 self.instance.resume_vm(timeout=timeout) 354 self.instance._resume_vm(parent_activity=activity) 329 355 330 356 if self.instance.has_agent: 331 357 activity.sub_activity('os_boot', readable_name=ugettext_noop( 332 358 "wait operating system loading"), interruptible=True) 333 359 360 @register_operation 361 class DeployVmOperation(SubOperationMixin, InstanceOperation): 362 id = "_deploy_vm" 363 name = _("deploy vm") 364 description = _("Deploy all associated disks.") -
Owner
Deploy vm?fixed
-
-
Added 35 new commits:
- 8b6f79aa - dashboard: show node on vm
- 077f3ce8 - dashboard: fix vm detail node info
- bf6f89c8 - dashboard: add margin after vm connect button
- 4f111175 - dashboard: handle operator/owner perms in vm detail
- 9d1a11ca - dashboard: add exact time of suspend and delete on vm detail page
- e445a532 - vm: make Instance.allocate_node smarter
- 2a45d4dc - vm: fix tests to match new allocate_node
- 91be5c4c - dashboard: fix perm of profile view
- dc674ca8 - hotfix return in-middle of the function
- 1e4c94ea - dashboard: add reset_node option to VmStateChangeForm
- bff353e8 - vm: add redeploy operation
- a431c8f2 - vm: add ResetNodeOperation
- 9aec9ec4 - Merge branch 'issue-306' into 'master'
- aecadda0 - dashboard: use correct profile.pk in GroupAclUpdateView
- 2cddba6e - dashboard: fix tests
- bc48c0ba - Merge remote-tracking branch 'origin/master' into issue-289
- fed6ed40 - Merge branch 'issue-289' into 'master'
- a1403945 - dashboard: add memory to vm list
- f0929ad9 - Merge branch 'fix-groupaclupdate'
- a3ceda07 - Merge branch 'feature-redeploy' into 'master'
- 5c50b57b - vm: fix issue #315 (closed) (TypeError: unsupported operand type(s) for +: 'long' and 'unicode')
- f5f2eb9c - dashboard: handle SchedulerError in MigrateView
- 8b724e09 - Merge branch 'issue-296' into 'master'
- ed8ce9ce - requirements: bump sizefield version
- 687fccd6 - dashboard: add a little margin to disk resize button
- 2ba806df - dashboard: client cookie timer was missing an 1000 multiplication
- 803c7821 - vm: fix MigrateOperation (Unhandled exception: 'NoneType' object has no attribute 'host')
- 469417cd - dashboard: log scheduler errors in VmMigrateView
- 250c4b3d - network: show all hosts in vlan list table
- a30840bc - vm: add MigrateOperation test
- 83f7bd1e - Merge branch 'issue-310' into 'master'
- b841385c - vm: fix flake8 warning
- f69d7306 - Merge branch 'fix-http500' into 'master'
- 9f91f3a7 - Merge branch 'clientCorrect' into 'master'
- e11fffa5 - Merge remote-tracking branch 'origin/master' into feature-vm-tasks
Toggle commit list -
Owner
make allocate_node an activity
-
-
Added 1 new commit:
- ae821278 - vm: fix suboperation call in AddInterfaceOperation
Toggle commit list -
Owner
+1