1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-27 03:21:29 +03:00
Commit Graph

16117 Commits

Author SHA1 Message Date
Jorge Lobo
979d2cfc35 B #3599: rename affinity by VM Affinity (#3657)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-09-05 15:24:20 +02:00
Jorge Lobo
d0b138e79c B #3120: get number groups by VM (#3655)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-09-05 15:00:26 +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
Jorge Lobo
fcffdd47fa B #3590: change package vnc for git (#3650)
* B #3590: change package vnc for git

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* B #3590: fixed version to commit

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-09-05 11:32:34 +02:00
Alejandro Huertas Herrero
00de1d2faf F #3373: read data via STDIN in IPAM (#3652) 2019-09-05 10:47:40 +02:00
Jorge Lobo
3235f794f7 B #3597: fix VNC with VN password enable (#3651)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-09-04 17:31:35 +02:00
Christian González
dd3fd1f397
B #3607: fix oneflow-template show output format (#3608)
(cherry picked from commit b216110475)
2019-09-04 16:40:17 +02:00
Jan Orel
2373c255b4 F #3613: Replace brctl by iproute2 (#3646) 2019-09-04 13:31:39 +02:00
Pavel Czerny
2a87777bd4
F #3064: Fix memory leak
(cherry picked from commit 398fa620bd)
(cherry picked from commit 65afdd3538)
2019-09-04 12:11:30 +02:00
Tino Vazquez
b5ccc424e8
F #3064: Fix compile error 2019-09-03 19:52:28 +02:00
Pavel Czerný
769158e908
B #3585: Fix build with sqlite=no (#3641)
(cherry picked from commit 8823a9a008)
2019-09-03 17:12:33 +02:00
Jorge Lobo
d807fbd0f8 F # 3440: add fields submit vnet (#3644)
Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
2019-09-03 17:12:15 +02:00
Alejandro Huertas Herrero
ab767a74aa B #3628: fix xml paginated list bug (#3640) 2019-09-03 16:59:31 +02:00
Ruben S. Montero
6fdb06c646
F #3604: B #3578: Update parsers 2019-09-03 16:46:36 +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
Tino Vazquez
d0dc51f0c9
B #3373: Consume STDIN in dummy TMs and VMMs drvrs
To prevent Broken Pipe errors
2019-09-03 16:42:52 +02:00
Alejandro Huertas Herrero
42d83f59bf B #3578: change parser to process alias (#3635) 2019-09-03 16:30:32 +02:00
Vlastimil Holer
d9ee08235b F #3042: Respect GEMS_LOCATION, use STDIN for data (#3639) 2019-09-03 14:09:24 +02:00
Christian González
6a5f0e6f60 M #-: Fix docker-machine addon compatibility (#3642) 2019-09-03 13:24:52 +02:00
Carlos J. Herrera
cbf8f0d7ff M #~: fixing some typos (#3633)
Signed-off-by: Carlos J. Herrera Matos <cherrera@opennebula.systems>
2019-09-02 19:29:46 +02:00
Angel Luis Moya Gonzalez
e5a6bb6b99 F #3440: Fix monitoring loop (#3636)
Fix a monitoring loop that occurs when NSX Manager is not
reachable. An SSH exception is created an created a personalized
message that break the format of the attribute NSX_STATUS.
That message has been changed to a static message.

Also fix a typo when launching an Standard Error.
2019-09-02 18:18:50 +02:00
Jorge Lobo
3b8bf172f3 F #3440: Fix error show nsx-t form (#3634)
* 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.

* F #3440: NSX add form in vnets

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add action NSX

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form set user and password

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: fix form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: clear form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form NSX-T in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: Submit action NSX (vnet create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: fix error show nsx-t form

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* Delete sshuttle.pid
2019-09-02 17:39:42 +02:00
Jan Orel
72e0b2e580 B #3203: Attach volat. disk as blk device (LVM) (#3603) 2019-09-02 17:08:30 +02:00
Tino Vazquez
e2c92e7a32
M #-: Change wrong repo check for protect branch 2019-09-02 10:06:00 +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
Tino Vazquez
94e7fd7487 M #-: Removing unneeded debug information
Jorge's footprints
2019-08-28 15:50:04 -07:00
Jorge Lobo
81ed024186 F #3440: Add forms NSX sunstone (#3620)
* F #3440: NSX add form in vnets

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add action NSX

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form set user and password

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: fix form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: clear form NSX-V in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: add form NSX-T in vnet (create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>

* F #3440: Submit action NSX (vnet create)

Signed-off-by: Jorge Lobo <jlobo@opennebula.systems>
(cherry picked from commit eb3d3cab65dde232806745e0d32a657335b080da)
2019-08-28 15:07:23 -07: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
Daniel Clavijo Coca
c00f50dfc7
B #3596: Lxd snap update (#3605)
(cherry picked from commit ecad39b8fe)
2019-08-27 10:42:31 +02:00
Tino Vazquez
c54a8400ad
L #-: Remove trailing space
(cherry picked from commit 4e52864586)
2019-08-22 14:22:38 +02:00
Angel Luis Moya Gonzalez
244a5ee737 B #3563: Fix VM import (#3609)
Fix the problem when trying to import a VM with
guest.net.ipConfig attribute unset.
2019-08-22 14:09:44 +02:00
Tino Vazquez
7a76cb85ab
L #-: Disable SpaceAroundOperators rubocop layout
Also fix line too long offense
2019-08-22 13:20:00 +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
Vlastimil Holer
060c85607a F #2799: Respect GEMS_LOCATION (#3602) 2019-08-19 23:54:45 +02:00
Vlastimil Holer
787e957f85 F #2799: Respect GEMS_LOCATION (#3598) 2019-08-18 20:33:09 +02:00
Ruben S. Montero
77e7b69ad6
F #3586: Use pthreads 2019-08-16 11:19:11 +02:00
Pavel Czerný
e31deafff7 F #3586: Uniform thread-safe random generator 2019-08-16 11:11:31 +02:00
Daniel Clavijo Coca
78bf58c5f3 F #2451 Fix dummy vnm hoks (#3589) 2019-08-13 23:02:37 +02:00
Jan Orel
41d9e000ed B #3373: pass VM template via STDIN (#3583) 2019-08-12 16:02:25 +02:00
Jan Orel
a551326e77 B #3496: Validate disk-snapshot id (#3579) 2019-08-12 15:49:39 +02:00
Vlastimil Holer
ed03d91b63 F #3440: Fix hash syntax (#3588) 2019-08-12 15:44:49 +02:00
Vlastimil Holer
39e4e819ec F #3576: Gemfile.lock for Debian 10 (#3577) 2019-08-08 12:59:26 +02:00
Jan Orel
e98c801f8f F#3244: Better mixed modes (#3574) 2019-08-07 11:37:39 +02:00
Alejandro Huertas Herrero
598bf6c069 B #3484: check if alias is being detached (#3575) 2019-08-06 10:44:54 +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