1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00
Commit Graph

111 Commits

Author SHA1 Message Date
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
Angel Luis Moya Gonzalez
e5e169932f F #3440: Initial NSX driver commit (#3549)
* F #3440: Create and delete NSX networks

This allows to create and delete from command line both
NSX-V netwoks and NSX-T networks.

* F #1256: Allow attach created Opaque Networks

This allows to attach a new created Opaque Network
to a instance.

* F #3440: Allows attach/detach created NSX-V networks

Changes included:
Allow attach and detach nics to a VM from nsx-v networks
created from OpenNebula.
Improve function to retrieve nsx-t network identifier on vc

* M #-: Change Network types as constants

Created new constans into Network class to identify
the different types of networks
Also changed order to detect Network avoiding incorrect
detections due to its parent Classes

* F #3440 #1256: Added NSX info to monitor

Added the following NSX info to host monitor:
NSX_MANAGER: "NSX Manager | NSX-T Manager"
NSX_TYPE: "NSX-V | NSX-T"
NSX_VERSION: "NSX-V or NSX-T version"
NSX_URL: NSX Manager url

* F #3440: Add Transport Zones to monitor host info

If the folowing attributes are correct, the transport
zones are listed into the host monitor information:

NSX_MANAGER
NSX_TYPE
NSX_USER
NSX_PASSWORD

* F #3440: Change NSX parameters to Host object

Some parameters created in first instance in vnet object for
testing purposes, has been changed to its definitive placement,
the Host object.

* F #3440: Added NSX_STATUS

Added NSX_STATUS attribute, checking the following:

- NSX_USER 	(Check if attribute is setted)
- NSX_PASSWORD	(Check if attribute is setted)
- NSX_TYPE	(Check if attribute is setted)
- NSX_MANAGER	(Check if attribute is setted)
- Check a correct connection with NSX Manager

The result is shown in the attribute NSX_STATUS, that
should be NSX_STATUS = "OK" if all is correct.

* F #3440: Refactor and clean

Refactor code into classes and clean.

* F #3440: Clean and rubocop

Set url as base_url + section + parameter
Correction to avoid rubocop warnings

* F #3440: Rubocop fixes

Corrected rubocop warnings

* F #3440: Fix rubocop warnings on hooks

Fixed rubocop warnings on network hooks

* F #3440: Fix rubocop warning on nsx_driver.rb

* F #3440: Forgotten sleep to timeout

Added a forgotten sleep into a timeout secuence.
Added cosmetic changes to minimize code lines.
2019-07-31 18:25:22 +02:00
Tino Vazquez
f5a39f6a15
B #2282: Add meaningful log info
When host fencing isn't configured yet

(cherry picked from commit 6aa5942721777be1dd242c34ae68d5a2bb51c607)
2019-07-18 12:12:29 +02:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Sergio Semedi Barranco
536c22b12f B #2324: vcenter create_net hook checks IMPORTED (#2404) 2018-09-10 11:57:48 +02:00
Sergio Semedi Barranco
052a06d5f7 B #2324 vCenter networks are imported with VCENTER_IMPORTED att (#2381) 2018-09-05 16:49:47 +02:00
juanmont
d0766591f0 F #2192: New MONITOR INTERVALS for fine grain tunning 2018-06-19 16:15:01 +02:00
Sergio Semedi Barranco
8e7911c399 vCenter create net hook fixed (#2129) 2018-05-28 15:24:14 +02:00
Vlastimil Holer
c0d0819172 F #1737: vip.sh always tries to stop the Gate/Flow services 2018-02-22 12:07:24 +01:00
Vlastimil Holer
9bd8acc524 F #1737: Improve systemd support (#1772) 2018-02-21 17:06:20 +01:00
Vlastimil Holer
8caef8d6c1 B #1733: Make vip.sh less error prone (#1734)
(cherry picked from commit dd0763209f)
2018-02-12 16:35:53 +01:00
Sergio Semedi Barranco
c06fd75e6c F #1538: locking net (vcenter_hooks, minor bug fix (#1724) 2018-02-09 11:51:02 +01:00
Vlastimil Holer
a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Sergio Semedi Barranco
4aea67a709 B #1463: VCENTER ONE_MANAGED && vnet hooks working as expected (#1508)
* B #1463: ONE_MANAGED attribute is required

* B #1463: vcenter_hooks activates properly

* B #1463: vn_mad changed to vcenter, error checking on hook
2017-11-22 17:05:11 +01:00
Sergio Semedi Barranco
139f448a76 B #5418: vcenter automatic vlan_id working! (#515)
* B #5419: generating vlan id 4 vcenter

* B #5419: vcenter_create_vnet hook waits VLAN_ID attribute
2017-10-06 18:22:51 +02:00
Javi Fontan
aa6c3a58a6 B #5358: stop an start oneflow on leader change
(cherry picked from commit 3421457604)
2017-09-08 17:44:38 +02:00
Vlastimil Holer
9be1a1a706 Send both gratuitous ARP request and reply on VIP change. (#426)
* Send both gratuitous ARP request and reply on VIP change.

* Enable arping in sudoers

* Run arping via sudo
2017-09-04 12:13:16 +02:00
Tino Vazquez
f13c6bbe1b Change location of vcenter hooks 2017-06-23 17:32:33 +02:00
Jaime Melis
509d98dff9 F #4809: Send gratuitous ARP to update VIP 2017-06-22 18:32:06 -04:00
Jaime Melis
8e19b5666d F #4809: Cleanup script 2017-06-22 17:53:53 -04:00
mcabrerizo
bb9f21f2fa F #4913: Remove enhanced vnet from default cluster on create 2017-06-12 17:59:37 +02:00
mcabrerizo
b112cad731 F #4913: New vCenter hooks for enhanced networks create/delete 2017-06-11 19:37:52 +02:00
mcabrerizo
9edce1d17d F #4913: vCenter delete poweroff vms hook is no longer used 2017-06-11 19:36:43 +02:00
Jaime Melis
9d763ef628 F #4809: Fully working vip hooks 2017-05-29 18:24:25 +02:00
Javi Fontan
8de979e42c Bump version 5.3.80 2017-05-25 16:07:35 +02:00
Jaime Melis
680d49a23d F #4809: Add RAFT hooks 2017-05-18 16:41:18 +02:00
Jaime Melis
94052286ed F #4809: Move the FT hooks to its own folder 2017-05-18 16:40:52 +02:00
Tino Vazquez
5cb9494a05 Bug #4648: Fix history bug in delete hook 2016-11-24 17:20:50 +01:00
Tino Vazquez
6ac6daa171 Remove debug info 2016-11-24 15:56:45 +01:00
Tino Vazquez
18185a9212 Add delete_poweroff_vms to install.sh 2016-11-24 15:49:54 +01:00
Tino Vazquez
e2b04e886f Fix two minor typos 2016-09-29 11:06:28 +02:00
Jaime Melis
e1a0d34f67 Feature #4659: The host can be in MONITORING_ERROR 2016-09-07 12:18:31 +02:00
Jaime Melis
c2159551a4 Feature #4659: Improve fault-tolerance hook 2016-09-07 12:15:27 +02:00
Ruben S. Montero
dfd3cc8f67 bug #4236: Deal with poweroff vms 2016-06-03 20:04:28 +02:00
Javi Fontan
e1f6dee180 Update copyright notice year 2016-05-04 12:33:23 +02:00
Jaime Melis
e20fb5c4c4 Fix copyright in banners 2015-09-23 16:51:10 +02:00
Jaime Melis
8d00b74177 Change year to 2015 2015-02-24 12:27:59 +01:00
Javi Fontan
b8e8bbd086 bug #3153: bug in host_error hook reading config 2014-08-28 15:27:13 +02:00