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

1566 Commits

Author SHA1 Message Date
Ruben S. Montero
f6c9924629 feautre #4403: Adds OFFLINE mode to Host. 2016-04-12 00:33:09 +02:00
Carlos Martín
01a0079f0c Feature #4400: New param to clone templates recursively 2016-04-11 13:27:31 +02:00
Ruben S. Montero
ca33ac46c3 development: Update VirtualMachine.add_history interface 2016-04-10 22:53:33 +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
9c60fc55d9 feature #3848: VN_MAD is set for VirtualNetworks in Sunstone. Removed
host vnet option
2016-04-07 15:04:02 +02:00
Ruben S. Montero
820b0d16fd feature #3848: Remove VN_MAD from cli & sunstone 2016-04-07 12:49:48 +02:00
Ruben S. Montero
67ba59ada1 feature #3848: Remove VN_MAD from Host in oned. Remove VMWare driver in
core
2016-04-07 11:06:43 +02:00
Ruben S. Montero
8970665d46 bug-4376: Adds vlan bitmap to handle collition and reservation.
OpenNebula now generates the vlan_id instead of the drivers
2016-04-06 18:07:56 +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
Carlos Martín
b8c5fd4cd7 Feature #3848: Remove VLAN=YES from sunstone 2016-03-31 16:24:45 +02:00
Ruben S. Montero
9af43a6916 feature #3848 #3707: Remove VLAN from onevnet command and core 2016-03-29 15:09:39 +02:00
goberle
9de771ea31 Feature #3848: Virtual networks should have an associated networking driver.
(cherry picked from commit 7e90463693)

This cherry still needs to merge files from original contribution by       goberle <goberle@unistra.fr>:
  - src/sunstone/public/app/tabs/vnets-tab/form-panels/wizard.hbs
2016-03-28 12:38:45 +02:00
Ruben S. Montero
c6076a173a bug #3390: Reimplements the xmlrpc client using the complex one. Adds
TIMEOUT to client requests. This can be configured in sched.conf/oned.conf.
2016-03-24 02:07:04 +01:00
Ruben S. Montero
f581fae756 feature #4155: Remove :detach & :suspend strategies for disk snapshots
for VMs in ACTIVE-RUNNING. Also revert needs to be performed in
poweroff. DISK_SNAPSHOT_REVERT state has been removed.
2016-03-22 23:07:35 +01:00
Ruben S. Montero
2fe760218e feature #4215: drop logic for MarketPlace is now in
RequestManagerDelete.
2016-03-22 15:26:21 +01:00
Ruben S. Montero
3fb8a0e161 feature #4369: Better const signature. Removed unused varibles and
methods. ACL filter is generated in the ClusterPool class, moved DB name
to private scope. Copy constructor for object collection. Uniform
get_cluster_id function.
2016-03-21 13:01:45 +01:00
Carlos Martín
cf2da75c4d Feature #4369: Bump DB version to 4.90.0 2016-03-18 12:55:03 +01:00
Carlos Martín
82892ad70f Merge remote-tracking branch 'origin/master' into feature-4369 2016-03-17 18:22:51 +01:00
Carlos Martín
eff51a0dea Feature #4369: Use ObjectCollection::from_xml instead of from_xml_node 2016-03-17 18:17:37 +01:00
Ruben S. Montero
b61445315e feature #4215: Fix context generation bug 2016-03-16 19:14:37 +01:00
Ruben S. Montero
9fb06c870d feature #4215: Generate context before a restore action. Context is
regenerated whenever a it is needed to capture VNET and NIC updates
2016-03-16 14:54:22 +01:00
Carlos Martín
400e18964c Feature #4369: Force Hosts to be always part of one cluster
This way cluster none (-1) disappears outside of the core
2016-03-16 13:31:10 +01:00
Carlos Martín
b715c4f773 Feature #4369: Remove datastore_location setting by cluster 2016-03-16 13:07:10 +01:00
Carlos Martín
724e9fe2b0 Feature #4369: Create a default cluster on bootstrap 2016-03-16 11:34:45 +01:00
Carlos Martín
73f5ceb644 Feature #4369: Use multiple clusters in VM deploy & migrate 2016-03-15 17:34:21 +01:00
Carlos Martín
f6d10bdec0 Feature #4369: Undo Host changes to have only one cluster 2016-03-15 16:37:36 +01:00
Carlos Martín
621a186947 Feature #4369: ACL engine uses multple clusters 2016-03-11 15:42:17 +01:00
Ruben S. Montero
bdbca69a2d feature #4217:This commit includes the following changes to decouple the
DB access and marketplace control from master and slave zones:
  * Client class is singleton as required by xmlrpc-c
  * one_auth initialization moved to a comon location
  * MarketPlaceApp and MarketPlace actions are performed in the same zone as
the associated marketplace.
  * Adds three new api calls updateDB, dropDB and allocateDB to perform
low level DB operations. These methods are exposed for Market y
MarketApps
  * Forward operations are abstarct by Pool classes
  * Apps and markets now includes a ZONE_ID
2016-03-10 17:24:28 +01:00
Carlos Martín
e8a05ca1d7 Feature #4369: Replace cluster ID with a set of IDs 2016-03-10 16:28:33 +01:00
Javi Fontan
ba7ffbb543 Merge branch 'feature-4186' 2016-03-08 17:34:48 +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
Ruben S. Montero
1add1cfb52 bug #4355: CURRENT_VMS can be now of any type. Better handling of
ObjectXML::search templates
2016-03-03 15:39:41 +01:00
Ruben S. Montero
6004270685 feature #4162: Sanitize some user attributes in XML douments 2016-03-03 12:32:36 +01:00
Ruben S. Montero
b16fea2532 feature #4097: Add resource information to log messages using clog 2016-03-02 23:01:43 +01:00
Ruben S. Montero
7ca1036683 feature #4097: Use glibc to log thourgh syslog, removes log4cpp
dependency
2016-03-02 17:08:06 +01:00
Ruben S. Montero
9e4af1ebc6 feature #3204: Security Group dynamic update. Add support to update SG
rules of running VMs though a new one.secgroup.commit operation
2016-03-01 23:31:31 +01:00
Ruben S. Montero
60ea093786 feature #4317: Recursive disk operations can work on DISK based on image
names.
2016-03-01 12:12:19 +01:00
Ruben S. Montero
59aae97a58 feature #4317: Use xpath templates
(cherry picked from commit 7df5b936c7049f86ab02f8149ea1e299ed0cbb09)
2016-03-01 10:19:13 +01:00
Ruben S. Montero
a4dc856406 feature #4215: Remove public Marketplaces, even if they have images.
Associated apps are also removed.
2016-02-29 18:31:24 +01:00
Carlos Martín
fb14daee30 Feature #4217: Add missing options to marketplace pools in a federation
Slaves do not use cache, and all write methods have an
extra check to avoid writings in a slave DB
2016-02-29 17:40:06 +01:00
Carlos Martín
e52996856d Merge remote-tracking branch 'origin/master' into feature-4317 2016-02-15 18:04:43 +01:00
Ruben S. Montero
804cec6628 devel: Fix check in VirtualMachineManagerDriver 2016-02-12 16:25:06 +01:00
Carlos Martín
5135098e5e Merge remote-tracking branch 'origin/master' into feature-4317 2016-02-12 10:55:21 +01:00
Jaime Melis
f5737b8944 Feature #4217: Fix supported marketapp actions checking 2016-02-10 18:16:59 +01:00
Tino Vazquez
006ba41c62 feature #4186: Merge branch 'feature-4217' into feature-4186
Marketplace branch into vcenter storage
2016-02-10 12:25:28 +01:00
Ruben S. Montero
a90666180d feature #4217: Add missing file 2016-02-10 10:56:52 +01:00
Ruben S. Montero
dd71246884 feature #4217: Add imported apps to the associated marketplace 2016-02-09 20:48:09 +01:00
Ruben S. Montero
5acedb72ab feature #4217: PUBLISHER is not a well known attribute 2016-02-09 16:52:14 +01:00
Ruben S. Montero
4d3faa0496 feature #4217: Change MarketplaceApp DATE to REGTIME. Core and
one/monitor driver
2016-02-09 16:47:09 +01:00