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

14173 Commits

Author SHA1 Message Date
Ruben S. Montero
8576ae69fd F #4763: Do not allow to make snapshots to readonly disks 2017-07-05 19:03:12 +02:00
Javi Fontan
b79285437a Don't skip whitespace when using OX to parse xmlrpc
The defaults changed in OX 2.5.0 and caused new lines
to disappear.
2017-07-05 18:20:26 +02:00
Ruben S. Montero
ebc165f70f F #4885: Enable TM mads to define orphan snapshots. This is control
under TM_MAD_CONF for each MAD. By default orphans are not allowed
2017-07-05 18:13:47 +02:00
Javi Fontan
45bfe9aa30 F #4937: add live actions to onedb
* purge-history
* purge-done
* change-body

Some helper functions are also added to onedb_live.rb file.
2017-07-05 16:21:15 +02:00
abelCoronado93
3e0440e24a Added advanced options and ceph_keyfile input in create ceph datastore 2017-07-05 12:41:04 +02:00
Ruben S. Montero
38bb26094a F #5208:Add CEPH_KEY to inherit attributes, so it is added to VM DISK 2017-07-05 10:53:29 +02:00
abelCoronado93
383dc92fc8 Solved bug in disk-resize dialog 2017-07-05 10:49:20 +02:00
Ruben S. Montero
58404f3820 Merge branch 'hydro-b-feature-5208' 2017-07-04 18:44:28 +02:00
Ruben S. Montero
dde9cf317d F #5208: push down ceph_key to downloader to import rbd in marketplace 2017-07-04 18:42:51 +02:00
Ruben S. Montero
0fa579fd46 Disks not managed (TM) by opennebula cannot change persistent state 2017-07-04 18:34:23 +02:00
Ruben S. Montero
e92bd43753 F #4894: Terminate action when a VM is in a failure state invokes delete
action
2017-07-04 18:34:23 +02:00
Ruben S. Montero
031da2d378 F #4809: Update migrator. There is no longer need to add servers to a
zone to configure a federation if not using HA
2017-07-04 18:34:22 +02:00
Ruben S. Montero
89c5ae46da B #5204: Wrong restricted attribute for VMs after a resize+chown
operation
2017-07-04 18:34:22 +02:00
Anton Todorov
ef25a75478 xpath.rb fix crash when querying empty-element tag
by returning empty string.
Handling both `<test/>` and `<test></test>`
test pattern:
```
echo -e "<A>\n<B>b</B>\n<C/>\n<D></D><E>e</E></A>\n"| /var/lib/one/remotes/datastore/xpath.rb /A/B /A/C /A/D /A/E | while IFS= read -r -d '' e; do echo "'$e'"; done
```
2017-07-04 18:34:22 +02:00
Ruben S. Montero
ae853eaebc Add a system.sqlquery API call to execute SELECT queries on the DB. It
returns the row results
2017-07-04 18:34:22 +02:00
mcabrerizo
d923ef3603 vCenter import templates and wild vms where two or more nics share the same port group 2017-07-04 18:34:22 +02:00
Ruben S. Montero
cfd2983058 F #4809: Pre-allocate lastoid to prevent stale id's in the pool in case
of leader failure
2017-07-04 18:34:22 +02:00
Ruben S. Montero
3378c9a2f0 Revert "F #4809: Log information to debug federated zones with HA clusters. THIS"
This reverts commit fab2a07f74f55528631fa5b6159e80c1fa884637.
2017-07-04 18:34:22 +02:00
Ruben S. Montero
25b48b1ec4 F #4809: Update onedb backup federated backup utility 2017-07-04 18:34:22 +02:00
Abel Coronado
a90a4dc252 disk_resize in RUNNING kvm VMs (#366)
* Added VM.resize to RUNNING state

* disk_resize in RUNNING kvm VMs

* Changed resize for disk_resize
2017-07-04 18:34:22 +02:00
Ruben S. Montero
0f06c48492 Updated restricted attributes 2017-07-04 18:34:22 +02:00
Ruben S. Montero
7b22d8755b F #4809: Log information to debug federated zones with HA clusters. THIS
COMMIT IS MEANT TO BE REVERTED
2017-07-04 18:34:22 +02:00
Ruben S. Montero
215bc0dff7 F #4809: Enable federated of solo Zones 2017-07-04 18:34:22 +02:00
Ruben S. Montero
87b5e5cb5b F #4809: Re-design replicated log structure 2017-07-04 18:34:22 +02:00
abelCoronado93
35a67abf3b Solved bug in dashboard accounting 2017-07-04 18:34:22 +02:00
abelCoronado93
9e29673c7d Changed comments 2017-07-04 18:34:22 +02:00
abelCoronado93
d289fb8f04 F #4816 Make configurable a persistent instance done 2017-07-04 18:34:22 +02:00
mcabrerizo
2d57768707 F #5207: Fix vCenter tm_resize 2017-07-04 18:34:22 +02:00
Ruben S. Montero
20deae85be Disks not managed (TM) by opennebula cannot change persistent state 2017-07-04 18:01:13 +02:00
Ruben S. Montero
b401abe7be F #4894: Terminate action when a VM is in a failure state invokes delete
action
2017-07-04 16:19:51 +02:00
Ruben S. Montero
fcf08d429d F #4809: Update migrator. There is no longer need to add servers to a
zone to configure a federation if not using HA
2017-07-04 12:42:29 +02:00
Ruben S. Montero
37740d4c62 B #5204: Wrong restricted attribute for VMs after a resize+chown
operation
2017-07-04 12:04:09 +02:00
Anton Todorov
172548b4cd xpath.rb fix crash when querying empty-element tag
by returning empty string.
Handling both `<test/>` and `<test></test>`
test pattern:
```
echo -e "<A>\n<B>b</B>\n<C/>\n<D></D><E>e</E></A>\n"| /var/lib/one/remotes/datastore/xpath.rb /A/B /A/C /A/D /A/E | while IFS= read -r -d '' e; do echo "'$e'"; done
```
2017-07-03 17:42:33 +02:00
Ruben S. Montero
cb0b3fc0b4 Add a system.sqlquery API call to execute SELECT queries on the DB. It
returns the row results
2017-06-30 18:57:41 +02:00
mcabrerizo
7b390cbc9a vCenter import templates and wild vms where two or more nics share the same port group 2017-06-30 18:20:00 +02:00
Ruben S. Montero
6d24617e57 F #4809: Pre-allocate lastoid to prevent stale id's in the pool in case
of leader failure
2017-06-30 17:02:59 +02:00
Ruben S. Montero
6f4a45c8c7 Revert "F #4809: Log information to debug federated zones with HA clusters. THIS"
This reverts commit fab2a07f74f55528631fa5b6159e80c1fa884637.
2017-06-30 16:08:11 +02:00
Ruben S. Montero
50ab087cf6 F #4809: Update onedb backup federated backup utility 2017-06-30 14:57:04 +02:00
Abel Coronado
6a779b6066 disk_resize in RUNNING kvm VMs (#366)
* Added VM.resize to RUNNING state

* disk_resize in RUNNING kvm VMs

* Changed resize for disk_resize
2017-06-30 12:49:55 +02:00
Ruben S. Montero
f2cc7679ea Updated restricted attributes 2017-06-30 12:13:39 +02:00
Ruben S. Montero
fab2a07f74 F #4809: Log information to debug federated zones with HA clusters. THIS
COMMIT IS MEANT TO BE REVERTED
2017-06-30 11:49:04 +02:00
Ruben S. Montero
899b460abd F #4809: Enable federated of solo Zones 2017-06-30 11:48:23 +02:00
Ruben S. Montero
80d0816666 F #4809: Re-design replicated log structure 2017-06-29 19:48:21 +02:00
abelCoronado93
56aa34432c Solved bug in dashboard accounting 2017-06-29 19:20:13 +02:00
abelCoronado93
2454289d3f Changed comments 2017-06-29 19:19:26 +02:00
abelCoronado93
517341624c F #4816 Make configurable a persistent instance done 2017-06-29 19:19:26 +02:00
mcabrerizo
1e277b4ac0 F #5207: Fix vCenter tm_resize 2017-06-29 15:29:39 +02:00
Stefan Kooman
977fe907b2 Add support for CEPH_KEY datastore attribute to be able to authenticate to a Ceph cluster. See https://dev.opennebula.org/issues/5208 2017-06-29 11:10:39 +02:00
Ruben S. Montero
c6286c0384 F #4809: Safer purge function for RAFT log 2017-06-28 19:50:55 +02:00
Ruben S. Montero
361409e7e1 F #4809: Compress federated log 2017-06-28 19:43:17 +02:00