1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-09 09:57:23 +03:00

1331 Commits

Author SHA1 Message Date
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 c5e328beca41334d74dece12d9a9c804ea5150d3.

* 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 f9e469b10f662e28bab4084858bb5bca768dae99)
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 c87025d314bf9b90d72a0f89c65c69bb15f5c88e)
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 091c49b55841dd2d27d550f67c980a2184c4f006)
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 f674a2b6573c2be6165e8dbd2013784520f20885)
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