1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-25 23:21:29 +03:00
Commit Graph

20237 Commits

Author SHA1 Message Date
Ruben S. Montero
8417a9208a
F #6030: Use backup_cancel for VM deletes
The ongoing backup cancel action is terminated through
backup_cancel_driver instead of the generic cancel operation.

(cherry picked from commit 01313630a9)
2023-03-16 13:06:54 +01:00
Jorge Miguel Lobo Escalona
7a50394495
B #6112: Add Remote Auth in FireEdge (#2557)
This enables integration with SSO solutions such as Shibboleth, where authentication happens outside the scope of the FireEdge server.

This relies on the 'public' AUTH_DRIVER where users have their username also as their password, and are only accesible through serveradmin sudo-like functionality (ie, they cannot directly access the oned API).
2023-03-16 12:06:49 +01:00
Jan Orel
16fcc1ef94
B #-: Add missing rbd-nbd on ceph client (lxc) (#2556) 2023-03-16 10:43:18 +01:00
Daniel Clavijo Coca
820948be4c
M #-: Add -R short option for recursive operations (#2555)
(cherry picked from commit 19c6b7c5ef)
2023-03-09 17:48:19 +01:00
Jan Orel
33af6695ce
M #-: Improve conf_branch_protect (#2549) 2023-03-09 10:29:50 +01:00
Pavel Czerný
57c4c36fba
B #6149: Fix DEFAULT_NIC_SCHED policies (#2539)
(cherry picked from commit eaca0fc70f)
2023-03-08 16:02:38 +01:00
Jan Orel
f89696410d
F #6150: Upgrade Ubuntu Focal to Jammy in provision (#2536) 2023-03-08 15:58:45 +01:00
Pavel Czerný
75ee27eb32
M #-: Add more build warnings, const version of vector_value method (#2534)
* M #-: const version of vector_value returns const&
* M #-: Turn on compiler flags -Wextra -Werror
2023-03-08 15:52:20 +01:00
Jan Orel
7939183c3a
M #-: Add src to config files (#2542) 2023-03-06 14:25:37 +01:00
Tino Vázquez
7aca9b1994
L #-: Use File.empty?
(cherry picked from commit 88fa753e86)
2023-03-06 11:44:37 +01:00
Jorge Miguel Lobo Escalona
ac2df5970c
B #6027: validate NUMA_NODE in monitoring (#2538)
(cherry picked from commit eaa310453f)
2023-03-03 14:07:48 +01:00
Pierre Lafievre
8dacb7c65c
F #6105: GOCA introduce pairs
* introduce Pairs for unmarshalling a slice of pairs
* update dynamic template tests

Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit 197f04efa071bbf9fd8cb79043377d14bcb61e84)
(cherry picked from commit 4929b8542e911658531472f2c09c64474c1f727c)
2023-03-01 14:39:09 +01:00
Michal Opala
d0b81ec7af
F #6029: Normalize exit codes for rsync backup actions (#2535)
Possible fix for "Message received: BACKUP SUCCESS 96 -" (?)

(cherry picked from commit e6652bd08a)
2023-03-01 13:20:05 +01:00
Frederick Borges
ee5315ca07
M #~: Improve way to see clusters in VNet cards (#2532) 2023-02-28 17:52:30 +01:00
Carlos J. Herrera
4eb1b40b4e
B 5990: fix undeploy action (#2526) 2023-02-28 17:47:08 +01:00
Michal Opala
123af00668
B #6108: [GOCA] Add missing VM id to one.vm.migrate call (#2533)
(cherry picked from commit e117161d50)
2023-02-28 16:07:50 +01:00
Frederick Borges
1cffce05a7
L #~: Lint fix for fireedge (#2531) 2023-02-28 13:37:40 +01:00
Jorge Miguel Lobo Escalona
e617664a3a
B #6125: update image name (#2530) 2023-02-28 13:33:12 +01:00
Jorge Miguel Lobo Escalona
efc346656f
B #6089: Catch error when xmlrpc is wrongly configured (#2527) 2023-02-28 13:30:40 +01:00
Frederick Borges
752fff5e7f
B OpenNebula/one#6137: Fix VM template clone (#2524)
with images on FSunstone
2023-02-28 13:22:20 +01:00
Ruben S. Montero
2ec40c2b72
Revert "F #5591: Custom role attributes in oneflow added (#2525)"
This reverts commit d6ec6fad07.

(cherry picked from commit 9bf063b1a2)
2023-02-28 12:28:17 +01:00
Ruben S. Montero
2d1ee3c222
M #-: Fix for ruby 2.5 2023-02-28 10:32:59 +01:00
Jan Orel
2934b6396f
B #6147: Convert chain std. image before ssh/mvds (#2529)
Don't copy base.1->base chain used in recovery snapshot (OneStore) but convert to standalone image first.
2023-02-27 15:43:47 +01:00
Michal Opala
5f408b578c
Restic/Rsync downloader fixes for full backups (#2528)
* F #6029: Fix rsync downloader full backup handling
- "short-circuit" full backups
- disable sparsify for rsync downlaoder

* F #6029: Fix restic downloader full backup handling
- "short-circuit" full backups
- disable sparsify for restic downlaoder

(cherry picked from commit 53caf686af)
2023-02-27 13:07:43 +01:00
Victor Palma
f66ab7a8c2
F #5591: Custom role attributes in oneflow added (#2525)
(cherry picked from commit d6ec6fad07)
2023-02-27 10:30:27 +01:00
Frederick Borges
58f4368d6d
B OpenNebula/one#6015: Fix deploy mode fill value (#2523) 2023-02-24 13:38:46 +01:00
Tino Vázquez
2eeea9b80b
L #-: Adjust for new rubocop version 2023-02-23 19:14:08 +01:00
Michal Opala
f511d4d497
F #6029: Add sparsify for rsync + merge_chain refactor (#2521)
* Add sparsify for rsync + merge_chain refactor
* Linting

(cherry picked from commit b369372f62)
2023-02-22 20:11:57 +01:00
Tino Vázquez
4ba8847da1
F #6127: Remove headers from all conf files (#2517) 2023-02-22 16:03:37 +01:00
Tino Vázquez
16e2719d89 L #-: Bump year in datastore.rb 2023-02-22 16:01:27 +01:00
Jan Orel
69fe58d1e2
L #-: Linting leftovers (#2519) 2023-02-22 15:57:31 +01:00
Michal Opala
0763ebdfb5
F #6029: Make restic downloader merge increments on the backup server (#2520)
(cherry picked from commit 393718222e)
2023-02-22 14:29:47 +01:00
Ruben S. Montero
f0c40913c6
F #6029: Force to re-use current datastore ID
When doing incremental backups it MUST reuse the current datastore ID.
This commits forces this setting ignoring the API parameter in this case.

(cherry picked from commit 01c490a36d)
2023-02-22 11:48:09 +01:00
Ruben S. Montero
7e09ceb57b
F #6044 + #6048: Remove unneeded addresses
NIC can only have one of IP/IP6/MAC to get a lease from the network. As
all address tuples are indexed only the relevant one is preserved.

(cherry picked from commit 9adcefb05b)
2023-02-22 10:36:56 +01:00
Michal Opala
a97c383650
F #6029: Fix xml handling in rsync backup actions (#2518)
(cherry picked from commit 0528055376)
2023-02-22 09:50:04 +01:00
Ruben S. Montero
c4ab0456bf
L #-: Remove extra line 2023-02-21 18:21:08 +01:00
Jorge Miguel Lobo Escalona
7c38bd3493
B #6142: Add default zone in federation (#2514) 2023-02-21 18:09:24 +01:00
Ruben S. Montero
ebc4070b10
L #-: Line too long 2023-02-21 18:02:01 +01:00
Jorge Miguel Lobo Escalona
56447e2ec3
B #6142: Add default zone fireedge (#2515) 2023-02-21 17:48:14 +01:00
Neal
3363a7be8f
F #6044 + #6048: Improving backup attribute filtering (#2476)
* Removed DEV_PREFIX from DISK filter list
* Added OS/UUID to prevent conflicts
* Moved MAC from NIC filtered list to no_ip option

Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2023-02-21 17:30:19 +01:00
Michal Opala
1458fd7ca4
F #6029: Add rsync incremental backups (#2516)
* Fix rsync datastore monitoring
* Add increment flatten for rsync backups
* Fix/Refactor rsync restore action handler
* Fix/Refactor rsync rm action handler
* Add dedicated downloader code for rsync

(cherry picked from commit f4eee21924)
2023-02-21 17:19:35 +01:00
Jan Orel
7ae44ec4ca
M #-: Define ansible version in provision yaml (#2513) 2023-02-21 17:11:57 +01:00
Jan Orel
61f254bd5a
B #-: Add aliases:true for newer psych (#2507)
https://bugs.ruby-lang.org/issues/17866
https://stackoverflow.com/questions/71191685/visit-psych-nodes-alias-unknown-alias-default-psychbadalias
2023-02-21 17:10:42 +01:00
Ruben S. Montero
9a3c11c1f4
F #6029: Sparsify backup file after flatten files
The result of a flatten operation can be optionally sparsify to free
space. This needs 'virt-sparsify' tool from libguestfs package.

Note: if not present the sparsify step will be skipped.
(cherry picked from commit de10e618c9)
2023-02-21 17:00:55 +01:00
Tino Vázquez
4102a35a17 L #-: Break long comment line 2023-02-20 16:09:25 +01:00
Frederick Borges
5e80b63356
B OpenNebula/one#6144: Fix scheduled action leases bug (#2512)
preventing to show VM information
2023-02-20 16:03:23 +01:00
Jan Orel
e79120f828
F #6116: Bump Ceph to Quincy in oneprovison (#2508)
* Bump Ceph to Quincy in oneprovison
* Ceph provision: bluefs_buffered_io = false
2023-02-17 09:50:26 +01:00
Frederick Borges
fa8ddeeebb
M #~: Allow VNC when VM is in BACKUP (#2511) 2023-02-16 18:16:08 +01:00
Frederick Borges
c1f48a4c68
M #~: Allow VNC when VM is in BACKUP (#2510) 2023-02-16 18:14:51 +01:00
Jorge Miguel Lobo Escalona
110347420f
B #6088: sunstone reset backup dialog (#2509) 2023-02-16 18:11:31 +01:00