1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00
Commit Graph

20752 Commits

Author SHA1 Message Date
Tino Vázquez
697061f687 L #-: Rubocop 1.63.0 2024-04-08 18:49:37 +02:00
Jorge Miguel Lobo Escalona
b9bfbaa094
B OpenNebula/one#6120: Fix datatable zones (#3026)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-04-05 12:03:12 +02:00
David
cfe1be8641
B OpenNebula/one#6485: Behavior of non required text (#3025)
fields when update

Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-04-05 11:48:17 +02:00
Jan Orel
87862523e2
B #-: Fix live migrate symlink restore (#3024)
otherwise disk.0 symlink looks like
  `disk.0 -> disk.0.snap`

instead e.g.
  `disk.0 -> disk.0.snap/2`
2024-04-04 19:47:50 +02:00
David
a9cb27d9f9
B OpenNebula/one#6516: Schedule actions section (#3022)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-04-04 16:28:04 +02:00
David
af02b52f07
M #-: Ensured hugepage attribute as array (#3021)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-04-04 16:19:32 +02:00
Tino Vázquez
03705f28bd L #-: Linting for rubocop 1.62.1 2024-04-04 14:43:03 +02:00
Pavel Czerný
b888a3fdaf
M #-: Improve logging for parsing VM xml (#3015)
(cherry picked from commit 4f585b8373)
2024-04-02 12:30:55 +02:00
Pavel Czerný
7a2e1bfd4f
B OpenNebula/one#6550: Fix backup blocking Scheduled Actions (#3019)
+ warn about corrupted Scheduled Actions

(cherry picked from commit 5861064ea1)
2024-04-02 12:27:51 +02:00
Jan Orel
fa56dccbb8
B #-: Avoid using arr[2..] in ruby 2.5, fixup! (#3017) 2024-04-02 09:30:48 +02:00
Ruben S. Montero
7ed5991c87
L #-: Linting for opennebula_vm.rb
(cherry picked from commit 520278d3c4)
2024-04-01 10:19:17 +02:00
Jan Orel
6549b1626c
B #-: Avoid using arr[2..] in ruby 2.5 (#3016) 2024-04-01 09:56:21 +02:00
Ruben S. Montero
576a2c74a7
F OpenNebula/one#6368: Improve SSH live migration action
This commits improve non-shared storage live migration:
- The migration proccess now uses suspend to allow for additonal sync,
  including snapshot defined in qcow2 disks.
- The script is now in Ruby to implement a more elaborated logic
- Sync is done through rsync

(cherry picked from commit bb9af9d029)
2024-03-27 14:56:06 +01:00
Jorge Miguel Lobo Escalona
0837776d1f
M OpenNebula/One#5905: fix list tickets show the last 100 tickets (#3014)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-27 10:26:13 +01:00
vichansson
d62ac11a3b
M OpenNebula/one#6537: Remove numeric separator (#3013)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-27 10:06:44 +01:00
Jorge Miguel Lobo Escalona
6ec404622c
M OpenNebula/One#5905: fix list (show only tickets open) (#3012)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-26 18:21:07 +01:00
Jan Orel
ba98de237a
M #OpenNebula/one#6324: CLEANUP_MEMORY_ON_STOP=no (#2996)
Change default behaviour to avoid running sysctlvm.drop_caches=3 vm.compactmemory=1

This is especially annoying when multiple VMs are rescheduled (onehost flush). Instead of global toggle for memory cleanup per VM we need per host action.
2024-03-26 13:20:55 +01:00
Jan Orel
030b577033
B OpenNebula/one#6512: Lock nokogiri <1.16 (#2995)
for opennebula gems 1.16 requires ruby >=3.0, which breaks: Ubuntu 20.04, Debian 10-, AlmaLinux 9
2024-03-26 12:41:01 +01:00
Pavel Czerný
cfa2a112a0
B OpenNebula/one#6542: Fix scheduled actions for VM in done state (#3008)
* Do not allow creating a Scheduled Action for VM in done state
* Fix removing of Scheduled Action, while terminating VM
* Fix failure output for new object types

(cherry picked from commit 0b3d6136e9)
2024-03-26 12:05:23 +01:00
Pavel Czerný
e4fec11dc4
B OpenNebula/one#6530: Fix max SPICE passwd length (#3009)
(cherry picked from commit be64cbdf04)
2024-03-26 12:05:15 +01:00
vichansson
da4a539a97
F OpenNebula/one#6537: Make axios timeout configurable (#3010)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-26 11:00:07 +01:00
David
b798fa5ed4
M #-: Use dirty fields instead touched on vm templates (#3006)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-25 12:30:02 +01:00
David
53a464b375
B OpenNebula/one#6515: Context section (#3007)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-25 12:28:31 +01:00
vichansson
65b06c69ea
M #-: Fix fireedge-func tests (#3003)
* Fix cluster rename

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-25 12:18:17 +01:00
vichansson
9f633e7601
B OpenNebula/one#6529: Fix error message handling for oneflow (#3004)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-25 12:17:15 +01:00
vichansson
d9af851aa0
M #-: Fix API fallback values (#3002)
* For majority of the API calls, the fallback ID has been set to 0, this
  can cause major issues with failed request as it's potentially
  redirecting API calls to unintended resources.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-22 14:29:55 +01:00
vichansson
51aded8b80
M #-: Change DS default id in delete request (#3000)
Changes the default/fallback value of a failed delete request from 0 to -1. This invalidates the request and no datastore will be deleted. If it's set to 0, it will delete the system DS in case a delete request fails.
2024-03-21 19:26:48 +01:00
31ldtsON
5e2ed4685b
B OpenNebula/one#6481: Modification on onecfg help (#2999)
in order not to show version parameter

Signed-off-by: 31ldtsON <strujillo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-21 11:48:35 +01:00
Jorge Miguel Lobo Escalona
761c42956d
B OpenNebula/one#6120: fix zone switch (#2997)
not setting ?zone=<ID> in default zone

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-20 17:03:45 +01:00
vichansson
31b2576f71
M #-: Add node 17+ compatibility (#2993)
* M #-: Change DNS sorting order
* Node 17+ changes the DNS sorting order so that there is no guarantee
  that IPv4 will be returned first anymore. This changes that sorting
  order back to the previous behavior. Which is necessary for the XMLRPC
  to work properly.
* Upgrade webpack from 5.41 => 5.64
* Ref => https://github.com/nodejs/node/pull/39987

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-20 16:15:09 +01:00
Daniel Clavijo Coca
6cfe1a83f8
B OpenNebula/one-apps#14: Update CLI description to reflect behavior (#2992)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-20 16:11:17 +01:00
Daniel Clavijo Coca
886a106fb7
M OpenNebula/one#6504: Update vm pool view schema (#2990) 2024-03-20 12:21:12 +01:00
Pavel Czerný
2c5a11863e
B #6533: Fix no_check_capacity for image create (#2994)
(cherry picked from commit 3df4cbb1d3)
2024-03-20 10:49:21 +01:00
Jan Orel
4a45ddcbc9
B OpenNebula/one#5921: Add timeout for domfsfreeze (#2987) 2024-03-20 10:21:46 +01:00
Jorge Miguel Lobo Escalona
e491a64641
F 6120 add functionality to the zone switch (#2989)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-19 16:11:13 +01:00
Pavel Czerný
4dfde98f3a
B #6541: fsck fixes malformed Scheduled Action (#2986)
(cherry picked from commit 10ae634b67)
2024-03-19 11:23:54 +01:00
vichansson
b04625b630
M OpenNebula/one#6486: Fixes configuration typo (#2985)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-03-18 11:20:52 +01:00
Jan Orel
688fd10573
B #-: Parse yaml with aliases in ruby 3.1 (#2984)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-15 15:17:12 +01:00
David
2a8a33b4fc
B OpenNebula/one#6518: Issues NUMA section on vm template (#2983)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-03-15 12:35:39 +01:00
David
e147751bed
M #-: VM template default values (#2982)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-14 16:27:11 +01:00
vichansson
8da274781b
M #-: Increase fireedge file upload limit (#2980)
The default file upload limit in FireEdge is set to 20Kb, which isn't even a fraction of any normal ISO image. This changes that limit to 10Gib so that most image uploads should work by default.
2024-03-13 14:10:06 +01:00
Pablo del Arco
7caf308ca7
F OpenNebula/one#6511: CLI listing formatting ignored (#2979)
when passing --search

Signed-off-by: Pablo <pdelarco@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-12 17:08:50 +01:00
Pavel Czerny
57efabf2d5
B #6503: Fix disk size after disk-snapshot-revert
When a disk with snapshots is resized and a subsequent revert operation
is performed, the following actions are now done:

* DISK/SIZE is updated to reflect the active snapshot size
* Quotas are updated to account the space freed after the resize
  operation

(cherry picked from commit 178142105dea30c7deffd1842d0f0ad23d7dc93b)
(cherry picked from commit d2aaf2c8823d4172b1be673f959c4c922266534f)
2024-03-11 18:08:02 +01:00
Jan Orel
bcb3e7df0e
B Opennebula#6528: Fix LDAP authorize by group for AD (#2977) 2024-03-11 16:53:05 +01:00
Jan Orel
b1a76179d7
M #-: Add curl to scheduler SConstruct (#2973) 2024-03-11 16:50:37 +01:00
Jan Orel
0abfaaa12d
M #-: Update oned version 6.99 -> 6.9 (#2978)
* Update oned version 6.99 -> 6.9

* Update DB version 7.0 -> 6.10
2024-03-11 12:05:39 +01:00
Pavel Czerný
185e9f1221
M #-: Bump DB version to 7.0 (#2974) 2024-03-10 02:00:48 +01:00
David
45bcac8e1c
F OpenNebula/one#6117: Marketplace tab (#2975)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-03-08 12:36:08 +01:00
Pavel Czerný
868597a4b3
M #-: External scheduler check response VM in range (#2968)
* M #-: External scheduler check response VM in range

* Check VM ID from response is in pending_vms
* Add ddebug output for request and response
* Improve error messages
2024-03-06 09:57:43 +01:00
Jorge Miguel Lobo Escalona
4225245789
F OpenNebula/One#6120: fix view zones fireedge (#2972)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-05 18:58:57 +01:00