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

20901 Commits

Author SHA1 Message Date
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
Ruben S. Montero
c12f8fe6a9
F #6341: Add generic quotas to the restricted attribute set 2024-01-08 15:57:15 +01:00
Pavel Czerný
442041fd07
F #6341: Generic Quotas
- Generic quotas are defined and read from oned.conf (QUOTA_VM_ATTRIBUTE)
- Generic quotas react to the running mode (i.e. account only when the VM is
  running). For each quota oned also adds a RUNNIN_* metric
- one.system.config API call has been updated so every user can read
  quota configuration:
    . Sensitive information is hidden (***)
    . Oneadmin group has no longer access to sensitive information
      through the API
- CLI has been updated to render generic quotas
- onedb fsck fixes generic quotas reading the configuration from
  oned.conf

Other changes in this PR:
- Refactor Quota metrics to use std::vector instead of C array
Squashed commit of the following:
- New methods to Template and Attribute classes to render hidden
  attributes as "***"
- Update Quota calls to not include unneeded quotas

co-authored-by:Ruben S. Montero <rsmontero@opennebula.org>
2024-01-08 14:07:03 +01:00
David
863ed452f7
F OpenNebula/one#6119: Add Cluster tab (#2885) 2024-01-05 11:43:23 +01:00
Ruben S. Montero
592a2a64f5
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.

(cherry picked from commit 67247af9fb)
2024-01-04 23:42:09 +01:00
David
53b0d9970c
B OpenNebula/one#6380: Fix multiple issues with image pool view (#2884) 2024-01-04 18:41:10 +01:00
Pavel Czerný
9177157e2a
M #-: Fix dummy ipam driver (#2875) 2024-01-03 14:13:34 +01:00
Pavel Czerný
e2f2782195
B #6387: Fix accounting after onevm resize (#2866)
* Fix accounting after onevm resize
* Fix crash in VM resize if VM has no history

(cherry picked from commit ca934bbde0)
2024-01-03 13:02:29 +01:00
Pavel Czerný
0949062589
B #6432: disk_resize: Safety check of disk pointer (#2877)
(cherry picked from commit 0a57636bf3)
2024-01-03 12:13:04 +01:00
Pavel Czerný
5966e8d60d
B #6445: Make RSA (de)encryption thread safe (#2882)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2024-01-03 10:58:18 +01:00
Michal Opala
8796199790
F OpenNebula/one#6280: Add backend detection for VRouter's LBs (#2860) 2024-01-02 14:29:16 +01:00
Ruben S. Montero
0a7a03e098
F 6441: Introduce FLOATING_ONLY for Virtual Router
The new attribute does not allocate extra IPs on NICs with FLOATING_IP =
yes and FLOATING_ONLY = yes. The NIC will only containg a random MAC
address and VROUTER_IP/MAC.

This commit also checks that network mode auto is not used for NIC of a
VROUTER

(cherry picked from commit 18c7816074)
2023-12-22 19:42:03 +01:00
David
5ae681d1ce
F OpenNebula/one#6124: Delete modal issue (#2880)
Signed-off-by: David Carracedo <dcarracedo@opennebula.io>
2023-12-22 14:34:42 +01:00
David
b4e35e34a5
OpenNebula/one#6124: ACL tab (#2878) 2023-12-22 12:44:52 +01:00
Neal
a8c093f848
B #-: fix require open3 (#2876)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-12-20 18:19:46 +01:00
Pavel Czerný
0712e08a70
M #-: Fix VM restricted attribute from RAW to RAW/DATA (#2874) 2023-12-18 16:23:25 +01:00