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

20666 Commits

Author SHA1 Message Date
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
vichansson
856ba310d8
B OpenNebula/one#6448: Add SHUTDOWN state (#2911)
to POWEROFF_HARD actions

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-02-01 17:18:29 +01:00
Ruben S. Montero
b27b0d43ca
M #-: Fix xpath for OpenNebula marketplace driver 2024-02-01 12:09:13 +01:00
Ruben S. Montero
1ee6498b3c
F #6439: Add deafult auth operation 2024-01-31 18:10:44 +01:00
Ruben S. Montero
9de5e607d9
M #-: Add missing default auth operations 2024-01-31 18:10:02 +01:00
Ruben S. Montero
2e596c0cf5
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

(cherry picked from commit 5c4331a4dd)
2024-01-31 17:50:45 +01:00
Jorge Miguel Lobo Escalona
8bd78eb5ae
B #6229: fix sorter user inputs (#2910)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-01-31 10:54:04 +01:00
Jan Orel
954c545605
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.
2024-01-30 16:45:25 +01:00
Ruben S. Montero
bc95fa8109
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

(cherry picked from commit 6c388414e2)
2024-01-29 14:57:31 +01:00
Ruben S. Montero
41461d4c03
M #-: Fix OpenNebula Market drivers custom URL
Fix argument parsing, use stdin and not argv
2024-01-26 18:27:22 +01:00
Alberto Picon Couselo
58d7367556
B OpenNebula/one#6379: Fix for VM Migration failure (#2900)
using two SYSTEM_DS on same host
2024-01-25 16:29:43 +01:00
Neal
deb4a9d7dd
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>
2024-01-24 12:00:36 +01:00
Pavel Czerný
b782671690
F OpenNebula/one#6474: Add host ID for VMs with resched flag (#2905) 2024-01-24 11:55:09 +01:00
Jorge Miguel Lobo Escalona
0d562a2eab
B OpenNebula/one#6423: Fix upload image (#2904)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-01-23 10:52:39 +01:00
mkutouski
5d21f33a7b
B OpenNebula/one#6467: LUKS_PASSWORD was removed (#2903)
Removed LUKS_PASSWORD from the oned.conf because it's not used in the code.
2024-01-22 15:55:56 +01:00
Jan Orel
75ecbae407
Old ruby (#2902)
* Revert "L #-: Use newer argument forwarding syntax"

This reverts commit ca4645f300.

* L #-: Disable Style/ArgumentsForw. due older ruby
2024-01-19 13:03:26 +01:00
Jorge Miguel Lobo Escalona
eccebc4c00
B #6480: hide create vm button in cloud view (#2901)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-01-19 10:31:14 +01:00
Shanobi
532ca2f88f
M #-: Update onevnet
(cherry picked from commit 8b022bc664)
2024-01-18 16:07:11 +01:00
Jorge Miguel Lobo Escalona
07c279292a
L #-: lint fix vntemplate tab (#2898)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-01-17 17:03:58 +01:00
Tino Vázquez
ca4645f300
L #-: Use newer argument forwarding syntax 2024-01-17 16:22:51 +01:00
Jorge Miguel Lobo Escalona
81bdee74d6
F #6118: missing data-cy and fix cluster tab (#2896)
Signed-off-by: Jorge Lobo <jlobo@opennebula.io>
2024-01-17 16:01:09 +01:00
Shanobi
79667564c1
M #-: Update onevm
remove extraneous article

(cherry picked from commit 4a7cfb24808a244641fe7ac1346b21be7a34786a)
2024-01-17 11:24:03 +01:00
Dan Cazacu
1cf07c32a3
M #-: Sunstone host capacity should display gathered data
(cherry picked from commit c5de4c5633)
2024-01-16 19:27:32 +01:00
Shanobi
287d049ad6
Update oneuser
correct spelling of 'specific' under token examples

(cherry picked from commit cfcfb8f754)
2024-01-15 11:17:07 +01:00
Shanobi
76a440853b
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:02 +01:00
Pavel Czerný
8de574fb56
F OpenNebula/one#6341: Fix generic quota CLI output (#2891)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2024-01-12 18:24:10 +01:00
Jorge Miguel Lobo Escalona
6f12c26c43
F #6118: remove unused code (#2893) 2024-01-11 16:13:17 +01:00
Jorge Miguel Lobo Escalona
8db778d1e7
F #6118: vnet template (#2890) 2024-01-11 10:53:38 +01:00
Ruben S. Montero
25115e4449
F #6341: Revert to previous default for one.system.config
ONEADMIN group will get the full configuration including sensitive
information
2024-01-10 14:00:16 +01:00
David
779a0176c3
F OpenNebula/one#6443: Add data cy to group and view menu (#2888) 2024-01-10 13:27:24 +01:00
Tino Vázquez
4bb6d9310d
M #–: Remove odd indentation 2024-01-08 19:14:16 +01:00
David
974f52e718
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>
2024-01-08 18:48:39 +01:00