1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-10 01:17:40 +03:00
Commit Graph

20662 Commits

Author SHA1 Message Date
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
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