8000 [pull] master from OpenNebula:master by pull[bot] · Pull Request #5 · Stars1233/one · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] master from OpenNebula:master #5

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 8000 privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 100 commits into from
May 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
9cfc9a5
B #-: Custom merge for user network_values (#3549)
vickmp Apr 4, 2025
5c21198
B OpenNebula/one#6999: Ensure shutdown and shutdown_recovery always r…
vickmp Apr 4, 2025
7b54197
F OpenNebula/One#6796: increase the size of payloads when they are js…
jloboescalona2 Apr 4, 2025
4a20f84
F OpenNebula/one#6752: Add auto nfs on shared datastores (#3552)
dcarracedo Apr 5, 2025
ce0cc71
M #-: Fix OVMF_UEFIS (#3554)
dgarcia18 Apr 7, 2025
8da2d00
F OpenNebula/one#6648: Add nested labels support (#3555)
vichansson Apr 7, 2025
c4ae681
F OpenNebula/one#6880: Update backup configuration on a virtual machi…
angeryuu Apr 7, 2025
e0e5b50
B #-: Fix undeploy success condition (#3556)
vickmp Apr 8, 2025
b17e8fc
F #6911: Fix datastore attributes from TM_MAD_CONF
rsmontero Apr 8, 2025
ecb3d21
M #-: Delete breadcrumb subsection in dashboard and settings (#3557)
dcarracedo Apr 8, 2025
0220667
F OpenNebula/one#6885: Add _BW metrics to sunstone (#3559)
vichansson Apr 8, 2025
0b0bb99
F #6911: lvm_ssh fixes (#3558)
1gramos Apr 9, 2025
6ebcbb9
M #-: Minor issue in ssh connection (#3560)
dcarracedo Apr 9, 2025
9575437
M OpenNebula/one#6885: fix graph timestamps (#3561)
vichansson Apr 9, 2025
b7790d0
M #~: fixed the chartist component to pass tests (#3562)
jloboescalona2 Apr 10, 2025
880186b
M #-: rbvmomi2 needed for one-swap (#3564)
xorel Apr 11, 2025
c03f689
M #-: Update goca tests (#3565)
paczerny Apr 11, 2025
f78c07f
M #-: Review UI styles in Support Tab (#3567)
dcarracedo Apr 11, 2025
db43a43
B OpenNebula/one#6796: Fix X axis graph cloud dashboard (#3569)
vichansson Apr 14, 2025
56da270
F #1550: Update host network BW units and remove debug files (#3570)
MarioRobres Apr 16, 2025
76be9fc
F #6752: Add system probe to report AUTONFS_MOUNT (#3568)
1gramos Apr 16, 2025
502857d
B #-: Fix duplicate nics in OneFlow
10000 vickmp Apr 16, 2025
79ac91e
M #-: Bump to 6.99.85
tinova Apr 16, 2025
a198182
F OpenNebula/One#6426: remove timeout when upload image
jloboescalona2 Apr 16, 2025
e65fc9b
M #~: Fix test settings for Sunstone (#3575)
jloboescalona2 Apr 16, 2025
e9a9751
F #6992: Add PCI PROFILE selection to Host/Cluster templates.
rsmontero Apr 16, 2025
f644ca2
M #-: Fix occasional exception in CommandManager (#3571)
paczerny Apr 17, 2025
b7d9e65
M #-: Fixes to adapt testing to 7.0 (#3576)
dcarracedo Apr 17, 2025
1012cbb
M #~: upload new strings to transifex (#3577)
jloboescalona2 Apr 21, 2025
28fb7b4
F #6992: Fix PCI attribute setup
rsmontero Apr 21, 2025
279c51d
F #6992: Fix PCI filtering
rsmontero Apr 21, 2025
38d6e36
B OpenNebula/one#6648 F OpenNebula/one#7000: B/C labels & graph updat…
vichansson Apr 22, 2025
89c342a
M #-: Username tootip (#3580)
jloboescalona2 Apr 22, 2025
584e923
B #7025: Skip SQL errors in HA environment (#3578)
paczerny Apr 22, 2025
bfcda2e
B #6950: Forbid special characters in resource name (#3581)
paczerny Apr 22, 2025
472fda3
L #-: Fix for rubocop 1.75.3
tinova Apr 22, 2025
3868983
M OpenNebula/one#7000: Manual graph scaling + missing props (#3583)
vichansson Apr 22, 2025
5993294
B #6706: Sets content-type to onegate client requests (#3584)
aleixrm Apr 22, 2025
bb78a8d
B OpenNebula/one#7001: Disable context tab when there is no context (…
dcarracedo Apr 22, 2025
2833b13
B #7028, #6935, #6936: Fixes and improvements for the LXC driver (#3582)
dann1 Apr 23, 2025
129200a
B #-: Fix shutdown_nodes to return correct VM IDs from VR (#3588)
vickmp Apr 23, 2025
16ae9a6
F #1550: PlanManager respects VM lock (#3587)
paczerny Apr 23, 2025
674025e
M #-: suport array elements in VMTEMPLATE64 (#3589)
MarioRobres Apr 23, 2025
3bd2568
M #-: Minor issues on graphs (#3591)
dcarracedo Apr 23, 2025
3710208
L #-: Fix marketplace monitor smoke tests (#3592)
MarioRobres Apr 23, 2025
104b421
B OpenNebula/one#6983: Use REXML from opennebula-rubygems (#3594)
xorel Apr 24, 2025
bbdf34f
M #-: Fix error that deletes RAW.TYPE when instantiate (#3593)
dcarracedo Apr 24, 2025
7299692
F OpenNebula/one#7000: Add timestamp metadata (#3595)
vichansson Apr 24, 2025
43c7700
B #-: Fixes onegate client vm update method (#3598)
aleixrm Apr 24, 2025
f108c20
B OpenNebula/one#6983: Use REXML from opennebula-rubygems in lxc (#3600)
xorel Apr 25, 2025
f270703
B OpenNebula/one#7032: Fix README.md links to old paths (#3596)
balazsbme Apr 25, 2025
466cde8
* M #~: fix guacamole configurations VNC/RDP
jloboescalona2 Apr 25, 2025
490b847
F #6937: New orphan mode LINEAR (#3597)
paczerny Apr 28, 2025
7d452a5
B OpenNebula/one#7041: Use frontend DNS for LinuxContainers context i…
dann1 Apr 28, 2025
8767011
M #-: Update OVMF_UEFIS (#3603)
Aletibazo Apr 28, 2025
f869c3c
M #-: Sunstone QA bug fixes (#3606)
vichansson Apr 29, 2025
1bdc737
M #-: Add qemu-nbd for ovirtapi (#3604)
xorel Apr 29, 2025
c7c63a8
M #~: Fix vnc conections (#3607)
jloboescalona2 Apr 29, 2025
6be1111
F OpenNebula/one#6753: NetApp configuration changes (#3608)
onenhansen Apr 29, 2025
a7105d2
F OpenNebula/one#7044: Update LinuxContainers app template (#3605)
dann1 Apr 30, 2025
72a7932
F #7029: Full backups for LVM driver
1gramos Apr 30, 2025
48f76cd
F #6753: Remove useless DISK_TYPE from DS_MAD_CONF (#3609)
paczerny Apr 30, 2025
666861b
L #-: Lint fixes
tinova Apr 30, 2025
86bc542
M #-: Remove SSH tunnel reuse (#3610)
vichansson Apr 30, 2025
1811ae5
F OpenNebula/one#6753: update sudoers (#3611)
onenhansen Apr 30, 2025
08238fc
F #7044: Do not use OS/ARCH
rsmontero May 1, 2025
1bc7c1f
B #6857: Disable KEEP_LAST for CEPH (#3614)
paczerny May 5, 2025
98f946c
M #-: Remove reference to vcenter in oned.conf
rsmontero May 5, 2025
4c92499
M #-: Simplify ruby path setup (#3613)
xorel May 5, 2025
d37ed8c
B #6956: cannot add user input with the same name (#3615)
jloboescalona2 May 5, 2025
63c38d7
F OpenNebula/one#7044: Improve CLI Marketplace Apps listing (#3612)
dann1 May 5, 2025
5f49524
M #-: Remove sunstone vcenter refs. (#3616)
vichansson May 5, 2025
876b92c
M #-: Remove sunstone vmrc refs. (#3617)
vichansson May 5, 2025
2ecfe37
M #-: Change some styles on the cloud dashboard graphs (#3618)
dcarracedo May 5, 2025
ed3d6a3
F OpenNebula/one#6753: remove dd from sudoers (#3621)
onenhansen May 7, 2025
dcef6c8
F #7046: Add columns hypervisor and architecture in apps (#3620)
jloboescalona2 May 7, 2025
0df3454
M #-: Fix user input referencing (#3622)
vichansson May 7, 2025
86f213c
B #~: add debounce when instantiate a vm and fix vnc error (#3623)
jloboescalona2 May 7, 2025
68ff787
M #-: Fix context ref. on instantiate (#3624)
vichansson May 7, 2025
0ef10a8
M #-: Sunstone QA fixes (#3619)
vichansson May 7, 2025
0df197c
B OpenNebula/one#6983: removed division by 4 in memory options (#3625)
jloboescalona2 May 7, 2025
b20a2c1
M #-: S.T. network schema required on inst. (#3626)
vichansson May 7, 2025
a891269
L #-: Lint fix (#3627)
vichansson May 7, 2025
3dbfe37
Revert "M #-: Sunstone QA fixes (#3619)"
rsmontero May 7, 2025
aa02c99
M #-: Push missing conflict resolution
rsmontero May 7, 2025
093f654
M #-: S.T. fix calculate field array shift (#3628)
vichansson May 7, 2025
a96195e
Revert "M #-: Push missing conflict resolution"
rsmontero May 8, 2025
2b62f45
Reapply "M #-: Sunstone QA fixes (#3619)"
rsmontero May 8, 2025
36592c1
M #-: Update installation folder of sunstone-views.yaml
rsmontero May 8, 2025
41d53e2
M #-: Remove redundant sunstone dirs (#3629)
vichansson May 8, 2025
4164331
M #-: Remove U.I. validation in Sunstone (#3630)
vichansson May 8, 2025
a2cfc9b
B OpenNebula/one#7014: Disk id in a vm should take care of the conten…
dcarracedo May 9, 2025
28e9c26
B #7054: Fix ls operation in restic driver
rsmontero May 9, 2025
0efb54f
M #-: onecfg: add new sunstone yamls location (#3632)
xorel May 10, 2025
540d757
M #-: Minor issues found in QA testing (#3633)
dcarracedo May 12, 2025
bead49d
M #-: Enable NUMA on LxC (#3634)
dcarracedo May 12, 2025
4468a4f
M #-: Fix sunstone func (#3636)
vichansson May 13, 2025
e71ea3c
fs_lvm[_ssh]/mkimage: move FS check to top (#3635)
1gramos May 13, 2025
329274a
M #-: LVM thin: sync between pool & LV creation (#3638)
1gramos May 13, 2025
6457b21
M #-: Revert draggable fix in details (#3640)
dcarracedo May 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ You can quickly and easily try out OpenNebula’s functionality by installing [m

## Installation

You can find more information about OpenNebula’s architecture, installation, configuration and references to configuration files in this [documentation section](https://docs.opennebula.io/stable/deployment/index.html).
You can find more information about OpenNebula’s architecture, installation, configuration and references to configuration files in this [documentation section](https://docs.opennebula.io/stable/installation_and_configuration/index.html).

It is very useful to learn where [log files of the main OpenNebula components are placed](http://docs.opennebula.io/5.12/deployment/references/log_debug.html). Also check the [reference about the main OpenNebula daemon configuration file](https://docs.opennebula.io/stable/installation_and_configuration/opennebula_services/oned.html).
It is very useful to learn where [log files of the main OpenNebula components are placed](http://docs.opennebula.io/stable/installation_and_configuration/opennebula_services/troubleshooting.html). Also check the [reference about the main OpenNebula daemon configuration file](https://docs.opennebula.io/stable/installation_and_configuration/opennebula_services/oned.html).

### Front-end Installation

Expand Down
3 changes: 2 additions & 1 deletion include/Backups.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,12 @@ class Backups
* - INCREMENTAL_BACKUP_ID
* @param tmpl Template to parse, the root element must be BACKUP_CONFIG
* @param can_increment VM disks support incremental backup
* @param can_keep_last_increment VM disks support KEEP_LAST for INCREMENT mode
* @param append Only append new values from tmpl
* @param error_str Returns the error reason, if any
* @return 0 success, -1 error
*/
int parse(Template *tmpl, bool can_increment,
int parse(Template *tmpl, bool can_increment, bool can_keep_last_increment,
bool append, std::string& error_str);

/**
Expand Down
24 changes: 4 additions & 20 deletions include/Host.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,25 +239,9 @@ class Host : public PoolObjectSQL, public ClusterableSingle
* @param sr the capacity request of the VM
* @return 0 on success
*/
void add_capacity(HostShareCapacity &sr)
{
if ( vm_collection.add(sr.vmid) == 0 )
{
host_share.add(sr);
}
else
{
std::ostringstream oss;
oss << "VM " << sr.vmid << " is already in host " << oid << ".";
void add_capacity(HostShareCapacity &sr);

NebulaLog::log("ONE", Log::ERROR, oss);
}
};

bool add_pci(HostShareCapacity &sr)
{
return host_share.add_pci(sr);
}
bool add_pci(HostShareCapacity &sr);

/**
* Deletes a new VM to the host share by incrementing usage counters
Expand Down Expand Up @@ -437,7 +421,7 @@ class Host : public PoolObjectSQL, public ClusterableSingle
void reserved_capacity(std::string& rcpu, std::string& rmem) const;

/**
* Gets a host template attribuet, if not defined it look for it in the
* Gets a host template attribute, if not defined it look for it in the
* cluster template.
* @param name of the attribute
* @param value of the attribute
Expand All @@ -446,7 +430,7 @@ class Host : public PoolObjectSQL, public ClusterableSingle

void update_wilds();

/* ---------------------------------------------------------------------- */
/* ---------------------------------------------------------------------- */
/* Functions to search for values in the HostXML object */
/* ---------------------------------------------------------------------- */
/**
Expand Down
2 changes: 1 addition & 1 deletion include/HostShare.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class HostShare : public ObjectXML
bool add_pci(HostShareCapacity &sr)
{
// NOTE THIS FUNCTION DOES NOT PERFORM ANY ROLLBACK
return pci.add(sr.pci, sr.vmid);
return pci.add(sr.pci, sr.vmid, sr.vgpu_profile);
}

/**
Expand Down
2 changes: 2 additions & 0 deletions include/HostShareCapacity.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ struct HostShareCapacity
long long mem;
long long disk;

std::string vgpu_profile;

std::vector<VectorAttribute *> pci;

VectorAttribute * topology;
Expand Down
15 changes: 11 additions & 4 deletions include/HostSharePCI.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,13 @@ class HostSharePCI : public Template
* @param devs list of requested PCI devices, will include address of
* assigned devices.
* @param vmid of the VM
* @param hp host/cluster vGPU profile
*
* @return true if the devices where added
*
* NOTE THIS FUNCTION DOES NOT PERFORM ANY ROLLBACK
*/
bool add(std::vector<VectorAttribute *> &devs, int vmid);
bool add(std::vector<VectorAttribute *> &devs, int vmid, const std::string& hp);

/**
* Remove the VM assignment from the PCI device list
Expand Down Expand Up @@ -210,7 +211,8 @@ class HostSharePCI : public Template
* @param device VM attribute that represents the decive request
* @param vmid of the VM
*/
bool add_by_name(VectorAttribute *device, int vmid);
bool add_by_name(VectorAttribute *device, int vmid,
const std::string& vprofile);

/**
* Allocates the given VM device using the SHORT_ADDRESS attribute
Expand All @@ -219,16 +221,21 @@ class HostSharePCI : public Template
*
* @return pci_id of the allocated device or -1 if not allocated
*/
bool add_by_addr(VectorAttribute *device, const std::string& addr, int vmid);
bool add_by_addr(VectorAttribute *device, const std::string& addr, int vmid,
const std::string& vprofile);

/**
* Adds PCI attributes of the selected PCI to the VM PCI device
*
* Sets the VGPU profile for NVIDIA cards NOTE: A migration may overwrite
* this value if the new host uses a different profile.
*
* @param device VM attribute
* @param pci Host device
* @param sp if true set the "PREVIOUS_ADDRESS" attribute
*/
void pci_attribute(VectorAttribute *device, PCIDevice *pci, bool sp);
void pci_attribute(VectorAttribute *device, PCIDevice *pci, bool sp,
const std::string& vprofile);
};

#endif /*HOST_SHARE_PCI_H_*/
2 changes: 1 addition & 1 deletion include/NebulaService.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class NebulaService
*/
static std::string code_version()
{
return "6.99.0"; // bump version
return "6.99.85"; // bump version
}

/**
Expand Down
24 changes: 22 additions & 2 deletions include/Snapshots.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,18 +55,26 @@ class Snapshots
*
* - MIXED: Snapshots are children of last snapshot reverted to
* |- snap_1 (<--- revert)
* |- snap_2
* |- snap_3
* |- snap_4
* |- snap_2
*
* - FORMAT: Depends on the image format, (used in shared TM)
* - for qcow2 -> DENY
* - for raw -> ALLOW
*
* - LINEAR: No parent snapshot, in case of revert all younger snapshot are deleted
* |- snap_1
* |- snap_2 (<--- revert, delete snap_3)
* |- snap_3
*/
enum AllowOrphansMode
{
ALLOW = 0,
DENY = 1,
MIXED = 2,
FORMAT = 3
FORMAT = 3,
LINEAR = 4
};

static std::string allow_orphans_mode_to_str(AllowOrphansMode aom)
Expand All @@ -77,6 +85,7 @@ class Snapshots
case DENY: return "NO";
case MIXED: return "MIXED";
case FORMAT: return "FORMAT";
case LINEAR: return "LINEAR";
}

return "NO";
Expand All @@ -96,6 +105,10 @@ class Snapshots
{
return FORMAT;
}
else if (aom == "LINEAR")
{
return LINEAR;
}
else
{
return DENY;
Expand Down Expand Up @@ -284,6 +297,13 @@ class Snapshots
*/
std::string snapshot_attribute(int id, const char* name) const;

AllowOrphansMode orphans_mode() const
{
return orphans;
}

std::vector<int> get_younger_snapshots(int id) const;

private:

/**
Expand Down
19 changes: 19 additions & 0 deletions include/VirtualMachineDisk.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,18 @@ class VirtualMachineDisk : public VirtualMachineAttribute
void delete_snapshot(int snap_id, Template& ds_quota, Template& vm_quota,
bool& io, bool& vo);

/**
* Deletes all younger (bigger snap_id) snapshots
* @param snap_id of the last snapshot to keep
* @param ds_quotas template with snapshot usage for the DS quotas
* @param vm_quotas template with snapshot usage for the VM quotas
* @param io delete ds quotas from image owners
* @param vo delete ds quotas from vm owners
*/
void delete_younger_snapshots(int snap_id, Template& ds_quota, Template& vm_quota,
bool& io, bool& vo);


/* ---------------------------------------------------------------------- */
/* Disk resize functions */
/* ---------------------------------------------------------------------- */
Expand Down Expand Up @@ -824,6 +836,13 @@ class VirtualMachineDisks : public VirtualMachineAttributeSet
*/
bool backup_increment(bool do_volatile);

/**
* Returns true if all disks support keep last feature for backups
*
* @param do_volatile consider volatile disks
*/
bool backup_keep_last(bool do_volatile);

/**
* Returns list of disk IDs, ready for backup
*
Expand Down
Loading
0