Commit Graph
20124 Commits
Author SHA1 Message Date
Frederick Borges d42ee8a1e0 B #6086: Fix fs freeze value when QEMU Agent is selected (#2455)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2023-01-19 11:23:14 +01:00
Pierre Lafievre 462e888259 F #6054: GOCA - make AR representation more generic
Signed-off-by: Pierre Lafievre <pierre.lafievre@iguanesolutions.com>
(cherry picked from commit afc90f70fe)
2023-01-19 10:31:23 +01:00
Raf Lopez 647a4851b8 M #-: Fix the snapshot schemas (GOCA)
The schema for vm and snapshots does not correctly deserialize
the raw xml because the snapshot field in VM struct is not an array.

This change fixes the snapshot field, and adds DiskID to DiskSnapshot
struct so that after unmarshalling the snapshots are grouped by disk

Signed-off-by: Rafael Lopez <rafael.lopez@softiron.com>
(cherry picked from commit 278b14930b)
2023-01-19 10:30:36 +01:00
Neal 86160b66e7 B #-: Fixing bug with nested quotation marks when restoring backup (#2454)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-01-19 09:11:08 +01:00
Tino Vázquez 61b56b0275 Revert "M #-: Prevent change in conf file"
This reverts commit 990830982e.
2023-01-17 10:52:45 +01:00
Tino Vázquez 990830982e M #-: Prevent change in conf file 2023-01-17 10:52:08 +01:00
Jorge Miguel Lobo Escalona 8b041fd06f B-6081: fix other tables (#2448) 2023-01-16 17:52:11 +01:00
Jorge Miguel Lobo Escalona 04f22a6b3d B #6081: fix get current content when select record in datatable (#2447) 2023-01-16 13:40:52 +01:00
Tino Vázquez 46cca6d6cd L #-: Remove unneeded exceptions 2023-01-10 13:13:46 +01:00
Frederick Borges 39f6d2765c F #5998: Bigger label filter on FSunstone (#2441) 2023-01-10 13:05:16 +01:00
Frederick Borges acba29efc2 B #6061: Fix issue removing AR on vnet template (#2439) 2023-01-10 12:15:24 +01:00
Ruben S. Montero 0784385caf B #6027: Fix schema for host.xsd 2023-01-09 18:52:40 +01:00
Pavel CzernýandRuben S. Montero 0696693531 B #6027: Parse host NUMA monitoring (#2440)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2023-01-09 18:29:09 +01:00
Jorge Miguel Lobo Escalona bc0caa82f3 M #~: Update lint for Bump year 2023 (#2442) 2023-01-09 13:10:12 +01:00
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Neal 1035c6af9c B #6073: add user for make_dst_path action (#2438)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-01-06 19:05:09 +01:00
Jorge Miguel Lobo Escalona 4f71e1f266 M #-: Add default zone in federation (#2433) 2023-01-05 14:35:16 +01:00
Frederick Borges 18f9137de2 B #6051: Fix FireEdge endpoints should not be case sensitive (#2432) 2023-01-05 14:29:46 +01:00
Frederick Borges d6b89b6fe2 F #5974: FireEdge Sunstone Schedule Actions improvements (#2431) 2023-01-05 14:24:46 +01:00
Frederick Borges a1e9bcd675 B #6067: Fix disk RECOVERY_SNAPSHOT_FREQ on instantiate (#2429) 2023-01-05 14:20:53 +01:00
Tino Vázquez abeccc507f L #-: YodaStyle new cop compliance 2023-01-05 13:56:38 +01:00
Pavel Czerný 3de39f9340 F #6039: Reset monitoring timers (#2430) 2023-01-04 16:14:36 +01:00
Pavel Czerný 0fe9eac8b5 B #5916: Fix onevm instantiate --persistent (#2428) 2023-01-04 16:10:03 +01:00
Pavel Czerný 82d2191dfd B #6022: Fix lock override and --all flag (#2427)
* This commit syncs oned and API specification for the ALL flag. The internal defines were not consistent with the API specification.
2023-01-04 15:53:50 +01:00
Pavel Czerný 9959ceac06 M #-: Bump DB version to 6.8 (#2425) 2022-12-22 14:20:25 +01:00
Tino Vázquez 4f9e45a57c M #-: Bump version 6.7.80 2022-12-21 19:57:29 +01:00
Ruben S. Montero b7b662b5ff M #-: Point provision repo role to OpenNebula 6.6.0 release-6.6.0 2022-12-21 10:34:25 +01:00
Tino Vázquez df44921a19 L #-: Minor linting change 2022-12-20 19:11:46 +01:00
Pavel Czerný b25274323e M #-: Trim VM template error message (#2424) 2022-12-19 15:21:12 +01:00
Jorge Miguel Lobo Escalona a4d9a3e374 M #~: translates (#2422) 2022-12-16 09:59:21 +01:00
Tino Vázquez 238b5d704c M #-: Bump version to 6.6.0 2022-12-15 18:07:06 +01:00
Anton Todorov a9b528cf84 B #6037: there are no dedicated backup DS drivers
(cherry picked from commit 750909f9b1)
release-6.5.90
2022-12-15 15:18:56 +01:00
Ruben S. Montero 8e1607e276 M #-: Add +x to driver action (backup - rsync) 2022-12-15 12:15:28 +01:00
Ruben S. Montero 571ed63dde B #6012: Do not remove all images on cleanup
- Missing check (fails when no images are registered)
- Added additional check for image_name not empty
2022-12-14 12:20:15 +01:00
Ruben S. Montero a07a2cf97a M #-: rsync/stat script to work with all Ruby versions 2022-12-14 11:30:32 +01:00
Jorge Miguel Lobo Escalona 595d73ba32 B #6040: fix link backup in vm info (#2421) 2022-12-13 17:19:01 +01:00
Anton Todorov c51c35f810 F #5681: disk source element depends on disk type
following the domain XML definition https://libvirt.org/formatdomain.html
```
_source_
  Representation of the _disk source_ depends on the _disk type_ attribute value as follows:
  _file_
    The _file_ attribute specifies the fully-qualified path to the file holding the disk. Since 0.0.3
  _block_
    The _dev_ attribute specifies the fully-qualified path to the host device to serve as the disk. Since 0.0.3
```

Also, I took the liberty to remove the _Image::FILE_ case form the switch as it is the default one.

(cherry picked from commit 83404b5ec2)
2022-12-13 16:40:44 +01:00
Jan Orel 4a2f8193a8 Revert "B #5801: Correctly terminate oned, if init fails (#2396)" (#2420)
This reverts commit 0221dc187a.
2022-12-13 15:46:54 +01:00
Neal f14b423e22 F OpenNebula/one#5516: add rsync config to oned.conf (#2419)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-12 20:22:13 +01:00
Ruben S. Montero d7dfbd8b8c M #-: Fix 956af4 (wrong variable reference used) 2022-12-12 18:35:31 +01:00
Ruben S. MonteroandVictor Palma 4df86811b9 F #5681: Support for block context devices
Add support for block context CD's. System Datastore can include
CONTEXT_DISK_TYPE to specify the type (FILER or BLOCK) of the context
CD's

co-authored-by: Victor Palma
2022-12-12 16:49:25 +01:00
Jan Orel 8689d5d49b B #6034 Fix log rotation (#2415)
* Revert "F #5328: Update logrotate behavior to avoid long restarts (#2275)". This reverts commit 6b1127f180.

* B #5328: Don't wait for log compressing
* B #6034: Don't overwrite logs

While having already `copytruncate` in logroate we don't need to implement signaling and re-openning files.

* L #-: Linting
2022-12-12 11:50:54 +01:00
Tino Vázquez 6aab99ec2e L #-: Linting for rsync driver 2022-12-12 11:10:25 +01:00
Jorge Miguel Lobo Escalona 8e9f48d44d B #5939: Add PLAIN/provision_type in oneprovision (#2414) 2022-12-12 11:02:48 +01:00
Ruben S. Montero 956af4f8a9 M #-: Reset VM backups if the current active backup image is deleted 2022-12-12 10:51:01 +01:00
Pavel Czerný 3beca2d9d3 B #5640: Fix NETRX and NETTX for accounting (#2417) 2022-12-12 09:28:46 +01:00
Neal d0980991a4 F OpenNebula/one#5516: fix stat script (#2416)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-09 20:16:13 +01:00
Ruben S. Montero d711ea4362 F #5516: Incremental backups not compatible with snapshots
- Qemu will terminate VMs with system snapshots and checkpoints, example:

libvirtd[7446]: internal error: qemu unexpectedly closed the monitor: 2022-12-07T16:06:59.603678Z qemu-kvm-one: Device has active dirty bitmaps.

- Also disk snapshots may render inconsistent bitmaps, example:

'virsh --connect qemu:///system checkpoint-delete 45d76e5f-25fa-416a-97fd-1624380d5e02 one-191-0':   error: Failed to delete checkpoint one-191-0 error: internal error: unable to execute QEMU command 'query-named-block-nodes': Bitmap '' doesn't satisfy the constraints Error preparing disk files

This commits prevents snapshot operations when increment backups are configured, and vice versa.
2022-12-09 17:25:56 +01:00
Jan Orel f002812c9f B #-: Cleanup ssh-agent socket before starting (#2413)
When (for whatever reason) opennebula-ssh-agent gets killed
it leaves existing socket and following start fails with

opennebula-ssh-agent[2333]: unix_listener: cannot bind to path /var/run/one/ssh-agent.sock: Address already in use
2022-12-09 16:22:11 +01:00
Neal c17e0bcf1b F OpenNebula/one#5516: incremental rsync update (#2409)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2022-12-09 10:04:28 +01:00