1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-07 17:17:41 +03:00
Commit Graph

20243 Commits

Author SHA1 Message Date
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
Ruben S. Montero
238e520bc9
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

(cherry picked from commit 377db9653e)
2023-02-16 16:13:00 +01:00
Jorge Miguel Lobo Escalona
287a873de0
B #6135: remove duplicates values in Machine type and CPU model (#2504) 2023-02-16 12:31:33 +01:00
Ruben S. Montero
b067ea9d8b
M #-: Set grace period to setup backup slice 2023-02-16 11:45:00 +01:00
Ruben S. Montero
381c101a70
M #-: Fix SSH configuration options (tm_action.rb)
(cherry picked from commit 3bbb9c7ffc)
2023-02-16 11:34:27 +01:00
Frederick Borges
ef6faaa0cd
F OpenNebula/one#6029: Add NAME and INCREMENT_ID on FSunstone (#2505) 2023-02-15 18:09:46 +01:00
Frederick Borges
5bf504d71f
F OpenNebula/one#6029: Fix inputs Ruby Sunstone (#2506) 2023-02-15 18:02:06 +01:00
Michal Opala
063789c1d6
F #6029: Create Restic repo per VM (#2495)
(cherry picked from commit 694ff377aa)
2023-02-14 17:11:05 +01:00
Jorge Miguel Lobo Escalona
95342c3fa5
B #5903: add recover switch in commit modal (#2502) 2023-02-14 15:58:46 +01:00
Ruben S. Montero
db3b920d8b
F #6029: Extend BACKUP state to include increment_flatten action
This prevents a race condition on when flatten and backup actions are triggered
simultaneously.

(cherry picked from commit e6c7c51c30)
2023-02-14 13:27:47 +01:00
Pavel Czerný
03c28c1e51
M #-: Fix oned build (#2501)
(cherry picked from commit 941207f85b)
2023-02-14 10:49:39 +01:00
Pavel Czerný
03add6d9ac
F #6103: CppCheck version 2.10 - solved issues (#2492)
* Update smoke test checkout action

(cherry picked from commit 466d336d7e)
2023-02-14 09:51:04 +01:00
Jorge Miguel Lobo Escalona
5b8bafcd6e
M #~: add views security groups master (#2500) 2023-02-13 18:36:03 +01:00
Pavel Czerný
7f74db189e
M #-: Fix CppCheck issues in master (#2499) 2023-02-13 17:55:50 +01:00
Pavel Czerný
265df5169d
B #6114: Fix NETTX and NETRX host monitoring (#2494)
(cherry picked from commit eecbfe351c)
2023-02-13 17:33:42 +01:00
Jan Orel
dbf1e882b1
B #-: Don't fail docker build if resolv.conf is RO (#2486) 2023-02-13 17:20:12 +01:00
Jan Orel
bb75e5fd29
B #6078: intoduce retry_if/retry_if_no_error (#2478) (#2497) 2023-02-13 17:18:41 +01:00
Jorge Miguel Lobo Escalona
a1d807710e
B #5903: fix vms datatable in securyty groups (#2496) 2023-02-13 12:45:56 +01:00
Tino Vázquez
4fe742b863
L #-: Linting for new rubocop version 2023-02-10 11:12:19 +01:00
Frederick Borges
50cd668765
F OpenNebula/one#6029: Add NAME and INCREMENT_ID (#2493)
to restore dialog
2023-02-10 10:56:00 +01:00
Ruben S. Montero
c68c81a86e
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.

(cherry picked from commit 940c1d7d63)
2023-02-09 19:40:44 +01:00
Jan Orel
b82ca031a7
Revert "F #5591: Custom role attributes in oneflow added (#2465)" (#2491)
This reverts commit 8aae36824d.
2023-02-09 10:58:02 +01:00
Frederick Borges
fa1c9f1348
M #~: Modify vcpu decimal text (#2490) 2023-02-08 18:48:50 +01:00
Jorge Miguel Lobo Escalona
68b2b985fb
M #~: fix info sec group when no exist rule (#2489) 2023-02-08 18:39:53 +01:00
Pavel Czerný
934fd8678a
B #6113: Fix DB encoding for onedb upgrade (#2488)
(cherry picked from commit 0b958f46b4)
2023-02-08 13:13:35 +01:00
Frederick Borges
65e1549d92
B OpenNebula/one#6106: Show all IPs from nic on FSunstone (#2487) 2023-02-08 12:05:19 +01:00
Ruben S. Montero
d008ae343f
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.
2023-02-07 18:29:13 +01:00
Ruben S. Montero
304199ac80
M #-: Fix Debian10 Compilation
(cherry picked from commit 7917df5046)
2023-02-07 15:52:47 +01:00
Ruben S. Montero
0f5d9bcf77
M #-: Fix quotas for backup callback
(cherry picked from commit 52b34e4333)
2023-02-07 14:12:19 +01:00
Tino Vázquez
fae34eee26
L #-: Change percentage for brackets
in ruby word array definitions

(cherry picked from commit 27a97b4ea6)
(cherry picked from commit f0d462649d)
2023-02-07 13:28:47 +01:00
Ruben S. Montero
8cb3a360b8
F #6029, #6074: Retention and restore opetions for incremental backups
* Introduce support to follow KEEP_LAST for incremental backups.
  - New increment_flatten action added for backup datastores.
  - increment_flatten will consolidate KEEP_LAST increments into the
    current first increment in the chain.
  - increment_flatten MUST return the new chain (inc1:source1,...) and size
    of the new first increment (FULL) in the chain.

* Downloader logic for restore has been extracted from downloader.sh to
  reuse the increment flatten logic. A new command restic_downloader.rb
  process restic:// pseudo-urls.

* Restore process uses two new attributes to customize the restore
  process:
  - NAME to be used as base name for images and VM Template
  - INCREMENT_ID to restore disks from a given increment (not always the
    last one)

* Common logic has been added to BackupImage class (backup.rb)

* Includes the following fixes:
  - Fix when increment includes blocks larger than max qemu-io request size
  - Fix IMAGE counter for quotas on backup images
  - Fix rsync restore NO_IP / NO_NIC attributes

TODO:
* Mimic increment_flatten logic and restore images on the backup server
* Suntone restore options

co-authored-by:Michal Opala <mopala@opennebula.io>
2023-02-07 13:19:03 +01:00
Tino Vázquez
26c76a7307
L #-: Enforce brackets for ruby word arrays
(cherry picked from commit cbcf309979)
2023-02-07 12:57:56 +01:00
Pavel Czerný
19f18e2877
M #-: Fix CppCheck issues in 6.6 branch (#2485)
(cherry picked from commit c70a239033)
2023-02-07 12:34:04 +01:00
Jorge Miguel Lobo Escalona
ef5d0c60d4
M #~ lint-fix fireedge (#2484) 2023-02-07 11:24:00 +01:00
Pavel Czerný
8e7ff2ed36
F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Jan Orel
81512242e3
B #6064: Replace dicttoxml by dict2xml (#2482) 2023-02-07 08:26:45 +01:00
Jan Orel
41ed5fa477
B #6078: intoduce retry_if/retry_if_no_error (#2478) 2023-02-07 08:16:16 +01:00
Ruben S. Montero
88cf47e401
L #5591: Linting (line-length)
(cherry picked from commit 496ac20e0a)
2023-02-07 07:48:32 +01:00
Victor Palma
8aae36824d
F #5591: Custom role attributes in oneflow added (#2465)
Custom attributes have been added at the role level.
In this way, roles can be individually customized during instantiation.
Added parameters:
- custom_attrs: contains user-defined custom attributes.
- custom_attrs_values: contains the values of the custom_attrs.
  In case of overlapping role and service level attributes, role level attributes will take precedence.

Example:
roles: [
    {
        "name": "role_1",
        ...
        "custom_attrs": {
            "MEMORY": "M|range|memory (mb)|100..500|200",
            "DISK_SIZE": "M|range|disk size (mb)|100..500|250"
        }
    }
]

In order to be used from CLI, the vm_template_contents in the service template must be filled manually.

(cherry picked from commit 90aac4b5f3)
2023-02-07 07:48:31 +01:00
Jorge Miguel Lobo Escalona
2b4d472a4d
M #~: add user and password when import marketapp (#2483) 2023-02-06 19:47:16 +01:00
Jan Orel
5318bb8a6f
B #-: Use new repo2.key in oneprovision (#2480) 2023-02-03 13:19:25 +01:00
Pavel Czerný
6ee3a5ef5b
F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c543)
2023-02-02 12:54:45 +01:00
Frederick Borges
da30d27e45
B OpenNebula/one#6106: Show IPv6 on FSunstone (#2474) 2023-02-01 16:53:29 +01:00
not24get
7b34220c89
F #1289 Add support for nested group in LDAP
This permit to use the the LDAP_MATCHING_RULE_IN_CHAIN for nested group membership

Here is "ldap_auth.conf" config related 👍

    :group_field: 'member:1.2.840.113556.1.4.1941'
    :rfc2307bis: false

This fix #1289

Signed-off-by: Alexandre ROTA <alex@not24get.fr>
(cherry picked from commit 608189fb75)
2023-02-01 10:31:43 +01:00
Jorge Miguel Lobo Escalona
880f1adc6e
M #~: remove external (#2473) 2023-01-31 17:54:10 +01:00