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

20897 Commits

Author SHA1 Message Date
Ruben S. Montero
174e8999d0
L #-: Removed unused method 2024-03-04 12:36:12 +01:00
Ruben S. Montero
c4ded733a0
L #-: Remove tabs for indentation 2024-03-04 12:35:54 +01:00
Ruben S. Montero
3aace90d13
M #-: Improve disk resize failure callback
When a resize disk is not found recover the VM state automatically.
2024-03-04 12:35:29 +01:00
vichansson
b2ce4b9300
M #-: Fix fireedge-func tests (#2966)
* Fixed label deletion when attempting to remove the last label for a
  user
* Fix Group tabs 'edit administrators' modal

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-03-01 16:56:15 +01:00
Jorge Miguel Lobo Escalona
e932296308
F OpenNebula/One#5905: Add "solved" functionality to zendesk (#2965)
also added data-cy

Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-03-01 11:30:17 +01:00
MarioRobres
b852f637c5
B OpenNebula/one#6472: Fix for incorrect filtering in the CLI (#2952)
of remove_off_hosts

Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-02-28 19:58:02 +01:00
David
57f256606e
B OpenNebula/one#6376: Fix for VM template create/update (#2962)
so it doesn't adds unnecessary parameters.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-02-28 19:06:41 +01:00
Tino Vázquez
0e1c0ecc49
M #–: Add clarification to the PR template 2024-02-27 10:48:23 +01:00
antalvrom
0d04c3d96e
F OpenNebula/one#6513: Update README.md (#2959)
Adding a link to the Quick Start Guide under "To start using Open Nebula"
2024-02-27 10:34:57 +01:00
Jan Orel
a883ad452f
B #OpenNebula/one#6357: Update Gemfile.locks (#2958)
* keep sqlite3 1.6 for ruby 2.7
* keep keep sinatra 3.X
2024-02-26 18:01:23 +01:00
Ruben S. Montero
08eb979346
M #-: Remove known overload warnings of virtual functions 2024-02-23 18:52:32 +01:00
Jorge Miguel Lobo Escalona
cd33d27cfb
F #5905: Add Support Tab to FireEdge (#2948)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-22 13:50:44 +01:00
vichansson
9862808626
F OpenNebula/one#6490: Fix data handling (#2951)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-22 13:27:06 +01:00
Pavel Czerný
5d7ef79054
B #6506: Fix quota after disk-attach for CEPH (#2949)
(cherry picked from commit 57d74662b1)
2024-02-22 13:16:07 +01:00
Pavel Czerný
ac2d356dab
M #-: Fix x509 authentication (#2945)
In case of empty file the output of YAML::load depends on 'yaml' gem
version, it can be nil or false

(cherry picked from commit 69bd84d048)
2024-02-22 13:03:19 +01:00
vichansson
5e2780d88e
F OpenNebula/one#6507: Fixed selected rows handling (#2947)
* Circumvents react-table bug (https://github.com/TanStack/table/issues/5176)
* In some cases when selecting rows from different pages the
  toggleRowSelected function would become undefined.
* This fixes that problem by using the toggleRowSelected hook instead.
* Also all global filters are cleared when trying to deselect a row,
  otherwise only rows included in the current filter are "clearable"

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-20 18:21:35 +01:00
Jan Orel
d46345238d
B #-: Gem locks (#2943)
*  Update Gemfile
   - Add rackup requirement for new sinatra

      https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md
      Note: when using Sinatra to start the web server,
      you now need the rackup gem installed

  - newer sqlite3 is not compatible with ruby2.7

* Update almalinux8 to avoid old key

* Refresh Gemfile.locks
2024-02-16 12:11:48 +01:00
vichansson
843f8560d2
F OpenNebula/one#6341: Add generic quotas FE (#2944)
* Added generic quotas handling to quota controls component
* Added legend overflowY in polar chart
* Refactor quota identifier to a searchable input

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-16 10:56:06 +01:00
David
b0bcc9953b
M #-: Delete the register time in apps (#2942)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-02-14 17:30:31 +01:00
David
e774e41c6d
M #-: Change registration time for version in marketplace app (#2941)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-02-14 12:01:45 +01:00
Jan Orel
5a45ce0c9c
F OpenNebula/one#6357: Debian 12: gem locks, openssl legacy (#2940)
* Gemfile.lock for Debian 12
* Add NODE_OPTIONS=--openssl-legacy-provider
2024-02-14 09:59:55 +01:00
Ruben S. Montero
4294fff5c5
F #6400: Error message when changing from FULL to INCREMENTAL backup
This commits returns an error message when trying to change a VM to
incremental mode if not supported by the VM configuration. Previously,
the change was silently ignored by OpenNebula.

(cherry picked from commit 97cfa76290)
2024-02-12 23:28:01 +01:00
Jorge Miguel Lobo Escalona
82bb12af53
F #6219: add data-cy for tests setting user (#2939)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-12 18:14:37 +01:00
vichansson
5ba0cd9cb9
F OpenNebula/one#6490: Finish host tab (#2936)
* Added Graphs tab
* Added PCI tab
* MultiChart is used for PCI subtab 
  -  this also enables exporting in CSV & PDF format

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-12 14:18:06 +01:00
David
e6e820233f
B OpenNebula/one#6360: Change label (#2937)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-02-12 13:22:11 +01:00
Jan Orel
a32719139d
M #-: Use /usr/bin/arping from iputils-arping (#2938)
There is also arping, providing /usr/sbin/arping but we don't use that one.
2024-02-12 12:16:33 +01:00
Pavel Czerný
ff35f07fba
M #-: Fix CLI output for onehost (#2930)
* In case of incomplete monitoring data, the `onehost show` command shows error
2024-02-12 09:49:07 +01:00
Jorge Miguel Lobo Escalona
4f10429226
L #6219: lint-fix (#2935)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-09 12:26:52 +01:00
Jorge Miguel Lobo Escalona
a06349ca92
F #6219: Add generic template to Settings for User template (#2934)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-09 12:05:06 +01:00
vichansson
fa6c4dfff2
B OpenNebula/one#6384: Fix vNetTemplate lock (#2933)
* Fix vNetworkTemplates lock method, now properly invalidates cache

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-09 11:31:04 +01:00
vichansson
2126dbb212
B OpenNebula/one#6486: Modify VM configs (#2932)
New config+constants now matches backend definitions.

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-09 11:30:26 +01:00
Daniel Clavijo Coca
df0b41dec1
M #-: Update vm state reference (#2929) 2024-02-09 11:05:41 +01:00
Ruben S. Montero
4ce7340381
F #6492: Index PCI passthrough devices with bus
If q35 machine type is detected the slot of the pci device is set to 0
and the bus to pci_id + 1.

Q35 models uses pcie-root-ports to attach PCI devices. Each PCI port is
selected by the bus parameter of the PCI address and it that does not accept a
slot number greater than 0.

Example:

A VM with 2 X710 VFs is defined OpenNebula as:

PCI=[
  ADDRESS="0000:44:0a:0",
  BUS="44",
  CLASS="0200",
  DEVICE="154c",
  DOMAIN="0000",
  FUNCTION="0",
  NUMA_NODE="0",
  PCI_ID="0",
  SHORT_ADDRESS="44:0a.0",
  SLOT="0a",
  VENDOR="8086",
  VM_ADDRESS="01:00.0",
  VM_BUS="0x01",
  VM_DOMAIN="0x0000",
  VM_FUNCTION="0",
  VM_SLOT="0000" ]

PCI=[
  ADDRESS="0000:44:0a:1",
  BUS="44",
  CLASS="0200",
  DEVICE="154c",
  DOMAIN="0000",
  FUNCTION="1",
  NUMA_NODE="0",
  PCI_ID="1",
  SHORT_ADDRESS="44:0a.1",
  SLOT="0a",
  VENDOR="8086",
  VM_ADDRESS="02:00.0",
  VM_BUS="0x02",
  VM_DOMAIN="0x0000",
  VM_FUNCTION="0",
  VM_SLOT="0000" ]

Each PCI VFs is attached to different pcie-root-port, selected with the
VM_BUS parameter:

00:02.0 PCI bridge: Red Hat, Inc. QEMU PCIe Root port
00:02.1 PCI bridge: Red Hat, Inc. QEMU PCIe Root port

The PCI topology is:

-[0000:00]-+-00.0  Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller
           +-01.0  Cirrus Logic GD 5446
           +-02.0-[01]----00.0  Intel Corporation Ethernet Virtual Function 700 Series
           +-02.1-[02]----00.0  Intel Corporation Ethernet Virtual Function 700 Series
           +-02.2-[03-04]----00.0-[04]--
           +-02.3-[05]----00.0  Red Hat, Inc. Virtio network device
           +-02.4-[06]----00.0  Red Hat, Inc. Virtio SCSI
           +-02.5-[07]----00.0  Red Hat, Inc. QEMU XHCI Host Controller
           +-02.6-[08]----00.0  Red Hat, Inc. Virtio console
           +-02.7-[09]----00.0  Red Hat, Inc. Virtio memory balloon
           +-03.0-[0a]--
           +-03.1-[0b]--
           +-03.2-[0c]--
           +-03.3-[0d]--
           +-03.4-[0e]--
           +-03.5-[0f]--
           +-03.6-[10]--
           +-03.7-[11]--
           +-1f.0  Intel Corporation 82801IB (ICH9) LPC Interface Controller
           +-1f.2  Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller [AHCI mode]
           \-1f.3  Intel Corporation 82801I (ICH9 Family) SMBus Controller
2024-02-08 14:57:28 +01:00
Marco Mancini
1b0a0a5aea
B 5768: Fix oneflow client adding uri prefix path to the http request path (#2928)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
2024-02-07 20:01:49 +01:00
Daniel Clavijo Coca
1e69810e2a
M #-: Update onevm recover cli help (#2925) 2024-02-07 19:35:37 +01:00
Ruben S. Montero
0725c4248d
M #-: Remove unused code function 2024-02-07 16:26:00 +01:00
Pavel Czerný
d94082d637
F #6439: PCI (de)attach in undeployed (#2926) 2024-02-07 16:25:36 +01:00
Tino Vázquez
cc78c5b6aa
M #-: Update GH action checkout lib 2024-02-07 10:36:46 +01:00
Mirko Stojiljković
4328a3295d
F OpenNebula/one#4188: Enable Python binding custom attributes (#2923)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
2024-02-06 17:55:42 +01:00
David
f4067fe9dc
M #-: Add cpu model and features on dummy drivers (#2924)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-02-06 17:41:43 +01:00
vichansson
a1059292a1
B OpenNebula/one#6384: VM state updates table actions (#2922)
* VM states are now calculated in the Enhanced table
* VM state used as dependency for re-calculating table actions

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-06 14:06:37 +01:00
Jan Orel
ca1ac6f8f0
B OpenNebula/one##5909: Switch to /usr/(s)bin deb (#2907) 2024-02-06 11:38:47 +01:00
Pavel Czerný
5788a2528e
B #6372: Add lock to raft hook script (#2899)
* This should fix issues in HA environment, where we sometimes get duplicit virtual IPs
2024-02-06 11:18:35 +01:00
Pavel Czerný
b153069059
F #6439: PCI (de)attach go and java api (#2919)
* PCI (de)attach go and java api
* Remove unused VirtualMachinePCI.h
* Use vm_authorization method to check Request authorization
* Fix typos
* L #-: C++ linting + onevm
2024-02-06 11:15:33 +01:00
vichansson
f33842a4a3
M OpenNebula/one#5833: Fix linting (#2920)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-06 11:08:29 +01:00
Tino Vázquez
b1be795555
L #-: Lint onevm CLI command 2024-02-05 14:25:02 +01:00
vichansson
3d59f15a41
F OpenNebula/one#5388: Add OneFlow tabs (#2915)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-05 14:11:27 +01:00
Tino Vázquez
39a78a6be2
Revert "F #3823: Update building and installation on Python bindings (#2914)"
This reverts commit 3cb5f5be64.
2024-02-05 10:10:36 +01:00
Jakub Walczak
3cb5f5be64
F #3823: Update building and installation on Python bindings (#2914)
Signed-off-by: Jakub Walczak <jakub.walczak@cmcc.it>
2024-02-02 15:09:52 +01:00
Jorge Miguel Lobo Escalona
989ac3a2ae
B #6229: fix user_inputs MEMORY, CPU and VCPU (#2912)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-02 11:10:02 +01:00