Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contribute: zfs driver and zfs driver shared over ISCSI #5654

Open
wants to merge 2,081 commits into
base: one-6.2
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
2081 commits
Select commit Hold shift + click to select a range
1ae1de4
M #-: Use latest one-apps release for context (#3171)
xorel Jul 25, 2024
3eef178
M #-: Fix fireedge func (#3172)
vichansson Jul 26, 2024
5f488ba
M #-: Update README.md (#3173)
pedroielpi3 Jul 26, 2024
75bd5eb
B OpenNebula/one#6616: Ensure vmBackupConfig is defined (#3174)
vichansson Jul 29, 2024
8c412c7
M #-: Add 6.10 translation strings (#3175)
jloboescalona2 Jul 29, 2024
05d147c
M #-: Bump version 6.10.0
tinova Jul 29, 2024
f583187
F #6671: Add restic code to OpenNebula repo
rsmontero Jul 29, 2024
bffb5e1
M #-: Bump headers for restic
tinova Jul 29, 2024
4806026
M #~: updated eslint package (#3176)
jloboescalona2 Jul 29, 2024
2456aee
L #6671: Linting ruby files
rsmontero Jul 29, 2024
cda45d2
B OpenNebula/one#6634: Fix KVM migration (#3178)
dgarcia18 Jul 30, 2024
49ab70d
B #6656: Fix OneFlow server error output (#3168)
MiguelERuiz Jul 30, 2024
abe1818
F #6668: Add Prometheus support for OpenNebula
rsmontero Jul 30, 2024
8e67442
F OpenNebula/one#6662: Enhance form validation reporting (#3179)
vichansson Jul 30, 2024
97cceac
F #6658: Update prometheus components to latest releases
rsmontero Jul 31, 2024
25f57aa
B OpenNebula/one#6656: Fix Sinatra error handler (#3180)
MiguelERuiz Jul 31, 2024
d1d8d9d
L #-: Do not lint prometheus files
rsmontero Jul 31, 2024
e45aedb
Fix vmpool (#3181)
jloboescalona2 Jul 31, 2024
8069081
M #-: Add new config files descriptor (#3182)
xorel Aug 1, 2024
4cb89d8
M #-: Add warning to Sched Action (#3177)
paczerny Aug 1, 2024
aed1993
M #-: fix vm cache validation (#3184)
vichansson Aug 1, 2024
018e3e8
M #-: Improve handling of warning for charters (#3183)
paczerny Aug 1, 2024
8f54755
M #-: Build can download restic, prometheus (#3185)
paczerny Aug 2, 2024
39260d4
M #-: Update SCons description
rsmontero Aug 2, 2024
69f0f68
M #-: Fix parser building
rsmontero Aug 2, 2024
0b73b5e
B OpenNebula/one#6616: Only get last backup img (#3187)
vichansson Aug 2, 2024
015c735
F OpenNebula/one#6652: Add custom template logos (#3188)
vichansson Aug 2, 2024
650fb59
B #-: Fix loading YAML with aliases (#3190)
xorel Aug 2, 2024
274ad4f
F #6645: Rename vm_crash to vm_qemu_ping (#3189)
paczerny Aug 2, 2024
f0ce1c1
B #-: Fix typo (#3191)
xorel Aug 3, 2024
112313c
B #-: Oncfg: make empty YAML load backward comp. (#3192)
xorel Aug 4, 2024
98259c7
M #-: Update restic version to 0.16.5
rsmontero Aug 5, 2024
cebf6bf
M #-: Fix restic download links
rsmontero Aug 6, 2024
77e2a0d
M #-: Fix link
rsmontero Aug 6, 2024
346686e
B OpenNebula/one#6686: Provide full list of supported libvirt CPU fea…
mkutouski Aug 6, 2024
3d527c3
M #-: Correct SCSI typo (#3197)
vichansson Aug 7, 2024
6d60b43
F OpenNebula/one#6684: Add firmware options fetching (#3198)
vichansson Aug 9, 2024
f7737bc
M #-: Fix error in wild VM monitoring (#3199)
paczerny Aug 13, 2024
7d09405
M #-: Fix 'getHostsAdmin' server handler (#3200)
vichansson Aug 13, 2024
a7da395
F OpenNebula/one#6662: Fix form validation (#3201)
vichansson Aug 15, 2024
92541b6
M #-: Various oneprovison/ansible updates (#3202)
xorel Aug 16, 2024
5dff938
M #-: Schedule actions tab on services. Perform action on role. (#3206)
dcarracedo Aug 23, 2024
5d6b857
M #-: Install OpenNebula 6.10 in provision (#3195)
xorel Aug 26, 2024
875fe29
F #6676: Add X509 login mechanism for FireEdge (#3211)
jloboescalona2 Aug 29, 2024
1fd2e22
M #-: Disable network mode auto (#3209)
dcarracedo Aug 29, 2024
4c7f6dc
B ##6665: Fix missing CLEANUP_MEMORY_ON_STOP for KVM migrations
rsmontero Sep 2, 2024
02e0fce
B OpenNebula/one#6701: fix total_mb type in s3/monitor (#3213)
onenhansen Sep 2, 2024
0491d23
M #-: Bump version 6.99.0
tinova Sep 2, 2024
d8d1409
B OpenNebula/one#6058: Add missing content-type on `oneflow-template`…
MiguelERuiz Sep 3, 2024
cd9eb49
M #-: Fix *.xsd (#3205)
paczerny Sep 3, 2024
7fe28f2
B #6694: Check error code of read function (#3208)
paczerny Sep 4, 2024
420162d
B #6607: Fix size of restored disk from backup (#3210)
paczerny Sep 4, 2024
c8c66b1
B #6505: Fix volatile disk backup (#3212)
paczerny Sep 4, 2024
ccc8ccf
F #6524: Check free space on backup DS (#3214)
paczerny Sep 4, 2024
4a1abef
B OpenNebula/one#6707: Boolean default values on user inputs (#3215)
dcarracedo Sep 5, 2024
34ccd72
B #6710: (FSunstone) keep_me_logged variable fix
atodorov-storpool Sep 5, 2024
1607b4a
B #6692: Check VMGroupRole in Inter-role Anti-affinity rules
mar-s-tation Aug 11, 2024
fd4956e
B OpenNebula/one#6710: Fix config typo (#3217)
vichansson Sep 5, 2024
822581a
M #-: Fix spelling in onevm command help
Shanobi Jan 19, 2024
7b07def
B #6687: Fix monitoring initialization and restart
paczerny Sep 5, 2024
b2ab5b7
B #6532: Sunstone fix backup volatile disk checkmark (#3216)
paczerny Sep 5, 2024
be6bcf8
B OpenNebula/one#6701: Fix total_mb in s3/monitor (#3218)
paczerny Sep 9, 2024
1a1bc3c
F OpenNebula/one#5763: VNC in federations (#3219)
jloboescalona2 Sep 9, 2024
148e488
F #6577: Replace aenum by enum (#3220)
xorel Sep 10, 2024
ff7be13
M #-: Bumb DB version (#3222)
paczerny Sep 10, 2024
212aa91
B OpenNebula/one#6716: Correct instances amount when instantiate (#3223)
vichansson Sep 10, 2024
3858747
F #6717: remove text (EE only) Store Restic (#3224)
jloboescalona2 Sep 11, 2024
a00ac18
F OpenNebula/one#6708: Fixed review of support tab in fireedge (#3227)
jloboescalona2 Sep 12, 2024
263cba6
F OpenNebula/one#6624: Add list list-disk-snapshots (#3228)
ArnauGabrielAtienza Sep 16, 2024
a95a94b
F OpenNebula/one#6624: Fix no snapshots available bug (#3229)
ArnauGabrielAtienza Sep 16, 2024
b2fe5a3
B OpenNebula/one#6725: Fix problems in vrouters in Sunstone (#3230)
dcarracedo Sep 18, 2024
f0986bb
F OpenNebula/One#6718: Add DataTable rows as lists functionality (#3233)
jloboescalona2 Sep 19, 2024
ffd0a09
F OpenNebula/One#6718: Add sunstone-server.conf attribute
jloboescalona2 Sep 19, 2024
c8d28ad
B #6505: Fix volatile disk backup (Ceph) (#3225)
1gramos Sep 20, 2024
f01175b
F OpenNebula/One#6718: Fix error timeout (#3236)
jloboescalona2 Sep 23, 2024
9d7b9b1
M #-: OpenNebula vm exporter wrong unit for total mem
rsmontero Sep 23, 2024
4d5fbea
F OpenNebula/one#6718: add labels in rows (#3238)
jloboescalona2 Sep 23, 2024
0cde7d9
B OpenNebula/one#6596: Fix Host NUMA nodes after VM migration (#3226)
paczerny Sep 24, 2024
a3c4776
M #-: onedb fsck check history seqence id (#3237)
paczerny Sep 24, 2024
f48d021
F OpenNebula/one#6703: VM's table display hostname (#3241)
vichansson Sep 24, 2024
1fcb2ba
M #-: Protect the labels column to check that is always a string (#3244)
dcarracedo Sep 25, 2024
3c94ba9
F #6718: Add data-cy for tests (#3246)
jloboescalona2 Sep 25, 2024
18bad54
B OpenNebula/one#6736: Delete vmrc and vcenter attributes(#3247)
dcarracedo Sep 25, 2024
b1ef433
F OpenNebula/one#6641: Add the "string-phone" transparent proxy (#3221)
sk4zuzu Sep 26, 2024
8f0d205
B OpenNebula/one#6739: Fix VM restore disk selection (#3248)
vichansson Sep 27, 2024
2345ff8
M #~: horizontally align the ssh console (#3249)
jloboescalona2 Sep 27, 2024
0c6620c
B #-: Do not use ERB with trim mode (alma8 fix) (#3250)
sk4zuzu Sep 27, 2024
e13c329
F #2111: Optimize VM history handling (#3243)
paczerny Sep 30, 2024
5f7b370
F #6411 + B #6741: Incremental backups for Ceph datastore
rsmontero Oct 4, 2024
8c8f053
B OpenNebula/one#6746: Fix DS LIMIT_MB parsing (#3254)
vichansson Oct 8, 2024
dbfc89d
F OpenNebula/one#6673: Extend Sunstone User Inputs (#3253)
dcarracedo Oct 8, 2024
7ddf9b3
Optimize snapshots usage in RBD incr. restore
1gramos Oct 8, 2024
8537add
B #-: Add tproxy fixes: socket leak + nft formatting (#3256)
sk4zuzu Oct 9, 2024
c4d727c
B OpenNebula/one#6744: Fix host requirements expression (#3257)
vichansson Oct 9, 2024
e4e9506
F OpenNebula/one#6673: Change description for label (#3261)
dcarracedo Oct 10, 2024
32805d4
F OpenNebula/one#6742: Update OS & CPU tab layout (#3262)
vichansson Oct 10, 2024
b379fb9
B OpenNebula/one#6746: Always display DS limit if set (#3259)
vichansson Oct 10, 2024
c6d9a45
L #-: Lint fix (#3263)
vichansson Oct 10, 2024
d5b5a4d
B #6689: append --block to change-media call in reconfigure
atodorov-storpool Aug 9, 2024
788534b
F #-: Fix use of --data-pool flag in Ceph's DS.cp
1gramos Oct 11, 2024
ad24f28
F #-: Fix Ceph VM restore ignoring EC_POOL_NAME
1gramos Oct 11, 2024
60bfce4
B OpenNebula/one#6744: Fix placement expression formatting (#3258)
vichansson Oct 14, 2024
48f508e
F OpenNebula/one#6742: Implement loading of OS profiles (#3267)
vichansson Oct 18, 2024
51ef95d
M #-: Fix apiResponse data handling (#3268)
vichansson Oct 18, 2024
f698097
B OpenNebula/one#6758: Fix QEMU_GA ping monitoring
dann1 Oct 16, 2024
5333608
B OpenNebula/one#6751: Fix raw data validation handling (#3269)
vichansson Oct 21, 2024
f6e6372
F OpenNebula/one#5766: Add new functionality to VNC/RPD/SSH (#3271)
jloboescalona2 Oct 21, 2024
dac6d9d
M #-: Clear ramdisk selection properly (#3272)
vichansson Oct 21, 2024
2fe1020
M #-: Clear ramdisk on kernel path clear (#3273)
vichansson Oct 22, 2024
d1d0d3b
F OpenNebula/one#6747: Add checkbox in datatable row (#3274)
jloboescalona2 Oct 22, 2024
dd844ee
F OpenNebula/one#6627: Add base profile template (#3275)
vichansson Oct 23, 2024
af002f2
B OpenNebula/one#6761: Filter by SYS DS when creating IMG ds (#3277)
vichansson Oct 25, 2024
315896d
M #~: fix re-render row (#3278)
jloboescalona2 Oct 25, 2024
0bd4511
M #-: Change tproxy strategy for handling ARP requests (#3279)
sk4zuzu Oct 29, 2024
842a5e8
M #-: Revert bump provision repository (#3281)
xorel Nov 4, 2024
0165f55
M #-: Add new config file clasifier (#3280)
xorel Nov 4, 2024
bfb6ff3
L #-: Useless assignment to variable - template
rsmontero Nov 4, 2024
5fa479c
F OpenNebula/one#6712: Add extra check for a hostname (#3276)
vvbohdan Nov 4, 2024
539a2a6
F OpenNebula/one#6770: Rebuild gem locks (#3284)
sk4zuzu Nov 4, 2024
5aa664f
L #-: Remove files to be obsoleted from rubocop
tinova Nov 4, 2024
18b0719
B OpenNebula/one#6761: Include `TM_MAD_SYSTEM` (#3282)
vichansson Nov 4, 2024
f5407c2
F OpenNebula/one#6769: Removed Provision/Provider app (#3283)
jloboescalona2 Nov 4, 2024
d29681e
F OpenNebula/one#6770: Downgrade unf gem (< 0.2.0) for RedHat8 and Al…
sk4zuzu Nov 5, 2024
c24dff1
B #6726: Fix CLI paramters converted wrongly to 0 id (#3287)
paczerny Nov 5, 2024
c6e611e
F OpenNebula/One#6769: fix first render provider/provision (#3288)
jloboescalona2 Nov 6, 2024
e2c54b1
B OpenNebula/one#6730: Search admin users in the right array (#3289)
dcarracedo Nov 6, 2024
0c1bf22
F OpenNebula/One#6769: Fix provider create form (#3291)
jloboescalona2 Nov 7, 2024
4f4a6d5
M #-: Clarify live migration storage limitation
rsmontero Nov 11, 2024
be0edd0
F OpenNebula/One#6790: Fix Hugepages bug in Sunstone (#3295)
jloboescalona2 Nov 12, 2024
4426443
Fix #-: DS ceph export: use CEPH_KEY (#3296)
1gramos Nov 13, 2024
bb029bb
F OpenNebula/one#6790: Fix for Hugepages in RSunstone monitoring (#3299)
jloboescalona2 Nov 19, 2024
9d5da2d
F #783 Fix randomly failing GOCA tests (#6789)
jaimecb Nov 20, 2024
bb65c22
F #6782 Extend GOCA OSVec struct (#3301)
jaimecb Nov 20, 2024
c1725dd
M #-: Replace raw pointers with references/smart pointers. (#3285)
vvbohdan Nov 21, 2024
a065575
B #-: Fix javadoc reference (#3292)
xorel Nov 21, 2024
f4616d0
B #6784: Remove unneeded/non-existing python dep (#3293)
xorel Nov 21, 2024
fa73142
F #6723: Remove `onehost importvm` (#3231)
paczerny Nov 21, 2024
13b6f4a
F OpenNebula/one#6599: External VNC management (#3304)
jloboescalona2 Nov 21, 2024
fb715c3
B #6548: Fix kvm attributes
paczerny Nov 14, 2024
0357ffb
B #6548: Updtate vmm_exec_kvm.conf description
paczerny Nov 14, 2024
130713b
B #6793: Fix crash of onedb fsck on MarketPlaceApp (#3302)
paczerny Nov 22, 2024
6254ad8
M #-: Always b64 encode start script (#3305)
vichansson Nov 22, 2024
1ef2f06
F #5853: New version of ssh drivers
1gramos Nov 24, 2024
7bc581e
L #-: Fix rubocop errors
rsmontero Nov 25, 2024
f5637b5
F OpenNebula/one#5853: Replace ssh for local mode in datastores (#3306)
dcarracedo Nov 25, 2024
38e28dd
F #5853: fix rhel8 (Ruby<2.7) (#3308)
1gramos Nov 25, 2024
987bf1a
F #5853: Add local TM_MAD to defaults (#3309)
paczerny Nov 26, 2024
ee25fdc
B #-: Fixes null check for appConfig (#3310)
vichansson Nov 27, 2024
c5ef443
B OpenNebula/one#6750: Fix iotune attributes not being passed to VM
vvbohdan Nov 27, 2024
478c156
F OpenNebula/one#6771: Replace deprecated OpenSSL function calls. (#3…
vvbohdan Nov 27, 2024
d8d4c3b
L #-: Update to rubocop 1.69.0
tinova Nov 27, 2024
c124e43
F OpenNebula/one#6771: Fix build for older OpenSSL versions (#3311)
vvbohdan Nov 28, 2024
b8c2f60
M #~: fix file tab (#3312)
jloboescalona2 Nov 29, 2024
b228af1
M #-: Fix FireEdge service tests (#3313)
jloboescalona2 Dec 2, 2024
feb2fe7
M #~: Fix provision/provider tests (#3315)
jloboescalona2 Dec 4, 2024
ecdee7e
B OpenNebula/one#6768: Fix filtering by locked/unlocked (#3303)
angeryuu Dec 4, 2024
0d41fe3
M #-: Append ACK to README
pedroielpi3 Dec 5, 2024
2af3757
F #6756: Scaleway drivers for OneProvision
MiguelERuiz Dec 5, 2024
f1a0c4e
M #-: Fix bug in the sec groups tables (#3317)
dcarracedo Dec 5, 2024
450563d
F #6756: Add files to installer
rsmontero Dec 5, 2024
d546ed3
F #6756: Fix for Scaleway driver
rsmontero Dec 9, 2024
55ad489
F #6756: Fix Scaleway render
rsmontero Dec 9, 2024
a4f8121
B #-: Update AWS elastic driver to new Ruby gem interface
rsmontero Dec 9, 2024
014bd1f
B OpenNebula/one#6768: Adding filters locked (#3320)
angeryuu Dec 9, 2024
0609730
M #~: fix NETWORK_ID when attach network (#3322)
jloboescalona2 Dec 10, 2024
0f85667
B OpenNebula/one#6817: Image dev_prefix must be lowercase (#3323)
dcarracedo Dec 10, 2024
7161126
B OpenNebula/one#6788: Fix host graph API call (#3324)
vichansson Dec 11, 2024
146dfe6
F #6669: Support for VLAN filtering and QinQ
rsmontero Dec 11, 2024
5aebf69
B OpenNebula/one#6759: Add extra checks for ports in SecurityGroup va…
vvbohdan Dec 11, 2024
983d797
B OpenNebula/one#6757: Add missing boot order (#3325)
vichansson Dec 11, 2024
a68e0a7
F #6185: Support huge pages without CPU pinning
feldsam Dec 16, 2023
67c99ab
B OpenNebula/one#6293: Add vGPU profile selector (#3326)
vichansson Dec 12, 2024
0fde09b
F #6669: Fix typo in update function
rsmontero Dec 12, 2024
8ff4b90
F #6669: Fix regexp to detect port ranges
rsmontero Dec 12, 2024
fcd8eb0
B OpenNebula/one#6765: Improve QEMU Guest Agent monitoring. (#3328)
dann1 Dec 13, 2024
0a47acf
M #-: Add additional comments for VXLAN-EVPN configuration
rsmontero Dec 17, 2024
ebc5b95
M #-: Change ACKs in Readme file (#3327)
pedroielpi3 Dec 17, 2024
6b115f0
M #-: Download and install also arm64 vendor bin. (#3329)
xorel Dec 19, 2024
115236c
M #-: fixup! Download and install also arm64 vendor bin. (#3330)
xorel Dec 19, 2024
cf3040e
M #-: Fix driver call to run_sh
rsmontero Dec 23, 2024
a15f729
M #-: Resolve cppcheck issues version 2.13 (#3334)
paczerny Jan 2, 2025
dc7c9ce
B OpenNebula/one#6678: Fix the "enforce" argument for the resize (#3314)
vvbohdan Jan 2, 2025
f7afac9
B OpenNebula/one#6619: Add trailing slash to the marketplace endpoint…
mkutouski Jan 2, 2025
ca36569
M #-: Added new line and typo for Scaleway
rsmontero Jan 2, 2025
1d68355
M #-: Make user input text multiline (#3337)
vichansson Jan 2, 2025
4ad2c47
M #-: Make user input text64 multiline (#3338)
vichansson Jan 2, 2025
d593863
F OpenNebula/one#6674: Sunstone Micro-Frontend architecture (#3339)
vichansson Jan 2, 2025
281e5b7
M #-: Add HOST resolve flag (#3342)
vichansson Jan 8, 2025
1e828a9
F OpenNebula/one#6763: Make available "Flush" button (#3347)
angeryuu Jan 9, 2025
af31ed1
B OpenNebula/one#6846: Fix useAuth parse & currency display (#3344)
vichansson Jan 9, 2025
e41e382
Revert "B OpenNebula/one#6619: Add trailing slash to the marketplace …
rsmontero Jan 10, 2025
5d5b774
B #6619: Add trailing slash to the marketplace endpoint
rsmontero Jan 10, 2025
0580065
M #-: Add moduleId to tab-manifest (#3348)
vichansson Jan 10, 2025
ef932b6
L #-: Rubocop 1.70.0
tinova Jan 10, 2025
0dfaa48
F #6841: NVIDIA vendor mediated devices framwork
rsmontero Jan 11, 2025
ce853e5
F OpenNebula/One#5969: Tunnel SSH for guacamole connections (#3353)
jloboescalona2 Jan 14, 2025
1220307
M #~: fix package-lock file (#3358)
jloboescalona2 Jan 15, 2025
8699daa
B OpenNebula/one#6820: Detach option on vms with regular users (#3357)
dcarracedo Jan 15, 2025
1a72c43
B OpenNebula/one#6794: Fix wrong user group (#3359)
vichansson Jan 16, 2025
81058d9
M #~: fix response in auth functions (#3361)
jloboescalona2 Jan 16, 2025
b2973dd
B OpenNebula/one#6816: Fix service template update (#3363)
vichansson Jan 17, 2025
abeb80d
F OpenNebula/one#6636: allow to change CPU_MODEL/FEATURES with one.vm…
vvbohdan Jan 17, 2025
b092773
B #6851: Fix negative arity in log function (#3366)
1gramos Jan 17, 2025
f677b37
F OpenNebula/one#6623: Add snapshot-list cli command (#3362)
vvbohdan Jan 17, 2025
d1e6a7c
B #6583: SPARSE attribute considered on resize (#3350)
1gramos Jan 17, 2025
ddaa90f
B OpenNebula/one#6848: Follow symlink (#3352)
dann1 Jan 17, 2025
49fc105
B OpenNebula/one#6852 Fix fs detection on lvm (#3355)
dann1 Jan 17, 2025
d2c0104
F #6342: Support for cluster quotas
rsmontero Jan 20, 2025
1111cc6
B OpenNebula/one#6806: Add IP/MAC spoofing switch (#3367)
vichansson Jan 20, 2025
00307ed
B OpenNebula/one#6815: Fix vnet/datastore/host datatable (#3369)
jloboescalona2 Jan 20, 2025
36857e1
M #-: Update S.T. schema cast (#3371)
vichansson Jan 20, 2025
696e69a
F #6752: AutoNFS (#3331)
1gramos Jan 20, 2025
5599a24
B #6823: Fix VM quota exceeded in deploy and recover action (#3351) (…
paczerny Jan 21, 2025
d87b386
B #6704: Perform SG and spoofing on input traffic
rsmontero Jan 21, 2025
7f8c7ca
F #6850: Add more PCIE ports for ARM architectures
rsmontero Jan 21, 2025
262dd0e
B OpenNebula/One#6714: add actions in marketapp from marketplace (#3373)
jloboescalona2 Jan 21, 2025
a27bb5b
F OpenNebula/one#6724: Fix form import app (#3376)
jloboescalona2 Jan 21, 2025
18c25fe
F OpenNebula/One#6639: Add cost info at VM instantation time (#3380)
jloboescalona2 Jan 23, 2025
ed5f655
L #-: Rubocop 1.71.0
tinova Jan 23, 2025
aa085ef
Fix failure propagation from mkfs (#3381)
1gramos Jan 23, 2025
91666f8
F #6342: Fix search for cluster VMs for MySQL (#3378)
paczerny Jan 23, 2025
c6d3b8d
B #6831: Fix `onevm save` duplicated disks (#3382)
paczerny Jan 27, 2025
3be9775
B OpenNebula/one#6833: Vnet review in Sunstone (#3383)
dcarracedo Jan 27, 2025
7bf1f6f
F OpenNebula/one#6342: Add cluster quotas to sunstone (#3385)
vichansson Jan 27, 2025
e1bb7f7
B OpenNebula/one#6845: Fix host sched req (#3387)
vichansson Jan 27, 2025
c6f4fec
B OpenNebula/one#6830: Enable terminate from poweroff [master] (#3388)
angeryuu Jan 28, 2025
126b0c5
F OpenNebula/One#6639: Add data-cy for tests (#3391)
jloboescalona2 Jan 28, 2025
40e5d5e
M #-: Add user group cypress identifier (#3395)
vichansson Jan 28, 2025
d36b8b4
B OpenNebula/one#6728: Network values step in attach nic (#3392)
dcarracedo Jan 28, 2025
265f862
M #-: Add devmode to Sunstone (#3400)
vichansson Jan 29, 2025
538b110
F OpenNebula/One#6718: Define the number of rows (#3398)
jloboescalona2 Jan 29, 2025
9e1b8ad
M #-: Add webpack build mode var (#3401)
vichansson Jan 30, 2025
631acb7
B #6790: Fix `onehost show` for single Hugepage (#3386)
paczerny Jan 30, 2025
950f33c
B OpenNebula/one#6828: Fix onetemplate cli options override CONTEXT s…
vvbohdan Jan 30, 2025
983066a
F #6435: Automatic setting of NIC IO queues
rsmontero Jan 30, 2025
dc86b5e
F #6435: Fix compilation
rsmontero Jan 30, 2025
4347e9b
F OpenNebula/one#6435: Add NIC virtio queue switch (#3402)
vichansson Jan 30, 2025
20f068d
M #: Improve migration validation error message (#3408)
dann1 Jan 31, 2025
aac41f6
F #6547: increment_flatten uses qemu-img commit instead of convert (#…
1gramos Feb 3, 2025
235fd3c
B #6700: Improve error messages in fs_size (#3406)
1gramos Feb 3, 2025
8384884
B OpenNebula/one#6830: Fixing VM terminate status (#3405)
angeryuu Feb 3, 2025
bbf82a4
L #-: Rubocop 1.71.1
tinova Feb 3, 2025
fc12305
B OpenNebula/one#6830: lint fix (#3409)
angeryuu Feb 3, 2025
93521db
F OpenNebula/One#6826: Fix selected row (#3407)
jloboescalona2 Feb 3, 2025
d643dcd
F OpenNebula/one#6786: Fix issue creating Security Group (#3404)
angeryuu Feb 3, 2025
246a213
B #-: Fix alertmanager.yml path for arm64 (#3410)
xorel Feb 4, 2025
bd1965e
F #6741: Delete disk bitmaps after restore (#3411)
1gramos Feb 4, 2025
c5fb25e
M #-: Fix typo (#3412)
xorel Feb 4, 2025
1625677
M #-: Update labels and type of issue templates (#3415)
dcarracedo Feb 5, 2025
9dc504a
B #6575: Load remote env for detach_nic
atodorov-storpool Feb 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
F #6342: Support for cluster quotas
This feature adds support for VM quotas at cluster level. CLUSTER_IDS
can be set for a VM quota so the admin can limit the number of resources (e.g. VMs) a
user/group can create in a given cluster.

This commit also fixes:

- B #2226
- B #6823

Co-authored-by: Pavel Czerny <pczerny@opennebula.io>
  • Loading branch information
rsmontero and paczerny committed Jan 20, 2025
commit d2c01047479ad842e4b3138208f2c073e3931c30
11 changes: 0 additions & 11 deletions include/DatastorePool.h
Original file line number Diff line number Diff line change
@@ -155,17 +155,6 @@ class DatastorePool : public PoolSQL
where, sid, eid, desc);
};

/**
* Lists the Datastore ids
* @param oids a vector with the oids of the objects.
*
* @return 0 on success
*/
int list(std::vector<int>& oids)
{
return PoolSQL::list(oids, one_db::ds_table);
}

/**
* Adds to the disk the datastore inherit attributes and conf values
* @param ds_id of the datastore to use
2 changes: 1 addition & 1 deletion include/LifeCycleManager.h
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ class LifeCycleManager : public Listener
// -------------------------------------------------------------------------
void start_prolog_migrate(VirtualMachine* vm);

void revert_migrate_after_failure(VirtualMachine* vm);
void revert_migrate_after_failure(VirtualMachine* vm, bool live);

void trigger_save_success(int vid);
void trigger_save_failure(int vid);
11 changes: 0 additions & 11 deletions include/MarketPlacePool.h
Original file line number Diff line number Diff line change
@@ -124,17 +124,6 @@ class MarketPlacePool : public PoolSQL
where, sid, eid, desc);
};

/**
* Lists the MarketPlace ids
* @param oids a vector with the oids of the objects.
*
* @return 0 on success
*/
int list(std::vector<int>& oids)
{
return PoolSQL::list(oids, one_db::mp_table);
}

/**
* Factory method to produce objects
* @return a pointer to the new object
5 changes: 2 additions & 3 deletions include/PoolSQL.h
Original file line number Diff line number Diff line change
@@ -165,10 +165,9 @@ class PoolSQL
* @return 0 on success
*/
int list(
std::vector<int>& oids,
const char * table)
std::vector<int>& oids)
{
return search(oids, table, "");
return search(oids, table.c_str(), "");
}

/**
2 changes: 1 addition & 1 deletion include/Quota.h
Original file line number Diff line number Diff line change
@@ -295,7 +295,6 @@ class Quota: public Template, public QuotaInterface
*/
void cleanup_quota(const std::string& qid);

private:
/**
* Creates an empty quota based on the given attribute. The attribute va
* contains the limits for the quota.
@@ -335,6 +334,7 @@ class Quota: public Template, public QuotaInterface
int update_limits(VectorAttribute* quota,
const VectorAttribute* va);

private:
/**
* Extract the limits for the defined quota metrics from a given attribute
* @param va the attribute with the limits
60 changes: 43 additions & 17 deletions include/QuotaVirtualMachine.h
Original file line number Diff line number Diff line change
@@ -22,6 +22,7 @@
/**
* VM Quotas, defined as:
* VM = [
* CLUSTER_IDS = Comma separated list of clusters or empty for global quotas
* VMS = <Max. number of VMs>
* RUNNING_VMS = <Max. number of RUNNING VMS>
* MEMORY = <Max. number of MB requested by VMs>
@@ -54,6 +55,22 @@ class QuotaVirtualMachine : public Quota

~QuotaVirtualMachine() {};

int get_quota(const std::string& id, VectorAttribute **va) override
{
std::map<std::string, Attribute *>::iterator it;
return get_quota(id, va, it);
}

/**
* Set the quotas. If the quota previously exists its limit is updated.
* The quotas are indexed by CLUSTER_IDS
* @param quota_str the quota template in ASCII or XML formats
* @param error describe the error in case of error
*
* @return 0 on success -1 otherwise
*/
int set(std::vector<VectorAttribute*> * quotas, std::string& error) override;

/**
* Check if the resource allocation will exceed the quota limits. If not
* the usage counters are updated
@@ -86,15 +103,6 @@ class QuotaVirtualMachine : public Quota
*/
void del(Template* tmpl) override;

/**
* Gets a quota, overrides base to not to use ID.
* @param id of the quota, ignored
* @param va The quota
*
* @return a pointer to the quota or 0 if not found
*/
int get_quota(const std::string& id, VectorAttribute **va) override;

/**
* Add generic quota to metrics. It adds also RUNNING_ quota attribute
* @param metric Name of the quota metri
@@ -119,22 +127,32 @@ class QuotaVirtualMachine : public Quota
protected:

/**
* Gets a quota, overrides base to not to use ID.
* Gets a quota, overrides base to use CLUSTER_IDS as id
*
* @param id of the quota, ignored
* @param cluster_ids Comma separated list of cluster ids
* @param va The quota
* @param it The quota iterator, if it is found
*
* @return 0 on success, -1 if not found
*/
int get_quota(
const std::string& id,
const std::string& cluster_ids,
VectorAttribute **va,
std::map<std::string, Attribute *>::iterator& it) override
{
it = attributes.begin();
return get_quota(id, va);
}
std::map<std::string, Attribute *>::iterator& it) override;

/**
* Gets a quota for cluster ID (the id is included in cluster_ids)
*
* @param cluster_id Cluster ID
* @param va The quota
*
* @return 0 on success, -1 if not found
*/
int get_quota(
int cluster_id,
VectorAttribute **va);

int get_quota_id(const Template& tmpl, std::string& cluster_ids);

/**
* Gets the default quota identified by its ID.
@@ -150,6 +168,14 @@ class QuotaVirtualMachine : public Quota
Quotas& default_quotas,
VectorAttribute **va) override;

/**
* Recomputes VM cluster quota usage for specific user or group.
* @param user_id user ID or -1 if not specified
* @param group_id group ID or -1 if not specified
* @param vm_quota New VM cluster quota to recompute
*/
void recompute_clusters(int user_id, int group_id, VectorAttribute* vm_quota);

static std::vector<std::string> VM_METRICS;
static std::vector<std::string> VM_GENERIC;
};
11 changes: 0 additions & 11 deletions include/VdcPool.h
Original file line number Diff line number Diff line change
@@ -103,17 +103,6 @@ class VdcPool : public PoolSQL
where, sid, eid, desc);
};

/**
* Lists the VDC ids
* @param oids a vector with the oids of the objects.
*
* @return 0 on success
*/
int list(std::vector<int>& oids)
{
return PoolSQL::list(oids, one_db::vdc_table);
}

/**
* Default name for the default VDC
*/
15 changes: 15 additions & 0 deletions include/VirtualMachine.h
Original file line number Diff line number Diff line change
@@ -704,6 +704,16 @@ class VirtualMachine : public PoolObjectSQL
return history->cid;
}

/**
* Set new cluster id. The hasHistory()
* function MUST be called before this one.
*/
void set_cid(int cid)
{
history->cid = cid;
}


/**
* Get cluster id where the VM was executing. The hasPreviousHistory()
* function MUST be called before this one.
@@ -1580,6 +1590,11 @@ class VirtualMachine : public PoolObjectSQL
void delete_non_persistent_disk_snapshots(Template& vm_quotas,
std::vector<Template *>& ds_quotas)
{
if (hasHistory())
{
vm_quotas.replace("CLUSTER_ID", get_cid());
}

disks.delete_non_persistent_snapshots(vm_quotas, ds_quotas);
}

11 changes: 11 additions & 0 deletions include/VirtualMachinePool.h
Original file line number Diff line number Diff line change
@@ -163,6 +163,17 @@ class VirtualMachinePool : public PoolSQL
*/
int get_backup(std::vector<int>& oids);

/**
* Function to get the IDs of VMs deployd on specific cluster
* @param user_id user ID or -1
* @param group_id group ID or -1
* @param cid a cluster ID
* @param oids a vector that contains the IDs
* @return 0 on success
*/
int get_cluster_vms(int user_id, int group_id, int cid,
std::vector<int>& oids);

/**
* Gets the IDs of VMs matching the given SQL where string.
* @param oids a vector that contains the IDs
10 changes: 0 additions & 10 deletions include/ZonePool.h
Original file line number Diff line number Diff line change
@@ -122,16 +122,6 @@ class ZonePool : public PoolSQL
*/
unsigned int get_zone_servers(int zone_id, std::map<int, std::string>& srv);

/**
* Return the list of zones defined
* @param zone_ids of the zones
* @return 0 on success
*/
int list_zones(std::vector<int>& zone_ids)
{
return list( zone_ids, one_db::zone_table);
}

/**
* ID for the special local zone in stand-alone mode
*/
Loading