Commit Graph
20137 Commits
Author SHA1 Message Date
Ruben S. Montero 3c9bfecbd1 Revert "B #5909: Add /usr/sbin/ipset to sudoers (#2466)"
This reverts commit 8a0d892f39.
2023-01-30 13:49:59 +01:00
Frederick Borges e0e3f9cc41 B #6100: Add support to https_proxy (#2467) 2023-01-30 11:54:26 +01:00
Jan Orel 8a0d892f39 B #5909: Add /usr/sbin/ipset to sudoers (#2466)
(cherry picked from commit f96338c0c8)
(cherry picked from commit 1cc6332536)
2023-01-30 11:43:28 +01:00
Jan Orel 1eb8e75c46 B #6090 Pass $FORMAT to mkfs_command (#2462) 2023-01-27 18:42:05 +01:00
Frederick Borges dd9620f92e B #~: Add missing changes to files tab (#2463) 2023-01-27 14:31:20 +01:00
Pavel Czerný d7f1e1e0fc B #6085: Fix trim of VNC/SPICE password (#2460)
(cherry picked from commit 726a6a8547)
2023-01-26 10:03:09 +01:00
Frederick Borges 85832d9089 B #6096: Fix typo causing errors (#2459) 2023-01-25 11:25:16 +01:00
Frederick Borges 7c514bd401 M #~: Enhance issue templates (#2458) 2023-01-25 10:45:01 +01:00
Tino Vázquez ccf9acafbb L #-: Remove unneeded parenthesis
(cherry picked from commit 2ee4a31f39)
2023-01-24 11:38:17 +01:00
Frederick Borges 6c42dfed9e F #6057: Add I/O limit options to backup DS (#2456) 2023-01-24 11:20:20 +01:00
Ruben S. Montero dff7a2ca16 F #6057: Make it comptible with RHEL 8 systemd version
systemd-run fails with: unrecognized option '--same-dir' in RHEL8.
Removed the option.
2023-01-22 15:40:03 +01:00
Ruben S. Montero 9489d0aac2 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.

(cherry picked from commit 276f093073)
2023-01-21 14:08:43 +01:00
Jorge Miguel Lobo Escalona 05d17aa6b3 B #6081: No render when have selected a vm (#2452) 2023-01-20 12:49:08 +01:00
Frederick Borges d42ee8a1e0 B #6086: Fix fs freeze value when QEMU Agent is selected (#2455)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2023-01-19 11:23:14 +01:00
Pierre Lafievre 462e888259 F #6054: GOCA - make AR representation more generic
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit afc90f70fe)
2023-01-19 10:31:23 +01:00
Raf Lopez 647a4851b8 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 278b14930b)
2023-01-19 10:30:36 +01:00
Neal 86160b66e7 B #-: Fixing bug with nested quotation marks when restoring backup (#2454)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-01-19 09:11:08 +01:00
Tino Vázquez 61b56b0275 Revert "M #-: Prevent change in conf file"
This reverts commit 990830982e.
2023-01-17 10:52:45 +01:00
Tino Vázquez 990830982e M #-: Prevent change in conf file 2023-01-17 10:52:08 +01:00
Jorge Miguel Lobo Escalona 8b041fd06f B-6081: fix other tables (#2448) 2023-01-16 17:52:11 +01:00
Jorge Miguel Lobo Escalona 04f22a6b3d B #6081: fix get current content when select record in datatable (#2447) 2023-01-16 13:40:52 +01:00
Tino Vázquez 46cca6d6cd L #-: Remove unneeded exceptions 2023-01-10 13:13:46 +01:00
Frederick Borges 39f6d2765c F #5998: Bigger label filter on FSunstone (#2441) 2023-01-10 13:05:16 +01:00
Frederick Borges acba29efc2 B #6061: Fix issue removing AR on vnet template (#2439) 2023-01-10 12:15:24 +01:00
Ruben S. Montero 0784385caf B #6027: Fix schema for host.xsd 2023-01-09 18:52:40 +01:00
Pavel CzernýandRuben S. Montero 0696693531 B #6027: Parse host NUMA monitoring (#2440)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2023-01-09 18:29:09 +01:00
Jorge Miguel Lobo Escalona bc0caa82f3 M #~: Update lint for Bump year 2023 (#2442) 2023-01-09 13:10:12 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Neal 1035c6af9c B #6073: add user for make_dst_path action (#2438)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-01-06 19:05:09 +01:00
Jorge Miguel Lobo Escalona 4f71e1f266 M #-: Add default zone in federation (#2433) 2023-01-05 14:35:16 +01:00
Frederick Borges 18f9137de2 B #6051: Fix FireEdge endpoints should not be case sensitive (#2432) 2023-01-05 14:29:46 +01:00
Frederick Borges d6b89b6fe2 F #5974: FireEdge Sunstone Schedule Actions improvements (#2431) 2023-01-05 14:24:46 +01:00
Frederick Borges a1e9bcd675 B #6067: Fix disk RECOVERY_SNAPSHOT_FREQ on instantiate (#2429) 2023-01-05 14:20:53 +01:00
Tino Vázquez abeccc507f L #-: YodaStyle new cop compliance 2023-01-05 13:56:38 +01:00
Pavel Czerný 3de39f9340 F #6039: Reset monitoring timers (#2430) 2023-01-04 16:14:36 +01:00
Pavel Czerný 0fe9eac8b5 B #5916: Fix onevm instantiate --persistent (#2428) 2023-01-04 16:10:03 +01:00
Pavel Czerný 82d2191dfd B #6022: Fix lock override and --all flag (#2427)
* This commit syncs oned and API specification for the ALL flag. The internal defines were not consistent with the API specification.
2023-01-04 15:53:50 +01:00
Pavel Czerný 9959ceac06 M #-: Bump DB version to 6.8 (#2425) 2022-12-22 14:20:25 +01:00
Tino Vázquez 4f9e45a57c M #-: Bump version 6.7.80 2022-12-21 19:57:29 +01:00
Ruben S. Montero b7b662b5ff M #-: Point provision repo role to OpenNebula 6.6.0 release-6.6.0 2022-12-21 10:34:25 +01:00
Tino Vázquez df44921a19 L #-: Minor linting change 2022-12-20 19:11:46 +01:00
Pavel Czerný b25274323e M #-: Trim VM template error message (#2424) 2022-12-19 15:21:12 +01:00
Jorge Miguel Lobo Escalona a4d9a3e374 M #~: translates (#2422) 2022-12-16 09:59:21 +01:00
Tino Vázquez 238b5d704c M #-: Bump version to 6.6.0 2022-12-15 18:07:06 +01:00
Anton Todorov a9b528cf84 B #6037: there are no dedicated backup DS drivers
(cherry picked from commit 750909f9b1)
release-6.5.90
2022-12-15 15:18:56 +01:00
Ruben S. Montero 8e1607e276 M #-: Add +x to driver action (backup - rsync) 2022-12-15 12:15:28 +01:00
Ruben S. Montero 571ed63dde B #6012: Do not remove all images on cleanup
- Missing check (fails when no images are registered)
- Added additional check for image_name not empty
2022-12-14 12:20:15 +01:00
Ruben S. Montero a07a2cf97a M #-: rsync/stat script to work with all Ruby versions 2022-12-14 11:30:32 +01:00
Jorge Miguel Lobo Escalona 595d73ba32 B #6040: fix link backup in vm info (#2421) 2022-12-13 17:19:01 +01:00
Anton Todorov c51c35f810 F #5681: disk source element depends on disk type
following the domain XML definition https://libvirt.org/formatdomain.html
```
_source_
  Representation of the _disk source_ depends on the _disk type_ attribute value as follows:
  _file_
    The _file_ attribute specifies the fully-qualified path to the file holding the disk. Since 0.0.3
  _block_
    The _dev_ attribute specifies the fully-qualified path to the host device to serve as the disk. Since 0.0.3
```

Also, I took the liberty to remove the _Image::FILE_ case form the switch as it is the default one.

(cherry picked from commit 83404b5ec2)
2022-12-13 16:40:44 +01:00