1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-01 05:47:01 +03:00

20204 Commits

Author SHA1 Message Date
Victor Palma
d6ec6fad07
F #5591: Custom role attributes in oneflow added (#2525) 2023-02-27 10:29:36 +01:00
Frederick Borges
9ed5c84373
B OpenNebula/one#6015: Fix deploy mode fill value (#2523)
(cherry picked from commit 58f4368d6d8ffe71628d88e49cd1de6fc0088cc9)
2023-02-24 13:39:18 +01:00
Tino Vázquez
828d3b38c3
L #-: Adjust for new rubocop version
(cherry picked from commit 2eeea9b80ba896d0b293c49000c93b84e5558b68)
2023-02-23 19:15:34 +01:00
Michal Opala
b369372f62
F #6029: Add sparsify for rsync + merge_chain refactor (#2521)
* Add sparsify for rsync + merge_chain refactor
* Linting
2023-02-22 20:10:04 +01:00
Tino Vázquez
848870d60e
L #-: Bump year in datastore.rb
(cherry picked from commit 16e2719d8944e2f8ac40a0b8092904b29c1055e1)
2023-02-22 16:02:17 +01:00
Jan Orel
92dfee7c65 L #-: Linting leftovers (#2519)
(cherry picked from commit 69fe58d1e2eb0e1049c926025508612d971fb3dd)
2023-02-22 15:58:33 +01:00
Michal Opala
393718222e
F #6029: Make restic downloader merge increments on the backup server (#2520) 2023-02-22 14:29:12 +01:00
Ruben S. Montero
9adcefb05b
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.
2023-02-22 10:36:30 +01:00
Michal Opala
0528055376
F #6029: Fix xml handling in rsync backup actions (#2518) 2023-02-22 09:48:36 +01:00
Neal
d8a65ad764
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>
(cherry picked from commit 3363a7be8f0b854d024f18003476374cccbeb1d2)

L #-: Remove extra line

(cherry picked from commit c4ab0456bf4576ba4596538eaa215eb5fbe7eb95)
2023-02-21 18:22:10 +01:00
Jorge Miguel Lobo Escalona
cb1f860196 B #6142: Add default zone in federation (#2514)
(cherry picked from commit 7c38bd34933d8bc81d9d57e3fa15ec1a2791c8c9)
2023-02-21 18:11:41 +01:00
Ruben S. Montero
6d3bae887b
L #-: Line too long
(cherry picked from commit ebc4070b10c62f19f6cefe4b8e74c5c7fb54f1d1)
2023-02-21 18:02:31 +01:00
Michal Opala
f4eee21924
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
2023-02-21 17:19:01 +01:00
Jan Orel
2628432651
M #-: Define ansible version in provision yaml (#2513) 2023-02-21 17:14:00 +01:00
Jan Orel
11d6c28d1d
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
(cherry picked from commit 61f254bd5aac7549f7f67886862fa8c50245dbd7)
2023-02-21 17:11:10 +01:00
Ruben S. Montero
de10e618c9
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.
2023-02-21 16:53:37 +01:00
Ruben S. Montero
01c490a36d
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.
2023-02-21 16:15:58 +01:00
Tino Vázquez
074d19411a L #-: Break long comment line
(cherry picked from commit 4102a35a1756ee3f422cc284045d34d95b9c7727)
2023-02-20 16:10:07 +01:00
Frederick Borges
ee58f310f2 B OpenNebula/one#6144: Fix scheduled action leases bug (#2512)
preventing to show VM information

(cherry picked from commit 5e80b63356136b0a12fa7d626ff4e771d1c4a54e)
2023-02-20 16:03:39 +01:00
Jan Orel
a01c641471
F #6116: Bump Ceph to Quincy in oneprovison (#2508)
* Bump Ceph to Quincy in oneprovison
* Ceph provision: bluefs_buffered_io = false

(cherry picked from commit e79120f828d52275ef2e4f91be212c1559226a04)
2023-02-17 09:51:10 +01:00
Frederick Borges
0cf8712cc2 M #~: Allow VNC when VM is in BACKUP (#2511)
(cherry picked from commit fa8ddeeebb9bf64df08c2ee4d7a9f4bc21401a85)
2023-02-16 18:16:37 +01:00
Frederick Borges
6a8938b7b0 M #~: Allow VNC when VM is in BACKUP (#2510)
(cherry picked from commit c1f48a4c683c8ee2b5daef637351867b57a8f641)
2023-02-16 18:15:10 +01:00
Jorge Miguel Lobo Escalona
d1fa56ff34 B #6088: sunstone reset backup dialog (#2509)
(cherry picked from commit 110347420f7931413eb72bc2bbdafb943cad20ac)
2023-02-16 18:12:02 +01:00
Ruben S. Montero
377db9653e
F #6029: Signal increment flatten with an attribute
Extending the BACKUP state may lead to unneed wait times to perform VM
management operations

Fixes reset of backup chains for poweroff state
2023-02-16 16:12:35 +01:00
Jorge Miguel Lobo Escalona
b38c816ae3 B #6135: remove duplicates values in Machine type and CPU model (#2504)
(cherry picked from commit 287a873de00a2c02cef830433c2caa78f6a61e83)
2023-02-16 12:31:45 +01:00
Frederick Borges
7591cf0dd3 F OpenNebula/one#6029: Add NAME and INCREMENT_ID on FSunstone (#2505)
(cherry picked from commit ef6faaa0cdf9a72b65830e6e01441099c8c7daa7)
2023-02-16 12:31:40 +01:00
Ruben S. Montero
f47bfa4a5c
M #-: Set grace period to setup backup slice
(cherry picked from commit b067ea9d8baa12777be5ef32f7f735a637c27cf9)
2023-02-16 11:45:54 +01:00
Ruben S. Montero
3bbb9c7ffc
M #-: Fix SSH configuration options (tm_action.rb) 2023-02-16 11:33:52 +01:00
Frederick Borges
5095d67b48
F OpenNebula/one#6029: Fix inputs Ruby Sunstone (#2506)
(cherry picked from commit 5bf504d71f8e0c9a845a925891f4728ad4a9ec6f)
2023-02-15 18:02:20 +01:00
Pavel Czerný
3a4c0d8293
M #-: Fix CppCheck issues in master (#2499)
(cherry picked from commit 7f74db189e3a18cf19ce8d35c72f39303e3b51a1)
2023-02-14 17:36:19 +01:00
Michal Opala
694ff377aa
F #6029: Create Restic repo per VM (#2495) 2023-02-14 17:10:32 +01:00
Jorge Miguel Lobo Escalona
20f6c39a8a
B #5903: add recover switch in commit modal (#2502)
(cherry picked from commit 95342c3fa50c083d7c2ba1fa7025df71e22c8858)
2023-02-14 15:59:30 +01:00
Ruben S. Montero
e6c7c51c30
F #6029: Extend BACKUP state to include increment_flatten action
This prevents a race condition on when flatten and backup actions are triggered
simultaneously.
2023-02-14 13:25:42 +01:00
Pavel Czerný
a688801ef4
M #-: Fix oned build (#2501)
(cherry picked from commit 941207f85bee847d67773bcec72f2128b64ed2e9)
2023-02-14 10:49:27 +01:00
Pavel Czerný
aa1775616b
F #6103: CppCheck version 2.10 - solved issues (#2492)
* Update smoke test checkout action

(cherry picked from commit 466d336d7e264b22e19576e42e39252921f1f0a6)
2023-02-14 09:51:21 +01:00
Pavel Czerný
9cb1bbde27
B #6114: Fix NETTX and NETRX host monitoring (#2494)
(cherry picked from commit eecbfe351ca4f995a45b0e55fe61cb148a7f3aa6)
2023-02-13 17:33:23 +01:00
Jan Orel
2efd46f163
B #-: Don't fail docker build if resolv.conf is RO (#2486)
(cherry picked from commit dbf1e882b14d0b0b49b0ad41a2987ab628047043)
2023-02-13 17:21:09 +01:00
Jan Orel
1c938fe928
B #6078: intoduce retry_if/retry_if_no_error (#2478) (#2497)
(cherry picked from commit bb75e5fd29012be74d4a7333022e923bbe40e4f7)
2023-02-13 17:19:23 +01:00
Jorge Miguel Lobo Escalona
b94a12d8d0
B #5903: fix vms datatable in securyty groups (#2496)
(cherry picked from commit a1d807710e0c187e7f72daf51145c80de1f17b75)
2023-02-13 12:46:13 +01:00
Tino Vázquez
b2118b74a4
L #-: Linting for new rubocop version
(cherry picked from commit 4fe742b86330b1d10e95fe9c57a7f7ae567ae0b9)
2023-02-10 11:12:47 +01:00
Frederick Borges
c559a9c6f9
F OpenNebula/one#6029: Add NAME and INCREMENT_ID (#2493)
to restore dialog

(cherry picked from commit 50cd668765574f2239999538ed102a5e72742c14)
2023-02-10 10:56:22 +01:00
Ruben S. Montero
940c1d7d63
F #6029: Prevent backup removal VM is in BACKUP
Some backup drivers may not allow delete (forget) operations while an
active backup is being performed. This commits fails the
one.image.delete API call in that case.

A new configuration attribute to describe the related driver behavior has been
added CONCURRENT_FORGET for DS_MAD_CONF.
2023-02-09 19:37:00 +01:00
Jan Orel
81648c449f
Revert "F #5591: Custom role attributes in oneflow added (#2465)" (#2491)
This reverts commit 8aae36824d904f5a3e1d132525a6320761cbfc5d.

(cherry picked from commit b82ca031a70ce2310f7d5f68dc42e298c2d0f2f3)
2023-02-09 11:02:11 +01:00
Frederick Borges
bf3f646424
M #~: Modify vcpu decimal text (#2490)
(cherry picked from commit fa1c9f1348a223332067baa58ec80985a10ddfc8)
2023-02-08 18:49:02 +01:00
Jorge Miguel Lobo Escalona
6daac5193c
M #~: fix info sec group when no exist rule (#2489)
(cherry picked from commit 68b2b985fbc4d3b3de5afc6257579317b8ea78c4)
2023-02-08 18:40:32 +01:00
Frederick Borges
26e18f6bdc
B OpenNebula/one#6106: Show all IPs from nic on FSunstone (#2487)
(cherry picked from commit 65e1549d9290b53c1e577d1a3128ce79f3a6804f)
2023-02-08 18:40:22 +01:00
Pavel Czerný
56f090fe4d
B #6113: Fix DB encoding for onedb upgrade (#2488)
(cherry picked from commit 0b958f46b472d3af903218b5ecc1a0331f99bc66)
2023-02-08 13:13:19 +01:00
Ruben S. Montero
f376c3580c
M #-: Improve resilience of prebackup step
- Keep last 2 checkpoints to be able to retry failed operations
- Bitmap are managed in an equivalent way for RUNNING and POWEROFF VMs.

(cherry picked from commit d008ae343f771e6d2ee9ffbad024c551f71b2164)
2023-02-07 18:34:12 +01:00
Ruben S. Montero
7917df5046
M #-: Fix Debian10 Compilation 2023-02-07 15:52:13 +01:00
Ruben S. Montero
52b34e4333
M #-: Fix quotas for backup callback 2023-02-07 14:11:43 +01:00