Commit Graph
237 Commits
Author SHA1 Message Date
Alejandro Huertas Herrero 0174dc3930 B #5533: check VM state in SSH command (#1445) 2021-09-09 13:57:48 +02:00
Alejandro Huertas Herrero 195324a68e B #5508: add onevm SSH safer execution (#1446) 2021-09-09 13:51:37 +02:00
Pavel Czerný b80ee243c0 F #5482: Append flag for onevm updateconf (#1395) 2021-08-09 11:00:58 +02:00
Ruben S. MonteroandPavel Czerný 3f171f3b5b F #5289: New api for sched actions
SchedActions are now a complete managed type. It is in in /TEMPLATE and
not /USER_TEMPLATE and includes dedicated API Calls to manage the
entries:

- one.vm.schedadd (add new sched_action)
- one.vm.schedupdate (update an exiting sched_action)
- one.vm.scheddelete (delete an action)

The scheduler now use this API. This will prevent race conditions
between update operations from different processes.

co-authored-by: Pavel Czerný <pczerny@opennebula.systems>
2021-06-15 08:22:26 +00:00
Alejandro Huertas Herrero 3b0c72d7ad L #-: lint some files (#1251) 2021-05-27 10:20:27 +02:00
Alejandro Huertas Herrero 4293059b45 L #-: lint some files (#1220) 2021-05-25 17:00:37 +02:00
Alejandro Huertas Herrero 014d125241 M #-: add SSH options to onevm ssh (#1239) 2021-05-21 12:19:36 +02:00
Ricardo Diaz 24ca6db51c M #-: onevm ssh returns exitstatus (#1238)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-05-20 16:01:23 +02:00
Vlastimil Holer c649213923 B #5379: Disable warnings on load of rubygems (#1199)
(cherry picked from commit 5fe824f1e7)
2021-05-11 09:24:32 +02:00
Alejandro Huertas Herrero c1770856f9 M #-: fix minor bug in VM CLI charters (#1182) 2021-05-05 10:52:41 +02:00
Alejandro Huertas Herrero 3cd833a43a F #5364: add list options to (un)lock CLI cmds (#1173) 2021-05-04 10:45:01 +02:00
f1a48bdc0d F #5270, #5272: Support for Google Compute and DigitalOcean
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Juan Antonio <jescobar@opennebula.io>
co-authored-by: Sergio Betanzos <sbetanzos@opennebula.io>
2021-05-01 21:53:09 +02:00
Alejandro Huertas Herrero b1ddfa9d71 B #5349: fix some bugs in onevm backup (#1167) 2021-04-29 18:21:42 +02:00
Alejandro Huertas Herrero 6cbeba7538 M #-: fix minor bug in onevm save (#881) 2021-02-25 12:26:13 +01:00
Alejandro Huertas Herrero 58ba0bcb68 M #-: fix minor bug in onevm save (#880) 2021-02-25 11:59:27 +01:00
Vlastimil Holer 0457a46045 M #-: Avoid reloading of OpenNebula distributed Ruby gems (#829) 2021-02-17 19:52:38 +01:00
Alejandro Huertas Herrero ba8efa45e1 F #1428: improve logger format (#826) 2021-02-17 13:11:35 +01:00
e8e0196aad F #1428: Introduce backup/restore VMs
- New onevm backup/restore commands
  - Restructure of save_as and mp_import code
  - Generic event-based state sync functions

co-authored-by: Jan Orel <jorel@opennebula.systems>
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2021-02-16 17:24:34 +01:00
Pavel Czerný a04648c13f M #-: Update updateconf description (#804) 2021-02-16 10:00:16 +01:00
Pavel Czerný 05e6d4472a F #1226: Support for KVM iothreads (#783) 2021-02-11 15:33:09 +01:00
Frederick Borges d6548b6280 M #~: Fix usage text onevm lock (#792)
Signed-off-by: Frederick Borges <fborges@opennebula.io>
2021-02-10 14:05:31 +01:00
Vlastimil Holer 096754b63f M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Ruben S. MonteroandAlejandro Huertas fb8eb1aaed F #664: Add service and VM templates to martketplace
- Support VM Templates as standalone entity
    - VM Templates can reference multiple Images from Marketplace
    - Service templates reference one or more VM Templates from
      Marketplace to define roles
    - Add CLI commands to import them into marketplace
    - Add Ruby OCA extensions

co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
2020-09-25 10:15:19 +02:00
Alejandro Huertas Herrero 4afb89c18c B #4982: return error in case info fails (#100) 2020-07-17 12:12:47 +02:00
Alejandro Huertas Herrero 472ee2bccf F #4950: add JSON and YAML outputs (#63) 2020-07-14 17:42:30 +02:00
Vlastimil Holer 7872274c9b B #4929: Preserve site_ruby in paths, use realpath (#33) 2020-06-22 15:18:57 +02:00
Alejandro Huertas f84f7522a8 F OpenNebula/one#4552: VM Charters CLI support 2020-06-16 18:04:18 +02:00
Vlastimil Holer f3c50a5d89 M #-: Year bump to 2020 (#4634) 2020-04-30 15:00:02 +02:00
Vlastimil Holer d064ee6db3 B #4304: Distribution gems affects OpenNebula (#4578)
Remove vendor_ruby and site_ruby directories from $LOAD_PATH, so
that distribution gems installed directly into loadable path
without need to use rubygems are not loaded by require.
2020-04-22 10:21:08 +02:00
Jan Orel 1452f59f5c M #~: Fix typo (#4462) 2020-04-01 11:25:42 +02:00
Ruben S. MonteroandAlejandro Huertas Herrero ce388212f5 F #2340: Add support for sched disk snapshots
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
2020-04-01 10:43:21 +02:00
Alejandro Huertas Herrero 7702c66cee F #3064: add decrypt option into CLI (#3699) 2019-09-16 22:37:05 +02:00
Pavel Czerný 258196c165 F #3298: Allow resched in poweroff state (#3681) 2019-09-13 09:38:55 +02:00
Vlastimil Holer 787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00
Jan Orel a551326e77 B #3496: Validate disk-snapshot id (#3579) 2019-08-12 15:49:39 +02:00
Tino Vazquez 26ed3d5570 L #-: Fix extra space after initial block def
In accordance to new default rules in rubocop 0.71.0
2019-06-03 13:36:24 +02:00
Ruben S. MonteroandAlejandro Huertas 2ed170be68 F #3076: create one.vmpool.infoextended
* Add new function dump_extended
    * Add new API call one.vmpool.infoextended (ruby, JAVA, golang)
    * Add parameter --extended in the CLI for onevm

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-03-29 12:43:59 +01:00
Tino Vazquez 5e4933798d [Lintin] src/cli/onevm 2019-02-04 10:37:01 +01:00
Tino Vazquez 2b2b253f7c Revert "Lintin oneprovisoin and onevm CLI"
This reverts commit 59a346f601.
2019-02-04 10:33:45 +01:00
Christian González b2aab50f95 F #2671 Fix version bug and migrator for search option (#2869) 2019-01-31 17:09:47 +01:00
Christian González 723391e918 Fix linting ofenses of onevm command 2019-01-30 12:43:17 +01:00
Ruben S. MonteroandChristian González 5f7fb402aa F #2671: Add oned search functionality. Add an index column to perform FTS searches server-side. New parameter has been added to the one.vmpool.info call, and --search option to CLI onevm list. This commits adds support for JAVA and migrator.
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-01-30 00:10:18 +01:00
Tino Vazquez a1a6e3c80e Fix line length over 80 in onevm command 2019-01-24 19:32:13 +01:00
Tino Vazquez c98177de8b Merge branch 'master' into feature-2816 2019-01-23 18:44:35 +01:00
Alejandro Huertas Herrero ffdbf0bab1 B #2820: Fix CPU_MODEL can't be changed. (#2822) 2019-01-21 12:46:31 +01:00
Tino Vazquez 59a346f601 Lintin oneprovisoin and onevm CLI 2019-01-17 18:53:16 +01:00
Vlastimil Holer 441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Ruben S. MonteroandAlejandro Huertas ab1a05b69b F #911: IP(v6) alias(es) support
* Modify VM context generation.
   * Modify attach/detach nic functionality.
   * Modify CLI nic-attach, so an alias can be attached.

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2018-12-04 14:41:55 +01:00
Ruben S. MonteroandChristian González b89642aaab F #2138: Add options to migrate through a power-off life-cycle
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-12-04 12:00:13 +01:00
Tino Vazquez 7bd6a8d2fb Adjust alignment for new rubocop version 2018-11-23 22:09:36 +01:00