1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-11 04:58:16 +03:00

21149 Commits

Author SHA1 Message Date
Anton Todorov
9dc504a13e
B #6575: Load remote env for detach_nic
To actually detach the NIC device from the VM

(cherry picked from commit c50994395efa0fc60aa82c306f1e55764e93fac3)
(cherry picked from commit cbf1c9e6056f3cb1e8208748476f04c1bf87b204)
2025-02-05 13:20:45 +01:00
David
1625677886
M #-: Update labels and type of issue templates (#3415)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2025-02-05 11:26:39 +01:00
Jan Orel
c5fb25e105
M #-: Fix typo (#3412) 2025-02-04 18:59:13 +01:00
Guillemo Ramos
bd1965e2dd
F #6741: Delete disk bitmaps after restore (#3411)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-02-04 16:29:09 +01:00
Jan Orel
246a21310f
B #-: Fix alertmanager.yml path for arm64 (#3410) 2025-02-04 16:02:33 +01:00
Angel
d643dcdc81
F OpenNebula/one#6786: Fix issue creating Security Group (#3404)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-02-03 17:24:20 +01:00
Jorge Miguel Lobo Escalona
93521db87a
F OpenNebula/One#6826: Fix selected row (#3407)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-02-03 15:55:20 +01:00
Angel
fc12305c3c
B OpenNebula/one#6830: lint fix (#3409)
Signed-off-by: Ángel Cívico Martos <acivico@opennnebula.io>
2025-02-03 13:16:04 +01:00
Tino Vázquez
bbf82a424d
L #-: Rubocop 1.71.1 2025-02-03 12:28:40 +01:00
Angel
8384884336
B OpenNebula/one#6830: Fixing VM terminate status (#3405)
Signed-off-by: Ángel Cívico Martos <acivico@opennnebula.io>
2025-02-03 12:15:37 +01:00
Guillemo Ramos
235fd3cea6
B #6700: Improve error messages in fs_size (#3406)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-02-03 11:47:55 +01:00
Guillemo Ramos
aac41f6428
F #6547: increment_flatten uses qemu-img commit instead of convert (#3397)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-02-03 11:41:09 +01:00
Daniel Clavijo Coca
20f068df32
M #: Improve migration validation error message (#3408) 2025-01-31 19:03:40 +01:00
vichansson
4347e9b4b8
F OpenNebula/one#6435: Add NIC virtio queue switch (#3402)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-30 15:31:06 +01:00
Ruben S. Montero
dc86b5e5ff
F #6435: Fix compilation 2025-01-30 12:43:16 +01:00
Ruben S. Montero
983066a139
F #6435: Automatic setting of NIC IO queues
This commit adds support for "auto" setting for virtio queues of NICs.
It follows the approach implemented by VIRTIO_BLK_QUEUES for DISKS.

The commit also includes default setting and RSunstone implementation

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
2025-01-30 12:33:14 +01:00
Valentyn Bohdan
950f33c67f
B OpenNebula/one#6828: Fix onetemplate cli options override CONTEXT section (#3377) 2025-01-30 11:47:16 +01:00
Pavel Czerný
631acb7f48
B #6790: Fix onehost show for single Hugepage (#3386)
(cherry picked from commit a19325cbd5a3c4c7ffd810e847bf8980530529f2)
2025-01-30 11:30:21 +01:00
vichansson
9e1b8ad7a3
M #-: Add webpack build mode var (#3401)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-30 10:33:39 +01:00
Jorge Miguel Lobo Escalona
538b110e80
F OpenNebula/One#6718: Define the number of rows (#3398)
shown in each page

Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-29 19:49:26 +01:00
vichansson
265f8620de
M #-: Add devmode to Sunstone (#3400)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-29 19:46:40 +01:00
David
d36b8b4f31
B OpenNebula/one#6728: Network values step in attach nic (#3392)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-28 18:45:30 +01:00
vichansson
40e5d5efb8
M #-: Add user group cypress identifier (#3395)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-28 18:43:57 +01:00
Jorge Miguel Lobo Escalona
126b0c55cb
F OpenNebula/One#6639: Add data-cy for tests (#3391)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-28 11:56:21 +01:00
Angel
c6f4feca4f
B OpenNebula/one#6830: Enable terminate from poweroff [master] (#3388)
Signed-off-by: Ángel Cívico Martos <acivico@opennnebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-28 11:40:10 +01:00
vichansson
e1bb7f7c70
B OpenNebula/one#6845: Fix host sched req (#3387)
* Sunstone now correctly AND chains the hypervisor host requirement
  expression.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-27 19:02:06 +01:00
vichansson
7bf1f6f1e3
F OpenNebula/one#6342: Add cluster quotas to sunstone (#3385)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-27 10:36:25 +01:00
David
3be9775943
B OpenNebula/one#6833: Vnet review in Sunstone (#3383)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-27 10:14:29 +01:00
Pavel Czerný
c6d3b8d966
B #6831: Fix onevm save duplicated disks (#3382)
* Add comment to template_like_str method

(cherry picked from commit a78859260a41725554105ab2ef8314a22b37d62f)
2025-01-27 09:04:48 +01:00
Pavel Czerný
91666f80d6
F #6342: Fix search for cluster VMs for MySQL (#3378) 2025-01-23 15:36:46 +01:00
Guillemo Ramos
aa085ef6e3
Fix failure propagation from mkfs (#3381)
Bug introduced in 696e69a957c56879042d8ac8174bd2202dcde42a

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-01-23 15:34:45 +01:00
Tino Vázquez
ed5f655af1
L #-: Rubocop 1.71.0 2025-01-23 13:24:41 +01:00
Jorge Miguel Lobo Escalona
18c25feeb4
F OpenNebula/One#6639: Add cost info at VM instantation time (#3380)
* add cost when instantiate VM
* change font-color
2025-01-23 12:27:27 +01:00
Jorge Miguel Lobo Escalona
a27bb5b09f
F OpenNebula/one#6724: Fix form import app (#3376)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-21 19:09:53 +01:00
Jorge Miguel Lobo Escalona
262dd0e371
B OpenNebula/One#6714: add actions in marketapp from marketplace (#3373)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-21 19:07:51 +01:00
Ruben S. Montero
7f8c7caea2
F #6850: Add more PCIE ports for ARM architectures
This commit uses the same variable Q35_ROOT_PORTS to add more PCI
Express ports on ARM architectures.

(cherry picked from commit 4d38c80f09d1422eb32f5bdd2d1d215babcd5881)
2025-01-21 17:42:59 +01:00
Ruben S. Montero
d87b3869d7
B #6704: Perform SG and spoofing on input traffic
When the VM generates traffic addressed to the hypervisor it is handled
as routed (not bridged) and handle through the INPUT chain (not the
FORWARD chain). In this case, none of the iptables rules are applied to it so
bypassing all SG rules, including anti-spoofing ones.

This commit applies the egress rules to the VM traffic in this case.

L #-: Liniting of fw driver

B #-: Update call to DriverLogger to new structure

(cherry picked from commit 3cc6e7af1f8c66619d6b8c446ee6e4de525bc298)
2025-01-21 10:51:35 +01:00
Pavel Czerný
5599a242dd
B #6823: Fix VM quota exceeded in deploy and recover action (#3351) (#3374) 2025-01-21 10:23:21 +01:00
Guillemo Ramos
696e69a957
F #6752: AutoNFS (#3331)
This feature auto mounts NFS volumes for datastores. The behavior can be controlled with the following template attributes:

- ANFS_ENABLE: YES/NO to enable the automatic NFS management
- ANFS_HOST: hostname/IP of the NFS server
- ANFS_PATH: of the NFS share for this datastore
- ANFS_OPTS: Comma separated options (fstab-like) used for mounting the NFS shares

The shared drivers also performs a "garbage-collector" like to unmount NFS volumes on the hypervisors when the datastores are deleted. This operation is performed in a "lazy" way, when VMs are deployed on the hypervisor.

* oneimage create: mount/umount DS on demand

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Move sh mount/umount logic to libfs.sh

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* oneimage delete: mount/umount DS on demand

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Limit NFS mount/umount from SH code to 30s

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* oneimage clone: mount/umount DS on demand

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* onevm deploy: mount DS on demand

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Temporal mount only when needed

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* onevm deploy: mount DS on demand (persisten)

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Linter

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* onevm deploy: umount unneeded DS

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Allow mount/umount/sed from sudoers

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Temporal mount: use NFS_AUTO_OPTS

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Do AutoNFS cleanup even during non-related ops

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Final refactor and improvements

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* ro values for Datastore object

* Wording for AutoNFS RO attributes

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* NFS_AUTO_ENABLE: change 'true' to 'yes'

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* sudoers: merge everythng into ONE_NFS

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Quote NFS_AUTO_OPTS

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Fix difference between sudoers specs

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Touch .automounted in AutoNFS mounts

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

* Update sudoers.rb

* Update rm

* Quote bash variable expansion

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>

---------

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2025-01-20 16:55:22 +01:00
vichansson
36857e154e
M #-: Update S.T. schema cast (#3371)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-20 14:07:04 +01:00
Jorge Miguel Lobo Escalona
00307ed169
B OpenNebula/one#6815: Fix vnet/datastore/host datatable (#3369) 2025-01-20 12:28:11 +01:00
vichansson
1111cc65bc
B OpenNebula/one#6806: Add IP/MAC spoofing switch (#3367)
* Adds the IP/MAC spoofing switch to all drivers except `Bridged`

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2025-01-20 10:18:41 +01:00
Ruben S. Montero
d2c0104747
F #6342: Support for cluster quotas
This feature adds support for VM quotas at cluster level. CLUSTER_IDS
can be set for a VM quota so the admin can limit the number of resources (e.g. VMs) a
user/group can create in a given cluster.

This commit also fixes:

- B #2226
- B #6823

Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2025-01-20 09:50:06 +01:00
Daniel Clavijo Coca
49fc1053a1
B OpenNebula/one#6852 Fix fs detection on lvm (#3355) 2025-01-17 14:12:37 +01:00
Daniel Clavijo Coca
ddaa90f4a2
B OpenNebula/one#6848: Follow symlink (#3352) 2025-01-17 13:56:02 +01:00
Guillemo Ramos
d1e6a7c7d8
B #6583: SPARSE attribute considered on resize (#3350)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-01-17 13:29:06 +01:00
Valentyn Bohdan
f677b37bbe
F OpenNebula/one#6623: Add snapshot-list cli command (#3362)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
2025-01-17 12:59:54 +01:00
Guillemo Ramos
b09277310d
B #6851: Fix negative arity in log function (#3366)
Ruby's #arity method:
  "Returns a nonnegative integer for methods that take a fixed number
    of arguments. For Ruby methods that take a variable number of
    arguments, returns -n-1, where n is the number of required arguments."

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2025-01-17 12:58:16 +01:00
Valentyn Bohdan
abeb80db41
F OpenNebula/one#6636: allow to change CPU_MODEL/FEATURES with one.vm.updateconf (#3354)
Signed-off-by: Valentyn Bohdan <vbohdan@opennebula.io>
Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
2025-01-17 12:51:20 +01:00
vichansson
b2973dde0b
B OpenNebula/one#6816: Fix service template update (#3363)
* Service template role names now allow '_'
* Role names and cardinality are now buffered to update when a field is
  unblurred. Preventing the cursor from moving to the end whilst typing.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2025-01-17 11:39:49 +01:00