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

20137 Commits

Author SHA1 Message Date
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
Pavel Czerný
b13d06d7da
F #6039: Reset monitoring timers (#2430)
(cherry picked from commit 3de39f9340220b31a319c8c8c67783e1da699f49)
2023-01-04 16:15:17 +01:00
Pavel Czerný
bec6e0b469
B #5916: Fix onevm instantiate --persistent (#2428)
(cherry picked from commit 0fe9eac8b5698c53690ed646fc39822f98d2b28d)
2023-01-04 16:13:00 +01:00
Pavel Czerný
269ca271d2
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.

(cherry picked from commit 82d2191dfda8d4ef031223929a6a76949ae050aa)
2023-01-04 15:55:02 +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 750909f9b1ff9ed797e00df7e3d249dc6d794078)
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 83404b5ec29e537665c7c80950bd26ed1c240812)
2022-12-13 16:40:44 +01:00