1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-24 02:03:52 +03:00

20109 Commits

Author SHA1 Message Date
Ruben S. Montero
907f26050f
F #5940: Improve PCI Passthrough and SRIOV support
- SHORT_ADDRESS can be used to select specific devices  (useful on
  homogenous clusters or nic attach operations). This name has been
  selected because of:
    1. It is the attrbute shown host info
    2. It does not collide with the reserved ADDRESS attribute

- New test and add functions that considers both allocation methods: by
  name (VENDOR/CLASS/DEVICE) or address (SHORT_ADDRESS)

- Parameter check on VM creation

- revert and add method use the same pci_attribute function to add info
  to the VM PCI attribute

- Remove well-known attributes when parsing PCI devices (ADDRESS,
  PREV_ADDRES, BUS, FUNCTION, SLOT, NUMA_NODE, UUID)

- Support for attach and detach NIC with PCI attributes
    * onevm_exec.rb looks for PCI devices for ATTACH=YES when attaching/detaching an interface
    * script action are now written in Ruby
    * KVM module with common actions (hostdev/interface device str)
    * Minor changes in xmlparser and OpenNebulaVM classes

- PCI selection options to onevm nic-attach:
    * pci short_address
    * pci_device device ID
    * pci_vendor vendor ID
    * pci_class class ID

- VF can be configured by setting some parameters through IP link (e.g.
  MAC or VLAN_ID). This commit includes a mixin to activate_vf.

    * one_vmm_exec.rb looks for PCI VN_MAD drivers
    * VM class (VNM) adds a @pcis array
    * activate_vf should be called in the pre stage. The following drivers
      acticate VFs (VLAN_ID is implemented as 802.1Q tag)
            - 802.1Q
            - bridge
            - fw
            - ovswitch

- Improve integration with Libvirt/QEMU:

    * When attach, only activate the VF being attached
    * Attach: Use <interface> and not <hostdev> for VF. There seems to be a race
      condition between accessing the vfio device and permission setup.
    * Attach: Remove address on attach as it may fail beacuse PCI controller
      is not present, e.g.:

        ATTACHNIC: Could not attach NIC to 28534240: error: Failed to attach device
        from /dev/fd/63 error: XML error: Invalid PCI address 0000:01:01.0.
        Only PCI buses up to 0 are available ExitCode: 1

    * Detach: Detach always use <hostdev> as libvirt fails to identified the
      device just by address when using <interface>
2022-09-07 15:54:38 +02:00
Frederick Borges
f3f28e3227
B #~: Fix VMRC with users passwords with special chars (#2271) 2022-09-05 10:21:15 +02:00
Frederick Borges
bf31d21a17
B #~: Fix VMRC with Apache (#2270) 2022-08-31 12:44:35 +02:00
Jan Orel
57e738c424
B #5946: Compare group_admin groups case-insens. (#2269) 2022-08-31 10:37:44 +02:00
Pavel Czerný
c96f43a782
B #5954: Do not reuse Cipher instance (#2268)
(cherry picked from commit 4ea39c0ee045b7b24492b0d2905dc7402fe1f1de)
2022-08-29 17:17:28 +02:00
Tino Vazquez
193b789c13 Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-08-26 10:47:39 +02:00
Pavel Czerný
0b3f786441
F #5943: Update verbose msg for async commands (#2263)
(cherry picked from commit cd35ad4eaa7b5adfa1665a71adbfa1b783628be9)
2022-08-25 20:07:07 +02:00
Jan Orel
c1f5c649f2
B #5947: PyOne: allow set https_verify = False (#2265) 2022-08-25 19:11:19 +02:00
Kristian Feldsam
7577762f04
M #-: Fix install by removing obsolte share dirs
Related to commit M #-: Get rid of obsolete .vib files d019bd49a6f463a7fff7ba4ae05fc8e6699066f1

Signed-off-by: Kristian Feldsam <feldsam@gmail.com>
(cherry picked from commit dcc9b57e26f6c047c4b9574cb2a7b4f0e5b74402)
2022-08-25 18:11:38 +02:00
Jorge Miguel Lobo Escalona
bf27770617
F #5928: monitoring graphics (#2260) 2022-08-25 12:57:10 +02:00
Pavel Czerný
a09aa7fab8
F #937: Do not release image if other disk uses it (#2262)
(cherry picked from commit 015d842467f2ad37f5295b87c0eb0dc98242b644)
2022-08-25 10:20:17 +02:00
Jan Orel
479bfd0807
B #5946: Fix parsing * in the group list (#2261)
Regression introduced by68ce7dc0 

With the addition to skipws, peek() will read the next whitespace in the buffer. The logic has been changed to use the extraction operator so ws are consumed. The peek - get is now changed by >> - unget calls
2022-08-22 11:10:56 +02:00
Frederick Borges
906eea460a
F #5930: Crtl + click for multiple selection (#2258) 2022-08-16 11:39:22 +02:00
Frederick Borges
d83176923c
F #5931: Deprecate ebtables and vcenter on vnets (#2257) 2022-08-16 11:38:09 +02:00
Pierre Lafievre
24a3c4cf20
B #5914: fix double lines
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit df3f44d68df2e129ee0e44efdc6b8ae6e2f78596)
2022-08-09 17:10:27 +02:00
Jan Orel
39a4108e32
F OpenNebula/one-infra#331: Alma9/RHEL9 support (#2248)
* gem locks
* npm openssl legacy
2022-08-05 09:46:45 +02:00
Ruben S. Montero
6591620fcc
commit 84fb0bb65a24afe860c6d32d111a38438a932ff6
Author: vickmp <vpalma@opennebula.io>
Date:   Thu Jul 7 17:31:56 2022 +0200

    B #1276: Remove ec2/occi auth references
2022-08-02 11:39:12 +02:00
Jan Orel
5a01a4d0a2
M #-: Add guacd onecfg definition, allow yaml aliases (#2247)
* M #-: Add guacd onecfg definition

* M #-: Load sunstone yamls with aliases
2022-08-02 10:32:18 +02:00
Tino Vazquez
26059fe5fc Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-07-28 13:54:30 +02:00
Ruben S. Montero
24d4c8b9d4
B #5936: Honor VALIDATE in updateconf
(cherry picked from commit 1c1151d966f1255f81619c0f571883e5703e1e5f)
(cherry picked from commit c0ba720d318b5e7e62687748e5c102854c8e4854)
2022-07-28 13:38:04 +02:00
Tino Vazquez
a0436b8415 Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-07-28 12:00:37 +02:00
Jorge Miguel Lobo Escalona
c5e400580b
F #5902: Add admin and user view yaml (#2253) 2022-07-28 11:59:10 +02:00
Jorge Miguel Lobo Escalona
b1b37fb77c
F #5902: Sunstone File Tab (#2252) 2022-07-28 11:26:58 +02:00
Pavel Czerný
34630f1128
B #5935: onedb fsck rm network quota with empty ID (#2254)
(cherry picked from commit 665e2bb802391d173036f7095cd0055cab73ebbc)
2022-07-28 11:25:02 +02:00
Pierre Lafievre
04bbc74a1a
B #5914: fix newline escaping
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit 75f241110ed438875ac927cfa2296d4e052d5baa)
2022-07-27 16:28:58 +02:00
Tino Vazquez
7a658cdc36 Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-07-26 18:02:06 +02:00
Jorge Miguel Lobo Escalona
fe126c9215
F #5888: add data-cy (#2249) 2022-07-26 16:58:11 +02:00
Pavel Czerný
fecfd03a1a
M #-: Restricted dirs for CONTEXT/FILES (#2243)
* M #-: Restricted dirs for CONTEXT/FILES

* M #-: Fix opennebula_configuration.xsd
2022-07-26 09:18:08 +02:00
Jan Orel
78bae2762c
B #5922: Migrate also vm.xml and ds.xml (#2244) 2022-07-22 09:37:16 +02:00
Christian González
24112c3338
B #5923: Fix DS migration for fs_lvm* (#2246)
(cherry picked from commit 47cb7b891ee41e4af0c3ad713770b03c18de2bb3)
2022-07-22 09:36:26 +02:00
Pavel Czerný
3507c56ad4
B 5912: Fix oneflow-template auth params (#2240)
(cherry picked from commit 94fc17c36ad8fe69808b200d457994be45a5e6f3)
2022-07-22 09:34:27 +02:00
Jorge Miguel Lobo Escalona
1696f35e94
M #~: refactor get vcenter token (#2245) 2022-07-21 12:43:19 +02:00
Jorge Miguel Lobo Escalona
612172466f
F #5888: Activate Image tab (#2242) 2022-07-20 13:05:23 +02:00
Jorge Miguel Lobo Escalona
f5f8266da8
F #5888: Add Storage->Image tab (#2241)
Co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2022-07-20 13:04:31 +02:00
Pavel Czerný
e9e7aa5125
M #-: Fix oned segfault after driver init failed (#2217)
(cherry picked from commit aa54a8ca55353cca56a4d7fe24779181d50523ad)
2022-07-18 18:04:36 +02:00
Frederick Borges
4a6fb2f5fb
F #5897: Improve Remote connections (#2239) 2022-07-15 14:08:50 +02:00
Frederick Borges
50c31dedce
F #5897: Improve Remote connections (#2238) 2022-07-15 13:26:09 +02:00
Tino Vazquez
d87725c5ed Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-07-14 18:05:36 +02:00
Sergio Betanzos
0c1335ff7a
M #~: Minor fix to marketplace card (#2236) 2022-07-14 18:00:09 +02:00
Frederick Borges
2f52827b56
B #5918: Fix VM instantiation with user inputs (#2235) 2022-07-14 17:39:02 +02:00
Frederick Borges
a2fa0b65b2
F #5897: Improve Remote connections (#2234) 2022-07-13 19:26:12 +02:00
Sergio Betanzos
51b188c04a
F #5832: Add IPv6 AR no-SLAAC (#2233) 2022-07-13 19:15:51 +02:00
Daniel Clavijo Coca
46fcb89634
B OpenNebula/one#5912: Fix CLI auth params (#2232)
being bypassed on oneflow-template

(cherry picked from commit acc1647bd226a963867482f35b2385b676de908b)
2022-07-13 19:13:48 +02:00
Sergio Betanzos
3d515eadbe
M #~: Add attribute to vn mad field (#2231) 2022-07-13 19:12:29 +02:00
Sergio Betanzos
e43bdfd52e
M #~: Fix translate (#2230) 2022-07-13 19:09:40 +02:00
Sergio Betanzos
f58b58919c
M #~: Remove unused lines (#2229) 2022-07-13 19:08:52 +02:00
Sergio Betanzos
d5813d6a96
M #~: Minor fix to login links (#2228) 2022-07-13 18:43:40 +02:00
Tino Vazquez
59bfeba4da Merge branch 'master' of https://github.com/OpenNebula/one-ee 2022-07-12 13:27:21 +02:00
Tino Vazquez
18f26d4fc9
L #-: Adjust unneeded spacing
(cherry picked from commit 350ad5427092849326bc63b00680199a57f9ac85)
2022-07-11 12:01:18 +02:00
Tino Vazquez
7eec6f9501
F #5818: Check if info operation was successful
(cherry picked from commit db35b0764a40d182417c2633fc1b81f4cf27794a)
2022-07-11 12:01:12 +02:00