1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-19 21:57:24 +03:00

20427 Commits

Author SHA1 Message Date
Ruben S. Montero
45f28e15d3
F #6185: Support huge pages without CPU pinning
VM topology can be defined:

- To use a NUMA node and huge pages. Example:
    TOPOLOGY = [ NODE_AFFINITY = 0, HUGEPAGE_SIZE = 2 ]

- To use huge pages without specifying the NUMA node. Example:
    TOPOLOGY = [ HUGEPAGE_SIZE = 2 ]

In any case OpenNebula will:

- look (or check) for a NUMA node with enough free huge pages
- will pick the NUMA node with more free pages (if no NUMA node is specified)
- configure the VM with CPU affinity to the selected NUMA node

(cherry picked from commit 1b3b88ed4e4087b20a2925fbe42ad362aaee3fcd)
2023-04-24 20:45:45 +02:00
Ruben S. Montero
53b9611219
F #5966: Support for huge pages for NUMA affinity 2023-04-24 17:52:15 +02:00
Jorge Miguel Lobo Escalona
cfa2f6801c
M #-: Refactor tokens FireEdge (#2589)
(cherry picked from commit 7e5d1d9f1439a32616721c0bb64ae714ca494d73)
2023-04-24 13:22:57 +02:00
Ruben S. Montero
b0c7c4a88d
F #5966: NUMA affinity
- Adds memory pinning to the NUMA node when using NODE_AFFINITY

(cherry picked from commit b72b1cb30d9937181ccf535718c3a922ff70e909)
2023-04-24 12:57:28 +02:00
Jan Orel
b81363a114
M #-: Update spice-html5 git url (#2587) 2023-04-23 13:45:46 +02:00
Ruben S. Montero
4efa25c3e5
F #5966: NUMA affinity
* NODE_AFFINITY can be used to pin a VM to all the CPUs of a NUMA node.
  The attribute is part of the TOPOLOGY definition.

* A default virtual topology is defined when no other is set. This
  allows to set only the affinity:

     TOPOLOGY = [ NODE_AFFINITY = 1 ]

* NODE_AFFINITY can only be set for not-pinned VMs to not conflict with
  core allocations for pin VMs. VMs with NODE_AFFINITY set will be
  allocated to regular hosts (i.e. PIN_POLICY = NONE)

(cherry picked from commit fc15d6ebc97b59ce1745c8d2ad081584ae7b19ae)
2023-04-23 00:01:11 +02:00
Frederick Borges
03257177ca
F OpenNebula/one#6183: hide network automatic selection (#2585) 2023-04-21 14:57:54 +02:00
Frederick Borges
d03ae2976e
F OpenNebula/one#6183: hide network automatic selection (#2586)
(cherry picked from commit e401e61c17f2352b6df17197464ab91ed040b529)
2023-04-21 14:56:44 +02:00
Neal
20c70e4985
F #6099: Implement non-shared vm skipping for ft/host_error.rb (#2583) 2023-04-21 10:45:52 +02:00
Daniel Clavijo Coca
16035a1145
B OpenNebula/one#6184: Fix LXD market monitoring (#2584) 2023-04-20 18:58:11 +02:00
Ruben S. Montero
bf60b3899b
B #6861: Check termination time for scheduled actions
* ScheduledAction::is_due check termination time
* VM is Make sure VM is updated when EndOn==TIMES

co-author: Michal Opala <mopala@opennebula.io>
(cherry picked from commit 7f2a35b1ba6532a121b67077032ae47743543f53)
2023-04-20 11:35:26 +02:00
Frederick Borges
309fd7df72
F OpenNebula/one#6095: Fix datastore tab issues (#2581)
Co-authored-by: Jorge Lobo <jlobo@opennebula.io>
2023-04-18 19:18:01 +02:00
Lota Bi
387d779c32
M #-: Fix Label button to Update action
Now when you update an action, label is "Edit",
i suggest to change it into "Update"

HTH
Alessandro

(cherry picked from commit bacd1cbf15959010aefa4a9de74ca37bbda766aa)
(cherry picked from commit 38c9f2d1b18b66453e9498559530e4ad7d0dc2ea)
2023-04-17 10:04:07 +02:00
Daniel Clavijo Coca
fad0484c2c
B #3178: Auto-contextualize missing context supported distros on LXD marketplace (#2128)
* Update some linux distro versions
* Centos Stream
* Springdale
* Amazon Linux
* OpenSuse

(cherry picked from commit 9a92ff4e50306b3f204e9ee25f47cf4b892d0bb1)
2023-04-12 12:28:14 +02:00
Frederick Borges
5925f0b54b
B OpenNebula/one#5462: Fix typo (#2577) 2023-04-12 10:29:01 +02:00
Frederick Borges
54080161ba
B OpenNebula/one#5462: Change external text (#2576) 2023-04-12 10:25:31 +02:00
Frederick Borges
877bcdd239
B OpenNebula/one#5462: reintroduce external attribute" (#2575) 2023-04-12 10:17:32 +02:00
Frederick Borges
14fb1347fb
B OpenNebula/one#5659: Change external text (#2574) 2023-04-11 16:20:06 +02:00
Frederick Borges
8aece32c0c
M #~: Add states to recover action (#2573) 2023-04-10 17:58:04 +02:00
Tino Vázquez
54c74a3d6d L #-: Disable RedundantLineContinuation cop 2023-04-04 14:26:07 +02:00
Frederick Borges
9cbf09e122
B #5659: Reintroduce NIC external attribute (#2571)
Even if it is deprecated in OneProvision, it is still needed in the VNF appliance.

 * Re-added to Sunstone
 * More descriptive and specific name and hint
2023-04-04 14:18:43 +02:00
Ruben S. Montero
c8943e8b83
B #6162: Fix marketplace import action 2023-03-30 10:00:08 +02:00
Ruben S. Montero
5a83b45ce1
B #6162: Only stdin supported for datastore driver
Deprecate the use of arguments for passing messages to the datastore
driver actions.
2023-03-29 13:28:13 +02:00
Ruben S. Montero
564695413f
M #-: Add one_datastore.rb and one_market.rb to the linter whitelist 2023-03-29 12:46:18 +02:00
Ruben S. Montero
0f57feff0e
B #6162: Use stdin for datastore drivers in marketplace
The import action in the marketplace requires to execute the export
datastore action. This commits enables to use stdin to for datastore
action with -i options (same as DATASTORE_MAD)

(cherry picked from commit dc91241f055bd3f35ce18266058b25cb6b4e11f0)
2023-03-29 12:45:56 +02:00
Neal
6cb85b47e9
B #-: fixing customizable tar commands (#2570)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-03-29 11:09:10 +02:00
Pavel Czerný
9af3d34106
F 6030: Backup go and java api (#2561) 2023-03-29 10:42:00 +02:00
Pavel Czerný
1d5d400a7b
M #-: Fix go lock test (#2562) 2023-03-29 10:40:05 +02:00
Ruben S. Montero
5a8bec5168
B #6162: Fix duplicated argument parsing in snap actions 2023-03-28 09:29:48 +02:00
Ruben S. Montero
52156312fc
B #6162: Use stdin for datastore drivers
New option for datastore driver (--stdin) that sends driver information
    through stdin. Driver actions will read stdin if the first argument is
    '-'. This change is compatible with drivers that read input from argument command
    line. By default the driver will work using the command line arguments.

    Monitor scripts part of the transfer manager are also updated

    File oned.conf is changed to use stdin by default

(cherry picked from commit 8c12a8dbcd480bc50b5752e0997a0ba2df23082d)
(cherry picked from commit aa1e6b41965bd536c135a3035126302eaba06b3f)
2023-03-27 19:24:53 +02:00
Jorge Miguel Lobo Escalona
e3ceecc132 B #6165: Fix Remote Auth Sunstone and FireEdge (#2569)
(cherry picked from commit df5ff573e66c6905a00eb2a9ae43a08fd14636a9)
2023-03-27 13:41:18 +02:00
Jorge Miguel Lobo Escalona
2d8d3b3e1e
F #6112: Logger remote auth fireedge (#2568)
(cherry picked from commit e4fd0eb40a09f9807ffd498aac6a2815bab6c169)
2023-03-24 11:07:14 +01:00
Frederick Borges
3eac279b4c
B OpenNebula/one#6163: Fix error when FireEdge conf attributes (#2567) 2023-03-24 11:03:41 +01:00
Frederick Borges
0555b272c0
F OpenNebula/one#6095: Add datastore tab (#2565) 2023-03-24 10:57:13 +01:00
Jorge Miguel Lobo Escalona
0b8682b6b3
F #6112: Remote link (#2563) 2023-03-21 19:39:32 +01:00
Tino Vázquez
0e2ffb425c
M #-: Add automatic labelling for new issues 2023-03-21 18:35:25 +01:00
bruno
8c5dcbc17f
M #-: Change u_int16_t type for uint16_t
The types `u_intXX_t` (underscore after the `u`) are not supported
  by newer versions of GCC and `uintXX_t` should be used instead.
  In the file `src/svncterm_server/genfont.c` there were still some
  variables using the old type `u_int16_t`. They have been fixed.

(cherry picked from commit 8f7463fcc4e9605c3110c9da93eb63ba81c48404)
(cherry picked from commit 5489c34803a42499c1ecbf30049aa31ac6aa9d80)
2023-03-21 09:29:44 +01:00
Jorge Miguel Lobo Escalona
229001161f
M #~: fix error cluster info and networks (#2560) 2023-03-16 18:27:21 +01:00
Tino Vázquez
b41cf33870
B #6112: Change default to opennebula auth 2023-03-16 15:37:31 +01:00
Ruben S. Montero
a9da75db0e
F #6030: Cancel backup operation
Author: Pavel Czerny <pczerny@opennebula.systems>
Author: Michal Opala <mopala@opennebula.io>
(cherry picked from commit f12c365d3eb8c1844b52876ac1bab625ca431f2f)
2023-03-16 13:11:27 +01:00
Ruben S. Montero
8417a9208a
F #6030: Use backup_cancel for VM deletes
The ongoing backup cancel action is terminated through
backup_cancel_driver instead of the generic cancel operation.

(cherry picked from commit 01313630a9366be664704084b5f4f0e49c57297b)
2023-03-16 13:06:54 +01:00
Jorge Miguel Lobo Escalona
7a50394495
B #6112: Add Remote Auth in FireEdge (#2557)
This enables integration with SSO solutions such as Shibboleth, where authentication happens outside the scope of the FireEdge server.

This relies on the 'public' AUTH_DRIVER where users have their username also as their password, and are only accesible through serveradmin sudo-like functionality (ie, they cannot directly access the oned API).
2023-03-16 12:06:49 +01:00
Jan Orel
16fcc1ef94
B #-: Add missing rbd-nbd on ceph client (lxc) (#2556) 2023-03-16 10:43:18 +01:00
Daniel Clavijo Coca
820948be4c
M #-: Add -R short option for recursive operations (#2555)
(cherry picked from commit 19c6b7c5efd2b37322813369be148588562143d2)
2023-03-09 17:48:19 +01:00
Jan Orel
33af6695ce
M #-: Improve conf_branch_protect (#2549) 2023-03-09 10:29:50 +01:00
Pavel Czerný
57c4c36fba
B #6149: Fix DEFAULT_NIC_SCHED policies (#2539)
(cherry picked from commit eaca0fc70ffc73923ccccca5b88169d5acc9d587)
2023-03-08 16:02:38 +01:00
Jan Orel
f89696410d
F #6150: Upgrade Ubuntu Focal to Jammy in provision (#2536) 2023-03-08 15:58:45 +01:00
Pavel Czerný
75ee27eb32
M #-: Add more build warnings, const version of vector_value method (#2534)
* M #-: const version of vector_value returns const&
* M #-: Turn on compiler flags -Wextra -Werror
2023-03-08 15:52:20 +01:00
Jan Orel
7939183c3a
M #-: Add src to config files (#2542) 2023-03-06 14:25:37 +01:00
Tino Vázquez
7aca9b1994
L #-: Use File.empty?
(cherry picked from commit 88fa753e86933428741c29013c74e4391b749969)
2023-03-06 11:44:37 +01:00