Commit Graph
12035 Commits
Author SHA1 Message Date
Ruben S. Montero 82336ddc23 feature #3958: Add PROLOG_MIGRATE_FAILURE to prolog_failure callback and
recover actions
2016-03-03 23:59:53 +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 d2b66f0ec5 Feature #3671: Fix bug, NETWORK_SELECT=NO was ignored 2016-03-03 17:28:53 +01:00
Carlos Martín e52fbe4f67 Feature #4317: onedb replaces SUNSTONE_CAPACITY_SELECT with fixed user inputs 2016-03-03 17:28:14 +01:00
Carlos Martín f9c95d7ff1 Feature #4317: Move template share/unshare to ownership button group 2016-03-03 16:17:12 +01:00
Carlos Martín a29cc36831 Feature #4317: Use 2 inputs for min,max in capacity inputs 2016-03-03 16:08:05 +01:00
Carlos Martín 225b250c62 Feature #4317: Use 2 inputs for min,max in user inputs 2016-03-03 16:08:04 +01:00
Carlos Martín 65fe0d6085 Feature #4317: Small tweaks to capacity inputs help texts 2016-03-03 16:08:04 +01:00
Ruben S. Montero 757928736f bug #4237: When a driver return an empty deploy_id the VM is moved to
failed state
2016-03-03 15:56:07 +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 66bc3ec399 feature #4358: Adds <metadata><vm_xml64> element to the deployment file.
This new element includes de VM template in XML format and base64
encoded
2016-03-03 12:50:06 +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 0579f23cf7 feature #4162: Sanitize libvirt deployment file. Patch merge from a
contribution by Roy Keene
2016-03-03 12:31:41 +01:00
Ruben S. Montero 8c8bb43d82 feature #4097: Message format conform 4.x series 2016-03-02 23:45:25 +01:00
Ruben S. Montero b16fea2532 feature #4097: Add resource information to log messages using clog 2016-03-02 23:01:43 +01:00
Carlos Martín 720f858efb Feature #4317: Change default behaviour when capacity user inputs are missing
If the user input for cpu,mem,vcpu is missing the input is
considered free to edit. A new user-input type 'fixed' is
added to force a specific value
2016-03-02 18:05:01 +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
Carlos Martín 16e0f7cabe Feature #4317: Better memory range inputs 2016-03-02 13:43:40 +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
Javi Fontan f1afa57094 feature #4215: add dummy pre and reconfigure drivers
For drivers azure, ec2, softlayer and xen
2016-03-01 17:27:20 +01:00
Carlos Martín ba0156af1c Feature #4317: Delete recursive is now a confirm dialog with 2 options 2016-03-01 16:53:45 +01:00
Carlos Martín 5e31b9b73a Feature #4317: Enable capacity select for cloud_vcenter 2016-03-01 16:53:45 +01:00
Javi Fontan d6cc5bc2c8 feature #4215: support reconf without tm action in vmm_exec 2016-03-01 15:07:01 +01:00
Javi Fontan e10d705ff1 feature #4215: add reconfigure action to vcenter 2016-03-01 15:07:01 +01:00
Javi Fontan 70e5c9d652 feature #4215: force ejection of cdrom to reconfigure (KVM) 2016-03-01 15:07:01 +01:00
Carlos Martín f30c15ed6d Feature #4317: Remove all user and group features from provision-tab 2016-03-01 13:10:36 +01:00
Javi Fontan f0c137f8f2 bug #4138: do not use rbd ls -l deleting ceph volumes 2016-03-01 13:03:10 +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
Carlos Martín a48444848a Feature #4317 #4215: Allow group admins to create VRouters 2016-03-01 11:41:17 +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 048c8991a3 feature #4317: Set error message and code when some images cannot be
chmod'ed in a recursive operation
2016-02-29 19:28:48 +01:00
Ruben S. Montero c01dff63ec feature #4215: Use the XML-RPC client when creating app resources 2016-02-29 19:09:28 +01:00
Ruben S. Montero 674801b4be feature #4317: Return error when a template image cannot be deleted
(recursive mode)
2016-02-29 18:31:24 +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 0dc66e8d6e Bug #4361: Make rename a proxy call in federation slaves 2016-02-29 17:38:31 +01:00
Daniel Molina b41b8cdd30 Feature #4273: Fix error in Sunstone oned.conf call when only 1 MAD 2016-02-26 17:56:33 +01:00
Carlos Martín 0be11d33c2 Feature #4217: Add new default acl rule to onedb migrator 2016-02-26 16:48:25 +01:00
Carlos Martín e47735acff Feature #4217: Move marketplace tables to the federated part of the DB 2016-02-26 16:48:25 +01:00
Daniel Molina 01ef61bfbd Feature #4210: Remove add and del group buttons from groupadmin 2016-02-26 16:07:36 +01:00
Ruben S. Montero b47406c429 Merge branch 'feature-4317' 2016-02-26 15:43:17 +01:00
Daniel Molina c7a67fc0a2 Feature #4210: Remove add and del group buttons
TODO remove from new groupadmin.yaml
2016-02-26 14:00:22 +01:00
Carlos Martín 7439a5e456 Feature #4317: Fix required message when capacity inputs are hidden in cloud view 2016-02-26 13:48:13 +01:00
Carlos Martín 69f916e815 Feature #4317: Fix template list cards when cpu or mem is missing 2016-02-26 12:34:20 +01:00
Daniel Molina 7771ed8346 Bug #4357: Do not retrieve VNC_WSS from the USER template 2016-02-26 10:45:55 +01:00
Boris Parak 0064f572b8 Fixed restart-sched in opennebula init script
Fixing wrong use of `do_start` in restart-sched routine.

(cherry picked from commit 820d562f53)
2016-02-23 11:08:59 +01:00
Daniel Molina 94d3203049 Feature #4352: Show ID of the new resource in clone actions 2016-02-22 13:56:28 +01:00
Daniel Molina 63d0c13059 Feature #4353: Show IDs of the resources created after export a Marketplace App 2016-02-22 13:56:28 +01:00
Carlos Martín 3caccf6439 Feature #3671: Add onedb migrator 2016-02-22 13:02:48 +01:00
Daniel Molina a4c3268410 Feature #4212: Show VM ID after import action 2016-02-22 12:43:39 +01:00