1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-27 10:50:10 +03:00

12092 Commits

Author SHA1 Message Date
Jaime Melis
f4f280ce68 Feature #4217: Add support for READ_LENGTH 2016-03-09 19:06:55 +01:00
Jaime Melis
0f3dbf58db Feature #4217: Use Sunstone to download images and marketplaces
This commit changes entirely the way images are downloaded.
Instead of downloading them by running 'downloader.sh' in the
local machine, it will do it on the Sunstone server, and it
will in turn stream the response to the client.

This commit implements the server and the CLI.
2016-03-09 18:35:07 +01:00
Javi Fontan
8207c38e2a Fix bug creating vcenter VMs with both images and nics 2016-03-09 17:31:47 +01:00
Javi Fontan
ba7ffbb543 Merge branch 'feature-4186' 2016-03-08 17:34:48 +01:00
Javi Fontan
04c614f738 feature #4186: missing files from install.sh 2016-03-08 17:22:34 +01:00
Javi Fontan
c35fe98cd2 feature #4186: fixes for vcenter import to market 2016-03-08 17:20:20 +01:00
Javi Fontan
45bcf46e1c feature #4186: change the method to upload vcenter images
* always download http images, stdin upload doesn't always work
* create directory in datastore so two images don't clash
* use hash as temporary directory to enable multiple marketplace uploads
2016-03-08 16:12:22 +01:00
Javi Fontan
a06f5753de feature #4186: upload files and mkdir in vcenter_uploader 2016-03-08 16:12:22 +01:00
Javi Fontan
e4c16d0f4c feature #4186: add create_directory method to vcenter 2016-03-08 16:12:22 +01:00
Javi Fontan
a9506075f6 feature #4186: duplicate libfs.sh in install.sh 2016-03-08 16:12:22 +01:00
Tino Vazquez
702e8ff6de Bug #3994: Add CLEANUP_DELETE to the list of valid cancel states 2016-03-07 18:35:19 +01:00
Carlos Martín
025b1351a1 Bug #4368: Fix SG rules when there is only one 2016-03-07 17:34:14 +01:00
Carlos Martín
79d8efd3ad Bug #4367: Move acl update to shared migrator 2016-03-07 16:59:58 +01:00
Carlos Martín
a72f5e0012 Feature #3204: Automatic commit after secgroup rule update 2016-03-07 10:28:56 +01:00
Ruben S. Montero
ea102f56ba feature #3204: Fix empty message for main_action 2016-03-05 00:13:11 +01:00
Ruben S. Montero
171bf550b8 feature #4358: Fixes deployment generation bugs 2016-03-04 22:07:54 +01:00
Carlos Martín
db3c57e101 Feature #3204: Add new sgroup elements in onedb migrator 2016-03-04 18:33:01 +01:00
Tino Vazquez
bbb2063a48 feature #4186: Fix for wrong vcenter monitoring 2016-03-04 18:11:15 +01:00
Tino Vazquez
895e3d7c07 feature #4186: Fix for vcenter hard poweroff VMs 2016-03-04 17:27:06 +01:00
Carlos Martín
3afe88b960 Feature #4217: Add marketplace tables to fsck 2016-03-04 16:44:26 +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
Carlos Martín
8f2da81a0a Feature #4215: Fix missing table vrouter_pool 2016-03-04 12:02:02 +01:00
Carlos Martín
e709ace860 Feature #4215: Add vrouter table to import_slave 2016-03-04 10:56:22 +01:00
Ruben S. Montero
dafeeaf95c feature #3958: Merge common code for PROLOG_MIGRATE_UNKNOWN 2016-03-03 23:59:53 +01:00
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 676f36e0aa4f6ca705f60b826fd52d69888d7bb9)
2016-03-03 23:59:53 +01:00
Tino Vazquez
d8a63b8e1b feature #4186: Fix rbvmomi 2016-03-03 17:33:14 +01:00
Tino Vazquez
bdba6c66a7 feature #4186: Add modified rbvmomi lib Datastore.rb 2016-03-03 17:29:03 +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