1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-18 06:03:39 +03:00

20401 Commits

Author SHA1 Message Date
Jan Orel
420cd10c50
B #6207: tm_mad ceph: fix delete, ln, flatt. trash (#2607)
When cloned rbd is moved to the CEPH_TRASH, the
clone snapshot (@snap) could not be deleted which
can lead to data loss when switching the image to
persistent and back. Flattening rbd before moving
to trash should fix it.
2023-05-17 11:36:47 +02:00
Tino Vázquez
b0db9f9832 L #-: Conform with new cops rubocop 1.51.0 2023-05-16 22:33:49 +02:00
Tino Vázquez
86fe2c260e L #-: Update ruby to support new rubocop versions 2023-05-16 19:48:37 +02:00
Jorge Miguel Lobo Escalona
5aa4b25902
F #5755: Implement overcommitment in FSunstone host tab (#2606) 2023-05-16 19:41:46 +02:00
Victor Palma
15c4626313
F #5591: Add CLI support for custom role attrs (#2579)
(cherry picked from commit 6b11d98f3f3b0df8d686737a9c5a006052500b5b)
2023-05-12 13:52:01 +02:00
Victor Palma
33420561f7
F #5591: Add API support for custom role attrs (#2578)
(cherry picked from commit 7a9a6f87b61b6f8a212ee7b87f846f69002210b5)
2023-05-12 13:52:01 +02:00
Jan Orel
8b7d7029db
B #-: Fix output parsing of new qemu-img (#2605)
Although `qemu-io -c length $img` would be
better we would need to recalc back to bytes.
2023-05-12 13:50:36 +02:00
Daniel Clavijo Coca
a7357a0040
B OpenNebula/one#6190: Fix apps (#2602) 2023-05-10 19:01:25 +02:00
Jan Orel
7090682691
M #-: Fix ansible version error message (#2595) 2023-05-10 16:38:41 +02:00
Daniel Clavijo Coca
fafc1e0a94
B OpenNebula/one#6173: Include missing actions in firecracker driver 2023-05-10 16:24:31 +02:00
Ruben S. Montero
3bd9a53bde
B #6206: minor cleanning for code
(cherry picked from commit 0ae5ed85c45b18eb68dedd62d6183c0aeabc1d9d)
2023-05-10 11:58:54 +02:00
Ruben S. Montero
7471016edb
B #6206: Recreate bitmaps during cleanup in backup reset
Libvirt does not recreate bitmaps present in qcow2 disk images. This
prevents the proper cleaning of bitmaps during a poweron cycle. This
patch redefines all backups not present in libvirt so they are cleaned
2023-05-10 11:40:50 +02:00
Pavel Czerný
b3a5c462e4
B #6195: Fix fsck for backup images (#2599)
(cherry picked from commit 40fbf4bdc964fb2441bc9e2f4c541c022eb3ad21)
2023-05-05 12:00:16 +02:00
Jorge Miguel Lobo Escalona
ddecc5d8d9 M #~: fix login in FireEdge (#2598)
(cherry picked from commit f3df091782692a63a7bcb58aa5c1196a801f3830)
2023-05-05 10:44:05 +02:00
Jorge Miguel Lobo Escalona
b92e0f5837 F #6091: Reordering the schedule actions creation mode (#2596)
(cherry picked from commit c5b79289aff094c44f1d7d04a321710997dfa9cf)
2023-05-05 10:43:58 +02:00
Ruben S. Montero
78910010d3
B #6200 #6219: Improve qemu locks
* Fix bug with empty bitmaps that may occur on power-off / incremental
  on the first backup
* Add -U (force-share) option to convert operations to prevent locking
  the disk files
* Add a 1s sleep to wait for FS to release resources after nbd server is
  stopped

(cherry picked from commit 31dadefc5b9f55e4cf62d4bbcd17a91d74250c66)
2023-05-05 09:59:46 +02:00
Michal Opala
5d598803c2
B #6187: Make restored images have correct PATH (#2597) 2023-05-04 16:07:21 +02:00
Frederick Borges
7f1efa5d18
B #6187: Fix backup restore increment ID (#2594) 2023-04-28 10:30:57 +02:00
Pavel Czerný
502200a665
B #6156: Fix IP6_END value (#2593)
(cherry picked from commit b767391a13cf53de781413599327ae69f1acac1b)
2023-04-27 17:45:20 +02:00
Frederick Borges
d9f94fa9b2
F #6098: Expose qcow2 standalone attribute (#2592) 2023-04-25 14:36:30 +02:00
Jan Orel
a5f15920f6
B #6140: Fix disk_type and source for block CD (#2591) 2023-04-25 12:34:53 +02:00
Michal Opala
30eb656e09
F #6030: Make backup operation auto-cleanup rsync process (#2590) 2023-04-25 12:29:59 +02:00
Ruben S. Montero
ac6a3fb84a
L #-: Fix cpp check warning
(cherry picked from commit b84f68fc4b3a4acd5b16534b1f741d59d55a1cf6)
2023-04-25 12:04:07 +02:00
Jan Orel
8f1d95040c
F #6098 Introduce QCOW2_STANDALONE (#2582)
* Datastores (fs/shared) can set QCOW2_STANDALONE to create disk images without backing files. This will increase clone times but will not have any dependencies.
2023-04-25 09:58:01 +02:00
Ruben S. Montero
45f28e15d3
F #6185: Support huge pages without CPU pinning
VM topology can be defined:

- To use a NUMA node and huge pages. Example:
    TOPOLOGY = [ NODE_AFFINITY = 0, HUGEPAGE_SIZE = 2 ]

- To use huge pages without specifying the NUMA node. Example:
    TOPOLOGY = [ HUGEPAGE_SIZE = 2 ]

In any case OpenNebula will:

- look (or check) for a NUMA node with enough free huge pages
- will pick the NUMA node with more free pages (if no NUMA node is specified)
- configure the VM with CPU affinity to the selected NUMA node

(cherry picked from commit 1b3b88ed4e4087b20a2925fbe42ad362aaee3fcd)
2023-04-24 20:45:45 +02:00
Ruben S. Montero
53b9611219
F #5966: Support for huge pages for NUMA affinity 2023-04-24 17:52:15 +02:00
Jorge Miguel Lobo Escalona
cfa2f6801c
M #-: Refactor tokens FireEdge (#2589)
(cherry picked from commit 7e5d1d9f1439a32616721c0bb64ae714ca494d73)
2023-04-24 13:22:57 +02:00
Ruben S. Montero
b0c7c4a88d
F #5966: NUMA affinity
- Adds memory pinning to the NUMA node when using NODE_AFFINITY

(cherry picked from commit b72b1cb30d9937181ccf535718c3a922ff70e909)
2023-04-24 12:57:28 +02:00
Jan Orel
b81363a114
M #-: Update spice-html5 git url (#2587) 2023-04-23 13:45:46 +02:00
Ruben S. Montero
4efa25c3e5
F #5966: NUMA affinity
* NODE_AFFINITY can be used to pin a VM to all the CPUs of a NUMA node.
  The attribute is part of the TOPOLOGY definition.

* A default virtual topology is defined when no other is set. This
  allows to set only the affinity:

     TOPOLOGY = [ NODE_AFFINITY = 1 ]

* NODE_AFFINITY can only be set for not-pinned VMs to not conflict with
  core allocations for pin VMs. VMs with NODE_AFFINITY set will be
  allocated to regular hosts (i.e. PIN_POLICY = NONE)

(cherry picked from commit fc15d6ebc97b59ce1745c8d2ad081584ae7b19ae)
2023-04-23 00:01:11 +02:00
Frederick Borges
03257177ca
F OpenNebula/one#6183: hide network automatic selection (#2585) 2023-04-21 14:57:54 +02:00
Frederick Borges
d03ae2976e
F OpenNebula/one#6183: hide network automatic selection (#2586)
(cherry picked from commit e401e61c17f2352b6df17197464ab91ed040b529)
2023-04-21 14:56:44 +02:00
Neal
20c70e4985
F #6099: Implement non-shared vm skipping for ft/host_error.rb (#2583) 2023-04-21 10:45:52 +02:00
Daniel Clavijo Coca
16035a1145
B OpenNebula/one#6184: Fix LXD market monitoring (#2584) 2023-04-20 18:58:11 +02:00
Ruben S. Montero
bf60b3899b
B #6861: Check termination time for scheduled actions
* ScheduledAction::is_due check termination time
* VM is Make sure VM is updated when EndOn==TIMES

co-author: Michal Opala <mopala@opennebula.io>
(cherry picked from commit 7f2a35b1ba6532a121b67077032ae47743543f53)
2023-04-20 11:35:26 +02:00
Frederick Borges
309fd7df72
F OpenNebula/one#6095: Fix datastore tab issues (#2581)
Co-authored-by: Jorge Lobo <jlobo@opennebula.io>
2023-04-18 19:18:01 +02:00
Lota Bi
387d779c32
M #-: Fix Label button to Update action
Now when you update an action, label is "Edit",
i suggest to change it into "Update"

HTH
Alessandro

(cherry picked from commit bacd1cbf15959010aefa4a9de74ca37bbda766aa)
(cherry picked from commit 38c9f2d1b18b66453e9498559530e4ad7d0dc2ea)
2023-04-17 10:04:07 +02:00
Daniel Clavijo Coca
fad0484c2c
B #3178: Auto-contextualize missing context supported distros on LXD marketplace (#2128)
* Update some linux distro versions
* Centos Stream
* Springdale
* Amazon Linux
* OpenSuse

(cherry picked from commit 9a92ff4e50306b3f204e9ee25f47cf4b892d0bb1)
2023-04-12 12:28:14 +02:00
Frederick Borges
5925f0b54b
B OpenNebula/one#5462: Fix typo (#2577) 2023-04-12 10:29:01 +02:00
Frederick Borges
54080161ba
B OpenNebula/one#5462: Change external text (#2576) 2023-04-12 10:25:31 +02:00
Frederick Borges
877bcdd239
B OpenNebula/one#5462: reintroduce external attribute" (#2575) 2023-04-12 10:17:32 +02:00
Frederick Borges
14fb1347fb
B OpenNebula/one#5659: Change external text (#2574) 2023-04-11 16:20:06 +02:00
Frederick Borges
8aece32c0c
M #~: Add states to recover action (#2573) 2023-04-10 17:58:04 +02:00
Tino Vázquez
54c74a3d6d L #-: Disable RedundantLineContinuation cop 2023-04-04 14:26:07 +02:00
Frederick Borges
9cbf09e122
B #5659: Reintroduce NIC external attribute (#2571)
Even if it is deprecated in OneProvision, it is still needed in the VNF appliance.

 * Re-added to Sunstone
 * More descriptive and specific name and hint
2023-04-04 14:18:43 +02:00
Ruben S. Montero
c8943e8b83
B #6162: Fix marketplace import action 2023-03-30 10:00:08 +02:00
Ruben S. Montero
5a83b45ce1
B #6162: Only stdin supported for datastore driver
Deprecate the use of arguments for passing messages to the datastore
driver actions.
2023-03-29 13:28:13 +02:00
Ruben S. Montero
564695413f
M #-: Add one_datastore.rb and one_market.rb to the linter whitelist 2023-03-29 12:46:18 +02:00
Ruben S. Montero
0f57feff0e
B #6162: Use stdin for datastore drivers in marketplace
The import action in the marketplace requires to execute the export
datastore action. This commits enables to use stdin to for datastore
action with -i options (same as DATASTORE_MAD)

(cherry picked from commit dc91241f055bd3f35ce18266058b25cb6b4e11f0)
2023-03-29 12:45:56 +02:00
Neal
6cb85b47e9
B #-: fixing customizable tar commands (#2570)
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
2023-03-29 11:09:10 +02:00