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

33 Commits

Author SHA1 Message Date
Tino Vázquez
05d147c524
M #-: Bump version 6.10.0
Also bump copyright year to 2024
2024-07-29 14:27:11 +02:00
Pavel Czerný
2fe396ae15
L #-: Add Astyle linting
* Add AStyle to smoke tests
* Format C++ files using AStyle
2024-06-03 11:40:24 +02: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
Pavel Czerný
725337ea5e
B #6355: Fix VM quotas (#2861)
* Remove useless default values from VM quotas, adapt chown and chgrp to it
* Fix VM transition from poweroff, stopped, suspended, undeployed to done when quotas are tmp exceeded
* Fix VM transition from poweroff to undeployed
* Fix VM transition from suspended to stopped

(cherry picked from commit 1e25904148)
2023-12-12 16:20:08 +01:00
Pavel Czerný
8e7ff2ed36
F #6103: Last set of CppCheck issues (#2481)
(cherry picked from commit 4a9662a551)
(cherry picked from commit d7b7303f8f)
2023-02-07 08:56:52 +01:00
Tino Vázquez
3376afdaf0
M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Tino Vazquez
f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Vlastimil Holer
096754b63f
M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Pavel Czerný
daaf132a43
F #4936: Remove 'using namespace std' from headers (#60) 2020-07-02 22:42:10 +02:00
Vlastimil Holer
f3c50a5d89
M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. Montero
1235866e51 F #2228: Added new VM quota - RUNNING_MEMORY, RUNNING_CPU and RUNNING_VMS.
These running quotas are for all states included in ACTIVE and VMS being
scheduled (PENDING and HOLD) as those states consume the same resources (in
terms of allocation) as running VMs.

Author: juanmont <juanmont@ucm.es>
2018-09-05 15:14:39 +02:00
Vlastimil Holer
a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Jaime Melis
e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Carlos Martín
6e3e25ff59 Feature #1727: Rename VOLATILE_SIZE quota to SYSTEM_DISK_SIZE 2015-07-21 11:10:57 +02:00
Jaime Melis
8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Jaime Melis
11520021f7 Bump to version 4.5.0 2014-01-09 11:51:20 +01:00
Carlos Martín
4020d536cb Feature #1612: Add VOLATILE_SIZE to VM quotas 2013-10-09 12:13:23 +02:00
Ruben S. Montero
00e38376a9 Revert "Bug #2200: VM Resize uses the same quota mechanism as all the other methods"
This reverts commit 886346606d.

(cherry picked from commit 9126e8a8f6)
2013-07-22 23:36:24 +02:00
Carlos Martín
7658e9cd94 Bug #2200: VM Resize uses the same quota mechanism as all the other methods
(cherry picked from commit 886346606d)
2013-07-22 15:50:34 +02:00
Ruben S. Montero
dcfa0a1773 feature #1772:Resize VM capacity (cpu, memory and vcpu) offline 2013-02-23 19:49:06 +01:00
Jaime Melis
7357bffe34 Update copyright notice 2013-01-24 16:18:30 +01:00
Jaime Melis
af61e33f8c Update year to 2013 2013-01-24 16:03:57 +01:00
Ruben S. Montero
e4a601dde8 feature #1611: Default attribute for quotas can only be set at initialization 2012-11-30 00:16:52 +01:00
Carlos Martín
8ed9fa884a Feagture #1611: Make the default quotas work for both user and group 2012-11-19 16:38:39 +01:00
Carlos Martín
c04f35d5ed Feature #1611: Start working in support for default User quotas 2012-11-19 15:20:36 +01:00
Ruben S. Montero
98c8cc85f4 feature #1291: Update QuotaVirtualMAchine interface 2012-06-22 01:33:48 +02:00
Carlos Martín
24db7e7527 Feature #1288: Clean VM quota when it reaches 0 usage and limi 2012-06-21 16:47:12 +02:00
Carlos Martín
e2f59f0cbb Feature #1288: Clean quotas that reach 0 usage and limit 2012-06-19 18:02:55 +02:00
Ruben S. Montero
7e7dcf6eac feature #1288: Fix some bugs in quota rollback 2012-06-05 23:06:14 +02:00
Ruben S. Montero
4420b1d81b feature #1288: New VM and Network quotas. Integration qith VM create operation 2012-06-05 19:04:02 +02:00