Commit Graph
21030 Commits
Author SHA1 Message Date
Jorge Miguel Lobo Escalona bb029bbcd1 F OpenNebula/one#6790: Fix for Hugepages in RSunstone monitoring (#3299)
(cherry picked from commit 2802647b58)
2024-11-19 17:57:13 +01:00
Guillemo Ramos 44264434cc Fix #-: DS ceph export: use CEPH_KEY (#3296)
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-11-13 09:34:22 +01:00
Jorge Miguel Lobo Escalona be0edd0d67 F OpenNebula/One#6790: Fix Hugepages bug in Sunstone (#3295)
(cherry picked from commit ec16b53676)
2024-11-12 16:08:22 +01:00
Ruben S. Montero 4f4a6d5a9b M #-: Clarify live migration storage limitation 2024-11-11 11:42:03 +01:00
Jorge Miguel Lobo Escalona 0c1bf221ed F OpenNebula/One#6769: Fix provider create form (#3291) 2024-11-07 13:39:22 +01:00
DavidandTino Vázquez e2c54b10a6 B OpenNebula/one#6730: Search admin users in the right array (#3289)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-11-06 13:37:00 +01:00
Jorge Miguel Lobo Escalona c6e611e217 F OpenNebula/One#6769: fix first render provider/provision (#3288) 2024-11-06 11:21:50 +01:00
Pavel Czerný c24dff1d26 B #6726: Fix CLI paramters converted wrongly to 0 id (#3287)
These parameters were fixed:
* schedid in onebackupjob
* execid in onehook
* snapshot_id in oneimage
* nicid, pciid, sched_id and sgid in onevm
* nicid in onevrouter
* serverid in onezone

For all those parameters the string used as ID:
* if possible the name is converted is converted to int ID
* fails if the resource doesn't have name

(cherry picked from commit f5b2a17360)
2024-11-05 16:27:12 +01:00
Michal Opala d29681e60b F OpenNebula/one#6770: Downgrade unf gem (< 0.2.0) for RedHat8 and AlmaLinux8 (#3286) 2024-11-05 09:42:19 +01:00
Jorge Miguel Lobo EscalonaandTino Vázquez f5407c226d F OpenNebula/one#6769: Removed Provision/Provider app (#3283)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-11-04 18:17:54 +01:00
vichanssonandTino Vázquez 18b07197b9 B OpenNebula/one#6761: Include TM_MAD_SYSTEM (#3282)
When filtering storage config. It now explicitly includes the deployment mode set during the VM template's  storage configuration

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-11-04 17:43:10 +01:00
Tino Vázquez 5aa664fc62 L #-: Remove files to be obsoleted from rubocop 2024-11-04 17:23:56 +01:00
Michal Opala 539a2a6172 F OpenNebula/one#6770: Rebuild gem locks (#3284)
- Remove unused gems: etc, rb-inotify
- Remove unsupported distros: Debian10, Ubuntu1804, Ubuntu2004
- Update RHEL tags: 8.8 -> 8.10, 9.2 -> 9.4
- Update locks for: AlmaLinux8/9, RedHat8/9, Debian11/12, Ubuntu22/24
2024-11-04 16:36:54 +01:00
Valentyn Bohdan 5fa479c5d3 F OpenNebula/one#6712: Add extra check for a hostname (#3276)
Changes have been made according to RFC 1034.
http://www.faqs.org/rfcs/rfc1034.html (Sections 3.1. Name space specifications and terminology)
2024-11-04 14:19:38 +01:00
Ruben S. Montero bfb6ff386a L #-: Useless assignment to variable - template
(cherry picked from commit ed0b8ca385)
2024-11-04 13:46:20 +01:00
Jan Orel 0165f55607 M #-: Add new config file clasifier (#3280) 2024-11-04 13:39:24 +01:00
Jan Orel 842a5e880a M #-: Revert bump provision repository (#3281) 2024-11-04 13:35:13 +01:00
Michal Opala 0bd451171f M #-: Change tproxy strategy for handling ARP requests (#3279)
- Prevent ARP requests from reaching other HVs
- Rename incorrectly named "comm" to "cmdline"
2024-10-29 15:15:45 +01:00
Jorge Miguel Lobo Escalona 315896d365 M #~: fix re-render row (#3278) 2024-10-25 14:57:00 +02:00
vichansson af002f272a B OpenNebula/one#6761: Filter by SYS DS when creating IMG ds (#3277)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-25 13:33:58 +02:00
vichansson dd844ee7d5 F OpenNebula/one#6627: Add base profile template (#3275)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-23 13:46:15 +02:00
Jorge Miguel Lobo Escalona d1d0d3b4df F OpenNebula/one#6747: Add checkbox in datatable row (#3274)
*  add checkbox in datatables (List Style)
*  add checkbox in datatable (Card Style)
2024-10-22 18:32:26 +02:00
vichansson 2fe102032e M #-: Clear ramdisk on kernel path clear (#3273)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-22 10:07:29 +02:00
vichansson dac6d9dca3 M #-: Clear ramdisk selection properly (#3272)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-21 16:03:07 +02:00
Jorge Miguel Lobo Escalona f6e63721cb F OpenNebula/one#5766: Add new functionality to VNC/RPD/SSH (#3271) 2024-10-21 13:55:46 +02:00
vichanssonandTino Vázquez 5333608e42 B OpenNebula/one#6751: Fix raw data validation handling (#3269)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-10-21 11:00:15 +02:00
Daniel Clavijo Coca f698097708 B OpenNebula/one#6758: Fix QEMU_GA ping monitoring 2024-10-18 18:49:16 +02:00
vichansson 51ef95d720 M #-: Fix apiResponse data handling (#3268)
- If the API response returns only 1 object, it won't be array wrapped,
  causing issues when formatting the response to a dataset. Now
  transformApiResponseToDataset always casts the response to an array.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-18 14:42:54 +02:00
vichansson 48f508ea69 F OpenNebula/one#6742: Implement loading of OS profiles (#3267)
+ define windows profile

OpenNebula/one#6627

* Add windows profile
* Adds OS Profiles parsing & loading
  - new /profiles endpoint
  - profiles are stored in /etc/fireedge/sunstone/profiles/
  - YAML format only
* Update profile loading
* Load profile only once per step
* Add indicator for last applied profile
* Fix autocomplete controller equality comparison
* Install new 'profiles' directory
* Installs windows_optimized profile

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-18 09:59:25 +02:00
vichansson 60bfce4146 B OpenNebula/one#6744: Fix placement expression formatting (#3258)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-14 17:15:40 +02:00
Guillermo Ramos ad24f28616 F #-: Fix Ceph VM restore ignoring EC_POOL_NAME
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-10-11 15:38:54 +02:00
Guillermo Ramos 788534b9b9 F #-: Fix use of --data-pool flag in Ceph's DS.cp
Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
2024-10-11 15:38:54 +02:00
Anton Todorov d5b5a4d5a4 B #6689: append --block to change-media call in reconfigure
when the $ISO_PATH is a block device

(cherry picked from commit bf43d43bec)
2024-10-11 10:09:36 +02:00
vichansson c6d9a45ec5 L #-: Lint fix (#3263)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-10 16:16:59 +02:00
vichanssonandTino Vázquez b379fb95f8 B OpenNebula/one#6746: Always display DS limit if set (#3259)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-10-10 14:38:14 +02:00
vichansson 32805d4130 F OpenNebula/one#6742: Update OS & CPU tab layout (#3262)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-10 14:37:13 +02:00
DavidandTino Vázquez e4e9506df0 F OpenNebula/one#6673: Change description for label (#3261)
in user inputs

Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-10-10 14:07:58 +02:00
vichansson c4d727c79c B OpenNebula/one#6744: Fix host requirements expression (#3257)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-09 11:02:06 +02:00
Michal Opala 8537add365 B #-: Add tproxy fixes: socket leak + nft formatting (#3256)
- Ensure sockets are always closed properly.
- Normalize and cleanup nft scripts (to prevent potential segfaults).
2024-10-09 10:26:04 +02:00
Guillermo Ramos 7ddf9b3b72 Optimize snapshots usage in RBD incr. restore
- Incremental backups only keep the last snapshot, to be used as base in
  the next one.
- Restore operation deletes the previous snapshots, because at that
  point the chain is reset and they're no longer going to be used.
- Starting a new FULL backup also deletes previous inc snapshots.
- Refactor the remote execution logic to make it more composable.

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
(cherry picked from commit 1790b5f3f9ac55e3149f5344580330c27d5585df)
2024-10-08 15:36:17 +02:00
DavidandTino Vázquez dbfc89d235 F OpenNebula/one#6673: Extend Sunstone User Inputs (#3253)
to contain layout information

Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-10-08 12:11:46 +02:00
vichansson 8c8f053c39 B OpenNebula/one#6746: Fix DS LIMIT_MB parsing (#3254)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-10-08 10:02:20 +02:00
Ruben S. MonteroandGuillermo Ramos 5f7b370c52 F #6411 + B #6741: Incremental backups for Ceph datastore
Implementation overview:

- Incremental points are saved as dedicated rbd snapshots under the
  "one_backup_<increment_id>" namespace. This snapshots are used to
  generate delta files in rbdiff format.

- The rbdiff formats are stored in the backup server to restore the rbd volumes.

- The restore process is performed directly on the Ceph cluster
  importing the base image (first full backup in the chain, rbd import)
  and then applying the increments (rbd import-diff) up to the target
  increment.

- Two new pseudo-protocols has been implemented to adopt the restore
  pattern above (restic+rbd, rsync+rbd). This protocols bundle of the
  rbdiff files in a tarball for transfer from the backup server. Note:
  reconstruct process uses the Ceph BRIDGE_LIST and not the backup
  server (as opposed to qcow2 backups)

Other bug fixes

- This commit also fixes #6741, resetting the backup chain after a
  restore

- The original ceph drivers do not receive the full action information,
  this now has been fixed by including VM information in the STDIN string sent
  to the driver.

Compatibility note.

- backup actions should return now the backup format used raw, rbd, ...
  If not provided oned (6.10.x) will use raw as a default to accommodate any
  third party driver implementation. It is recommended to include this
  third argument.

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Co-authored-by: Guillermo Ramos <gramos@opennebula.io>
2024-10-04 20:28:10 +02:00
Pavel Czerný e13c329db4 F #2111: Optimize VM history handling (#3243)
- oned load only last 2 history records (not the full list)
- Dump all history records only if needed in VirtualMachine::to_xml.
- Dump conforms XML schecam and removes VM template from history records.

Speed up of onevm show command:
  - for small SQLite DB is for VM with 500 histories: 130 ms down to 5 ms
  - for big MySQL DB VM with 687 histories: 1000 ms down to 200 ms
2024-09-30 14:14:37 +02:00
Michal Opala 0c6620c9a9 B #-: Do not use ERB with trim mode (alma8 fix) (#3250) 2024-09-27 15:55:57 +02:00
Jorge Miguel Lobo Escalona 2345ff87a2 M #~: horizontally align the ssh console (#3249) 2024-09-27 15:10:07 +02:00
vichansson 8f0d20580e B OpenNebula/one#6739: Fix VM restore disk selection (#3248)
* Correctly displays the VM disks when restoring a backup from the VM
  action menu

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-09-27 13:19:04 +02:00
Michal Opala b1ef4332e5 F OpenNebula/one#6641: Add the "string-phone" transparent proxy (#3221)
This feature let's cloud admin to proxy VM connections to any service through the hypervisor. VMs uses a link local IP that is forwarded to a local proxy. This simplifies VM network requirements, e.g. to access gateway, vaults, configuration services etc...

Implementation:
- Use network namespaces to isolate VNET networking. ip netns command is executed through a wrapper to limit sudo access to commands.
- Add tproxy.rb app to manage a group of daemons on HV nodes.
- Use unix sockets for communication between proxy peers. "Inner" proxy runs in the netns without any network access. "Outer" proxy handles HV connections to services.
- Use OpenNebulaNetwork.conf + 'onehost sync -f' for configuration. Proxy can be defined per network.
2024-09-26 18:19:48 +02:00
David 18bad54109 B OpenNebula/one#6736: Delete vmrc and vcenter attributes(#3247)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-09-25 18:59:19 +02:00
Jorge Miguel Lobo Escalona 3c94ba964b F #6718: Add data-cy for tests (#3246) 2024-09-25 18:30:40 +02:00