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

1574 Commits

Author SHA1 Message Date
Tino Vazquez
1553e0746a
F #3380: Change default hook log retention 2019-10-14 12:59:41 +02:00
Vlastimil Holer
1578b0a3d1 F #2799: install_gems warns if gems are packaged (#3831) 2019-10-13 17:32:11 +02: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
Jan Orel
ffb03f7f93 M #-: Fix sinle entry section indent in oned.aug (#3809) 2019-10-09 16:57:09 +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
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. Montero
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. 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
Ruben S. Montero
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. Montero
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
Vlastimil Holer
39e4e819ec F #3576: Gemfile.lock for Debian 10 (#3577) 2019-08-08 12:59:26 +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
kvaps
a297619227 F #3384: Inherit FILTER from the virtual network (#3385)
Signed-off-by: kvaps <kvapss@gmail.com>
2019-07-31 11:03:24 +02:00
Ruben S. Montero
1988cb8369
M #-: Update zone.xsd to conform API one.zone.info call 2019-07-30 14:39:24 +02:00
Ruben S. Montero
5faa28d480
F #3503: Update XSD for host schema 2019-07-30 14:20:23 +02:00
Ruben S. Montero
3b4b0b2723
F #3503: Support for DPDK. Added ISOLCPUS to isolate cpus from the NUMA scheduler 2019-07-25 16:23:38 +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
Ruben S. Montero
f3f2a23722
M #-: Add supported drivers for DS_MONITOR_VM_DISK 2019-07-17 22:40:21 +02:00
Pavel Czerný
04b6d01599 F #2765: Configurable VM disk monitoring (#3525) 2019-07-17 22:11:02 +02:00
Carlos J. Herrera
c26b6d4705 L #~: linting code of vcenter (#3507)
Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-07-12 17:05:05 +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
Tino Vazquez
db1d87c1ab
M #-: Remove trailing space in oned.conf 2019-07-10 17:32:16 +02:00
Alejandro Huertas Herrero
b9daad50b6 M #: remove duplicated key in TM_MAD_CONF (#3479) 2019-07-05 16:53:49 +02:00
Christian González
baaac7fec6 M #-: Fix typo in oned.conf (#3462) 2019-06-28 16:57:15 +02:00
Tino Vazquez
eb0d18db96
L #-: Remove FloatDivision style cop
Introduced in rubocop 0.72.0
2019-06-26 17:18:28 +02:00
Ruben S. Montero
431e01c6b3
F #1324: Add confguration option to oned.conf 2019-06-12 18:58:34 +02:00
Alejandro Huertas Herrero
f714459c2a F #3371: refactor and lint host fsck (#3421) 2019-06-12 17:23:56 +02:00
Alejandro Huertas Herrero
eeee99a7cd F #3371: refactor and lint history fsck (#3418) 2019-06-11 11:39:17 +02:00
Alejandro Huertas Herrero
fc01c2b480 F #3371: refactor and lint user/group fsck (#3414) 2019-06-11 11:03:53 +02:00
Alejandro Huertas Herrero
d0f227e399 F #3371: refactor and lint datastore fsck (#3403) 2019-06-04 14:43:00 +02:00
Alejandro Huertas Herrero
77417daa2e F #3371: refactor and lint cluster fsck (#3400) 2019-06-04 10:11:49 +02:00
Tino Vazquez
2556fb2df9
F #1408: Remove no longer used VCENTER_ attributes
Datastores no longer hold vCenter credentials, but rather they
are pulled from the vCenter host associated.
2019-05-27 17:43:11 +02:00
Ruben S. Montero
6e70d45b68
L #-: Use brackets for symbol arrays 2019-05-21 10:49:05 +02:00
Tino Vazquez
17f3c37955
L #-: Disable new 0.69.0 default rububocop cops
(cherry picked from commit 091c49b558)
2019-05-14 12:22:03 +02:00
Alejandro Huertas Herrero
27e0a16a25 F #688: add new options to CLI (#3311)
* Add options to:
        * Remove header
        * Choose CSV separator
        * Not strip columns
        * Expand column size
        * Disable expand
        * Set column size

    * Add new operators to filter data

    * Change default configuration files sizes

    * Lint and clean the code
2019-05-07 17:23:15 +02:00
Tino Vázquez
71bfab1a3e
M #-: Formatting COMMIT_MESSAGES.md 2019-04-30 15:30:41 +02:00
Tino Vázquez
de43a428f0
M #-: Adjustments to COMMIT_MESSAGES.md 2019-04-30 15:29:34 +02:00
Tino Vázquez
d0b944ce13
M #-: Minor changes to COMMIT_MESSAGES.md 2019-04-30 15:28:00 +02:00
Tino Vazquez
c099e11104
F #3295: Add commit messages guidelines
Hopefully this commit message abides by the rules.
2019-04-30 15:20:55 +02:00
Jan Orel
776d5629dd F OpenNebula/infra#224 Packages for Ubuntu 19.04 (#3290) 2019-04-29 17:50:19 +02:00
Tino Vazquez
fe39e53054
L: Update cops for rubocop v0.68.0 2019-04-29 17:33:34 +02:00
Tino Vazquez
faeac24126
L: Add upgrade files to rubocop exclusion list
Files are not linted
2019-04-29 17:05:59 +02:00
Alejandro Huertas Herrero
523612b923 F #3082: fix fsck version and add system_disk_size field (#3279) 2019-04-27 21:01:07 +02:00
Ruben S. Montero
7daebac852
Feature #3263: Fix Ruby 1.9 with SymbolArray
(cherry picked from commit f674a2b657)
2019-04-26 15:49:45 +02:00
Alejandro Huertas Herrero
31a5b113b0 F #3263: Simplify and make the FSCK network code more clear (#3275) 2019-04-25 17:13:04 +02:00
Alejandro Huertas Herrero
ea63fb319f F #1414: add option to delete VM attributes via onegate (#3252) 2019-04-25 15:50:26 +02:00
Jan Orel
e8c587115f B #3080: Fixup packet provision of CentOS 7 (#3186) (#3247) 2019-04-25 15:42:43 +02:00
Alejandro Huertas Herrero
3c4629953a B #3082: FSCK doesn't update running quotas
* Add function to calculate running quotas
* Divide the code in small functions
* Refactor some code
2019-04-22 13:32:48 +02:00
Jan Orel
c3d27f42ee B OpenNebula/minione#14 Puts errors to STDERR (#3242) 2019-04-22 12:26:07 +02:00
Tino Vazquez
52897d6a1f
L: Remove linter for upgrade file 2019-04-16 11:49:23 +02:00
Tino Vazquez
6ae89f09e9
L: sunstone/routes/support.rb 2019-04-04 19:30:22 +02:00
Tino Vazquez
a9bf5941d1
L: Disable two new cops
Introduced as defaults by rubocop 0.67.0

(cherry picked from commit f51b4fc6c9)
2019-04-04 17:47:18 +02:00
Vlastimil Holer
f8cd43576a B #3080: Packet provision of CentOS 7 on c2.medium fails (#3186) 2019-04-04 17:30:14 +02:00
Christian González
faa6688e2b F #3036: Add virtual network contextualization attributes to the XSD files 2019-03-28 12:07:18 +01:00
kvaps
73ff19b7aa development: fix VN_MAD_CONF comment
Signed-off-by: kvaps <kvapss@gmail.com>
2019-03-26 10:00:15 +01:00
kvaps
2bb8957cb6 F #3092: Add FILTER to VM_RESTRICTED_ATTR
Signed-off-by: kvaps <kvapss@gmail.com>
2019-03-25 12:21:23 +01:00
Tino Vazquez
3db128c48e
Remove AlignHash rubocop linter
(cherry picked from commit 1cc7113da9)
2019-03-22 10:41:37 +01:00
Ruben S. Montero
3d5badebee B #3088: Fix return code for oned and one start script
(cherry picked from commit 8b756cc390)
2019-03-15 18:01:37 +01:00
Jan Orel
fbe81b1008 F #2283: Prefix proxy string with 'http://' to parse with URI() (#3050)
* F #2283 Fix parsing MarketPlace proxy string

* Fix linting market_mad monitor files
2019-03-08 11:19:31 +01:00
Ruben S. Montero
f72f6872b6 B #3038: Missing configuration attributes for qcow2
(cherry picked from commit 710e37bcda)
2019-03-06 11:28:30 +01:00
Alejandro Huertas Herrero
aa0d49fed1 B #3005: Extend inventory to use custom parameters (#3015) 2019-03-04 15:37:25 +01:00
Tino Vazquez
8cd2343b86
Add OpenNebula git flow rules
(cherry picked from commit 7f74f94858)
2019-02-28 15:26:55 +01:00
Vlastimil Holer
1260bd791e Bump version to 5.9.80 (#2991) 2019-02-26 18:19:07 +01:00
Tino Vazquez
553fc6b540
Add missing migrator to install.sh
Remove duplicated cop
2019-02-20 10:14:47 +01:00
Vlastimil Holer
5bf60380ca F #2645: Bump ONE repository version to 5.8, drop obsolete version:2 (#2965) 2019-02-19 15:06:45 +01:00
Tino Vazquez
b100436f1d
B #1699: Fix swap condition for wild import
vcenter_driver.rb lint
2019-02-15 18:48:26 +01:00
Tino Vazquez
fb8b7bf7dc
Rubocop: Check for debugger statements 2019-02-14 17:09:33 +01:00
Alejandro Huertas Herrero
e04ec57f9d F #2645: Generalisation of vxlan playbook (#2931) 2019-02-13 18:35:15 +01:00
Vlastimil Holer
119edfe2fe Bump version to 5.8.0 (#2934) 2019-02-13 16:51:21 +01:00
Vlastimil Holer
bff39b36f5 F #2645: DDC refresh Ansible roles, add LXD role (#2925) 2019-02-11 18:13:00 +01:00
Alejandro Huertas Herrero
a31d3e26fc F #2645: Make some polishing and add default templates. (#2922) 2019-02-11 14:41:57 +01:00
Alejandro Huertas Herrero
3ebd5f3b90 F #2645 Made some code refactor in provision create function (#2920)
Fix onehost linter issue due to rubocop update
2019-02-11 12:04:56 +01:00
Tino Vazquez
d998145ea1
Merge branch 'master' into provision_refactor 2019-02-08 17:42:06 +01:00
Alejandro Huertas
0b027090a2 OneProvision refactor. 2019-02-07 15:53:45 +01:00
Vlastimil Holer
81d64ff269 Bump version to 5.7.90 (#2903) 2019-02-06 14:40:44 +01:00
Christian González
4b412684ec Update XSD and Lock calls return value (#2894) 2019-02-05 16:15:32 +01:00
Alejandro Huertas Herrero
2157248bda F #1273: Update gems versions, support Rack 2 (#2877) 2019-02-02 00:09:44 +01:00
Jan Orel
a67217f2c2 F #2095 Support persistant VM snapshots for kvm 2019-02-01 17:19:22 +01:00
Jan Orel
89f999187d F #2095 Introduce onehost foceupdate command (#2863) 2019-02-01 16:25:43 +01:00
sergio semedi
66908a1e89 F #1540: [vCenter] live ds migration not supported with managed disks 2019-01-31 17:32:59 +01:00
Christian González
aabba85ee5 F #1540 Add core support for ds live migration (#2866)
* F #1540 Add core support for ds live migration

* Update RequestManagerVirtualMachine.cc
2019-01-31 17:27:55 +01:00
Tino Vazquez
ad677b9235
Disable module and class length metric 2019-01-28 18:56:54 +01:00
Tino Vazquez
bd2c429876
F #2816: Set rubocop linting in smoke tests
Add README.md for travis
2019-01-24 19:24:51 +01:00
Tino Vazquez
c98177de8b
Merge branch 'master' into feature-2816 2019-01-23 18:44:35 +01:00
Ruben S. Montero
65883dab98 development: Enable by default configuration the shared mode for ceph 2019-01-20 14:38:41 +01:00
Tino Vazquez
ba99174e13
Add missing dependency
Exclude non ready ruby files
2019-01-18 19:27:58 +01:00
Jan Orel
19f04965d4 F #1012: update websockify to latest version (#2809) 2019-01-18 15:48:10 +01:00
Vlastimil Holer
441cf1f7f9 Bump version to 5.7.85, year to 2019 2019-01-16 11:47:59 +01:00
Alejandro Huertas Herrero
e65dd8c251 F #911: call reconfigure when detaching a nic/alias. 2019-01-14 11:33:53 +01:00
Vlastimil Holer
78301a29bf B #2778: Bundler 2.0.x requires Ruby 2.3+ 2019-01-11 15:43:12 +01:00
Christian González
932c98e691 F #2747 Update XSD files (#2775) 2019-01-03 16:59:32 +01:00
Christian González
be884aa67a Remove XSD test files (#2776) 2019-01-03 16:53:10 +01:00
Ruben S. Montero
6b6904a6c0 B #2052: Add mixed mode for ALLOW_ORPHANS to accomodate Ceph snapshots
dependencies
Co-authored-by: Christian González <cgonzalez@opennebula.systems>
2018-12-24 14:00:38 +01:00
Vlastimil Holer
37635d86b6 F #2645: Exclude oneprovision from Ruby gems (#2733) 2018-12-19 15:26:12 +01:00
Ruben S. Montero
e822269bab F #2462: Better defaults for RAFT 2018-12-18 15:43:20 +01:00
Vlastimil Holer
8ee034065a F #2531: Add platform sudoers, drop invalid RUBY_LIB_LOCATION (#2731) 2018-12-17 15:23:19 +01:00
Ruben S. Montero
5a4740b8c7 F #2531: Add support for linuxcontainers MarketPlace
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
2018-12-15 17:17:17 +01:00
Ruben S. Montero
9cd97c8adb development: Added TM_MAD_SYSTEM shared to Ceph driver configuration 2018-12-12 18:02:35 +01:00
Jan Orel
8c568708e8 F #2258: Introduce python bindings - pyone
Ported from standalone python addon
https://github.com/OpenNebula/addon-pyone
2018-12-12 13:03:16 +01:00
Jan Orel
cb5c6402fc B #2258: Fix typo in xsd, close tags correctly 2018-12-05 17:17:32 +01:00
Christian González
2017c1396a development: Add comments for TOTAL_MEM and TOTAL_CPU attributes. 2018-12-05 17:10:09 +01:00
Ruben S. Montero
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
Vlastimil Holer
e5d3f46da1 F #2645: Disaggregated Data Centers (oneprovision) 2018-11-29 15:14:17 +01:00
Christian González
d6ff709f45 Fix a bug at XSD files and PoolSQL::exist method (#2651) 2018-11-29 10:07:53 +01:00
Ruben S. Montero
07399094b3 F #1684: Support for LXD/LXC Containers. The LXD/LXC drivers are heavily
inspired by the LXD addon https://github.com/OpenNebula/addon-lxdone.

Co-authored-by: Daniel Clavijo Coca <dclavijo@opennebula.systems>
Co-authored-by: Sergio Vega Gutiérrez <svega@opennebula.systems>
Co-authored-by: José Manuel de la Fé Herrero <jmdelafe92@gmail.com>
2018-11-28 12:26:59 +01:00
Tino Vazquez
7bd6a8d2fb Adjust alignment for new rubocop version 2018-11-23 22:09:36 +01:00
Christian González
c3d3fc3ae4 F #826 Add man pages for vntemplate command 2018-11-22 12:21:02 +01:00
kvaps
92dcbbabbb development: Disallow spoofing options override for VNETs (#1906) 2018-11-22 11:25:59 +01:00
Christian González
d921610d15 F #826 Authorize user/group to create restricted networks (#2625) 2018-11-20 17:24:59 +01:00
Jan Orel
d5391874a0 F #143: Gemfile.lock for Ubuntu 18.10 (#2590) 2018-11-16 11:12:44 +01:00
juanmont
0f6d250585 F #2426: Updated xsd 2018-10-29 15:13:50 +01:00
Abel Coronado
2e410af2ce F #1147: Permit to rename disk snapshot names in Sunstone
Author:  Abel Coronado <acoronado@opennebula.systems>
 Author: Christian González <cgonzalez@opennebula.systems>
2018-10-11 17:04:07 +02:00
Tino Vazquez
122a77c201 Changes for rubocop yaml 2018-09-28 18:32:28 +02:00
Ruben S. Montero
69ec6548b5 F #2253: Add BRIDGE_TYPE to virtual network drivers. Allow custom bridging techonologies for custom drivers.
Author: Christian <cgonzalez@opennebula.org>
2018-09-20 13:07:05 +02:00
Tino Vazquez
55c280f74e Fix rubocop linter
(cherry picked from commit decd82006b)
2018-09-11 13:20:20 +02:00
Sergio Semedi Barranco
536c22b12f B #2324: vcenter create_net hook checks IMPORTED (#2404) 2018-09-10 11:57:48 +02:00
Vlastimil Holer
e2f54c68fb B #1728: Restrict VNC via ESX firewall VIB package on non-conflicting ports (#2400)
From ports range 5900 - 11999.
2018-09-07 15:29: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
c4905fb08d F #2356: Added new on states to oned.conf 2018-08-29 16:08:26 +02:00
Ruben S. Montero
6f85151d87 F #2150: Changes for oned.conf. Add client IP by default in oned.conf
(cherry picked from commit 3d883cd487722e01ad79c7f222fc6421290fe608)
2018-08-15 20:45:49 +02:00
juanmont
568202d82e F #2150: Log IP/TCP port from client
(cherry picked from commit 565a3e69bb)
(cherry picked from commit 7d0c4f08dc)
(cherry picked from commit 4e04e37ef7a0fa519f9507a7013aefdd5c7a6474)
2018-08-15 20:44:51 +02:00
Ruben S. Montero
d40cd199b9 F #2283: restore removed comments by mistake 2018-08-06 14:26:50 +02:00
Ruben S. Montero
21fe311681 F #2183: Use pager for list commands (e.g. onevm list). Support for
custom ordering (by ID) in list API calls, this can be set per user,
group and default in oned.conf
2018-08-06 14:16:00 +02:00
Ruben S. Montero
f170bd84e4 Some work on ruby linting
(cherry picked from commit c897128bc6)
2018-07-24 13:05:51 +02:00
Tino Vazquez
4106e7a2e3 Add rubocop linter configuration file 2018-07-23 12:39:22 +02:00
Vlastimil Holer
a9d8c7e92b Bump version to 5.7.80 (#2289) 2018-07-16 13:23:30 +02:00
Vlastimil Holer
47fd5f6a83 B #2272: Missing scrub_rb in Gemfile.locks (#2273) 2018-07-09 17:53:53 +02:00
Vlastimil Holer
973b40b4fb Bump version to 5.6.0 2018-07-04 19:47:58 +02:00
Abel Coronado
ec09b65412 scrub_rb if RUBY_VERSION < 2.1 (#2234) 2018-06-29 10:23:50 +02:00
Vlastimil Holer
108f997d95 Bump version to 5.5.95 (#2233) 2018-06-28 17:24:15 +02:00
Vlastimil Holer
b196091573 Bump version to 5.5.90 (#2211) 2018-06-22 11:43:23 +02:00
kazh000
d4558b94c2 Driver fs_lvm. method resize has been implemented (#1917)
* Driver fs_lvm. method resize has been implemented

* Year bump, update sudo_commands.rb with lvextend
2018-06-20 11:15:05 +02:00
juanmont
d0766591f0 F #2192: New MONITOR INTERVALS for fine grain tunning 2018-06-19 16:15:01 +02:00
juanmont
c24f258317 Updated XSD (#2176) 2018-06-13 15:17:45 +02:00
Ruben S. Montero
012258a39d F #994: Add VCENTER_ESX_HOST to restricted attributes 2018-06-11 18:16:56 +02:00
Ruben S. Montero
d50141d5bc Fix wrong name in oned.conf and mapping for snapshot create 2018-06-11 17:20:40 +02:00
Ruben S. Montero
8e0b6d7e8e F #2166: Added note on infinite timeouts for RAFT API calls 2018-06-08 22:49:39 +02:00
Vlastimil Holer
a067b23295 Bump version to 5.5.85 (#2155) 2018-06-06 15:33:32 +02:00
Ruben S. Montero
53fe56a991 F #2147: Better timeouts for xml-rpc clients. Updated oned.conf with default
XML-RPC timeout.
2018-06-02 13:40:54 +02:00
Vlastimil Holer
8087352e90 Bump year/version to 2018/5.5.80 (few remaining files) 2018-05-29 12:10:03 +02:00
Sergio Semedi Barranco
8e7911c399 vCenter create net hook fixed (#2129) 2018-05-28 15:24:14 +02:00
juanmont
cd288c349b F #1439: Add IO Burst Attributes for KVM
Author: juanmont <jjmontiel@opennebula.systems>
2018-05-18 16:27:05 +02:00
Ruben S. Montero
08acf5bd0a
Revert "F #1439: Added new attributes to set maximum values (#2060)" (#2062)
This reverts commit f42f43b6a2.
2018-05-05 23:54:49 +02:00
juanmont
f42f43b6a2 F #1439: Added new attributes to set maximum values (#2060)
* F #1439: Added new attributes to set maximum values

* F #1439: Added attributes to oned.conf

* F #1439: Added new attributes to Sunstone
2018-05-04 17:12:16 +02:00
Vlastimil Holer
4b46008ebd F #1641: Update gem dependencies 2018-04-30 15:13:46 +02:00
Vlastimil Holer
6c92340ebd B #1236: Set default KVM monitoring timeouts 2018-04-26 16:28:18 +02:00
Vlastimil Holer
e23c554460 B #2017: Missing xmlrpc gem on Ruby >= 2.4 (#2018) 2018-04-23 19:04:01 +02:00
Vlastimil Holer
99536208e5 B #2009: Systemd service too aggressive with restart on failure (#2011) 2018-04-23 18:39:51 +02:00
Ruben S. Montero
9b96c8fd3c F #1927: Extend Sql interface, free results of MySQL query.
(cherry picked from commit f502d17923a12f1f4df59e5ae100802ab6d5ba9c)
2018-04-23 12:54:27 +02:00
juanmont
3d7175c5e2 F #1927: Changed oned.conf with new Raft attribute
(cherry picked from commit df32eacc8f)
2018-04-23 12:54:26 +02:00
juanmont
b33afa6ed5 F #1872 Added method and changed oned.conf attribute (#1963) 2018-04-20 17:03:18 +02:00
Ruben S. Montero
95a86151f1 F #1872: Added examples to oned.conf on using the DEFAULT_ACL rules for VDC 2018-04-03 12:50:41 +02:00
juanmont
434a2749ec F #1872: Added new attributes to define default acls 2018-03-28 20:55:17 +02:00
Vlastimil Holer
7a79844f38 B #1900: Updated Gemfile.lock for Ubuntu 14.04
(cherry picked from commit 941123e73f)
2018-03-26 16:56:41 +02:00
juanmont
ea7d08601d F #1821: Removed wrong folder 2018-03-26 11:07:52 +02:00
juanmont
30469b9804 B #1821: Changed xml schemas (#1898) 2018-03-26 11:05:51 +02:00
juanmont
4f94b8099f B #1821: Updated xml schemas (#1895) 2018-03-23 15:58:36 +01:00
juanmont
d305167c6e F #1885: Added configuration option to oned.conf 2018-03-23 10:31:25 +01:00
Ruben S. Montero
37222d65dc F #1792: Greatly improve concurrency by: Remove big lock on pool control class. Increase number of MySQL connections (new configuration variable). Make all parser reentrants. This commit also simplifies the pool references.
(cherry picked from commit a3d3ceb771034794c4fb453dcd9aaff64c53baed)
2018-03-17 23:35:21 +01:00
Tino Vazquez
1ce80df80b Fix typo
(cherry picked from commit a9dbbc79a1)
2018-03-13 16:17:03 +01:00
Vlastimil Holer
fdb22a0376 F #1498: Open vSwitch VXLAN driver 2018-02-28 17:31:38 +01:00
Vlastimil Holer
fa2b83545f F #1809: Gemfile.lock for Ubuntu 18.04 (#1810) 2018-02-28 14:08:37 +01:00
Abel Coronado
320893db4f B #1785 (#1787)
* B #1785: Broken vCenter REQUIRED_ATTRS in DS creation

* B #1785: Trimmed vCenter REQUIRED_ATTRS spaces for file consistency
2018-02-27 11:55:53 +01: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
Ruben S. Montero
224fb62712
Feature #1454: OpenNebula to OpenNebula drivers (#1743) 2018-02-15 16:00:09 +01:00
Sergio Semedi Barranco
666b9da378 F #1371: vCenter live migration support (#1739) 2018-02-13 18:30:26 +01:00
Vlastimil Holer
387d3b0b07 B #1733: Add OneFlow service wait loop for the secrets (#1740)
(cherry picked from commit 53136e9b4b)
2018-02-13 17:25:33 +01:00
Sergio Semedi Barranco
8f384ebd0b F #1371: oned.conf changed for vcenter migration (#1736) 2018-02-12 18:15:46 +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
17d5b31cb2 B #1152: Activate LVM disks on reboot 2018-01-31 16:54:50 +01:00
Vlastimil Holer
0c0aebd440 F #1694: Add missing DISK_TYPE_SSH for shared TM_MAD_CONF 2018-01-31 16:38:57 +01:00
Vlastimil Holer
99e82ac0e3 F #1694: Support shared TM with local system DS 2018-01-30 19:06:40 +01:00
Vlastimil Holer
152189215e B #1665: Manual pages build script
(cherry picked from commit 7f8375d8b6)
2018-01-26 15:43:42 +01:00
Vlastimil Holer
a4c0447ccf Bump year to 2018 (#1623) 2018-01-02 18:27:37 +01:00
Vlastimil Holer
1e9e52138d F #1310: Added support for multiple deployment modes. This commit adds
support of SSH mode for a Ceph datastore.

Author: Vlastimil Holer <vholer@opennebula.org>
Author: juanmont <jjmontiel@opennebula.org>
(cherry picked from commit 8ab9c02102e2e7f72c4835aa819bab49c229ef45)
2018-01-02 15:59:29 +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
Vlastimil Holer
c242633bc7 Bug 5530 - Remove unnecessary commands from sudoers (#574)
* sudo for dd doesn't seem necessary

I can't find any call of dd with sudo in the whole project. While having the opportunity to escalate permissions with dd it's maybe a good idea to remove it from sudoers.

* B #5530: Synchronize sudo_commands.rb with current sudoers

Issue OpenNebula/one#573
2017-11-15 18:09:21 +01:00
Vlastimil Holer
639c866798 B #5530: Remove unnecessary commands from sudoers (#559) 2017-11-02 15:13:15 +01:00
Vlastimil Holer
790d620780 F #5522: Remove manual pages (#554) 2017-11-02 10:08:41 +01:00
Vlastimil Holer
4a47fbed3f B #5517: Add Gemfile.lock for Ubuntu 17.10 2017-10-30 18:26:16 +01:00
Jaime Melis
6fb65843b2 Intelligent version numbering in the gem generator
(cherry picked from commit fed82c4903)
2017-10-16 17:44:10 +02: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
rpmzandwijk
5fd66eff8f Update opennebula.service
Typo: forground --> foreground
2017-09-11 15:50:49 +02:00
rpmzandwijk
b10b4171bb Update one.service
Typo: forground --> foreground
2017-09-11 15:50:26 +02:00
Javi Fontan
b839dad36c Bump version to 5.5.80
Also add the migrator to 5.4.1
2017-09-11 14:47:04 +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
Ruben S. Montero
c9d22b8b40 F #5204: Support for restricted attributes of type Vector
(cherry picked from commit 59b5ee8dd1ccb91161ce1ee83e99f11cbe9f1b95)
2017-09-06 16:06:15 +02:00
Sergio Semedi Barranco
936ef46d03 B #5340 instance_types scripts now work properly (#442) 2017-09-05 14:29:23 +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
Ruben S. Montero
a6addb314e Raft stability patch:
* Do not reset vote on followers upon successful election
  * Cache one_auth secret to fix mt issue and improve heartbeat
  performance
  * Remove debug message when a record is not loaded
  * Remove default timeout for curl library
2017-08-03 12:28:48 +02:00
Ruben S. Montero
a87d049c02 Update XSD documents 2017-07-18 13:43:30 +02:00
Javi Fontan
f93e2be001 Bump version to 5.4.0 2017-07-17 13:24:09 +02:00
Tino Vazquez
e22fd82f0b Enable vCenter drivers by default. 2017-07-13 12:00:09 +02:00
Jaime Melis
f7d34f2dc7 B #5236: oneuser token-create does not work without ONE_AUTH 2017-07-12 18:16:53 +02:00
Javi Fontan
33b7c27d8b B #5149: add RAW as restricted attribute 2017-07-10 15:59:52 +02:00
Javi Fontan
0524112489 Bump version to 5.3.90 2017-07-07 15:27:26 +02:00
Vlastimil Holer
9d4a88379d
B #5215: Fix Gemfile.lock on Rack<2.0 on D9 and U1704 2017-07-06 20:58:00 +02:00
Vlastimil Holer
2d54015d6b
B #5215: Gemfile requires rack < 2.0.0 even for ruby 2.2 and 2.3 2017-07-06 20:52:22 +02:00
Ruben S. Montero
1f571426ab F #5214: Add support for USER_PRIORITY to set dispatch order. 2017-07-06 16:01:46 +02:00
Ruben S. Montero
8576ae69fd F #4763: Do not allow to make snapshots to readonly disks 2017-07-05 19:03:12 +02:00
Ruben S. Montero
ebc165f70f F #4885: Enable TM mads to define orphan snapshots. This is control
under TM_MAD_CONF for each MAD. By default orphans are not allowed
2017-07-05 18:13:47 +02:00
Ruben S. Montero
38bb26094a F #5208:Add CEPH_KEY to inherit attributes, so it is added to VM DISK 2017-07-05 10:53:29 +02:00
Ruben S. Montero
37740d4c62 B #5204: Wrong restricted attribute for VMs after a resize+chown
operation
2017-07-04 12:04:09 +02:00