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

946 Commits

Author SHA1 Message Date
Ruben S. Montero
549a533e95
M #-: Add missing files for FC. Better IM shepherd 2020-03-07 18:36:20 +01:00
Ruben S. Montero
1ddc29cc52
F #4089: Firecracker integration improvements (#4295) 2020-03-05 16:36:06 +01:00
Ruben S. Montero
44e44b47a8
F #3859: New monitoring architecture
co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
  co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2020-03-04 16:05:57 +01:00
Jan Orel
8077c0904b
M #~: Add missing files to install.sh (#4196) 2020-02-21 16:11:23 +01:00
Ruben S. Montero
5f1e0ce0ff
L #4089: Fix linting and code refactoring
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-21 14:20:53 +01:00
Ruben S. Montero
c8bf48f1ce
F #4089: Add microVM support via Firecracker
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2020-02-20 17:06:45 +01:00
Ruben S. Montero
8696a50e8f
F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-19 14:56:03 +01:00
Ruben S. Montero
5e53c4f893
Revert "F #4132: Redesign oneflow internal logic"
This reverts commit da969c5fd3.
2020-02-19 14:56:03 +01:00
Ruben S. Montero
da969c5fd3
F #4132: Redesign oneflow internal logic
co-authored-by: Christian González <cgonzalez@opennebula.systems>
co-authored-by: Alejandro Huertas Herrero <ahuertas@opennebula.systems>
co-authored-by: Jorge Lobo <jlobo@opennebula.systems>
2020-02-18 15:53:30 +01:00
Ruben S. Montero
dfc5a2619c
F #4163: Turnkey Linux marketplace drivers 2020-02-07 10:51:14 +01:00
Angel Luis Moya Gonzalez
a1f36e047d F #3990: Prepare to change rbvmomi version (#4059) 2019-12-19 16:50:14 +01:00
Angel Luis Moya Gonzalez
43f159201b B #3440: Fixes and improvements over NSX (#3959) 2019-11-19 17:35:38 +01:00
Angel Luis Moya Gonzalez
03242172e3 F #3440: Refactor Transport Zones and fixes (#3931)
- Refactor Transport Zones
- Fix NSX_STATUS and get transport zones
2019-11-11 18:47:49 +01:00
Ruben S. Montero
4860636a41
M #-: Remove unneeded files, update oned.conf accordingly 2019-11-11 10:46:43 +01:00
Tino Vazquez
9de439a68a
M #-: Remove deprecated OCA file 2019-11-07 11:55:08 +01:00
Jan Orel
04a0753489 F #3244: Improve qcow2.ssh mixed-mode (#3915) 2019-11-06 16:42:51 +01:00
Angel Luis Moya Gonzalez
7d8d1d1391 F #3440: NSX Refactor (#3903) 2019-11-04 17:32:16 +01:00
Ruben S. Montero
eb2bc22ef4
B #3189: Add missing sudo for lxd_clean hook. Change install location of lxd clean hook 2019-10-02 16:49:32 +02:00
Daniel Clavijo Coca
a4e0eee4fb B #3189: Specific reboot cycle for LXd. Network Hook to remove links for LXD 2019-10-02 15:24:18 +02:00
Vlastimil Holer
5c9bb6afa1 F #3380: Install onehook manual page (#3801) 2019-10-02 10:40:05 +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
Alejandro Huertas Herrero
dd7f564553 F #3380: add host error hook template example (#3749) 2019-09-23 15:16:05 +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
Christian González
83f61b02cc F #3380: Add hooklog.info call (#3734) 2019-09-19 15:26:20 +02:00
Alejandro Huertas Herrero
532228cb14 M #-: remove duplicated files on install.sh (#3736) 2019-09-19 12:43:13 +02:00
Alejandro Huertas Herrero
5f660a2c6b F #3380: adapt DDC to new hook system (#3727) 2019-09-19 11:28:36 +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
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
Angel Luis Moya Gonzalez
3581561240 F #3440: Refactor and corrections (#3570)
* F #3440: Refactor host.rb

Refactor host.rb using classes:
NSXClient
TransportZone

* Error corrections

* M #3440: Added forgotten sleep

* M #3440: Change require order in nsx_driver

Change require order in NSX Driver to avoid
the inclussion of additional requires.
2019-08-22 11:15:24 +02:00
Jan Orel
e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +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
Jorge Lobo
23c1ae8e82 B #2497: rename sunstone_2f_auth.rb (#3523)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-16 12:35:35 +02:00
Jorge Lobo
63bbf4e16c B #2497: Two Factor Authentication (#3470)
* F #2497: two factor authentication

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-07-10 19:00:26 +02:00
Ruben S. Montero
3b9ace0577
F #3256: Support for NUMA topology, Hugepages and CPU pinning. 2019-07-01 18:58:24 +02:00
mouyaq
fe7dfd3547
F #3264: Added VirtualMachineMonitor 2019-05-27 18:49:26 +02:00
mouyaq
913b203b43
F #3264: get out nic_model_class and state_to_c 2019-05-27 18:49:24 +02:00
mouyaq
9c41da393b
F #3264: Separate classes Nic and Disk 2019-05-27 18:49:24 +02:00
mouyaq
886bd2e258
F #3264: VirtualMachineDevice refactor 2019-05-27 18:49:23 +02:00
mouyaq
bde691c1e8
F #3264: VmmImporter refactor 2019-05-27 18:44:17 +02:00
mouyaq
025734fbe7
F #3264: VirtualMachineFolder refactor 2019-05-27 18:44:16 +02:00
Christian González
8bbcfdfc6c Increase database version to 5.10.0 (#3277) 2019-04-25 18:42:41 +02:00
Ruben S. Montero
1e15db5ac0
F #2451: Add configurble hooks to the network drivers in the form of
pre.d, post.d and clean.d scripts

Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
2019-04-22 11:27:20 +02:00
Ruben S. Montero
e25e25ca6b
Merge branch 'f2722' 2019-04-15 17:08:01 +02:00
kvaps
8b96dd6142 F #2808: add DD_BLOCK_SIZE option (#3116)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-04-09 16:11:15 +02:00
Ruben S. Montero
c64d63f3d5
F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 17:43:12 +02:00
Ruben S. Montero
b59ee42750
Revert "F #2722: Increase the size of the replication and federation log indexes"
This reverts commit 1da93f3732.
2019-04-08 17:09:56 +02:00
Ruben S. Montero
1da93f3732
F #2722: Increase the size of the replication and federation log indexes
co-authored-by: Christian González <cgonzalez@opennebula.systems>
2019-04-08 14:38:02 +02:00
Jorge Lobo
7498be0feb
b # 2993 delete langs and solved fix Vm_quota in conditions (#3030)
(cherry picked from commit 52a38a9b90)
2019-03-06 10:23:19 +01:00
Tino Vazquez
a8f7207cfa
Remove unneeded tty_expect install
(cherry picked from commit 84424affa0)
2019-02-28 15:30:54 +01:00
Tino Vazquez
553fc6b540
Add missing migrator to install.sh
Remove duplicated cop
2019-02-20 10:14:47 +01:00