1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

248 Commits

Author SHA1 Message Date
mcabrerizo
d78a0be74a F #4913: Remove vCenter credentials as required datastore attributes. Add some vCenter restricted attributes 2017-06-15 14:12:30 +02:00
mcabrerizo
bb36e6c448 F #4913: Remove VCENTER_ONE_HOST_ID from datastore actions and required attrs 2017-06-14 09:05:45 +02:00
mcabrerizo
1419c96696 F #4913: Add vcenter net hooks to oned.conf 2017-06-12 17:58:47 +02:00
mcabrerizo
bba849991a F #4913: Add VCENTER_SWITCH_NPORTS as VNET_INHERIT_ATTR 2017-06-11 18:55:45 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
mcabrerizo
eff3fedbac F #4913: Update vcenter INHERIT and REQUIRED attrs in oned.conf 2017-04-26 09:00:26 +02:00
mcabrerizo
39fc6e110c F #4913: Add support for VM folder selection F#4823. Replace DEPLOY_FOLDER with VCENTER_VM_FOLDER 2017-04-03 17:06:04 +02:00
Jaime Melis
aa639970ff F #4913: Merge branch 'master' into feature-4913 2017-03-21 18:21:08 +01:00
mcabrerizo
db141b0769 F #4913: Add VCENTER_ to some vcenter specific attributes. Replace deprecated toolsVersionStatus 2017-03-06 09:18:38 +01:00
mcabrerizo
d58204a287 F #4913: Replace remnants of VCENTER_CLUSTER with VCENTER_ONE_HOST_ID 2017-03-03 13:32:01 +01:00
Ruben S. Montero
18ac74076a F #2347, #5004: Update xsd's 2017-03-01 17:42:17 +01:00
Ruben S. Montero
0f7e642516 F #5005: Add user ids and action request id to history records. Removed
uneeded reason history entry. Updated cli
2017-02-10 14:19:55 +01:00
Miguel Cabrerizo
f904fdd103 Feature 4823 (#185)
* F#2921 Fix DISKIO info. Accumulate values and ignore negative values for vCenter

* F#4823 Add option to specify vCenter VM folder
2017-01-20 12:41:08 +01:00
Carlos Martín
7b6a979546 update xsd files 2016-09-13 16:06:35 +02:00
Carlos Martín
5bfc6d8468 xsd files for vrouter, market, marketapp. 2016-05-30 13:24:02 +02:00
Carlos Martín
e40fa8eedb Update xsd files 2016-05-27 12:40:04 +02:00
Carlos Martín
37e16b98b7 Update VM states diagram 2016-05-26 18:42:44 +02:00
Carlos Martín
23fb6fa4ec Update states-simple.dot 2016-05-25 12:14:52 +02:00
Carlos Martín
af20cee446 Add locked-used state to image state diagrams 2016-05-11 17:22:42 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Ruben S. Montero
d0fb1f1cb3 feature #4316: BASE_PATH of datastores is built from DATASTORE_LOCATION 2016-04-17 00:00:14 +02:00
Carlos Martín
0ae80a18c9 development: Update xsd files 2016-04-15 12:11:18 +02:00
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
Carlos Martín
5f689eb296 Feature #3654: Transtions to recover failed VM boot in oca & sunstone 2015-03-20 18:05:23 +01:00
Carlos Martín
518cb268c6 Feature #2065: Add new states and actions to oca and sunstone 2015-03-18 17:32:33 +01:00
Carlos Martín
4873ee4284 Update xsd files 2015-02-25 16:49:38 +01:00
Jaime Melis
8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Carlos Martín
578070dfcd Bug #3620: Add new states to xsd 2015-02-20 18:00:40 +01:00
Carlos Martín
ab5483df14 Feature #3456: Add a state to DS, and a enable/disable action 2015-02-13 16:37:24 +01:00
Carlos Martín
e41f53a5d8 Feature #3541: Update xsd files 2015-02-03 17:48:38 +01:00
Carlos Martín
b5c58229d0 Feature #3471: Update xsd files 2015-01-23 18:32:39 +01:00
Carlos Martín
509300f1da Feature #3471: Remove group resource providers 2015-01-21 12:24:44 +01:00
Carlos Martín
ee14b1a4a9 Update vnet xsd files 2014-08-06 16:45:44 +02:00
Ruben S. Montero
ccc47d6534 Ceph: better management of RBD_FORMAT parameter. Default is RBD_FORMAT 2 2014-07-08 18:52:31 +02:00
Carlos Martín
def0b65794 Update xsd files 2014-04-24 16:32:02 +02:00
Carlos Martín
6ba694d6b2 Feature #2632: Update xsd for user and group pools 2014-01-29 16:48:24 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Tino Vazquez
0546c7e77a feature-2460: Initial take to iSCSI removal. It will be an addon from now on.
https://github.com/OpenNebula/addon-iscsi/
2013-11-14 17:10:44 +01:00
Carlos Martín
9bd0b4b735 Update xsd files 2013-10-28 12:02:07 +01:00
Carlos Martín
1f3a60070a Feature #1612: Add VOLATILE_SIZE quota to xsd doc files 2013-10-09 18:02:12 +02:00
Carlos Martín
6d447c0831 Feature #2135: Update vm state diagrams 2013-10-02 11:51:46 +02:00
Carlos Martín
074c17a002 Feature #1742: Update user pool xsd 2013-08-27 18:27:09 +02:00
Carlos Martín
ddad4270ac Feature #1742: Add migrator to 4.3.80 2013-08-26 13:20:47 +02:00
Carlos Martín
efca8d0bad Update DS xsd with new elems
(cherry picked from commit 813e40be73)
2013-07-24 11:59:54 +02:00
Carlos Martín
ddd2ec6e28 Feature #2027: Move files to new tree structure 2013-07-09 14:53:54 +02:00
Carlos Martín
e267375c6a Bug #1949: Add new states to oca, sunstone, ozones 2013-04-24 15:56:59 +02:00
Carlos Martín
0725f3308e Rename onevm destroy to onevm delete 2013-04-11 16:39:55 +02:00
Carlos Martín
561f4b37e8 Update xsd files, add tests for accounting xsd 2013-04-05 15:01:35 +02:00
Ruben S. Montero
0d6a87bdfb Merge branch 'feature-1631' into one-4.0 2013-04-04 23:35:07 +02:00
Carlos Martín
98c8f9fb6c Feature #1839: Document new state BOOT_UNDEPLOY 2013-04-04 18:01:49 +02:00
Carlos Martín
e53d97a5ad Feature #1797: The action to wake up a poweroff VM is now 'resume' 2013-04-04 16:07:10 +02:00
Carlos Martín
002ec7e915 Feature #1631: Rearrange History Actions so NONE is 0 2013-04-04 15:28:35 +02:00
Carlos Martín
4abedb3dd9 Feature #1631: Add new action element to xsd files 2013-04-04 15:06:14 +02:00
Carlos Martín
78db804413 Update xsd files 2013-04-01 17:52:11 +02:00
Carlos Martín
dbd1aabe8c Feature #1797: Update states-complete.dot 2013-04-01 17:15:27 +02:00
Carlos Martín
b37396fad4 Feature #1797: Update states-simple.dot
(cherry picked from commit 3371302024)
2013-04-01 16:10:39 +02:00
Ruben S. Montero
ea8afc435b feature #1791: Add new states to JAVA bindings, and Sunstone 2013-03-08 14:26:35 +01:00
Ruben S. Montero
e5ca272b7e feature #1691: New state for hotplugging a network interface 2013-03-06 18:33:18 +01:00
Carlos Martín
09fd31d9f8 Feature #471: Show new attributes in onevnet show output 2013-03-04 17:29:46 +01:00
Ruben S. Montero
78e71d42ce feature #1224: split HOTPLUG state into HOTPLUG & HOTPLUG_SNAPSHOT 2013-02-28 02:49:56 +01:00
Carlos Martín
ce565ac542 Feature #1739: Update doxygen file 2013-02-13 16:12:49 +01:00
Jaime Melis
7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Carlos Martín
ca955eb73c Feature #1685: Add new vm states to xsd files 2013-01-23 15:29:02 +01:00
Carlos Martín
68efaa7e62 Feature #1556: Add new elem to migrator, and xsd 2013-01-08 15:17:00 +01:00
Carlos Martín
2d68cb5fdb Bug #1595: Store a collection of Image IDs that are currently cloning an Image 2012-10-31 17:52:23 +01:00
Carlos Martín
26d22d685d Bug #1595: Add new elements to xsd files 2012-10-30 18:34:15 +01:00
Carlos Martín
77f7613cd2 Small update in xsd documentation file 2012-10-22 16:27:25 +02:00
Carlos Martín
8da8c473da Small updates to doc files 2012-10-22 14:50:49 +02:00
Carlos Martín
cdf2981cd7 VM states diagram: add transitions lost in merge commit:ea98ae0 2012-10-19 11:45:21 +02:00
Ruben S. Montero
ea98ae0bc8 Merge branch 'bug-1210'
Conflicts:
	share/doc/states/states-complete.dot
2012-10-18 23:40:01 +02:00
Carlos Martín
5dd89ce9ae Update VM states diagram. Includes states from branch 1210 2012-10-18 18:21:59 +02:00
Carlos Martín
41d78ded1f Bug #1210: On prolog failure, add the transition PROLOG_RESUME -> STOPPED 2012-10-17 16:58:20 +02:00
Carlos Martín
c05870367d Bug #1210: Add BOOT_STOPPED state to xsd and dot documentation files 2012-10-17 15:46:57 +02:00
Carlos Martín
2f5f581314 Bug #1210: Add BOOT_SUSPENDED state to xsd and dot documentation files 2012-10-17 12:53:22 +02:00
Carlos Martín
825b576cb9 Bug #1557: Add BOOT_POWEROFF state to xsd and dot documentation files 2012-10-16 15:52:07 +02:00
Carlos Martín
a363381aab Bug #1557: Add BOOT_UNKNOWN state to xsd and dot documentation files 2012-10-16 14:56:06 +02:00
Carlos Martín
0a30d4c364 Feature #1404: Add new VM states to .dot diagram files 2012-09-04 18:51:08 +02:00
Carlos Martín
7f43ddb983 Feature #1285: Change Host memory units in code comments and XSD files 2012-07-12 12:52:13 +02:00
Carlos Martín
271fe19d33 Add Image state diagrams .dot files 2012-07-10 14:38:02 +02:00
Tino Vazquez
989b1d1fbc feature #1285: Explain values of the host XML representation
(cherry picked from commit a56e954140)
2012-07-03 18:42:31 +02:00
Carlos Martín
1ee82ca626 Bug #1306: Update xsd files 2012-07-02 14:50:21 +02:00
Carlos Martín
aab607da35 Update VM state diagrams 2012-06-25 15:37:56 +02:00
Ruben S. Montero
8f809df025 Merge branch 'feature-1291' 2012-06-19 14:30:50 +02:00
Carlos Martín
9e2a15f820 Feature #1291: Update image.xsd doc file 2012-06-18 16:53:14 +02:00
Carlos Martín
780fad0c7b Update xsd doc files 2012-06-18 16:27:52 +02:00
Ruben S. Montero
32f72f56e7 feature #1288: XSD schemas for user/group quotas 2012-06-10 22:14:52 +02:00
Ruben S. Montero
0094bfa917 feature #766: Update host.xsd with a comment for the host states 2012-05-18 14:37:07 +02:00
Carlos Martín
8ff65a3b7c Feature #1099: Update XSD files 2012-05-11 18:19:13 +02:00
Carlos Martín
a5147bd2c3 Update XSD documentation files to 3.4
(cherry picked from commit 122e0aede9)
2012-04-10 16:02:10 +02:00
Carlos Martín
544190a48b Update XSD documentation files 2012-01-12 18:45:26 +01:00
Carlos Martín
524eff7897 Add reboot action to states documentation 2012-01-12 18:30:41 +01:00
Carlos Martín
beaa71c4f2 Add XML Schemas (xsd) documentation 2011-12-16 18:51:38 +01:00
Carlos Martín
591f761c69 Bug #668: Change the LCM, the cancel action executes the epilog on success
(cherry picked from commit 5b67dd2ebb)
2011-09-12 18:15:36 +02:00
Carlos Martín
71103631aa oned.conf: ebtables hooks added. DOT state diagrams added to share/doc. onevm command help improvements 2011-02-08 16:18:54 +01:00
Javier Fontán Muiños
68c118e1c2 Cleaning up unused files from the repository
git-svn-id: http://svn.opennebula.org/one/trunk@679 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2009-07-13 14:28:03 +00:00
Rubén S. Montero
1b3010d527 Renamed to one
git-svn-id: http://svn.opennebula.org/trunk@7 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-19 15:58:16 +00:00
Rubén S. Montero
159a04781f Renamed to one
git-svn-id: http://svn.opennebula.org/trunk@6 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-19 15:57:58 +00:00
Javier Fontán Muiños
6eb9fed97d Initial commit of ONE code
git-svn-id: http://svn.opennebula.org/trunk@2 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-06-17 16:27:32 +00:00