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

20378 Commits

Author SHA1 Message Date
Neal
be38316f03
F OpenNebula/one#6212: include DISK_TYPE from TM_MAD_CONF definitions (#2683)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-07-26 17:15:59 +02:00
Neal
ae2a6b8cb8
F OpenNebula/one#6212: add DISK_TYPE to TM_MAD_CONF for lvm tms (#2684)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-07-26 16:43:59 +02:00
Pavel Czerný
501d855e98
F #6063: Update Backup Job CLI description (#2678) 2023-07-26 16:42:11 +02:00
Pavel Czerný
71bb9e3263
F #6063: Remove args from BJ Scheduled Action (#2681)
* Make VM scheduled backup backward compatible

Signed-off-by: Pavel Czerny <pczerny@opennebula.io>
2023-07-26 16:41:17 +02:00
Jan Orel
e18d1b6d4f
fixup! F OpenNebula/one#6265: Fix recovery_snap_create_live (#2659) (#2687) 2023-07-25 13:35:08 +02:00
Jan Orel
1fa2c5c8fe
M #-: clone.replia: fix when dir does not exists (#2686) 2023-07-24 17:53:15 +02:00
Jan Orel
53c575029c
F OpenNebula/one#6265: Fix recovery_snap_create_live (#2659)
Disk is not a symlik any more

+ don't delete rs_tmp if used
+ run blockcommit in trap
2023-07-24 09:49:22 +02:00
David
c3c29471ed
M #: Enable backup nonadminusers and disable deploy (#2682) 2023-07-21 17:53:08 +02:00
Jan Orel
08bb8f7684
L #-: Add quotes (#2680)
(cherry picked from commit e8167ea54974e7572d5fe02417ca24b2ba35abdb)
2023-07-20 19:47:06 +02:00
Jan Orel
5af31298e5
F OpenNebula/one#6265: Fix migrate for qcow2 (#2679)
mkdir disk.X.snap directories when creating
target qcow2 disks

(cherry picked from commit a7dd64eed135f2a794889b08da79aff018ac42db)
2023-07-20 19:41:38 +02:00
Ruben S. Montero
156cd04ba5
F OpenNebula/one#6265: Delete of snapshots in the middle of the chain
- Add suport for delete snapshots in the middle of the chain in qcow2
  (ALLOW_ORPHANS=NO). Example, snapshot 2 below:
                     0 <- 1 <- 2 <- 3

- It supports removing the last snapshot and active (blockpull) and
  first one (snapshot 0). The first snapshot cannot be deleted in
  persistent images because of the underlying link setting.

- Snapshots are deleted by blockcommit. For example to delete 2, 3 is
  committed into 2:
                    0 <- 1 <- 2: (2+3)
  A new file 3.current is created in the filesystem to look for the
  actual file name supporting snapshot 3.

- qcow2/shared operations snap_delete, snap_revert and cpds
  (disk-saveas) has been updated to react to the .current files

- The kvm/deploy action has been updated to resolve links in source file
  attributes. This is needed so the <backingStore> of the libvirt domain
  does not contain the sysmlinks that changes on the revert/create
  operations.

- The kvm/migrate action also includes a minor modification to resolv
  the VM disk

- Snapshots with more than 1 child (or their relatives) cannot be deleted to not
  break backing chains.

- It has been found that the snap-delete operation in suspend state is
  insecure as the guest caches may not be updated accordingly. The
  operation is now not allowed in this state.

- The associated state has been removed from oned. It needs to be
  removed in CLI/Sunstone and APIs

- The changes are for VM disk-snapshots. A similar update can be made
  for images in the datastore/fs snap_delete action. This operation is
  not implemented in this commit.

Note: Output of xmllint may or may not include new lines when multiple matches
of an xpath expression occurs. Parsing of xmllint output adds additional new lines
to deal with different versions.
2023-07-20 19:04:28 +02:00
vichansson
1606a1c53e
M #-: Corrected object path (#2675) 2023-07-18 14:28:49 +02:00
David
9732628b01
B OpenNebula/one#6129: Add disk on template (#2673)
with basic image attributes
2023-07-18 11:28:16 +02:00
Tino Vázquez
1c356eef52
L #-: Fix for rubocop 1.54.2 2023-07-17 17:41:55 +02:00
Daniel Clavijo Coca
2a49542539
M #-: Document OCA Service client (#2669) 2023-07-12 19:42:03 +02:00
vichansson
f4cb72f24b
F OpenNebula/one#6146: Conditionally render backup (#2668) 2023-07-12 18:53:16 +02:00
Jorge Miguel Lobo Escalona
057cfd07a5
L #~: lint-fix missing proptypes (#2667) 2023-07-12 18:15:28 +02:00
David
a131bbfa93
F OpenNebula/one#6136: Unit size on images and templates (#2666) 2023-07-12 18:01:19 +02:00
Tino Vázquez
f0756c0b4d
L #-: Adjust linting for rubocop 1.54.1
(cherry picked from commit 93af7585376b10c7951cbb96d05de0c903a5ee41)
2023-07-12 11:57:20 +02:00
Jorge Miguel Lobo Escalona
b06bd9a5ff
F #6123: Add VDC tab to FireEdge Sunstone (#2661)
Co-authored-by: Frederick Borges <fborges@opennebula.io>
2023-07-12 11:22:28 +02:00
Neal
201d388601
F OpenNebula/one#6367: Add FORMAT to the ALLOW_ORPHANS values (#2664)
in oned.conf comments
2023-07-10 19:37:31 +02:00
Daniel Clavijo Coca
7b951d3cc5
F OpenNebula/one#6242: Add bash symbols note to CLI help (#2662) 2023-07-10 13:29:13 +02:00
vichansson
76653e2142
F OpenNebula/one#5637: Stepper configurable by prev. choices (#2663) 2023-07-10 10:36:49 +02:00
Tino Vázquez
00e5419209
M #-: Enable live snapshots for qemu 2023-07-07 13:18:47 +02:00
Daniel Clavijo Coca
1804583ece
F OpenNebula/one#6242: Allow templates via STDIN on CLI (#2660) 2023-07-07 10:21:38 +02:00
Ruben S. Montero
6bbfbb03e4
F #6063: Backup Jobs for OpenNebula
Includes the following changes:
- xml-schema for Backup Job and Scheduled Actions
- GO, Java api
- Deprecate onevm update-chart, delete-chart
    * The commands are replaced by sched-update and sched-delete
    * Refactor method deprecate_command, it's still possible to run the
    command
    * Delete 'shutdown' and 'delete' commands deprecated years ago
    * Fix --verbose option for sched-update and sched-delete
- Re-implementation of scheduled actions, now are managed and executed
  by oned
- Backup Job objects, API, and CLI commands
2023-07-03 18:15:52 +02:00
Daniel Clavijo Coca
90585e42cf
F OpenNebula/one#6258: Fix Turnkey defaults (#2658) 2023-07-03 16:40:36 +02:00
Daniel Clavijo Coca
9465673c4e
F OpenNebula/one#6257: Enable sshd in opensuse (#2657) 2023-07-03 16:19:29 +02:00
Pavel Czerný
bf36ccf30d
F #6111: Add VCPU to VM short xml (#2655)
(cherry picked from commit 78c584661c8c121a6dc0fdef50e14c3dc7b1a207)
2023-06-29 09:59:47 +02:00
Pavel Czerný
ffc0f8ecb1
F OpenNebula/one#6006: Fix typo in oneprovision (#2653)
(cherry picked from commit 7e69e4e047f84533d3e5f7a7c17f435567bff787)
2023-06-28 17:41:46 +02:00
Daniel Clavijo Coca
a2db634569
F OpenNebula/one#6006: Add CLI yamls for listing commands (#2643)
(cherry picked from commit 1a98b9b4090f18d1046d4b76214c219144230eea)
2023-06-28 17:40:35 +02:00
Ruben S. Montero
ee4d01575e
M #⨪: Do not abort install gems if unkown platform
This helps for non supported distributions that may install build
dependencies manually
2023-06-28 12:27:50 +02:00
Pavel Czerný
e824dd6fe4
F #6239: Fix VM operation permissons (#2652)
* Fixed disk-attach, nic-de(attach), nic-update, sg-de(attach)
* sg-detach - simplified code, the nic and sg was tested twice, once in the request, second time in dm->detach_sg
2023-06-28 12:26:05 +02:00
Daniel Clavijo Coca
378ffcd47a
B OpenNebula/one#6246: Autocorrect only deprecated methods (#2654) 2023-06-27 18:16:02 +02:00
vichansson
d1c32620ab
B #6241: Modified fireedge service file (#2651) 2023-06-26 18:05:48 +02:00
Tino Vázquez
d6bbf71b33
L #-: Linting for rubocop 1.53.0 2023-06-26 12:14:44 +02:00
Joseba Martos
5a0d06280b
B #6172: Enabled manpages creation for onegate (#2649) 2023-06-23 15:38:07 +02:00
David
f3876725bc
B #6213: Filter datastores when exporting app (#2646) 2023-06-22 15:51:34 +02:00
Daniel Clavijo Coca
0cf2ae9725
OpenNebula/one#6245: Include HostSyncManager as a gem dependency (#2647)
(cherry picked from commit 44c71d9074c7e673f119fda2c5fb006def7e20d7)
2023-06-22 12:44:39 +02:00
Pavel Czerný
e398a9201a
F #6239: Fix sg-attach (#2645) 2023-06-21 16:16:05 +02:00
Pavel Czerný
167e25077a
F #6239: Update VMAction permissions (#2642)
* Add Sched actions and sg (de)attach to VM_*_OPERATION
* Add Backup cancel action
* For consistency add poweroff migrate, alias (de)attach and nic update to set_auth_ops
2023-06-21 09:40:03 +02:00
Pavel Czerný
868828464c
M #-: Fix return code if sched-action add fails (#2641) 2023-06-21 09:33:35 +02:00
Daniel Clavijo Coca
e3f1f4b260
F OpenNebula/one#5906: log command output when failure (#2640)
(cherry picked from commit f8f736b082dc14a8b74a9f906b00c6476a63b660)
2023-06-20 13:36:36 +02:00
Bruno Rodriguez
99d6d46913
B #4045: Add pci root ports config on q35 vms
Signed-off-by: Bruno Rodriguez <brodriguez@opennebula.io>
(cherry picked from commit c7e15fc143eafd0e7b595f5d2d2eea64bb080ea7)
2023-06-19 12:59:55 +02:00
Bruno Rodriguez
3ec4474061
B #4045: Add q35 root ports amount configuration
Signed-off-by: Bruno Rodriguez <brodriguez@opennebula.io>
(cherry picked from commit 413c362d69826dcf430cd379a9ab7a833717c9b4)
2023-06-19 12:45:14 +02:00
Anton Todorov
93abf23883
M #-: onedb change-live --append with multiindex
do not update the matching elements on append

(cherry picked from commit d266248a49edc392413fe643a57da85bd501e16b)
2023-06-15 12:04:37 +02:00
Tino Vázquez
de7d5c88f5
L #-: Change return for next within a loop
(cherry picked from commit 60b1cd861f75ef45be86e048f8999f3a42522b6e)
2023-06-15 11:21:24 +02:00
Daniel Clavijo Coca
86d7bb8f5a
F OpenNebula/one#6231: Delete single VM history record
(cherry picked from commit 95cbd9f8f78088d5de64469aaea3b411b4816757)
2023-06-15 11:21:13 +02:00
Daniel Clavijo Coca
3f98b633da
M #: Lint
(cherry picked from commit 48c186d64a9363bccea7e90d7f64b6130cbbb435)
2023-06-15 11:21:05 +02:00
vichansson
65dd6ec161
B #6214: Linted files (follow-up to PR #2635) (#2637) 2023-06-13 18:24:18 +02:00