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

12115 Commits

Author SHA1 Message Date
Ruben S. Montero
b61445315e feature #4215: Fix context generation bug 2016-03-16 19:14:37 +01:00
Carlos Martín
0267659dfc Feature #4215: Add missing error message detail
See commit:3d8d2fd8
2016-03-16 18:46:37 +01:00
Jaime Melis
56c6df5ab7 Bug #3858: inherit vlan_ids in reservations 2016-03-16 18:30:24 +01:00
Ruben S. Montero
6bf5fc2283 Development: Comment out metadata section 2016-03-16 17:35:45 +01:00
Jaime Melis
ac06b3ec56 Feature #4215: typo 2016-03-16 16:09:46 +01:00
Ruben S. Montero
10444b4023 feature #4358: Do not include the element in base64 as it hits the max
element size limit by libvirt
2016-03-16 15:04:18 +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
Jaime Melis
64c15ef947 Feature #4217: Decrease read chunks to 16KB 2016-03-16 14:43:25 +01:00
Jaime Melis
51d26b87fd formatting 2016-03-16 14:43:25 +01:00
Jaime Melis
9c69143c18 Feature #4217: Return error in the export action when needed 2016-03-16 14:43:25 +01:00
Javi Fontan
0e73f866f3 feature #4222: bug monitoring resource pools 2016-03-14 18:54:20 +01:00
Javi Fontan
2fc5fe6bfd Merge remote-tracking branch 'origin/feature-4222' 2016-03-14 14:29:50 +01:00
Tino Vazquez
1685e935d2 feature #4222: Fix for VMs in nested resource pools 2016-03-11 17:35:54 +01:00
Tino Vazquez
3c5ea68e74 feature #4222: Fix wrong DS retrieval from vCenter 2016-03-11 15:22:31 +01:00
Ruben S. Montero
f548c1d2ad feature #4217: Postion ostringstreams at the end when initialized with a
string
2016-03-10 22:57:04 +01:00
Ruben S. Montero
e0337999af feature #4217: Fix bootstrap of default marketplace for OpenNebula
Community
2016-03-10 20:49:10 +01:00
Javi Fontan
1fb5f9aeff Update vendorized rbvmomi to version 1.8.2 2016-03-10 17:41:14 +01:00
Javi Fontan
8474dd89a5 Add extra functions to rbvmomi as monkey patch
Instead of modifying vendorized files
2016-03-10 17:41:14 +01:00
Javi Fontan
ab2c24473f Copy full vendor dirs in install.sh 2016-03-10 17:41:14 +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
Jaime Melis
94bce889ec Feature #4217: onemarketapp create accepts dynamic template building 2016-03-10 17:21:46 +01:00
Jaime Melis
d751456cfd Feature #4217: Remove image download functionality 2016-03-10 17:21:10 +01:00
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
Tino Vazquez
8dff7559aa feature #4222: Add resource pool support and monitoring 2016-03-09 18:14:43 +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