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

20987 Commits

Author SHA1 Message Date
Pavel Czerný
e13c329db4
F #2111: Optimize VM history handling (#3243)
- oned load only last 2 history records (not the full list)
- Dump all history records only if needed in VirtualMachine::to_xml.
- Dump conforms XML schecam and removes VM template from history records.

Speed up of onevm show command:
  - for small SQLite DB is for VM with 500 histories: 130 ms down to 5 ms
  - for big MySQL DB VM with 687 histories: 1000 ms down to 200 ms
2024-09-30 14:14:37 +02:00
Michal Opala
0c6620c9a9
B #-: Do not use ERB with trim mode (alma8 fix) (#3250) 2024-09-27 15:55:57 +02:00
Jorge Miguel Lobo Escalona
2345ff87a2
M #~: horizontally align the ssh console (#3249) 2024-09-27 15:10:07 +02:00
vichansson
8f0d20580e
B OpenNebula/one#6739: Fix VM restore disk selection (#3248)
* Correctly displays the VM disks when restoring a backup from the VM
  action menu

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-09-27 13:19:04 +02:00
Michal Opala
b1ef4332e5
F OpenNebula/one#6641: Add the "string-phone" transparent proxy (#3221)
This feature let's cloud admin to proxy VM connections to any service through the hypervisor. VMs uses a link local IP that is forwarded to a local proxy. This simplifies VM network requirements, e.g. to access gateway, vaults, configuration services etc...

Implementation:
- Use network namespaces to isolate VNET networking. ip netns command is executed through a wrapper to limit sudo access to commands.
- Add tproxy.rb app to manage a group of daemons on HV nodes.
- Use unix sockets for communication between proxy peers. "Inner" proxy runs in the netns without any network access. "Outer" proxy handles HV connections to services.
- Use OpenNebulaNetwork.conf + 'onehost sync -f' for configuration. Proxy can be defined per network.
2024-09-26 18:19:48 +02:00
David
18bad54109
B OpenNebula/one#6736: Delete vmrc and vcenter attributes(#3247)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-09-25 18:59:19 +02:00
Jorge Miguel Lobo Escalona
3c94ba964b
F #6718: Add data-cy for tests (#3246) 2024-09-25 18:30:40 +02:00
David
1fcb2ba576
M #-: Protect the labels column to check that is always a string (#3244)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-09-25 10:11:33 +02:00
vichansson
f48d0216c9
F OpenNebula/one#6703: VM's table display hostname (#3241)
* Now displays hostname next to the host in the card view
* Also displays hostname in the list view

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-09-24 10:10:59 +02:00
Pavel Czerný
a3c4776468
M #-: onedb fsck check history seqence id (#3237)
* It looks like `onedb purge-history` sometimes fails to delete some history records.
* Delete all history records with SEQ greater then VM/HISTORY_RECORDS/HISTORY/SEQ, which should be the last record
2024-09-24 09:27:17 +02:00
Pavel Czerný
0cde7d96a2
B OpenNebula/one#6596: Fix Host NUMA nodes after VM migration (#3226)
* Fix Host NUMA nodes after VM migration
* Move template parsing to HostShareCapacity

+ add warning about unsafe pointer usage
2024-09-24 09:11:35 +02:00
Jorge Miguel Lobo Escalona
4d5fbea058
F OpenNebula/one#6718: add labels in rows (#3238) 2024-09-23 19:00:43 +02:00
Ruben S. Montero
9d7b9b107e
M #-: OpenNebula vm exporter wrong unit for total mem
Metric is in bytes, MB was published

(cherry picked from commit 689330578227ec3e860d215f3a5b48c9909b2701)
2024-09-23 12:04:30 +02:00
Jorge Miguel Lobo Escalona
f01175bca8
F OpenNebula/One#6718: Fix error timeout (#3236)
using the finder in tables
2024-09-23 11:29:41 +02:00
Guillemo Ramos
c8d28ad18f
B #6505: Fix volatile disk backup (Ceph) (#3225)
* B #6505: follow-up fix for Ceph bk/restore (#3212)

Signed-off-by: Guillermo Ramos <gramos@opennebula.io>
Co-authored-by: Pavel Czerný <pczerny@opennebula.io>
2024-09-20 12:04:15 +02:00
Jorge Miguel Lobo Escalona
ffd0a09e7b
F OpenNebula/One#6718: Add sunstone-server.conf attribute
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-09-19 12:52:07 +02:00
Jorge Miguel Lobo Escalona
f0986bbef4
F OpenNebula/One#6718: Add DataTable rows as lists functionality (#3233) 2024-09-19 11:09:58 +02:00
David
b2fe5a3010
B OpenNebula/one#6725: Fix problems in vrouters in Sunstone (#3230)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-09-18 13:49:05 +02:00
ArnauGabrielAtienza
a95a94b5a6
F OpenNebula/one#6624: Fix no snapshots available bug (#3229)
Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2024-09-16 17:36:31 +02:00
ArnauGabrielAtienza
263cba6749
F OpenNebula/one#6624: Add list list-disk-snapshots (#3228)
in onevm for a specific disk

Signed-off-by: ArnauGabrielAtienza <agabriel@opennebula.io>
2024-09-16 11:14:44 +02:00
Jorge Miguel Lobo Escalona
a00ac1822c
F OpenNebula/one#6708: Fixed review of support tab in fireedge (#3227) 2024-09-12 18:59:08 +02:00
Jorge Miguel Lobo Escalona
3858747958
F #6717: remove text (EE only) Store Restic (#3224) 2024-09-11 19:17:18 +02:00
vichansson
212aa91a3c
B OpenNebula/one#6716: Correct instances amount when instantiate (#3223)
* Now instantiates the correct number of instances specified for a
  service ServiceTemplate
* Default number of instances set to 1

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-09-10 16:44:49 +02:00
Pavel Czerný
ff7be13b32
M #-: Bumb DB version (#3222) 2024-09-10 15:56:42 +02:00
Jan Orel
148e488832
F #6577: Replace aenum by enum (#3220) 2024-09-10 13:18:40 +02:00
Jorge Miguel Lobo Escalona
1a1bc3c294
F OpenNebula/one#5763: VNC in federations (#3219)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-09-09 16:10:15 +02:00
Pavel Czerný
be6bcf877d
B OpenNebula/one#6701: Fix total_mb in s3/monitor (#3218)
* Fixes 02e0fcedfd63254af6d2f0ad6d5da75da39194f7
2024-09-09 14:01:48 +02:00
Pavel Czerný
b2ab5b7c9c
B #6532: Sunstone fix backup volatile disk checkmark (#3216) 2024-09-05 16:38:11 +02:00
Pavel Czerný
7b07def90e
B #6687: Fix monitoring initialization and restart
* Cleanup oned in case of initialization error

* Fix monitoring after onemonitord restart. The code includes a "hook" point in case a driver is re-started so custom code can be executed. InformationManager sends the list of hosts and raft status in this case.

* B #5801: Update error msg, in case of duplicated drivers
2024-09-05 16:25:03 +02:00
Shanobi
822581a032
M #-: Fix spelling in onevm command help 2024-09-05 15:55:37 +02:00
vichansson
fd4956e75c
B OpenNebula/one#6710: Fix config typo (#3217)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-09-05 12:56:43 +02:00
marchenkov.s
1607b4a014
B #6692: Check VMGroupRole in Inter-role Anti-affinity rules
Add a check before dereferencing the group roles pointer.

(cherry picked from commit 48bab98a255eb9b335a18f21151b67747682fa00)
2024-09-05 12:50:47 +02:00
Anton Todorov
34ccd7261b
B #6710: (FSunstone) keep_me_logged variable fix
(cherry picked from commit 08e7ff3abbd0eda36e865dc05010938ab5e807f4)
2024-09-05 12:49:22 +02:00
David
4a1abef990
B OpenNebula/one#6707: Boolean default values on user inputs (#3215)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-09-05 11:34:37 +02:00
Pavel Czerný
ccc8ccfc34
F #6524: Check free space on backup DS (#3214) 2024-09-04 13:27:33 +02:00
Pavel Czerný
c8c66b1d8f
B #6505: Fix volatile disk backup (#3212)
* F #6505: Fix volatile disk backup and restore

* F #6578: Skip backup of CDROM
2024-09-04 13:16:02 +02:00
Pavel Czerný
420162da67
B #6607: Fix size of restored disk from backup (#3210) 2024-09-04 12:55:10 +02:00
Pavel Czerný
7fe28f226c
B #6694: Check error code of read function (#3208) 2024-09-04 10:58:15 +02:00
Pavel Czerný
cd9eb49321
M #-: Fix *.xsd (#3205)
* Schemas validated by online tool
* Ambiguity errors not solved
2024-09-03 18:45:56 +02:00
Miguel E. Ruiz
d8d1409377
B OpenNebula/one#6058: Add missing content-type on oneflow-template and oneflow cli (#3204) 2024-09-03 17:49:48 +02:00
Tino Vázquez
0491d23135
M #-: Bump version 6.99.0 2024-09-02 17:15:09 +02:00
Neal
02e0fcedfd
B OpenNebula/one#6701: fix total_mb type in s3/monitor (#3213)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2024-09-02 17:11:34 +02:00
Ruben S. Montero
4c7f6dc01b
B ##6665: Fix missing CLEANUP_MEMORY_ON_STOP for KVM migrations
Fix is the same applied here: c9742ad3d798e3c (use to_s to prevent
nil.upcase calls)
2024-09-02 15:34:52 +02:00
David
1fd2e22d34
M #-: Disable network mode auto (#3209)
when attach nic after create a vm

Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-08-29 12:21:57 +02:00
Jorge Miguel Lobo Escalona
875fe29ade
F #6676: Add X509 login mechanism for FireEdge (#3211) 2024-08-29 12:20:52 +02:00
Jan Orel
5d6b8571b0
M #-: Install OpenNebula 6.10 in provision (#3195)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
release-6.10.0
2024-08-26 10:34:42 +02:00
David
5dff9383fa
M #-: Schedule actions tab on services. Perform action on role. (#3206)
Signed-off-by: dcarracedo <dcarracedo@opennebula.io>
2024-08-23 13:08:14 +02:00
Jan Orel
92541b6da6
M #-: Various oneprovison/ansible updates (#3202)
- allow newer ansible in provision
 - remove unsused files, roles
 - simplify opennebula-node-kvm
 - remove unsued ceonts files,
 - rename yaml -> yml
 - replace `include:` with `include_tasks:`
 - don't restart frr
 - bump Ceph version in HCI to Reef, adopt ceph-opennebula-mon
2024-08-16 11:32:39 +02:00
vichansson
a7da395d52
F OpenNebula/one#6662: Fix form validation (#3201)
* Include field path for ALL form errors
* Fix VNC validation

Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-08-15 12:38:41 +02:00
vichansson
7d094056d1
M #-: Fix 'getHostsAdmin' server handler (#3200)
Signed-off-by: Victor Hansson <vhansson@opennebula.io>
2024-08-13 12:37:21 +02:00