1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-22 22:03:39 +03:00

1731 Commits

Author SHA1 Message Date
Ruben S. Montero
bb9d4a99b5 feature #4400: Regenerate network context support for updateconf 2016-04-26 11:47:03 +02:00
Carlos Martín
0d6dd0c6ff Feature #4400: New state cloning_failure 2016-04-22 16:06:43 +02:00
Ruben S. Montero
c0da2d7f89 feature #4400: Minor changes 2016-04-22 13:13:13 +02:00
Ruben S. Montero
759e645821 feature #4320: CONTEXT can now be updated in poweroff related states 2016-04-22 11:31:47 +02:00
Ruben S. Montero
0d6659c5d8 feature #4400: Better scope for RM functions, homogenous function naming 2016-04-21 17:18:01 +02:00
Carlos Martín
f743efba0f Feature #4400: Add missing att. in RequestAttribute copy constructor 2016-04-21 10:48:14 +02:00
Carlos Martín
072deaf078 Feature #4400: Instantiate-persistent merges the user provided template 2016-04-20 18:01:54 +02:00
Ruben S. Montero
32e15605cd feature #4320: New operation to update the configuration of a
VirtualMachine (OS, GRAPHICS, INPUT, RAW & FEATURES). CLI/OCA methods
implemented
2016-04-20 16:57:05 +02:00
Ruben S. Montero
55660b89e6 feature #4320: BOOT allows to set any boot order in the form BOOT="disk0,nic1,disk2,nic0" 2016-04-19 16:27:56 +02:00
Jaime Melis
f1b56ed322 Bug #4376: Make vlan_id_automatic a top level attribute
and only allow modification of vlan_id if vlan_id_automatic
is set to false (the vlan_id has been specified manually)
2016-04-19 15:23:22 +02:00
Jaime Melis
e4db6af0ea Bug #4376: Fix typo 2016-04-19 15:23:22 +02:00
Carlos Martín
191eda35d3 Feature #4400: Fix missing DISK/SOURCE 2016-04-19 15:20:34 +02:00
Carlos Martín
53c5269249 Feature #4400: New template instantiate --persistent 2016-04-19 15:20:34 +02:00
Carlos Martín
7855ebd22d Feature #4400: Allow VMs to use Images in the locked state 2016-04-19 15:20:34 +02:00
Ruben S. Montero
9a440e558c feature #4320: Rework the attach logic of NIC and DISK 2016-04-18 16:46:02 +02:00
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 7e90463693ef6639bd4f15f5b6f5079664f6a1e2)

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 676f36e0aa4f6ca705f60b826fd52d69888d7bb9)
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