Commit Graph
1369 Commits
Author SHA1 Message Date
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
Christian González bb04178ad5 M #: Minor changes in XSD files (#3817) 2019-10-07 13:01:46 +02:00
Vlastimil Holer 8b7e661327 B #3046: Enable HA HEM server control and IP cmd (#3816) 2019-10-07 10:02:08 +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
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
Vlastimil Holer cf0d1465df B #3046: Review sudoers (#3786) 2019-09-30 15:15:42 +02:00
Vlastimil Holer 4171205b6e F #3380: Generate onehook manual page (#3783) 2019-09-30 11:32:00 +02:00
Jan Orel b9a1239267 F #3147: Ceph - move to trash instead delete (#3341) 2019-09-26 15:57:12 +02:00
Christian González bf43ae24de F #3380: Add XSD files for HM messages and (#3765) 2019-09-24 14:53:38 +02:00
Christian González 99985337e6 M #-: Minor changes (#3762) 2019-09-24 09:47:07 +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
Jan Orel f047926969 M #~: Include augeas lens oned.aug (#3741) 2019-09-23 15:20:46 +02:00
Christian González 9c3ec5dc42 F #3380: Add XSD files fo hook and hook pool (#3746) 2019-09-23 15:20:19 +02:00
Alejandro Huertas Herrero dd7f564553 F #3380: add host error hook template example (#3749) 2019-09-23 15:16:05 +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
Tino Vazquez a4daa6cff4 L #-: Linting new hook log file 2019-09-19 16:28:59 +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 276476b71d M #-: change ds encrypted by datastore (#3726) 2019-09-19 11:30:03 +02:00
Alejandro Huertas Herrero 5f660a2c6b F #3380: adapt DDC to new hook system (#3727) 2019-09-19 11:28:36 +02:00
Vlastimil Holer 4b4edb6460 B #3183: Service restart window (#3723)
Lower restart window from 300 to 60 seconds for existing services
opennebula and openenbula-scheduler, set same restart mechanism
to the rest of services.
2019-09-18 10:05:16 +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 12928399d5 F #3064: add datasores clusters encrypted attrs (#3722) 2019-09-17 16:18:54 +02:00
Alejandro Huertas Herrero c9b609cc40 F #3064: adapt DDC to new secrets handling (#3716) 2019-09-17 15:29:01 +02:00
Vlastimil Holer 29b98e235a F #779: Build Optimizations (#3707) 2019-09-16 23:13:25 +02:00
Alejandro Huertas Herrero efb41f8552 F #3380: add zeromq devel package to install gems (#3712)
* Add zeromq devel package to install gems
* Error cond. checks in install_gems
2019-09-16 18:07:48 +02:00
Alejandro Huertas e997d2b2b3 F #3064: encrypt address range template
The address range template in address range pool is encrypted
2019-09-13 11:35:53 +02:00
Alejandro Huertas 1061d4a02d L #3683: code linting 2019-09-13 09:34:00 +02:00
Tino Vazquez 9e67ae678d L #-: Linting to make rubocop smile again 2019-09-12 16:56:54 +02:00
Ruben S. MonteroandAlejandro Huertas 3c2df22ad7 F #3064: separate encrypted attrs by objects
* There are encrypted attributes for VMs, Hosts and VNets
    * For VMs the user template is also encrypted
    * For VNets its address ranges attributes are also encrypted

Co-authored-by: Alejandro Huertas <ahuertas@opennebula.systems>
2019-09-12 16:25:23 +02:00
Ruben S. Montero acff31e240 M #-: Make one start/stop script more quiet 2019-09-10 18:18:02 +02:00
Ruben S. Montero a0c9717a83 M #-: Update one start script help message 2019-09-10 10:55:11 +02:00
Ruben S. Montero 712230da5c M #-: Add missing call to start hem in one script 2019-09-10 10:49:24 +02:00
Christian González af1ec56a16 F #3380: Retry hem execution. Better hook management start process
(cherry picked from commit cb6ecaa8bebf4c8e2323ac35a5ff601f29b97c37)
(cherry picked from commit b8351898fc212065dc1abff14be531db5442cd82)
2019-09-09 16:59:51 +02:00
Ruben S. MonteroandChristian González 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
Ruben S. MonteroandPavel Czerny 500e45dbd6 F #1401: Configurable VM_*_OPERATIONS per group and user. Restructure of the API
authorization levels and initialization logic.

Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-09 13:13:52 +02:00
Alejandro Huertas Herrero 4ccf7f0c72 B #3572: Change in onegate client to ensure compatibility with old servers (#3643) 2019-09-06 13:32:00 +02:00
Jan Orel 819669442e B #3584: Make scons python3 compatible (#3649)
* B #3584: Make scons python3 compatible

* L #~: PEP80 linting of  SConstruct
2019-09-06 13:30:23 +02:00
Alejandro Huertas Herrero 9e7c10278a F #3064: separate encrypted attrs in oned conf (#3656) 2019-09-05 21:49:59 +02:00
Carlos J. Herrera 1761db51bc B #3631: dev_prefix on create image (#3632)
* B #3631: put correct dev_prefix when create image

Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>

* B #3631: revert: put correct dev_prefix when create image

This reverts commit c5e328beca.

* B #3631: change default device prefix

Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-09-05 11:55:29 +02:00
Jan Orel 2373c255b4 F #3613: Replace brctl by iproute2 (#3646) 2019-09-04 13:31:39 +02:00
Ruben S. MonteroandPavel Czerny a742b95d83 F #3064: Unified secret handling
Co-authored-by: Pavel Czerny <pczerny@opennebula.systems>
2019-09-03 16:46:36 +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
Ruben S. Montero 609ca70789 F #3380: Add missing 0mq gem file 2019-08-27 14:33:42 +02:00
Ruben S. Montero 8ffb9e1530 F #3380: Add 0mq gem files 2019-08-27 13:53:10 +02:00
Tino Vazquez 7a76cb85ab L #-: Disable SpaceAroundOperators rubocop layout
Also fix line too long offense
2019-08-22 13:20:00 +02:00
Vlastimil Holer 787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00