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

20201 Commits

Author SHA1 Message Date
Pavel Czerný
c70a239033
M #-: Fix CppCheck issues in 6.6 branch (#2485) 2023-02-07 12:33:31 +01:00
Jorge Miguel Lobo Escalona
c9a4340b0a
M #~ lint-fix fireedge (#2484)
(cherry picked from commit ef5d0c60d433865c356d6c56b5c995f2b5e3aa81)
2023-02-07 11:26:04 +01:00
Pavel Czerný
d7b7303f8f
F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a5510fb238ff77086ce554845a26d59a38)
2023-02-07 08:54:35 +01:00
Jan Orel
dd01710590
B #6078: intoduce retry_if/retry_if_no_error (#2478)
(cherry picked from commit 41ed5fa477adabae7f51b96b1b42fa77383fdc8d)
2023-02-07 08:16:43 +01:00
Ruben S. Montero
496ac20e0a
L #5591: Linting (line-length) 2023-02-07 07:47:29 +01:00
Victor Palma
90aac4b5f3
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.
2023-02-07 07:41:03 +01:00
Jorge Miguel Lobo Escalona
c10d4ea5e5
M #~: add user and password when import marketapp (#2483)
(cherry picked from commit 2b4d472a4dae5a5c27fd5752183e550b63dae429)
2023-02-06 19:47:47 +01:00
Jan Orel
e152160a7b
B #-: Use new repo2.key in oneprovision (#2480)
(cherry picked from commit 5318bb8a6f595ae594532dd04827673afffc946f)
2023-02-03 13:20:26 +01:00
Pavel Czerný
6b5f78fc1a
F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c54307722d484ea3d4b6f245bbe799978a)
2023-02-02 12:56:03 +01:00
Frederick Borges
7af73ca851
B OpenNebula/one#6106: Show IPv6 on FSunstone (#2474)
(cherry picked from commit da30d27e45b858e9c29a3458e49ec857e03deff2)
2023-02-01 16:54:17 +01:00
not24get
2c4e7be77e
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 608189fb756e0b039aed2cf7bc9874c527022d9c)
2023-02-01 10:32:08 +01:00
Jorge Miguel Lobo Escalona
31a47e37a7
M #~: remove external (#2473)
(cherry picked from commit 880f1adc6e63f0eb3db33c7179d226d58d943f14)
2023-01-31 17:54:27 +01:00
Tino Vázquez
1086764446
L #-: Deprecate File.exists?
(cherry picked from commit da57aa1349354579b8e8909d59b781af610b0a62)
2023-01-31 13:47:12 +01:00
Pavel Czerný
d37104974e
M #-: Add CppCheck to smoke tests (#2464)
(cherry picked from commit a5c57b69b37ffae93468127021ea953e1498aaea)
2023-01-31 13:46:20 +01:00
Pavel Czerný
aeb9b15ea0
B #5913: Check if CLI *.yaml exists (#2469)
(cherry picked from commit f0c01ca2380ef523094453d50d2f512557eaa3f6)
2023-01-31 13:34:31 +01:00
Frederick Borges
dd1007ee5b
B #6027: Fix numa usage on FSunstone (#2471)
(cherry picked from commit 62cdf5b9468270321258bc0a96a8a588de64d143)
2023-01-31 13:07:43 +01:00
Frederick Borges
b298abfac0
B #6027: Fix numa usage on RSunstone (#2470)
(cherry picked from commit 9a1886f9bb27f6d3d2a2daf68bd4c7e7f7c4d113)
2023-01-31 13:05:40 +01:00
Pavel Czerný
3708a503cd
B #6068: Fix authorization for onevm disk-resize (#2468)
Also fix error code for onevm create-chart

(cherry picked from commit 18a4796ea16704966ba34a04f08dbb2068479ab8)
2023-01-31 12:27:13 +01:00
Ruben S. Montero
7962774ccd
Revert "B #5909: Add /usr/sbin/ipset to sudoers (#2466)"
This reverts commit 1cc63325364af22eec72a9f522deca8ca48a8182.
2023-01-30 13:49:28 +01:00
Frederick Borges
3335f2b6c7
B #6100: Add support to https_proxy (#2467)
(cherry picked from commit e0e3f9cc4148beb0e567e7cbfbf93c62f9b85dd5)
2023-01-30 11:54:40 +01:00
Jan Orel
1cc6332536
B #5909: Add /usr/sbin/ipset to sudoers (#2466)
(cherry picked from commit f96338c0c871034486ffc6d94edca7649fc02117)
2023-01-30 11:43:17 +01:00
Jan Orel
3834777ae6
B #6090 Pass $FORMAT to mkfs_command (#2462)
(cherry picked from commit 1eb8e75c46b522fc888ec2fab9dfe636171f0990)
2023-01-27 18:42:45 +01:00
Frederick Borges
72b7753650
B #~: Add missing changes to files tab (#2463)
(cherry picked from commit dd9620f92e62ce21a48cf2c9e52b521cbdbb0dd4)
2023-01-27 14:31:35 +01:00
Pavel Czerný
726a6a8547
B #6085: Fix trim of VNC/SPICE password (#2460) 2023-01-26 09:57:28 +01:00
Frederick Borges
57dfd3176c
B #6096: Fix typo causing errors (#2459)
(cherry picked from commit 85832d9089e48e32ff6a760fb6b2af8eb837435e)
2023-01-25 11:26:19 +01:00
Tino Vázquez
2ee4a31f39
L #-: Remove unneeded parenthesis 2023-01-24 11:37:52 +01:00
Frederick Borges
65f34251dc
F #6057: Add I/O limit options to backup DS (#2456)
(cherry picked from commit 6c42dfed9ea860303b3bab04bac862cb1c4a85a7)
2023-01-24 11:25:57 +01:00
Ruben S. Montero
2c4922afa4
F #6057: Make it comptible with RHEL 8 systemd version
systemd-run fails with: unrecognized option '--same-dir' in RHEL8.
Removed the option.

(cherry picked from commit dff7a2ca16a1c1f96bc3c37473ec0d6e2e9d8ea4)
2023-01-22 15:42:05 +01:00
Ruben S. Montero
276f093073
F #6057: Confine backup commands
- New TransferManager::Datastore class with confine helpers
- "Confinement" methods for backup file preparation and backup:
  * ionice/nice
  * systemd slice

- IONICE/NICE
  * Execute commands under a given nice and ionice (class 2)
  * The following variables can be set
    - RESTIC_NICE
    - RESTIC_IONICE
    - RSYNC_NICE
    - RSYNC_IONICE

- Systemd Slice
  * A user slice is created for each datastore that set:
    - CPUQuota
    - IOReadIOPSMax
    - IOWriteIOPSMax

    This requires delegation of io/cpu/cpuset controllers to oneadmin
    Also VM folder needs to be local (e.g. not an NFS volume).
  * Commands are passed specific environment (e.g. SSH agent socket)
  * The following variables can be set:
    - RESTIC_MAX_RIOPS
    - RESTIC_MAX_WIOPS
    - RESTIC_CPU_QUOTA
    - RSYNC_MAX_RIOPS
    - RSYNC_MAX_WIOPS
    - RSYNC_CPU_QUOTA

The new interface is added to file (qcow2/shared/ssh) and ceph TM
drivers.
2023-01-21 14:06:54 +01:00
Jorge Miguel Lobo Escalona
2d2103ea16 B #6081: No render when have selected a vm (#2452)
(cherry picked from commit 05d17aa6b3ed2cc3da20e1aadbd4931e09919d3e)
2023-01-20 12:49:33 +01:00
Frederick Borges
8f365a30ae
B #6086: Fix fs freeze value when QEMU Agent is selected (#2455)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
(cherry picked from commit d42ee8a1e003f24e81eaa672eafdd4fccabd02c1)
2023-01-19 11:23:58 +01:00
Pierre Lafievre
35b43b32fc
F #6054: GOCA - make AR representation more generic
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit afc90f70fe54f0f2b63df147fe23662faa2c9732)
(cherry picked from commit 462e888259363b1fd4c590d77c5c7b561b340856)
2023-01-19 10:36:43 +01:00
Raf Lopez
4648c918b6
M #-: Fix the snapshot schemas (GOCA)
The schema for vm and snapshots does not correctly deserialize
the raw xml because the snapshot field in VM struct is not an array.

This change fixes the snapshot field, and adds DiskID to DiskSnapshot
struct so that after unmarshalling the snapshots are grouped by disk

Signed-off-by: Rafael Lopez <rafael.lopez@softiron.com>
(cherry picked from commit 278b14930bf1409f4dc5c844bad47e359240f3ca)
(cherry picked from commit 647a4851b8fe16590c7d9badec399992fc9f5253)
2023-01-19 10:36:43 +01:00
Neal
365d3d1082
B #-: Fixing bug with nested quotation marks when restoring backup (#2454)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
(cherry picked from commit 86160b66e77d53b7bb7543e355acbee8b1062e57)
2023-01-19 09:14:30 +01:00
Jorge Miguel Lobo Escalona
b79beea1df B-6081: fix other tables (#2448)
(cherry picked from commit 8b041fd06f352f1199a0e4b986e5052f6da3f117)
2023-01-16 17:52:30 +01:00
Jorge Miguel Lobo Escalona
9fe170d61c
B #6081: fix get current content when select record in datatable (#2447)
(cherry picked from commit 04f22a6b3d4934189f18ae2c4d728ea096a51175)
2023-01-16 13:41:07 +01:00
Tino Vázquez
30a79867cf
L #-: Remove unneeded exceptions
(cherry picked from commit 46cca6d6cd7c3b5e85ad6f4fb3adbfc7362d0fd7)
2023-01-10 13:14:17 +01:00
Frederick Borges
6b28ac79d6
F #5998: Bigger label filter on FSunstone (#2441)
(cherry picked from commit 39f6d2765c3ce2975cec0660e8acad6bc6874733)
2023-01-10 13:05:31 +01:00
Frederick Borges
6e294b3fa8
B #6061: Fix issue removing AR on vnet template (#2439)
(cherry picked from commit acba29efc25950343b1c9b6f919594f376100e58)
2023-01-10 12:16:39 +01:00
Ruben S. Montero
a34bf34573
B #6027: Fix schema for host.xsd
(cherry picked from commit 0784385cafaf8bdde5f7022d89bf6aa7c33db7b0)
2023-01-09 18:53:49 +01:00
Pavel Czerný
b1502c1bb4
B #6027: Parse host NUMA monitoring (#2440)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
(cherry picked from commit 0696693531bb5b38e2e2d3b8e22499003d56153d)
2023-01-09 18:53:49 +01:00
Jorge Miguel Lobo Escalona
638c00c340
M #~: Update lint for Bump year 2023 (#2442) (#2443) 2023-01-09 17:06:31 +01:00
Tino Vázquez
8daf5de374
M #-: Bump year 2023 2023-01-09 13:42:55 +01:00
Neal
3943ca3b8a
B #6073: add user for make_dst_path action (#2438)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
(cherry picked from commit 1035c6af9c04ff7fc9acd1710772df48109ec514)
2023-01-06 19:06:01 +01:00
Jorge Miguel Lobo Escalona
8e1056626c
M #~: lint-fix (#2437) 2023-01-05 14:40:27 +01:00
Frederick Borges
8fe3b8e5ae
B #6051: Fix FireEdge endpoints should not be case sensitive (#2432)
(cherry picked from commit 18f9137de282f1640dc9f680063433ea89a1babb)
2023-01-05 14:29:54 +01:00
Frederick Borges
14c11d6850
F #5974: FireEdge Sunstone Schedule Actions improvements (#2431)
(cherry picked from commit d6b89b6fe23d416d006040dbc9a9388c0af6c83c)
2023-01-05 14:24:56 +01:00
Frederick Borges
6b3a80eb28
B #6067: Fix disk RECOVERY_SNAPSHOT_FREQ on instantiate (#2429)
(cherry picked from commit a1e9bcd6750afa1e6821923409fafc4212014e13)
2023-01-05 14:21:13 +01:00
Tino Vázquez
c5c248cbca
L #-: YodaStyle new cop compliance
(cherry picked from commit abeccc507f83b3ad39cca3f3d5acf6edc0fdc5a6)
2023-01-05 13:57:14 +01:00
Jorge Miguel Lobo Escalona
c55d969d5f
M #-: Add default zone in 6.6 (#2434) 2023-01-05 13:51:15 +01:00