1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-11 05:17:41 +03:00
Commit Graph

126 Commits

Author SHA1 Message Date
Ruben S. Montero
29df8e2352 feature #4403: Add new offline action to Sunstone 2016-04-12 11:10:36 +02:00
Ruben S. Montero
3c389f3270 development: Homogenous VM_MAD/TM_MAD (vs VMMMAD/TMMAD) name. oned does
not store DS_LOCATION, single get_system_dir() function
2016-04-10 22:39:21 +02:00
Ruben S. Montero
9552ccfbd6 feature #3848: Fix host creation form 2016-04-07 13:06:44 +02:00
Jaime Melis
adeff7a751 Remove VMware drivers 2016-04-07 11:19:33 +02:00
Jaime Melis
0766d6a872 Merge branch 'master' into remove-xen 2016-04-06 18:20:47 +02:00
Jaime Melis
df0065c9de remove xen from the code (except from Sunstone) 2016-04-06 12:11:23 +02:00
Ruben S. Montero
784a4fc960 feature #2980: VNC port tracking. Includes a VNC bitmap for each cluster to
track the ports in use in the cluster and avoid port collision. VNC ports are
assigned when the VM is deployed and released when the VM is stopped, undeployed
or done.

Includes the following:
  - 9da66150dc0e3dc2731518d8a215f9598696a999
  - 4c35a9fcccf70cbe87d2947403ea815967e7b605
  - ccfccb6d2fc40aa1c07eb994f37b8da4fb479082
  - b1b64e61a39f4452c7ba00e581de42888e0e84a5
  - d474ee4db9ed520bcae743d510be35b25ea988ed
  - dacb61b1402da2ec309b6e79bdd285d0d11de84f
2016-04-05 12:56:34 +02:00
Ruben S. Montero
9af43a6916 feature #3848 #3707: Remove VLAN from onevnet command and core 2016-03-29 15:09:39 +02:00
Carlos Martín
34f331a187 Feature #4369: Add multiple clusters to onedb upgrade & fsck 2016-03-17 17:58:20 +01:00
Carlos Martín
10cbac2d54 Feature #4217: Move cloning MP Apps IDs to a new image collection attribute 2016-03-04 16:31:10 +01:00
Anton Todorov
f9375eccab improve rescue of VM when node fail is detected
* Introduce new LCM states PROLOG_MIGRATE_UNKNOWN and PROLOG_MIGRATE_UNKNOWN_FAILURE

* Change VM migrate logic for when state is ACTIVE and lcm_state is UNKNOWN to
  call TM's PROLOG_MIGR action before VMM's BOOT

All core TM drivers that are not empty are skipping disks so there is no impact on
the default behaviour

The datastore addon drivers that implement access to raw block devices should check
if the LCM_STATE == 60 (PROLOG_MIGRATE_UNKNOWN) and to remove block device access
from the failed node and provide access to the current node.
There is a simple script function added to get LCM_STATE that can be used as follow

```bash
LCM_STATE=$(lcm_state)
if [ "$LCM_STATE" = "60" ]
fi
```

(cherry picked from commit 676f36e0aa)
2016-03-03 23:59:53 +01:00
Carlos Martín
efb59a92ba Bug #4045: Update states reference link in vm xsd
(cherry picked from commit 2bc5032504)
2015-11-19 16:18:27 +01:00
Carlos Martín
b57d35f42a Bug #4077: Remove include from user_pool.xsd
(cherry picked from commit 1f08b4bf06)
2015-10-29 11:08:37 +01:00
Jaime Melis
e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín
fe479a30c5 Feature #3028: Update host xsd with pci_devices 2015-09-02 11:27:17 +02:00
Ruben S. Montero
6fb47ac1be Merge branch 'feature-1727' 2015-07-29 12:33:57 +02:00
Carlos Martín
e0cee6b08b Update XSD files 2015-07-27 13:29:09 +02:00
Carlos Martín
6e3e25ff59 Feature #1727: Rename VOLATILE_SIZE quota to SYSTEM_DISK_SIZE 2015-07-21 11:10:57 +02:00
Carlos Martín
8a6bc86fb1 Feature #3782: Add new history reasons to xsd and sunstone 2015-07-15 11:39:16 +02:00
Carlos Martín
3c3050b10c Feature #3782: Add disk-snapshot commands to states-complete.dot 2015-07-07 18:46:06 +02:00
Ruben S. Montero
6ca1ff4b6e feature #3782: Delete snapshots in RUNNING. Added new states for disk
snapshots in running
2015-06-30 20:45:43 +02:00
Ruben S. Montero
803592d43b feature #3782: Snapshots in SUSPENDED state + dummy changed to exit 0 2015-06-25 15:36:22 +02:00
Ruben S. Montero
3e6159f70f feature #3781: DISK_VIRTUAL/ACTUAL_SIZE first class element in VM
template
2015-06-20 00:42:20 +02:00
Ruben S. Montero
83ac6188de feature #3782: New state to delete snapshots. Delete action OCA (Ruby),
core and CLI
2015-05-27 16:29:41 +02:00
Ruben S. Montero
a5c04b47e6 feature #3782: Re-design of revert operation. New action for drivers, and new state. 2015-05-26 11:24:34 +02:00
Ruben S. Montero
e306680729 feature #3782: Add DISK_SNAPSHOT_POWEROFF state 2015-05-20 00:21:26 +02:00
Ruben S. Montero
4d50231681 feature #3654: PROLOG_RESUME_FAILURE & PROLOG_UNDEPLOY_FAILURE states 2015-05-08 13:47:48 +02:00
Ruben S. Montero
5c0cd43d42 feature #3654: Update states diagram 2015-04-28 11:51:26 +02:00
Ruben S. Montero
a03e3054e5 feature #3654: Add BOOT_UNDEPLOY_FAILURE and BOOT_STOPPED_FAILURE. Get rid of map<string, string> empty declarations. 2015-04-28 11:44:56 +02:00
Carlos Martín
f919242634 Feature #3654: Remove boot action from oca, cli & sunstone 2015-04-27 16:38:05 +02:00
Ruben S. Montero
41782d01e5 feature #3654: Retry PROLOGs, EPILOGs, SHUTDOWNs and BOOTs through recover. Remove restart action from oned, removed shutdown retries through shutdown
feature #3214: Redo saveas check.

Revert "Feature #3654: Allow to run a shutdown again from shutdown state". This reverts 36afa9c864

Revert "Feature #3654: Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy". This reverts 9be8b151bc
2015-04-26 22:54:15 +02:00
Carlos Martín
36afa9c864 Feature #3654: Allow to run a shutdown again from shutdown state 2015-04-24 15:33:35 +02:00
Carlos Martín
ae7fab2ff8 Feature #3654: Merge the cancel and shutdown states 2015-04-24 15:25:47 +02:00
Carlos Martín
9be8b151bc Feature #3654: Allow to run a poweroff/undeploy again from shutdown_poweroff/undeploy 2015-04-24 12:46:58 +02:00
Carlos Martín
7f13981543 Feature #3654: Allow graceful shutdown from suspended and poweroff
(cherry picked from commit 004c2cb1411c4bf99fe16db5cfa312d28e603807)
2015-04-23 14:25:34 +02:00
Carlos Martín
df40f760a8 Feature #3654: Transition from poweroff to undeployed
(cherry picked from commit b69a0e649f24df69eb7e3ff394b5db889fb45277)
(cherry picked from commit df6d271a9b6e40c69c45fff9e4bf4c11c7590f64)
2015-04-23 13:20:08 +02:00
Carlos Martín
2f3511300f Feature #3654: Transition from suspended to stopped
(cherry picked from commit 9f56a2445748d7b07592b551f42ef06d1b81dcde)
(cherry picked from commit 0d157414579ef0e79b9613f5f1ce17d91a868874)
2015-04-23 13:11:55 +02:00
Carlos Martín
099ab8573e Feature #3214: Add action to cancel deferred disk snapshots
(cherry picked from commit 2ea26af01e1156594c70bfadf7f05ed67c4a190f)
2015-04-23 12:33:27 +02:00
Carlos Martín
f46afca372 Feature #3654: Transitions to migrate suspended VMs
(cherry picked from commit ee7bccf48a6852117091ae3051d219cd93addd3d)
2015-04-23 10:46:07 +02:00
Carlos Martín
6d3e9f4fcf Feature #3654: Transitions to migrate VMs in poweroff
(cherry picked from commit 783775471eae90759b9ca74431415551b2b83495)
(cherry picked from commit 07015c349ffe6ca2d6d0afa08c2f4091f7b23513)
2015-04-22 19:41:24 +02:00
Carlos Martín
d3b9969c71 Feature #3496: Disk/nic attach/detach actions create a new history record 2015-04-21 15:35:07 +02:00
Carlos Martín
33d23af546 Feature #3654 #2095: Add misssing transitions
(cherry picked from commit e2f0b681007cd821198495b113b6044eff0fae3e)
2015-04-14 22:31:10 +02:00
Carlos Martín
f8c728639c Feature #3654: Transitions to recover a failed epilog
(cherry picked from commit 75a275d0115390dd2cc2dab4dbb8d83bd3c3d32d)
2015-04-14 16:20:37 +02:00
Ruben S. Montero
25d6c2a7f0 feature #3564: Recover PROLOG FAILED with retry 2015-04-14 15:36:33 +02:00
Carlos Martín
c9cecaeca1 Feature #3654: Transitions to recover a failed prolog
(cherry picked from commit 00aec5067ce3961e5e3a2e42ed69314d4735e26e)
2015-04-14 14:10:37 +02:00
Ruben S. Montero
dd3edff65b feature #3654: Recover through retry 2015-04-12 21:20:28 +02:00
Ruben S. Montero
83f0805430 feature #3654: Recover PROLOG_MIGRATE_FAILURE with retries and recover (boot) action 2015-04-09 16:05:39 +02:00
Carlos Martín
a7394113e1 Feature #3654: Transitions to recover a failed prolog migrate
(cherry picked from commit a14a143b6a05c78f29099aa8958ac5cbb5511e83)
2015-04-09 12:54:25 +02:00
Carlos Martín
d683fbcdfb Feature #3654: Fix after merge 2015-03-23 16:16:17 +01:00
Carlos Martín
8e8eed4c0d Merge remote-tracking branch 'origin/master' into feature-3654
Conflicts:
	include/VirtualMachine.h
	share/doc/xsd/acct.xsd
	share/doc/xsd/vm.xsd
	src/oca/java/src/org/opennebula/client/vm/VirtualMachine.java
	src/oca/ruby/opennebula/virtual_machine.rb
	src/sunstone/public/js/opennebula.js
	src/sunstone/public/js/plugins/vms-tab.js
2015-03-23 12:08:36 +01:00