Commit Graph
1939 Commits
Author SHA1 Message Date
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
Pavel Czerný bf36ccf30d F #6111: Add VCPU to VM short xml (#2655)
(cherry picked from commit 78c584661c)
2023-06-29 09:59:47 +02:00
Daniel Clavijo Coca a2db634569 F OpenNebula/one#6006: Add CLI yamls for listing commands (#2643)
(cherry picked from commit 1a98b9b409)
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
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
Daniel Clavijo Coca 0cf2ae9725 OpenNebula/one#6245: Include HostSyncManager as a gem dependency (#2647)
(cherry picked from commit 44c71d9074)
2023-06-22 12:44:39 +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
Tino Vázquez d4da67eae1 L #-: Linting rubocop 1.52.0 2023-06-07 11:08:23 +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
Neal 20c70e4985 F #6099: Implement non-shared vm skipping for ft/host_error.rb (#2583) 2023-04-21 10:45:52 +02:00
Tino Vázquez 54c74a3d6d L #-: Disable RedundantLineContinuation cop 2023-04-04 14:26:07 +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 52156312fc B #6162: Use stdin for datastore drivers
New option for datastore driver (--stdin) that sends driver information
    through stdin. Driver actions will read stdin if the first argument is
    '-'. This change is compatible with drivers that read input from argument command
    line. By default the driver will work using the command line arguments.

    Monitor scripts part of the transfer manager are also updated

    File oned.conf is changed to use stdin by default

(cherry picked from commit 8c12a8dbcd)
(cherry picked from commit aa1e6b4196)
2023-03-27 19:24:53 +02:00
Jan Orel 16fcc1ef94 B #-: Add missing rbd-nbd on ceph client (lxc) (#2556) 2023-03-16 10:43:18 +01:00
Jan Orel 33af6695ce M #-: Improve conf_branch_protect (#2549) 2023-03-09 10:29:50 +01:00
Jan Orel f89696410d F #6150: Upgrade Ubuntu Focal to Jammy in provision (#2536) 2023-03-08 15:58:45 +01:00
Tino Vázquez 4ba8847da1 F #6127: Remove headers from all conf files (#2517) 2023-02-22 16:03:37 +01:00
Jan Orel 7ae44ec4ca M #-: Define ansible version in provision yaml (#2513) 2023-02-21 17:11:57 +01:00
Jan Orel e79120f828 F #6116: Bump Ceph to Quincy in oneprovison (#2508)
* Bump Ceph to Quincy in oneprovison
* Ceph provision: bluefs_buffered_io = false
2023-02-17 09:50:26 +01:00
Pavel Czerný 03add6d9ac F #6103: CppCheck version 2.10 - solved issues (#2492)
* Update smoke test checkout action

(cherry picked from commit 466d336d7e)
2023-02-14 09:51:04 +01:00
Tino Vázquez 4fe742b863 L #-: Linting for new rubocop version 2023-02-10 11:12:19 +01:00
Tino Vázquez fae34eee26 L #-: Change percentage for brackets
in ruby word array definitions

(cherry picked from commit 27a97b4ea6)
(cherry picked from commit f0d462649d)
2023-02-07 13:28:47 +01:00
Tino Vázquez 26c76a7307 L #-: Enforce brackets for ruby word arrays
(cherry picked from commit cbcf309979)
2023-02-07 12:57:56 +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
Jan Orel 5318bb8a6f B #-: Use new repo2.key in oneprovision (#2480) 2023-02-03 13:19:25 +01:00
Pavel Czerný 6ee3a5ef5b F #6103: More CppCheck issues solved (#2477)
(cherry picked from commit 3fd059c543)
2023-02-02 12:54:45 +01:00
Pavel Czerný a5c57b69b3 M #-: Add CppCheck to smoke tests (#2464) 2023-01-31 13:46:09 +01:00
Ruben S. Montero 3c9bfecbd1 Revert "B #5909: Add /usr/sbin/ipset to sudoers (#2466)"
This reverts commit 8a0d892f39.
2023-01-30 13:49:59 +01:00
Jan Orel 8a0d892f39 B #5909: Add /usr/sbin/ipset to sudoers (#2466)
(cherry picked from commit f96338c0c8)
(cherry picked from commit 1cc6332536)
2023-01-30 11:43:28 +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
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
Tino Vázquez 3376afdaf0 M #-: Bump year 2023 2023-01-09 12:23:19 +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 2022-12-21 10:34:25 +01:00
Tino Vázquez df44921a19 L #-: Minor linting change 2022-12-20 19:11:46 +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)
2022-12-15 15:18:56 +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
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
Jorge Miguel Lobo Escalona 8e9f48d44d B #5939: Add PLAIN/provision_type in oneprovision (#2414) 2022-12-12 11:02:48 +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
Jorge Miguel Lobo Escalona c77f6f7f2d B #5939: Fix onprem.yml (#2410)
(cherry picked from commit 407fcf7d9a)
2022-12-07 10:37:30 +01:00
Jan OrelandPavel Czerný a7fd43d9f5 B #5676: Create LDAP user without password (#2399)
* Create LDAP user without password
* Update oneuser CLI tool
* Update opennebula_configuration.xsd

Co-authored-by: Pavel Czerný <pczerny@opennebula.io>
2022-12-07 10:03:15 +01:00
Jan Orel e037e6c3c7 M #-: Refresh gemfile lock (#2397) 2022-12-05 16:17:44 +01:00