1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

20649 Commits

Author SHA1 Message Date
David
7e331ab460
M #-: Delete the register time in apps (#2942)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
(cherry picked from commit b0bcc9953b89860ddc9a608676384795b9dac7ae)
release-6.8.2
2024-02-14 17:31:08 +01:00
David
75e3561075
M #-: Change registration time for version in marketplace app (#2941)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
(cherry picked from commit e774e41c6daf6b686d2ed7e54d7f39cba4f3c675)
2024-02-14 12:02:09 +01:00
Ruben S. Montero
97cfa76290
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.
2024-02-12 22:59:01 +01:00
Jorge Miguel Lobo Escalona
50efc64d3b
F #6219: add data-cy for tests setting user (#2939)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 82bb12af539af52d0da47edf09c96721ab05ac4f)
2024-02-12 18:15:12 +01:00
David
581f4f14ed
B OpenNebula/one#6360: Change label (#2937)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
(cherry picked from commit e6e820233f757cb37a97c84328e33c2708adf427)
2024-02-12 13:22:55 +01:00
Pavel Czerný
f42575a4c4
M #-: Fix CLI output for onehost (#2930)
* In case of incomplete monitoring data, the `onehost show` command shows error

(cherry picked from commit ff35f07fbaa9f734fc01e7c12936a33345b87153)
2024-02-12 09:49:36 +01:00
Jorge Miguel Lobo Escalona
b524135376
L #6219: lint-fix (#2935)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 4f1042922619815ada4fe6ca1cad210af3dc0683)
2024-02-09 12:27:26 +01:00
Jorge Miguel Lobo Escalona
5d8c48371f
F #6219: Add generic template to Settings for User template (#2934)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit a06349ca926d6df28da5c36bdfe6e746e8b6d2ad)
2024-02-09 12:05:23 +01:00
Daniel Clavijo Coca
3f86c5461b
M #-: Update vm state reference (#2929)
(cherry picked from commit df0b41dec151a3d59c3daa27c7c76a91323f1e80)
2024-02-09 11:06:03 +01:00
Ruben S. Montero
d18f5761ff
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

(cherry picked from commit 4ce7340381d2c9066a5cce0aa08ebfd1a888190a)
2024-02-08 15:15:57 +01:00
Marco Mancini
c555daaf69
B 5768: Fix oneflow client adding uri prefix path to the http request path (#2928)
Signed-off-by: Marco Mancini <mmancini@opennebula.io>
(cherry picked from commit 1b0a0a5aea248a8ec213c4422f6e941724776258)
2024-02-07 20:02:21 +01:00
vichansson
f5c2da57ba
F OpenNebula/one#5833: Add oneflow tabs to 6.8 (#2927)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-07 20:00:31 +01:00
Daniel Clavijo Coca
8fd860a4eb
M #-: Update onevm recover cli help (#2925)
(cherry picked from commit 1e69810e2a7f5860ab4675087b40f3c8501cc1d1)
2024-02-07 19:57:42 +01:00
Ruben S. Montero
ff36519d71
M #-: Remove unused code function
(cherry picked from commit 0725c4248d94be0242b4f821ec699facfaefd6f7)
2024-02-07 16:26:29 +01:00
Pavel Czerný
d462218490
F #6439: PCI (de)attach in undeployed (#2926)
(cherry picked from commit d94082d637e5a9f81e31192425a90f023d2d0b16)
2024-02-07 16:26:29 +01:00
Mirko Stojiljković
601bbb474f
F OpenNebula/one#4188: Enable Python binding custom attributes (#2923)
Signed-off-by: Mirko Stojiljkovic <mstojiljkovic@opennebula.io>
(cherry picked from commit 4328a3295ddf410a32a9f94e7eabeee60e8f3e67)
2024-02-06 17:56:04 +01:00
David
14a2f13adc
M #-: Add cpu model and features on dummy drivers (#2924)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
(cherry picked from commit f4067fe9dcdf3bf5d8b02cd22e2f566e5dbe40b6)
2024-02-06 17:42:04 +01:00
vichansson
81cdd728bc
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>
(cherry picked from commit a1059292a1ddadb253ba23c1cd848d26ff2966b7)
2024-02-06 14:06:51 +01:00
Pavel Czerný
bf628dc9b6
B #6372: Add lock to raft hook script (#2899)
* This should fix issues in HA environment, where we sometimes get duplicated virtual IPs

(cherry picked from commit 5788a2528eb30bb576950b403c306557d001fd5e)
2024-02-06 11:19:17 +01:00
Pavel Czerný
05ad746446
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

(cherry picked from commit b1530690597a51402edcc13adc2aa2ecc3dbf04c)
2024-02-06 11:15:56 +01:00
Tino Vázquez
aa44b89c71
L #-: Lint onevm CLI command
(cherry picked from commit b1be7955553c8afc002ed39d3b34ff897e2d7834)
2024-02-05 14:25:36 +01:00
Tino Vázquez
aa22857d50
Revert "F #3823: Update building and installation on Python bindings (#2914)"
This reverts commit 37b621338000886604d1ee1e883d9808efad5c83.
2024-02-05 10:10:11 +01:00
Jakub Walczak
37b6213380
F #3823: Update building and installation on Python bindings (#2914)
Signed-off-by: Jakub Walczak <jakub.walczak@cmcc.it>
(cherry picked from commit 3cb5f5be64fbd49823b92d63c8414407658cbf93)
2024-02-02 15:10:38 +01:00
Jorge Miguel Lobo Escalona
0ef438bb8c
B OpenNebula/one#6229: fix sorter user inputs
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-02-02 12:02:18 +01:00
vichansson
bf30d70aaf
B OpenNebula/one#6448: Add SHUTDOWN state (#2911)
to POWEROFF_HARD actions

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
(cherry picked from commit 856ba310d825b52fe749bc61ae2f9427b0e4f3d1)
2024-02-01 17:18:57 +01:00
Ruben S. Montero
5926ec076b
M #-: Fix xpath for OpenNebula marketplace driver
(cherry picked from commit b27b0d43ca4d7f95f217a773d5329f3ebf31fd8d)
2024-02-01 12:09:55 +01:00
Ruben S. Montero
109ad8fe35
M #-: Add missing default auth operations
(cherry picked from commit 9de5e607d90a1361839cce5696bd4e8eaabb5364)
2024-01-31 18:17:03 +01:00
Ruben S. Montero
5c4331a4dd
F #6439: PCI attach/detach operation
* Adds 2 new API calls one.vm.attachpci and one.vm.detachpci
* The operation is only for POWEROFF VMs
* Adds 2 new actions to register the event in the VM history pci-detach/pci-attach
* Ruby OCA bindings
* onevm cli commands

TODO:
- JAVA and GO bindings
- Sunstone implementation
2024-01-31 17:45:45 +01:00
Jan Orel
af0c109c1b
B #-: Fix stdin hanlding in cli (#2909)
Don't realy solely on STDIN.wait_readable. When
running CLI from script, STDIN could be easily
inherited and already processed. Also Jenkins in
`sh` function always passes STDIN.

Improve error message when attributes should be
merged.

(cherry picked from commit 954c545605e87dc0613af8bd195a383566388697)
2024-01-30 16:45:56 +01:00
Ruben S. Montero
6c388414e2
B #6483: Add support for spoofing rules for alias NIC
This commit process NIC_ALIAS on ativation and creates flow rules to
implment spoofing rules. The rules are installed on the same port as the
parent NIC
2024-01-29 14:52:47 +01:00
Ruben S. Montero
73e1ecdafa
M #-: Fix OpenNebula Market drivers custom URL
Fix argument parsing, use stdin and not argv

(cherry picked from commit 41461d4c03c9d3eae13ef6b0ce60a5dd9b64c8e4)
2024-01-26 18:28:53 +01:00
Alberto Picon Couselo
a7e3de9092
B OpenNebula/one#6379: Fix for VM Migration failure (#2900)
using two SYSTEM_DS on same host

(cherry picked from commit 58d73675564d0648fa9df0f6ca5993ccec5bae43)
2024-01-25 16:30:05 +01:00
Neal
8f1c215385
B OpenNebula/one#6431: change retry-all to retry-connrefused (#2889)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
(cherry picked from commit deb4a9d7ddb6b0bd8c57cbfa70426f0871962d99)
2024-01-24 12:00:52 +01:00
Pavel Czerný
97c7c93933
F OpenNebula/one#6474: Add host ID for VMs with resched flag (#2905)
(cherry picked from commit b782671690563e70327a88d73e320a5ef24fe47c)
2024-01-24 11:55:20 +01:00
Jorge Miguel Lobo Escalona
fc19a90f68
B OpenNebula/one#6423: Fix upload image (#2904)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 0d562a2eabf87aefeb0692c46e97e2f5471bb464)
2024-01-23 10:53:01 +01:00
Jan Orel
503bef48a3
Old ruby (#2902)
* Revert "L #-: Use newer argument forwarding syntax"

This reverts commit ca4645f30026403cbe4d8af6a61d10ba158c427b.

* L #-: Disable Style/ArgumentsForw. due older ruby

(cherry picked from commit 75ecbae4071b207691690a4a57ae1a08ffd8b2b6)
2024-01-19 13:04:13 +01:00
Jorge Miguel Lobo Escalona
6c2329ed73
B #6480: hide create vm button in cloud view (#2901)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit eccebc4c005a6f068ce9075326e1f0b10c695f49)
2024-01-19 10:31:50 +01:00
Shanobi
e391d9d236
M #-: Update onevnet
(cherry picked from commit 8b022bc664f6ec57d2e70cb1e4e1fb3ab3f7a5df)
2024-01-18 16:07:40 +01:00
Jorge Miguel Lobo Escalona
f1a796dc4e
L #-: lint fix vntemplate tab (#2898)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 07c279292a7e2b77abbd06593f91ddc1ddf9e4e7)
2024-01-17 17:04:36 +01:00
Tino Vázquez
f790e4cb81
L #-: Use newer argument forwarding syntax
(cherry picked from commit ca4645f30026403cbe4d8af6a61d10ba158c427b)
2024-01-17 16:25:43 +01:00
Jorge Miguel Lobo Escalona
6197e4069c
F #6118: missing data-cy and fix cluster tab (#2896)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
(cherry picked from commit 81bdee74d659fb726f4b1a578a43371f58b43dd6)
2024-01-17 16:03:26 +01:00
Shanobi
5caddc9600
M #-: Update onevm
remove extraneous article

(cherry picked from commit 4a7cfb24808a244641fe7ac1346b21be7a34786a)
(cherry picked from commit 79667564c16d7423481565cb827481a6d98a11ba)
2024-01-17 11:24:37 +01:00
Dan Cazacu
fcd33803d1
M #-: Sunstone host capacity should display gathered data
(cherry picked from commit c5de4c56330c2299995159e44cf2e61ec06fae74)
(cherry picked from commit 1cf07c32a3783e5cbb5d1b32495b33cb0f2389d1)
2024-01-16 19:27:57 +01:00
Shanobi
43b1d7d6dd
Update oneuser
correct spelling of 'specific' under token examples

(cherry picked from commit cfcfb8f7541c824043133ab3096ce23d669b0435)
2024-01-15 11:17:26 +01:00
Shanobi
8b0bd8fe92
M #-: Fix typo in onevcenter help (#6457)
change first 'import' example from `onevcenter list` to 'onevcenter import`

(cherry picked from commit dfa7823b63c7c7f43e0829b2707f4f24aeeaa847)
2024-01-15 11:14:33 +01:00
Jorge Miguel Lobo Escalona
15a4825445
F #6118: Add vnet template tab (#2894) 2024-01-11 18:00:12 +01:00
David
2abb92c1be
F OpenNebula/one#6443: Add data cy to group and view menu (#2888)
(cherry picked from commit 779a0176c35a87e1e111030c0587cf777461adc9)
2024-01-10 13:27:54 +01:00
David
f2380823dd
B OpenNebula/one#6418: Raw data in template form (#2887)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
(cherry picked from commit 974f52e71848535395460a27056b003770016426)
2024-01-08 18:49:52 +01:00
David
9b900b8d54
F OpenNebula/one#6119: Add Cluster tab (#2885) (#2886)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2024-01-05 13:11:54 +01:00
Ruben S. Montero
67247af9fb
B #5705: Fix SATA disk layout
This commit adds a SATA controller for each disk using the SATA bus. The
q35 machine adds ACHI controller in slot 0x1f function 2 (used for
context), in this case controller index starts from 1.

This should fix VMs using SD_DISK_BUS = sata or q35 machines with more
than one SATA disk.
2024-01-04 23:41:23 +01:00