1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-03 01:17:41 +03:00
Commit Graph

148 Commits

Author SHA1 Message Date
Pavel Czerný
5788a2528e
B #6372: Add lock to raft hook script (#2899)
* This should fix issues in HA environment, where we sometimes get duplicit virtual IPs
2024-02-06 11:18:35 +01: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
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
3376afdaf0
M #-: Bump year 2023 2023-01-09 12:23:19 +01:00
Christian González
cc6d44d773
M #: Add 'always' option for autostar host hook (#2303)
(cherry picked from commit 0b7e8fd5b9)
2022-10-17 21:19:19 +02:00
Ruben S. Montero
4b746348b3
f #5725: State for Virtual Networks
* VNETs include state to flag their configuration status
  (READY/ERROR/LOCK)
* Hooks can be program based on VNET state transitions
* Include Java/Go/Ruby bindings
* New vCenter network drivers
* Place-holder to customize actions (create/delete) for other netowrk drivers
* Sunstone integration
* OneFlow syncs flow creation on VNET status
* Remove deprecated vcenter hooks and autoregistration

co-authored-by: Frederick Ernesto Borges Noronha <fborges@opennebula.io>
co-authored-by: Alejandro Huertas <ahuertas@opennebula.io>
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2022-04-09 15:20:17 +02:00
Tino Vazquez
f7d53e75ff M #-: Bump version 6.3.85 2022-04-07 19:49:58 +02:00
Carlos J. Herrera
f9123adc9c
B #5545: vCenter VNETs with dpg does not set clusters correctly (#1680)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2022-01-11 14:48:48 +01:00
Carlos J. Herrera
847ea6d949
F #~: add execution permissions (#1505) 2021-10-04 10:40:37 +02:00
Carlos J. Herrera
437da65842
F #5461: Use bridge to identify vCenter network (#1476)
relevant when managing networks through OneFlow
2021-09-23 16:21:32 +02:00
Ricardo Diaz
d66f4aa523
M #-: Update Ruby gems setup in autostart scripts (#1370)
* Added donwcase when checking AUTOSTART attribute.
* Create autostart hook install links

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-22 16:29:26 +02:00
Ricardo Diaz
a17a2dba4a
L #-: Autostart hook linting (#1351) 2021-07-13 17:57:14 +02:00
Ricardo Diaz
72e3b47efd
M #~: VM autostart with hooks (#1131)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2021-07-02 10:22:33 +02:00
Juan Antonio Escobar
d245875ca0
B #5312: fixed bug when importing a vCenter net (#1240) 2021-05-21 13:00:27 +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
Vlastimil Holer
0457a46045
M #-: Avoid reloading of OpenNebula distributed Ruby gems (#829) 2021-02-17 19:52:38 +01:00
Vlastimil Holer
096754b63f
M #-: Bump year to 2021 (#778) 2021-02-09 16:07:56 +01:00
Carlos J. Herrera
2a91fe239f
L #~: linting vcenter driver (#667)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2021-01-18 23:28:42 +01:00
Carlos J. Herrera
0c01395b46
L #~: Linting vcenter driver (#600)
Co-authored-by: Tino Vázquez <cvazquez@opennebula.io>
2021-01-14 12:42:48 +01:00
Jan Orel
c4c6cc9998
EC2 ipamm driver, update alias_sdnat (#408)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
2020-11-17 09:40:24 +01:00
Ricardo Diaz
42edaeb838
B #5101: host_error hook take arguments from stdin (#235)
Co-authored-by: Ruben S. Montero <rsmontero@opennebula.org>
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
2020-09-23 11:57:25 +02:00
Carlos J. Herrera
3f973e5a44
L #~: Refactor vcenter driver (#110)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
2020-07-30 19:27:23 +02:00
Vlastimil Holer
7872274c9b
B #4929: Preserve site_ruby in paths, use realpath (#33) 2020-06-22 15:18:57 +02:00
Pavel Czerny
7705d669a7
F #3859: Monitord HA 2020-05-25 10:49:50 +02:00
Petr Ospalý
365d1955ff
F #865: Add oneshowback compute timer
Signed-off-by: Petr Ospalý <pospaly@opennebula.io>
2020-05-22 03:00:32 +02:00
Angel Luis Moya Gonzalez
783ec5c1bd
F #4302: Fix bad type in unless check (#4788)
Co-authored-by: mouyaq <amoya@opennebula.io>
2020-05-21 17:28:44 +02:00
Vlastimil Holer
4c77119fce
M #-: Restrict sudo ip usage (#4689)
Co-authored-by: Jan Orel <jorel@opennebula.systems>
2020-05-11 19:03:23 +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
Vlastimil Holer
424ab046b7
M #-: Use non-interactive sudo, fix arping path on Debians (#4555)
* M #-: Force all sudo usage as non-interactive
* M #-: Fix sudoers arping path on Debian-like systems
2020-04-17 19:26:31 +02:00
Angel Luis Moya Gonzalez
f965b03163
F #4119: Fix vntemplate instantiate on vCenter (#4465) 2020-04-01 16:12:05 +02:00
Angel Luis Moya Gonzalez
0a7b1be152 M #-: Added exceptions and exit codes (#3891) 2019-10-31 11:33:36 +01:00
Angel Luis Moya Gonzalez
2bfda02621 F #3440: Added more input options and errors (#3887)
Added code to treat inputs in the creation network form
Puts errors on network creations in hook STDERR and in
VCENTER_NET_ERROR attribute.
2019-10-29 18:21:34 +01:00
Angel Luis Moya Gonzalez
2fade66f92 M #-: Modify hook exits (#3828)
- Remove rescue SystemExit
- Apply unlock before each exit
- Changes on some comments and debug lines
2019-10-10 16:15:19 +02:00
Angel Luis Moya Gonzalez
5a24b20544 M #-: Hooks unlocks (#3827)
* M #-: Fix error on variable rc creation

* M #-: Changes on creation network vcenter hook
2019-10-10 14:37:15 +02:00
Angel Luis Moya Gonzalez
0accfb2c6d F #3440: Fix bug creating NSX networks (#3821)
* F #3440: Fix bug creating NSX networks

Fix bug when creating NSX network without
transport zone. Added more checks and
exceptions to manage them.

* F #3440: Added backtrace to error message
2019-10-08 10:40:24 +02:00
Angel Luis Moya Gonzalez
19b255e0e3 F #3440: Improve NSX import process (#3796)
* M #-: Fix errors on commit 7b8438dd4

Change condition
Change definition function order

* F #3440: NSX parameters at import time

These attributes are added when importing a NSX network
NSX_ID
NSX_VNI
NSX_TZ_ID

Also now there is a different VCENTER_PORTGROUP_TYPE for
distributed port groups and NSX-V portgroups
2019-10-03 13:58:40 +02:00
Alejandro Huertas Herrero
308d203f48 F #3380: fix minor bugs (#3757)
* Fix bug in cli helper base64? funcion
* Change the way to read host idi in host_error script
* Change onehook log help message format
2019-09-24 09:44:06 +02:00
Angel Luis Moya Gonzalez
4f13059c21 F #3440: Added route /nsx/auth (#3761)
* F #3440: Get token NSX-V and NSX-T

* F #3440: Added route nsx/auth

Route to acquire a valid NSX token.
Changes on nsx_client constructor have been required
Changes on constructor calls
Returns 200 and token if success
Returns 400 and error message if not success

* F #3440: Change NSXClient constructor call
2019-09-23 17:58:08 +02:00
Tino Vazquez
7b8438dd4a
L #-: Linting vCenter create net hook 2019-09-20 15:05:45 +02:00
Angel Luis Moya Gonzalez
d0498534d8 F #3380: Change vnet locks (#3748) 2019-09-20 12:34:19 +02:00
Angel Luis Moya Gonzalez
28f07966cf F #3380: Add auto-register vcenter hooks (#3735)
vCenter hooks located at:

 <ONE_LOCATION>/remotes/hooks/vcenter/templates

are registered automatically when import a vcenter cluster
with the command "onevcenter"
2019-09-19 15:36:19 +02:00
Alejandro Huertas Herrero
5f660a2c6b F #3380: adapt DDC to new hook system (#3727) 2019-09-19 11:28:36 +02:00
Angel Luis Moya Gonzalez
d45bd83b7c F #3380: Changes hook parameters (#3721)
Change the way of get parameters due to new hooks system
2019-09-17 17:22:00 +02:00
Alejandro Huertas Herrero
c9b609cc40 F #3064: adapt DDC to new secrets handling (#3716) 2019-09-17 15:29:01 +02:00
Ruben S. Montero
6143dd95ce
F #3380: New Hook system. Drivers, oned and command line tool
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-09-09 14:47:42 +02:00
Vlastimil Holer
d9ee08235b F #3042: Respect GEMS_LOCATION, use STDIN for data (#3639) 2019-09-03 14:09:24 +02:00
Alejandro Huertas
6796f5093d
F #3042: Packet public networking
* code linting
    * add new files into install.sh
    * decrypt secrets in ipam/hook
    * fix use of <<~EOF

(cherry picked from commit f9e469b10f)
2019-08-30 17:30:34 +02:00
Alejandro Huertas
1a56d89890
F #3042: Packet Public Networking
* Add alias ip hook
    * Add packet ipam scripts
    * Make some changes in packethost Ruby gem
    * Make some changes in Packet vmm driver

(cherry picked from commit c87025d314)
2019-08-30 17:29:24 +02:00
Vlastimil Holer
787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00